/* Light theme: applied when <html data-theme="light"> */
html[data-theme="light"]{color-scheme:light}
html[data-theme="light"]{
  --bg:#ffffff;--surface:#f7f5fd;--card:#ffffff;--card2:#f1eefb;
  --border:rgba(26,22,51,.11);--border2:rgba(26,22,51,.2);
  --gold:#f0a30a;--gold-dim:rgba(240,163,10,.14);--gold-glow:rgba(240,163,10,.07);
  --rose:#e8456b;--teal:#0f9d8a;--teal-dim:rgba(15,157,138,.12);--violet:#6d4fd6;--green:#15985a;
  --white:#1a1633;--muted:rgba(26,22,51,.68);--muted2:rgba(26,22,51,.48);
  --gold-text:#9a5b00;
}
html[data-theme="light"] body{background:var(--bg);color:var(--white)}
/* bars and overlays */
html[data-theme="light"] nav.topnav{background:rgba(255,255,255,.94);box-shadow:0 1px 0 var(--border)}
html[data-theme="light"] .mnav{background:rgba(255,255,255,.98)}
html[data-theme="light"] #sbar{background:rgba(255,255,255,.98);box-shadow:0 -4px 20px rgba(26,22,51,.08)}
html[data-theme="light"] .filter-bar{background:rgba(247,245,253,.85)}
html[data-theme="light"] .navlist a:hover,html[data-theme="light"] .btn-outline:hover{background:rgba(26,22,51,.06)}
html[data-theme="light"] .azbar::-webkit-scrollbar-thumb{background:rgba(26,22,51,.2)}
/* cards get a soft shadow instead of glow */
html[data-theme="light"] .name-card,html[data-theme="light"] .postcard,html[data-theme="light"] .card-form,html[data-theme="light"] .fhelp{box-shadow:0 1px 3px rgba(26,22,51,.08)}
html[data-theme="light"] .name-card:hover,html[data-theme="light"] .postcard:hover{box-shadow:0 6px 18px rgba(26,22,51,.12)}
/* text that was hard-coded white */
html[data-theme="light"] .seo-block strong,html[data-theme="light"] .seo-inner strong{color:#1a1633}
html[data-theme="light"] .tcard blockquote{color:rgba(26,22,51,.8)}
html[data-theme="light"] .prose{color:rgba(26,22,51,.82)}
html[data-theme="light"] .prose h1,html[data-theme="light"] .prose h2,html[data-theme="light"] .prose h3{color:#1a1633}
html[data-theme="light"] .prose .meta,html[data-theme="light"] .postcard small,html[data-theme="light"] .pc-date,html[data-theme="light"] .nt-count{color:rgba(26,22,51,.55)}
html[data-theme="light"] .pc-ex,html[data-theme="light"] .nt-label,
html[data-theme="light"] .postcard,html[data-theme="light"] .dl-list a,html[data-theme="light"] .cur-sel{color:#1a1633}
html[data-theme="light"] .card-form label{color:rgba(26,22,51,.7)}
html[data-theme="light"] .card-form input[type=text],html[data-theme="light"] .card-form input[type=email],html[data-theme="light"] .card-form input[type=tel],html[data-theme="light"] .card-form input[type=password],html[data-theme="light"] .card-form textarea,html[data-theme="light"] .card-form select{background:#fff;color:#1a1633;border-color:var(--border2)}
html[data-theme="light"] .logo-fallback,html[data-theme="light"] .flogo-fallback{color:#1a1633}
html[data-theme="light"] footer .ftagline{color:rgba(26,22,51,.8)}
html[data-theme="light"] .fhelp-links{color:rgba(26,22,51,.55)}html[data-theme="light"] .fhelp-links a{color:#1a1633}
html[data-theme="light"] .fchip-count,html[data-theme="light"] .pbtn.idle{background:rgba(26,22,51,.07)}
html[data-theme="light"] .pbg,html[data-theme="light"] .sbprogbg{background:rgba(26,22,51,.12)}
html[data-theme="light"] .wb{background:rgba(26,22,51,.2)}
/* gold used as TEXT needs a darker amber on white */
html[data-theme="light"] .nt-label strong,html[data-theme="light"] .pc-title,html[data-theme="light"] .seo-block a,html[data-theme="light"] .logo span,html[data-theme="light"] .flogo-fallback span,html[data-theme="light"] .logo-fallback span,html[data-theme="light"] .search-prefix,html[data-theme="light"] .nc-initial,html[data-theme="light"] .name-card:hover .nc-arrow,html[data-theme="light"] .fchip.active,html[data-theme="light"] .section-title-sm svg,html[data-theme="light"] .sprice,html[data-theme="light"] .price-wrap *{color:var(--gold-text)}
html[data-theme="light"] .hero-letter-bg{-webkit-text-stroke:1px rgba(240,163,10,.35)}
html[data-theme="light"] .social-link svg{opacity:.9}
/* theme switch button */
.theme-toggle{position:fixed;left:12px;bottom:84px;z-index:250;display:flex;align-items:center;gap:.4rem;background:var(--card2,#1e1a3a);color:var(--white,#fff);border:1px solid var(--border2);border-radius:999px;padding:.5rem .9rem;font:600 .78rem 'Inter',sans-serif;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.theme-toggle:hover{border-color:var(--gold)}

html[data-theme="light"] .fhelp-label{color:inherit}
html[data-theme="light"] .fchip{color:#1a1633;background:#fff}
html[data-theme="light"] .fchip.active{background:var(--gold);color:#0b0917}
html[data-theme="light"] .nt-label{color:#1a1633}
html[data-theme="light"] .nc-name{color:#1a1633}
/* a little more contrast for secondary text on white */
html[data-theme="light"]{--muted:rgba(26,22,51,.74);--muted2:rgba(26,22,51,.56)}
