/* Color-only palette. Existing geometry, images, motion and engine behavior stay intact. */
@layer tmt-brand {
 :root {
  --tmt-paper: #f5f5f2;
  --tmt-silver: #c4c9d2;
  --tmt-slate-ink: #1f2c18;
  --tmt-electric: #4a7c0e;
  --tmt-lime: #8fd728;
  --tmt-lime-hover: #c7f45b;
  --tmt-lime-ink: #0b1405;
  --tmt-lime-soft: #eafed6;
 }
 html body { background-color:var(--tmt-paper) !important; }
 html body>header {
  background-color:var(--tmt-paper) !important;
  color:var(--tmt-slate-ink) !important;
  border-color:#4a7c0e6b !important;
  box-shadow:inset 0 -2px 0 var(--tmt-electric) !important;
 }
 html body>header :is(.brand,.brand-copy,.brand-tmt,.brand-copy b,.brand-copy small,.brand small,.tmt-feature-slide,.tmt-feature-slide strong) {
  color:var(--tmt-slate-ink) !important;
  text-shadow:none !important;
 }
 html body :is(button:not(.tmt-feature-dot),summary,a.btn,a.action,a.rg-start,a[role=button],input[type=submit],input[type=button],.site-language a,#quick-market,#bottom-market) {
  border-color:#83ae3e !important;
 }
 html body :is(#quick-market,#bottom-market) {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1405' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
 }
 html body :is(#quick-market,#bottom-market) option {background:var(--tmt-paper) !important;color:var(--tmt-slate-ink) !important;}
 html body :is(.radar-quick-entry,.radar-header-entry,.tmt-features,.radar-header-actions,.site-language) {border-color:#4a7c0e50 !important;}
 html body .tmt-features {background-color:var(--tmt-paper) !important;color:var(--tmt-slate-ink) !important;}
 html body :is(#quick-website,#bottom-website) {background-color:#fcfdf8 !important;color:var(--tmt-slate-ink) !important;border-color:#b9c1cf !important;}
 html body .tmt-feature-dot span {background:#929cb170 !important;}
 html body .tmt-feature-dot[aria-current=true] span {background:var(--tmt-electric) !important;}
 html body main :is(h1,h2) {color:#ffffff !important;}
 html body main :is(h1,h2,p) :is(em,.tmt-accent-word) {color:#eafed6 !important;}
 html body main .eyebrow {color:#c7f45b !important;}
 html body main :is(.intro-copy,.reference-heading>p:last-child) {color:#ffffff !important;}
 html body :is(footer,.community-strip.press-enabled) {background-color:var(--tmt-silver) !important;color:#ffffff !important;border-color:#4a7c0e80 !important;box-shadow:inset 0 2px 0 var(--tmt-electric) !important;}
 html body>.radar-quick-entry {background-color:var(--tmt-paper) !important;}
 html body .tmt-feature-slide,html body .tmt-feature-slide strong {color:var(--tmt-slate-ink) !important;text-shadow:none !important;}
 html body .press-mini-label {color:var(--tmt-slate-ink) !important;}
 html body :is(.partner-logo,.radar-call-options,#radar-guide .rg-body) {background-color:var(--tmt-paper) !important;}
 html body .partner-logo {border-color:#4a7c0e4d !important;}
 html body .partner-logo span {color:var(--tmt-slate-ink) !important;}
 html body #proposal.proposal-premium {border-top-color:var(--tmt-electric) !important;}
 html body #radar-guide .rg-accent {color:var(--tmt-slate-ink) !important;}
 html body #radar-guide summary .rg-accent {color:#0b1405 !important;}
 html body #radar-guide :is(.rg-number,.rg-sub-number,.rg-question-number) {color:var(--tmt-slate-ink) !important;background:#e6eddf !important;}
 html body :is(button,summary,select,input,textarea,a.btn,a.action,a.rg-start,a[role=button],.site-language a):focus-visible {
  outline-color:#8fd728 !important;
  box-shadow:0 0 0 2px var(--tmt-slate-ink) !important;
 }
}

/* Satin-metal transitions use background paint only; no size or positioning changes. */
@layer tmt-brand {
 html body>header,html body>.radar-quick-entry,html body>.tmt-features {
  background-image:linear-gradient(112deg,#f8f9fc 0%,#e4e7ed 26%,#fafbfc 49%,#d6dbe4 77%,#eef0f5 100%) !important;
 }
 html body>header .tmt-features {background-color:transparent !important;}
 html body :is(footer,.community-strip.press-enabled) {
  background-image:linear-gradient(105deg,#d4d9e2 0%,#f6f7fa 36%,#bfc6d2 69%,#e9ecf2 100%) !important;
  color:var(--tmt-slate-ink) !important;
 }
 html body .community-strip :is(.community-member,.community-member strong,.community-member span,.community-member a,.community-member b,.community-member small,.community-member em,.press-mini a,.press-mini span) {color:var(--tmt-slate-ink) !important;text-shadow:none !important;}
 html body .partner-logo {background-image:linear-gradient(125deg,#fcfcfd,#e6e9ee 48%,#f9fafb) !important;border-color:#b6becd !important;}
 html body .radar-call-options {background-image:linear-gradient(125deg,#fbfcfd,#e8ebf1) !important;}
 html body .quick-start-cue {color:var(--tmt-slate-ink) !important;}
 html body .community-member {border-color:#9ca7bd !important;}
 html body>header :is(.radar-header-middle,.radar-header-actions) {border-color:#91a17a70 !important;}
}

/* Cyber Lime controls and slow silver-green waves. Geometry and engine code unchanged. */
@layer tmt-brand {
 :root {
  --tmt-lime-metal:linear-gradient(155deg,#eafed6 0%,#c7f45b 15%,#8fd728 50%,#75b71d 78%,#4a7c0e 100%);
  --tmt-lime-metal-hover:linear-gradient(155deg,#f3ffe8 0%,#d8fc8c 15%,#b4ed4b 50%,#8fd728 78%,#699e21 100%);
 }
 html body :is(button:not(.tmt-feature-dot),summary,a.btn,a.action,a.rg-start,a[role=button],input[type=submit],input[type=button],.site-language a),
 html body #radar-guide :is(button,summary,a.rg-start),html body #iletisim #open-radar-guide {
  background-image:var(--tmt-lime-metal) !important;
  color:#0b1405 !important;
  border-color:#a8cb73 !important;
  box-shadow:inset 0 1px 0 #eafed6cc,inset 0 -1px 0 #1f3d0d80,0 2px 5px #0b140526 !important;
 }
 html body :is(button:not(.tmt-feature-dot),summary,a.btn,a.action,a.rg-start,a[role=button],input[type=submit],input[type=button],.site-language a):hover:not(:disabled),
 html body #radar-guide :is(button,summary,a.rg-start):hover,html body #iletisim #open-radar-guide:hover {
  background-image:var(--tmt-lime-metal-hover) !important;
 }
 html body :is(#quick-market,#bottom-market) {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1405' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),var(--tmt-lime-metal) !important;
  background-size:14px 14px,100% 100% !important;background-position:right 9px center,center !important;
  border-color:#a8cb73 !important;box-shadow:inset 0 1px 0 #eafed6cc,inset 0 -1px 0 #1f3d0d80 !important;
 }
 html body :is(button,summary,a.btn,a.action,a.rg-start,a[role=button],.site-language a):focus-visible {outline:2px solid #8fd728 !important;outline-offset:3px !important;}
 /* Existing solid green sections now share the same charcoal / blue-steel base. */
 html body main :is(#tmt-film,#iletisim).slide {
  isolation:isolate;
  background:radial-gradient(ellipse at 80% 18%,#354b20 0,transparent 54%),radial-gradient(ellipse at 8% 88%,#263c16 0,transparent 55%),linear-gradient(135deg,#0b1405,#1f3d0d 48%,#0b1405) !important;
 }
 html body main :is(#tmt-film,#iletisim).slide::before,
 html body main :is(#tmt-film,#iletisim).slide::after {
  content:"";position:absolute;inset:-25%;z-index:-1;pointer-events:none;
  background-repeat:no-repeat;background-size:100% 100%;
  animation:tmt-steel-wave 24s ease-in-out infinite alternate;
 }
 html body main :is(#tmt-film,#iletisim).slide::before {
  background-image:radial-gradient(ellipse at 50% 120%,transparent 46%,#9fbb833b 48%,#eafed670 50%,#b5c8a354 52%,transparent 56%);
  transform:rotate(-16deg) scale(1.15);opacity:.9;
 }
 html body main :is(#tmt-film,#iletisim).slide::after {
  background-image:radial-gradient(ellipse at 50% -25%,transparent 45%,#719e4242 48%,#c7f45b5c 50%,#8fd7284a 53%,transparent 57%);
  animation-delay:-11s;animation-direction:alternate-reverse;opacity:.75;
 }
 html body #tmt-film .film-preview {border-color:#87997c !important;background-color:#101b0a !important;}
 html body #tmt-film .film-shade {background:linear-gradient(180deg,#0b140570,transparent 35%,#0b140518 60%,#0b1405c9) !important;}
 html body #tmt-film .film-duration {background:#0b1405e6 !important;border-color:#b5c8a380 !important;}
 html body #tmt-film .film-footer p,html body #iletisim :is(.directory-caption,.signature,.contact-promise,.radar-company-info) {color:#e6eedf !important;}
 html body #iletisim :is(.contact-promise em,.contact-details h2) {color:#eafed6 !important;}
 html body #iletisim .contact-scroll-cue :is(.scroll-arrows,svg,path) {color:#fff !important;stroke:#fff !important;}
 html body #iletisim .rg-open-contact::before {background:linear-gradient(90deg,transparent,#c7f45b,transparent) !important;}
 /* Public drawers and overlays follow the palette too; brand artwork stays original. */
 html body :is(#research-dialog,#tmt-motion-dialog) {background:linear-gradient(135deg,#0b1405,#1f3d0d 50%,#0b1405) !important;border-color:#91ad78 !important;}
 html body :is(#research-dialog,#tmt-motion-dialog,#tmt-company-menu,#tmt-faq)::backdrop {background:#0b140599 !important;}
 html body #tmt-company-menu {--tcm-ink:#1f2c18;--tcm-muted:#65745d;--tcm-line:#ced7c8;--tcm-copper:#4a7c0e;background:linear-gradient(125deg,#f8f9fc,#dce1eb) !important;}
 html body #tmt-company-menu :is(.tcm-rail,.tcm-rail-brand) {background:linear-gradient(165deg,#345325,#1f3d0d 55%,#0b1405) !important;}
 html body #radar-guide :is(.rg-number,.rg-sub-number,.rg-question-number,.rg-media-badge) {background:linear-gradient(120deg,#eaf0e4,#bfccb5) !important;color:#26371e !important;border-color:#a5b699 !important;}
 html body #tmt-faq {background:linear-gradient(120deg,#f7f8fb,#e1e5ee) !important;color:#1f2c18 !important;}
 html[data-tmt-motion="reduced"] body main :is(#tmt-film,#iletisim).slide::before,
 html[data-tmt-motion="reduced"] body main :is(#tmt-film,#iletisim).slide::after {animation:none !important;}
}
@keyframes tmt-steel-wave {
 0%{transform:translate(-5%,2%) rotate(-16deg) scale(1.15)}
 50%{transform:translate(3%,-4%) rotate(-9deg) scale(1.22)}
 100%{transform:translate(6%,4%) rotate(-19deg) scale(1.12)}
}
@media(prefers-reduced-motion:reduce){html:not([data-tmt-motion="full"]) body main :is(#tmt-film,#iletisim).slide::before,html:not([data-tmt-motion="full"]) body main :is(#tmt-film,#iletisim).slide::after{animation:none !important;}}

/* Final button hierarchy: soft silver controls, petrol action, satin graphite portal. */
@layer tmt-brand {
 :root {
  --tmt-lime-metal:linear-gradient(145deg,#f5f8f7 0%,#e5ecea 35%,#ccd7d4 100%);
  --tmt-lime-metal-hover:linear-gradient(145deg,#ffffff 0%,#eef4f2 35%,#d9e3df 100%);
  --tmt-electric:#587e72;
 }
 html body :is(button:not(.tmt-feature-dot),summary,a.btn,a.action,a.rg-start,a[role=button],input[type=submit],input[type=button],.site-language a,#quick-market,#bottom-market),
 html body #radar-guide :is(button,summary,a.rg-start),html body #iletisim #open-radar-guide {
  color:#283d37 !important;border-color:#a7bab3 !important;
  box-shadow:inset 0 1px 0 #ffffffc4,inset 0 -1px 0 #516b601c,0 2px 5px #18352a12 !important;
 }
 html body :is(#quick-market,#bottom-market) {
  color:#283d37 !important;border-color:#a7bab3 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23283d37' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),var(--tmt-lime-metal) !important;
  box-shadow:inset 0 1px 0 #ffffffc4,inset 0 -1px 0 #516b601c !important;
 }
 html body :is(#quick-entry-form,#bottom-entry-form) button[type=submit],html body #inquiry-submit {
  background-image:linear-gradient(145deg,#567f75 0%,#3c6b60 38%,#2c594f 100%) !important;
  color:#fff !important;border-color:#73988d !important;
  box-shadow:inset 0 1px 0 #d7eee58c,inset 0 -1px 0 #163d3230,0 2px 5px #18352a20 !important;
 }
 html body :is(#quick-entry-form,#bottom-entry-form) button[type=submit]:hover:not(:disabled),html body #inquiry-submit:hover:not(:disabled) {
  background-image:linear-gradient(145deg,#60897f 0%,#467569 38%,#356257 100%) !important;
 }
 html body #open-panel {
  background-image:linear-gradient(145deg,#68777b 0%,#526267 40%,#435257 100%) !important;
  color:#fff !important;border-color:#8b999d !important;
  box-shadow:inset 0 1px 0 #e4edf280,inset 0 -1px 0 #29393e30,0 2px 5px #18352a20 !important;
 }
 html body #open-panel:hover {background-image:linear-gradient(145deg,#738286 0%,#5b6c70 40%,#4b5c60 100%) !important;}
 html body .site-language {background:linear-gradient(145deg,#edf2f0,#cbd6d2) !important;border-color:#a7bab3 !important;}
 html body #radar-guide summary .rg-accent {color:#283d37 !important;}
 html body :is(button,summary,a.btn,a.action,a.rg-start,a[role=button],.site-language a):focus-visible {outline-color:#719b8c !important;}
}
