/* Two palettes supplied by Georgy, applied to the approved A layout. */
.a.theme-red{--ink:#1d1c1c;--dark:#1d1c1c;--paper:#f5f3ef;--soft:#ededeb;--line:#b9bec2;--brand-red:#ff0000;--accent:#ff0000;--tone-surface:#fff;--tone-soft:#eceeed;--tone-border:#d6d9db;--tone-link:#bb0000;--tone-process:#ffe0de;--tone-process-ink:#990000;--tone-panel:#1d1c1c;--tone-panel-text:#eee;--tone-panel-link:#ffadad;--tone-slate:#6b7280}
.a.theme-warm{--ink:#1a1a1a;--dark:#1a1a1a;--paper:#f5f2ed;--soft:#ede7df;--line:#c9b898;--brand-red:#d97757;--accent:#d97757;--tone-surface:#fffdf9;--tone-soft:#ede7df;--tone-border:#d8cdbb;--tone-link:#98462d;--tone-process:#e8d7c2;--tone-process-ink:#65432e;--tone-panel:#1a1a1a;--tone-panel-text:#ede7df;--tone-panel-link:#eaa88b;--tone-slate:#6b7280}
.a[class*="theme-"]{background:var(--paper);color:var(--ink)}
.a[class*="theme-"] .header-shell{background:var(--dark)}
.a[class*="theme-"] .btn:not(.secondary),.a[class*="theme-"] .play i{background:var(--accent);color:var(--ink)}
.a[class*="theme-"] .btn.secondary{background:transparent;color:inherit}
.a[class*="theme-"] .textbtn,.a[class*="theme-"] .telegram-action,.a[class*="theme-"] .turner-arrow{color:var(--tone-link)}
.a[class*="theme-"] .nav a:hover{color:var(--tone-panel-link)}
.a[class*="theme-"] .experience:before{background:var(--accent)}
.a[class*="theme-"] .experience strong{box-shadow:none;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:4px}
.a[class*="theme-"] .products span,.a[class*="theme-"] .configs,.a[class*="theme-"] .extras,.a[class*="theme-"] .telegram-projects{background:var(--tone-soft)}
.a[class*="theme-"] .section-head h2{color:var(--ink)}
.a[class*="theme-"] .work-video-panel,.a[class*="theme-"] .result-info.pallet-gallery,.a[class*="theme-"] .turner-module.turner-story,.a[class*="theme-"] #modules .modgrid>.applicator-module:first-child{background:var(--tone-surface);border-color:var(--tone-border)}
.a[class*="theme-"] .gallery-stage{background:var(--tone-soft)}
.a[class*="theme-"] .gallery-thumb[aria-pressed="true"]{border-color:var(--accent)}
.a[class*="theme-"] .config.featured,.a[class*="theme-"] .contact{background:var(--tone-panel);color:var(--tone-surface)}
.a[class*="theme-"] .config.featured p,.a[class*="theme-"] .config.featured ul,.a[class*="theme-"] .contact p,.a[class*="theme-"] .contact small{color:var(--tone-panel-text)}
.a[class*="theme-"] .config.featured .textbtn,.a[class*="theme-"] .contact .tag,.a[class*="theme-"] .tour-help a{color:var(--tone-panel-link)}
.a[class*="theme-"] .contact input,.a[class*="theme-"] .contact select{background:#333;border-color:var(--tone-slate)}
.a[class*="theme-"] .process span{background:var(--tone-process);color:var(--tone-process-ink)}
.a[class*="theme-"] #modules .applicator-benefit{border-color:var(--accent)}
.a[class*="theme-"] .turner-stage .turner-image{background:var(--tone-soft)}
.a[class*="theme-"] .turner-story .turner-footnote{border-color:var(--tone-border)}
.a[class*="theme-"] .telegram-mark,.a[class*="theme-"] dialog{background:var(--dark)}
.a[class*="theme-"] a:focus-visible,.a[class*="theme-"] button:focus-visible,.a[class*="theme-"] input:focus-visible,.a[class*="theme-"] select:focus-visible,.a[class*="theme-"] summary:focus-visible{outline-color:var(--accent)}
.a.theme-red .hero{background:#1d1c1c}.a.theme-red .hero .media:after{background:linear-gradient(90deg,#1d1c1c 0%,#1d1c1c70 40%,#1d1c1c10 100%)}
.a.theme-warm .header-shell{background:#f5f2ed;color:#1a1a1a;border-bottom:1px solid #d8cdbb}
.a.theme-warm .header .brand,.a.theme-warm .nav a{color:#1a1a1a}.a.theme-warm .header .brand{outline:1px solid #c9b898;outline-offset:9px}
.a.theme-warm .hero{background:#f5f2ed;color:#1a1a1a}.a.theme-warm .hero .media:after{background:linear-gradient(90deg,#f5f2ed 0%,#f5f2edbd 40%,#f5f2ed00 100%)}
.a.theme-warm .hero-photo{filter:brightness(.95)}.a.theme-warm .hero .intro,.a.theme-warm .hero .tag{color:#505057}.a.theme-warm .hero .secondary{border-color:#6b7280;color:#1a1a1a}
@media(max-width:760px){.a.theme-red .hero .media:after{background:linear-gradient(180deg,#1d1c1c 0%,transparent 35%)}.a.theme-warm .hero .media:after{background:linear-gradient(180deg,#f5f2ed 0%,transparent 35%)}.a.theme-warm .header .brand{outline-offset:5px}}

/* Georgy: orange actions on graphite; bring the robot forward in the light palette. */
.a.theme-red .btn:not(.secondary),.a.theme-red .play i{background:#f47721;color:#1d1c1c}
.a.theme-warm .hero-photo{filter:brightness(1.06) contrast(1.06) saturate(1.06)}
.a.theme-warm .hero .media:after{background:linear-gradient(90deg,#f5f2ed 0%,#f5f2ed73 32%,#f5f2ed00 63%)}
@media(max-width:760px){.a.theme-warm .hero .media:after{background:linear-gradient(180deg,#f5f2ed 0%,#f5f2ed00 22%)}}
