.theme-toggle{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font:inherit;font-size:13px;font-weight:750;color:var(--ink);cursor:pointer;white-space:nowrap}.c58-back-to-top{position:fixed;right:22px;bottom:22px;z-index:90;border:1px solid rgba(255,255,255,.18);background:#0f2532;color:#fff;border-radius:999px;padding:11px 14px;font-weight:800;box-shadow:0 14px 36px rgba(0,0,0,.18);opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s ease}.c58-back-to-top.is-visible{opacity:1;transform:none;pointer-events:auto}.c58-story-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:42px 0 12px}.c58-story-nav a{display:flex;flex-direction:column;gap:7px;border:1px solid var(--line);border-radius:18px;padding:20px;text-decoration:none;background:#fff}.c58-story-nav span{font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}.c58-story-nav strong{font-family:Georgia,serif;font-size:22px;line-height:1.15}.c58-story-nav-next{text-align:right}
html[data-theme="dark"]{--ink:#eef3f5;--muted:#aab6bd;--paper:#10161b;--blue:#69c4e2;--ocean:#68d0dc;--gold:#e9b04c;--green:#78a88f;--line:#2a363e;--white:#151d23;color-scheme:dark}html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}html[data-theme="dark"] .site-header{background:rgba(16,22,27,.95);border-bottom-color:#2a363e}html[data-theme="dark"] .primary-nav,html[data-theme="dark"] .language-panel,html[data-theme="dark"] .post-card,html[data-theme="dark"] .county-card,html[data-theme="dark"] .ecosystem,html[data-theme="dark"] .ecosystem-card,html[data-theme="dark"] .c58-report-card,html[data-theme="dark"] .c58-encyclopedia-grid>a,html[data-theme="dark"] .c58-governor-social,html[data-theme="dark"] .c58-governor-statements,html[data-theme="dark"] .c58-story-nav a,html[data-theme="dark"] .c58-comments,html[data-theme="dark"] .c58-comment-login,html[data-theme="dark"] .my-ca-card,html[data-theme="dark"] .founder-credentials{background:#151d23;color:var(--ink);border-color:var(--line)}html[data-theme="dark"] .hero{background:radial-gradient(circle at 78% 25%,rgba(217,154,36,.12),transparent 27%),radial-gradient(circle at 80% 75%,rgba(11,111,143,.2),transparent 30%),linear-gradient(135deg,#10161b,#14232a)}html[data-theme="dark"] .stats,html[data-theme="dark"] .map-section,html[data-theme="dark"] .c58-tax-tools{background:#131b20}html[data-theme="dark"] .pale,html[data-theme="dark"] .live-sources,html[data-theme="dark"] .c58-governor-column,html[data-theme="dark"] .c58-news-collab,html[data-theme="dark"] .c58-report-result{background:#182229}html[data-theme="dark"] .county-band{background:#13252d}html[data-theme="dark"] .hero-search,html[data-theme="dark"] .language-choice,html[data-theme="dark"] .search-pill,html[data-theme="dark"] .language-toggle,html[data-theme="dark"] .my-pill,html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .county-jump a,html[data-theme="dark"] .light-inline,html[data-theme="dark"] .cali-actions button,html[data-theme="dark"] .cali-result,html[data-theme="dark"] .c58-news-social-follow a{background:#151d23;color:var(--ink);border-color:var(--line)}html[data-theme="dark"] .cali-panel{background:#11181d;color:var(--ink)}html[data-theme="dark"] .cali-message-guide,html[data-theme="dark"] .source-trust{background:#18272e;color:var(--ink)}html[data-theme="dark"] .link-grid a{background:#151d23;border-color:var(--line)}html[data-theme="dark"] .link-grid a:hover{box-shadow:0 15px 35px rgba(0,0,0,.18)}html[data-theme="dark"] img{filter:none}
@media(max-width:900px){.theme-toggle{padding:8px 10px}.c58-story-nav{grid-template-columns:1fr}.c58-story-nav-next{text-align:left}.c58-back-to-top{right:14px;bottom:14px}}
@media(max-width:520px){.theme-toggle{font-size:12px;padding:8px 9px}}
