/* Shared navigation and an optional daylight palette. The default dark palette stays intact. */
.theme-toggle{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line2);border-radius:10px;background:var(--panel2);color:var(--text);font-size:1.3rem;line-height:1;cursor:pointer}
.theme-toggle:hover,.theme-toggle:focus-visible{border-color:var(--cyan)}
.btn-primary{background:#6537bd;color:#fff;box-shadow:none}
.btn-primary:hover{background:#754bc9;box-shadow:none}
.btn-red{background:#ac2530;color:#fff;box-shadow:none}
.btn-red:hover{background:#c1313a;box-shadow:none}
.account-link-mobile{display:none!important}
.ge-asio{background:#0c1117;border-top:1px solid #343b44}
.ge-asio-card{display:grid;grid-template-columns:135px 1fr;gap:25px;align-items:center;max-width:850px;padding:22px;border:1px solid #45505a;border-radius:12px;background:#17212d;color:#f2f5f8}
.ge-asio-card img{width:125px;height:auto;filter:none!important;transform:none!important;opacity:1!important}
.ge-asio-card h2{font-size:1.15rem!important;margin:0 0 6px!important;letter-spacing:0!important}
.ge-asio-card p{font-size:.9rem!important;line-height:1.5!important;color:#d2dbe5!important;margin:5px 0}
@media(max-width:600px){.ge-asio-card{grid-template-columns:1fr;gap:10px}.ge-asio-card img{width:105px}}
@media(max-width:1120px){
  .site-header{isolation:isolate}
  body.menu-open .site-header{background:#0b1017;backdrop-filter:none;border-bottom-color:#485363}
  .site-header .nav-links{position:absolute;top:var(--header);left:0;right:0;bottom:auto;width:100%;height:calc(100dvh - var(--header));max-height:calc(100vh - var(--header));overflow-y:auto;overscroll-behavior:contain;background:#0b1017;box-shadow:0 20px 50px rgba(0,0,0,.4);padding:18px max(24px,calc((100vw - var(--max))/2)) 50px;z-index:2}
  .site-header .nav-links.open{display:flex}
  .site-header .nav-links>a{color:#f1f4f8;font-size:1rem;min-height:54px;display:flex;align-items:center}
  .site-header .nav-links>a.active{color:#fff}
  .site-header .nav-links .mobile-langs a{color:#d5dce5}
  .site-header .nav-links .mobile-langs a.active{color:#fff}
  .site-header .account-link:not(.account-link-mobile){display:none}
  .site-header .nav-links .account-link-mobile{display:flex!important}
  .theme-toggle{margin-left:auto}
}

html[data-theme="light"]{color-scheme:light;--bg:#f3f5f8;--bg2:#eaf0f5;--panel:#fff;--panel2:#f0f3f7;--panel3:#e8edf4;--text:#17202c;--muted:#414e5d;--muted2:#526071;--line:#cbd4df;--line2:#aebbc9;--violet:#6339bc;--violet2:#5830aa;--magenta:#ad1f68;--cyan:#006d86;--blue:#2853b1;--red:#ad2530;--red2:#bf3c31;--green:#16623c;--shadow:0 14px 38px rgba(25,38,55,.12)}
html[data-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] body:before{background:linear-gradient(180deg,#f6f8fb,#edf1f6)}
html[data-theme="light"] body:after{display:none}
html[data-theme="light"] .site-header,html[data-theme="light"] .site-header.scrolled{background:#fff;border-bottom-color:var(--line);backdrop-filter:none}
html[data-theme="light"] .nav-links>a,html[data-theme="light"] .account-link,html[data-theme="light"] .lang-switch a{color:#344254}
html[data-theme="light"] .nav-links>a:hover,html[data-theme="light"] .nav-links>a.active{color:#121923}
html[data-theme="light"] .lang-switch a.active{color:#15202e;background:#e8edf4}
html[data-theme="light"] .menu-btn{background:#f2f5f9;border-color:#aebbc9}
html[data-theme="light"] .menu-btn:before,html[data-theme="light"] .menu-btn:after,html[data-theme="light"] .menu-btn span{background:#17202c}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .text-link,html[data-theme="light"] .store-guide summary{color:#263445}
html[data-theme="light"] .micro-label,html[data-theme="light"] .hero-meta,html[data-theme="light"] .hero-rule,html[data-theme="light"] .stage-top,html[data-theme="light"] .stage-bottom,html[data-theme="light"] .chapter-index,html[data-theme="light"] .chapter-tag,html[data-theme="light"] .footer-col h4{color:#526071}
html[data-theme="light"] .hero-statement strong,html[data-theme="light"] .friction-list div b,html[data-theme="light"] .article-copy p:first-child{color:#263445}
html[data-theme="light"] .hero-statement-inner,html[data-theme="light"] .footer-col a{color:#475568}
html[data-theme="light"] .btn{background:#fff;color:#1a2635;border-color:#9eabbc}
html[data-theme="light"] .btn:hover{background:#eaf0f6;border-color:#667b91}
html[data-theme="light"] .btn-primary{background:#6339bc;color:#fff;border-color:#6339bc;box-shadow:none}
html[data-theme="light"] .btn-primary:hover{background:#4f279e;border-color:#4f279e}
html[data-theme="light"] .btn-red{background:#a9232c;color:#fff;border-color:#a9232c;box-shadow:none}
html[data-theme="light"] .btn-red:hover{background:#8d1720;border-color:#8d1720}
html[data-theme="light"] .btn-soft{background:#243248;color:#fff;border-color:#243248}
html[data-theme="light"] .accent,html[data-theme="light"] .accent-neon,html[data-theme="light"] .wild-hero h1 .reason{background:linear-gradient(90deg,#ad1f68,#5f37b5,#006d86);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme="light"] .section-dark,html[data-theme="light"] .article-hero{background:#eaf0f5}
html[data-theme="light"] .media-stage,html[data-theme="light"] .product-chapter,html[data-theme="light"] .problem-panel,html[data-theme="light"] .flow-step,html[data-theme="light"] .real-media-card,html[data-theme="light"] .free-reason-card,html[data-theme="light"] .benefit,html[data-theme="light"] .proof-box,html[data-theme="light"] .content-card,html[data-theme="light"] .faq-item,html[data-theme="light"] .seo-link-card,html[data-theme="light"] .article-aside,html[data-theme="light"] .dust-use-card,html[data-theme="light"] .dust-feature-split,html[data-theme="light"] .dust-big-line,html[data-theme="light"] .dust-module,html[data-theme="light"] .dust-condition,html[data-theme="light"] .dust-release{background:#fff;border-color:var(--line)}
html[data-theme="light"] .manifest-grid{background:var(--line)}
html[data-theme="light"] .manifest-item,html[data-theme="light"] .radio-fact,html[data-theme="light"] .stage-card,html[data-theme="light"] .legal-copy .notice{background:#fff;border-color:var(--line)}
html[data-theme="light"] .stage-no,html[data-theme="light"] .stage-sub,html[data-theme="light"] .ab-mini-head span:last-child{color:#4b586a}
html[data-theme="light"] .store-facts li{color:#3d4b5c;border-color:#bec8d4}
html[data-theme="light"] .wild-hero .media-stage{background:#e6edf5;border-color:#ccd5df}
html[data-theme="light"] .store-hero-caption{color:#435469}
html[data-theme="light"] .ge-home-teaser{background:#e7edf4;border-color:#b9c5d2}
html[data-theme="light"] .ge-home-teaser h2{color:#182232}
html[data-theme="light"] .ge-home-teaser p{color:#39495c}
html[data-theme="light"] .ge-home-teaser .ge-micro{color:#a9232c}
html[data-theme="light"] .broadcast-copy .promise,html[data-theme="light"] .track-meta strong{color:#17202c}
html[data-theme="light"] .site-footer{background:#e7edf4;border-top-color:#c3ceda}
html[data-theme="light"] .footer-col a:hover,html[data-theme="light"] .legal-copy a{color:#17202c}
html[data-theme="light"] .asio-card,html[data-theme="light"] .legal-asio,html[data-theme="light"] .ge-asio-card{background:#17212d;border-color:#465466;color:#f2f5f8}
html[data-theme="light"] .asio-card p,html[data-theme="light"] .legal-asio p,html[data-theme="light"] .ge-asio-card p{color:#d2dbe5}
html[data-theme="light"] .legal-asio a{color:#fff}
html[data-theme="light"] .s7support-launcher{background:#fff;color:#15202e;border-color:#9aa9b9}
html[data-theme="light"] .s7support-panel{background:#fff;color:#17202c;border-color:#b8c5d2;box-shadow:0 18px 45px rgba(26,37,49,.2)}
html[data-theme="light"] .s7support-panel small,html[data-theme="light"] .s7support-form label,html[data-theme="light"] .s7support-result{color:#3e4d5e}
html[data-theme="light"] .s7support-close{color:#182232}
html[data-theme="light"] .s7support-form input,html[data-theme="light"] .s7support-form textarea,html[data-theme="light"] .s7support-intents button{background:#f6f8fb;color:#192636;border-color:#aebdcb}
html[data-theme="light"] .s7support-intents button.active{background:#e6e0f5;border-color:#6440a8;color:#24164f}
html[data-theme="light"] .s7support-submit,html[data-theme="light"] .s7support-download{background:#5631aa;color:#fff}
html[data-theme="light"] .commerce-body{--c-bg:#f3f5f8;--c-panel:#fff;--c-line:#bdc9d7;--c-text:#17202c;--c-muted:#455468;--c-violet:#5f37b5;--c-magenta:#ad1f68;--c-cyan:#006d86;--c-red:#a9232c;--c-green:#17623c;background:#f3f5f8;color:#17202c}
html[data-theme="light"] .auth-card,html[data-theme="light"] .panel,html[data-theme="light"] .kpis>div,html[data-theme="light"] .gate,html[data-theme="light"] .license-key{background:#fff;border-color:#bdc9d7}
html[data-theme="light"] .auth-card input,html[data-theme="light"] .auth-card textarea{background:#f6f8fb;color:#17202c;border-color:#aebdcb}
html[data-theme="light"] .mini-btn,html[data-theme="light"] .admin-tabs a{background:#fff;color:#17202c;border-color:#9eabbc}
html[data-theme="light"] .finance-grid b{color:#17202c}

/* GE-87 keeps its machine identity; editorial surfaces gain daylight contrast. */
html[data-theme="light"] .ge-page{--ge-ink:#17202c;--ge-muted:#3f4d5e;--ge-red:#a9232c;background:#f3f5f8}
html[data-theme="light"] .ge-hero{background:linear-gradient(140deg,#e5ebf1,#f6f8fb)}
html[data-theme="light"] .ge-hero:before{opacity:.06}
html[data-theme="light"] .ge-hero h1,html[data-theme="light"] .ge-state>strong{color:#17202c}
html[data-theme="light"] .ge-hero h1 em{color:#4a5868}
html[data-theme="light"] .ge-declaration{color:#17202c!important}
html[data-theme="light"] .ge-topline,html[data-theme="light"] .ge-date,html[data-theme="light"] .ge-clock small{color:#435165}
html[data-theme="light"] .ge-clock>div{background:#fff;border-color:#bdc9d7}
html[data-theme="light"] .ge-clock-wrap{border-color:#9fb0c0}
html[data-theme="light"] .ge-schedule,html[data-theme="light"] .ge-jump{background:#e2e9f0;border-color:#bdc9d7}
html[data-theme="light"] .ge-schedule span{color:#344356;border-color:#bdc9d7}
html[data-theme="light"] .ge-schedule span:first-child,html[data-theme="light"] .ge-micro,html[data-theme="light"] .ge-rule>span,html[data-theme="light"] .ge-criteria li:before{color:#a9232c}
html[data-theme="light"] .ge-jump a{color:#304156}
html[data-theme="light"] .ge-jump a:hover,html[data-theme="light"] .ge-jump a:focus-visible{color:#17202c}
html[data-theme="light"] .ge-rules,html[data-theme="light"] .ge-entry,html[data-theme="light"] .ge-why{background:#fff}
html[data-theme="light"] .ge-judging{background:#e8eef4}
html[data-theme="light"] .ge-rules-list,html[data-theme="light"] .ge-rule,html[data-theme="light"] .ge-criteria li{border-color:#b9c6d4}
html[data-theme="light"] .ge-prize{background:#1c2129;color:#f5f1e8;--ge-ink:#f5f1e8;--ge-muted:#c9d0d9}
html[data-theme="light"] .ge-prize .ge-micro,html[data-theme="light"] .ge-prize h2 span,html[data-theme="light"] .ge-prize-head p{color:#e7c88b}
html[data-theme="light"] .ge-state{background:#f4f7fa;border-color:#bdc9d7}
html[data-theme="light"] .ge-form{border-color:#bdc9d7}
html[data-theme="light"] .ge-form label{color:#17202c}
html[data-theme="light"] .ge-form input:not([type=checkbox]),html[data-theme="light"] .ge-form select{background:#fff;color:#17202c;border-color:#9aabbd}
html[data-theme="light"] .ge-legal{background:#e8eef4;border-color:#bdc9d7}
html[data-theme="light"] .ge-asio{background:#e8eef4;border-color:#bdc9d7}
html[data-theme="light"] .ge-legal a,html[data-theme="light"] .ge-form a{color:#9a1e29}
html[data-theme="light"] .ge-results{background:#1c2129;color:#f5f1e8;--ge-ink:#f5f1e8;--ge-muted:#c9d0d9}
html[data-theme="light"] .ge-preview{background:#edf2f7;border-color:#abbaca;color:#17202c}
html[data-theme="light"] .ge-preview strong{color:#9a1e29}
html[data-theme="light"] .ge-preview a{color:#243348;border-color:#899cad}
html[data-theme="light"] .ge-preview a:hover,html[data-theme="light"] .ge-preview a:focus-visible,html[data-theme="light"] .ge-preview a[aria-current=page]{background:#243348;color:#fff}
@media(max-width:1120px){
  html[data-theme="light"] body.menu-open .site-header,html[data-theme="light"] .site-header .nav-links{background:#fff;box-shadow:0 20px 45px rgba(22,35,50,.18)}
  html[data-theme="light"] .site-header .nav-links>a,html[data-theme="light"] .site-header .nav-links>a.active,html[data-theme="light"] .site-header .nav-links .mobile-langs a{color:#17202c}
  html[data-theme="light"] .site-header .nav-links .mobile-langs a.active{background:#e9edf5;border-color:#8c9dad;color:#17202c}
}
