/* EvoNotice — system-aware light theme. Load after site.css/app.css. */
html[data-theme="light"]{
  color-scheme:light;
  --night:#f4f0e6;--night2:#fffdf8;--night3:#e9e3d7;
  --chalk:#111416;--chalk2:#30383c;--dim:#4f595e;--faint:#5d666b;
  --line:#d8d0c1;--line2:#c2b8a7;
  --gold:#8a5c08;--coral:#b84335;--mint:#1e7a57;--peri:#4b5fa8;--rose:#a34863;
  --primary-bright:#243fbd;--steel:#2d49a8;--oxide:#b84335;--ice:#2d49a8;
}
html[data-theme="light"] body{background:var(--night);color:var(--chalk2)}
html[data-theme="light"] body::before{opacity:.025;mix-blend-mode:multiply}
html[data-theme="light"] body::after{display:none}
html[data-theme="light"] .site-page{background:var(--night)}
html[data-theme="light"] .feature{background:#fffdf8;border-color:var(--line)}
html[data-theme="light"] .feature h2,html[data-theme="light"] .feature p,html[data-theme="light"] .feature .hand{color:var(--chalk)}
html[data-theme="light"] .feature .eyebrow.mint{color:#1e7a57}
html[data-theme="light"] .nav{background:rgba(246,242,232,.93);border-bottom-color:var(--line)}
html[data-theme="light"] .navlinks a{color:var(--dim)}
html[data-theme="light"] .navlinks a:hover{color:var(--chalk);background:rgba(0,0,0,.04)}
html[data-theme="light"] .signin{color:var(--chalk2)}
html[data-theme="light"] .brandmark{background:transparent!important;color:var(--chalk)!important}
html[data-theme="light"] .btn-chalk{border-color:var(--line2);color:var(--chalk)}
html[data-theme="light"] .btn-chalk:hover{background:rgba(0,0,0,.05)}
html[data-theme="light"] .page-hero::after{background:radial-gradient(circle,rgba(61,90,254,.10),transparent 68%)}
html[data-theme="light"] .hero-aside,html[data-theme="light"] .panel,html[data-theme="light"] .auth-card,
html[data-theme="light"] .checker-form,html[data-theme="light"] .checker-result,html[data-theme="light"] .kit,
html[data-theme="light"] .template-card,html[data-theme="light"] .state-card,html[data-theme="light"] .plan,
html[data-theme="light"] .app-drawer,html[data-theme="light"] .preview-sheet{background:var(--night2)}
html[data-theme="light"] .hero-aside .a-grid{background:var(--line)}
html[data-theme="light"] .hero-aside .a-grid div{background:var(--night2)}
html[data-theme="light"] .data-table th,html[data-theme="light"] .state-table th,html[data-theme="light"] .ptable th{background:#ebe5d9}
html[data-theme="light"] .state-card:hover,html[data-theme="light"] .provider:hover{background:#fff}
html[data-theme="light"] .field input,html[data-theme="light"] .field select,html[data-theme="light"] .field textarea{background:#fffdf8;color:var(--chalk)}
html[data-theme="light"] .toc{border-color:var(--line)}
html[data-theme="light"] .app-callout{background:rgba(61,90,254,.05)}
html[data-theme="light"] .preview-sheet{padding:10px}
html[data-theme="light"] .tag.muted{background:rgba(0,0,0,.05);color:var(--faint)}
html[data-theme="light"] .footer{background:var(--night)}
html[data-theme="light"] .cta-band{background:#2038c8}
html[data-theme="light"] .theme-toggle{color:var(--chalk2);border-color:var(--line2);background:transparent}
html[data-theme="light"] .theme-toggle:hover{background:rgba(0,0,0,.05);color:var(--chalk)}

/* App shell */
html[data-theme="light"] .appshell{
  --bg:#f4f0e6;--surface:#fffdf8;--surface2:#f0ece2;--surface3:#e7e1d5;
  --border:#d8d0c1;--border2:#c2b8a7;--text:#111416;--text2:#40484d;--text3:#5b656b;
  --blue:#3d5afe;--red:#b84335;--gold:#8a5c08;--green:#1e7a57;--violet:#6553a8;
  --red-soft:rgba(184,67,53,.10);--gold-soft:rgba(138,92,8,.10);--green-soft:rgba(30,122,87,.10);
  --violet-soft:rgba(101,83,168,.10);--blue-soft:rgba(61,90,254,.10);
}
html[data-theme="light"] .apprail{background:#fbf8f1;border-right-color:var(--border)}
html[data-theme="light"] .apptop{background:rgba(255,253,248,.94);border-bottom-color:var(--border)}
html[data-theme="light"] .apptop .search{background:#fffdf8;border-color:var(--border)}
html[data-theme="light"] .apptop .search svg{color:#687176}
html[data-theme="light"] .apptop .search input{color:var(--text2)}
html[data-theme="light"] .apptop .search input::placeholder{color:#7b858a}
html[data-theme="light"] .apptop .topbtn,html[data-theme="light"] .apptop .topicon{color:var(--text2);border-color:var(--border)}
html[data-theme="light"] .apptop .topbtn:hover{background:#f1ece2;color:var(--text)}
html[data-theme="light"] .workspace-switch .ws-avatar{background:#e8e2d6;color:#4c565b}
html[data-theme="light"] .anav a{color:#4d585e}
html[data-theme="light"] .anav a svg{color:#6b777d}
html[data-theme="light"] .anav a:hover{background:#f1ece2;color:var(--text)}
html[data-theme="light"] .anav a.active{background:#e9e3d8;color:var(--text)}
html[data-theme="light"] .anav a.active svg{color:#243fbd}
html[data-theme="light"] .appuser b{color:var(--text)}
html[data-theme="light"] .abtn{background:#fffdf8;border-color:var(--border);color:var(--text2)}
html[data-theme="light"] .abtn:hover{background:#f0ebe1;color:var(--text);border-color:var(--border2)}
html[data-theme="light"] .abtn.primary{background:var(--blue);color:#fff}
html[data-theme="light"] .tabs{background:#faf7f0}
html[data-theme="light"] .drow:hover{background:#faf7f0}
html[data-theme="light"] .atable th{background:#f1ece2;color:#68747a}
html[data-theme="light"] .atable tbody tr:hover{background:#faf7f0}
html[data-theme="light"] .rowsel{background:#f4f3ff;outline-color:rgba(61,90,254,.35)}
html[data-theme="light"] .provider:hover{background:#faf7f0}
html[data-theme="light"] .provider .logo{background:#fff;border-color:var(--border)}
html[data-theme="light"] .step.active{background:#f1ece2}
html[data-theme="light"] .map-row select,html[data-theme="light"] .fgroup input,html[data-theme="light"] .fgroup select,html[data-theme="light"] .fgroup textarea{background:#fffdf8;color:var(--text)}
html[data-theme="light"] .map-actions{background:#faf7f0}
html[data-theme="light"] .settings-nav a:hover{background:#f1ece2}
html[data-theme="light"] .settings-nav a.active{background:#e9e3d8;color:var(--text)}
html[data-theme="light"] .toggle{background:#d6cec1}
html[data-theme="light"] .toggle:after{background:#fff}
html[data-theme="light"] .callout,html[data-theme="light"] .empty-state{background:#faf7f0}
html[data-theme="light"] .tablefoot,html[data-theme="light"] .drawer-foot{background:#faf7f0}
html[data-theme="light"] .pager button.active{background:#e9e3d8;color:var(--text)}
html[data-theme="light"] .appmobile{background:#fbf8f1;border-top-color:var(--border)}
html[data-theme="light"] .appmobile a{color:#68747a}
html[data-theme="light"] .appmobile a.active{color:var(--text)}
html[data-theme="light"] .appshell .pagefoot{color:#68747a}
html[data-theme="light"] .drawer{background:var(--surface)}

/* Theme toggle */
.theme-toggle{width:30px;height:30px;border:1px solid var(--line2);border-radius:5px;background:transparent;color:var(--chalk2);display:inline-grid;place-items:center;cursor:pointer;flex:none;padding:0}
.theme-toggle:hover{background:rgba(255,255,255,.05);color:var(--chalk)}
.theme-toggle svg{width:15px;height:15px}
.theme-toggle .sun{display:none}.theme-toggle .moon{display:block}
html[data-theme="light"] .theme-toggle .sun{display:block}html[data-theme="light"] .theme-toggle .moon{display:none}
@media(max-width:680px){.theme-toggle{margin-left:auto}.apptop .theme-toggle{display:none}}
html[data-theme="light"] .today{background:#fffdf8;border-color:var(--line2);box-shadow:0 24px 70px -40px rgba(40,30,15,.25)}
html[data-theme="light"] .today .note{color:#243fbd}
html[data-theme="light"] .appbar{background:#fffdf8}
html[data-theme="light"] .appbar .search{background:#f4f0e6}
html[data-theme="light"] .today-top{border-bottom-color:var(--line)}

/* language selector */
.lang-pick{display:inline-flex;align-items:center;margin-right:2px}
.lang-sel{height:30px;border:1px solid var(--line2);border-radius:4px;background:transparent;color:var(--chalk2);font:500 9px/1 var(--mono);letter-spacing:.04em;padding:0 5px;cursor:pointer;outline:none}
.lang-sel option{background:var(--night2);color:var(--chalk)}
html[data-theme="light"] .lang-sel option{background:#fffdf8;color:#111}
.apptop .lang-sel{height:30px;border-color:var(--border);color:var(--text2);background:transparent}

/* compact mobile header after language/theme controls were added */
@media(max-width:720px){
  .nav .right{gap:6px}
  .nav .right .signin{display:none}
  .nav .right .btn-gold{height:34px;padding:0 11px;font-size:10px;letter-spacing:0}
  .nav .right .lang-sel{height:30px}
}
@media(max-width:430px){
  .nav .right .btn-gold{width:34px;padding:0;font-size:0;gap:0}
  .nav .right .btn-gold:after{content:"→";font-size:16px;font-weight:400}
  .brand b{font-size:14px}
}
@media(max-width:680px){.pricing-grid{grid-template-columns:1fr}.plan{min-width:0}.plan .pn{flex-wrap:wrap;gap:6px}}

html[data-theme="light"] .appbrand b span{color:#243fbd}
html[data-theme="light"] .anav-label{color:#5b656b}
html[data-theme="light"] .pagefoot{color:#5b656b}
html[data-theme="light"] .seg button.active{background:#e9e3d8;color:var(--text)}
html[data-theme="light"] .atable th{color:#5b656b}

html[data-theme="light"] .appbrand b span{color:#243fbd}
html[data-theme="light"] .cta-band .btn-chalk{color:#fff}
html[data-theme="light"] .atable .actions{color:#5b656b}
html[data-theme="light"] .ptable th{color:#5b656b}
html[data-theme="light"] .appshell .pill.red{color:#9e2f26}

html[data-theme="light"] .appshell .pagefoot{color:#5b656b}
html[data-theme="light"] .appshell .pill.blue{color:#243fbd}
html[data-theme="light"] .cta-band .btn-gold{background:#fffdf8;color:#111416}
html[data-theme="light"] .cta-band .btn-gold:hover{background:#fff}
.cta-band p{color:#fff;opacity:1}
.map-actions .hint.ok{color:var(--green)}
html[data-theme="light"] .map-actions .hint.ok{color:#1e7a57}
