:root{color-scheme:light}
.theme-toggle{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:11px;padding:9px 11px;font-size:11px;font-weight:850;display:inline-flex;align-items:center;gap:6px;min-width:40px;justify-content:center}.theme-toggle:hover{background:var(--soft)}.theme-toggle .theme-icon{font-size:14px;line-height:1}.top-actions{display:flex;align-items:center;gap:8px}
:root[data-theme="dark"]{color-scheme:dark;--ink:#f1f6f7;--muted:#9aaeb8;--line:#29414c;--soft:#172d37;--teal:#35aaa5;--teal2:#2e9a96;--warm:#d49a4a;--warm-soft:#30271b;--red:#d27878;--navy:#78a2c1;--white:#10232d;--shadow:0 18px 48px rgba(0,0,0,.34)}
:root[data-theme="dark"],:root[data-theme="dark"] body{background:#09151d;color:var(--ink)}
:root[data-theme="dark"] .topbar,:root[data-theme="dark"] .narrative,:root[data-theme="dark"] .momentum-row,:root[data-theme="dark"] .trace a,:root[data-theme="dark"] .trace button,:root[data-theme="dark"] .evidence-tools input,:root[data-theme="dark"] .evidence-tools select,:root[data-theme="dark"] .evidence-item,:root[data-theme="dark"] .evidence-summary,:root[data-theme="dark"] .evidence-actions a,:root[data-theme="dark"] .evidence-actions button,:root[data-theme="dark"] .load-more,:root[data-theme="dark"] .panel-sheet,:root[data-theme="dark"] .panel-top,:root[data-theme="dark"] .seg button,:root[data-theme="dark"] .range-row select,:root[data-theme="dark"] .mobile-axis-tabs button{background:var(--white);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .evidence-detail{background:#0d1d26}
:root[data-theme="dark"] .dock{background:rgba(16,35,45,.96);border-color:var(--line);box-shadow:0 16px 40px rgba(0,0,0,.35)}
:root[data-theme="dark"] .filter-open,:root[data-theme="dark"] .filter-actions .primary{background:var(--teal);color:#071316}
:root[data-theme="dark"] .moving{background:#112830;border-color:#28464d}
:root[data-theme="dark"] .ring{stroke:#35505c}:root[data-theme="dark"] .axis-line{stroke:#2c444f}:root[data-theme="dark"] .poly{fill:rgba(53,170,165,.09)}:root[data-theme="dark"] .poly-core{fill:rgba(241,246,247,.025)}:root[data-theme="dark"] .poly-eco{fill:rgba(53,170,165,.035)}:root[data-theme="dark"] .petal{fill:rgba(212,154,74,.34)}:root[data-theme="dark"] .point{fill:#10232d}:root[data-theme="dark"] .axis-dot{fill:#173039;stroke:#4b8885}:root[data-theme="dark"] .axis-hit.active .axis-dot{fill:#1b3d3d;stroke:var(--teal)}:root[data-theme="dark"] .axis-label{fill:#dbe7ea}:root[data-theme="dark"] .axis-value{fill:#9aaeb8}:root[data-theme="dark"] .axis-hit{color:#c5d4da}
:root[data-theme="dark"] .mobile-axis-tabs button.active,:root[data-theme="dark"] .seg button.active{background:#173839;border-color:#3b8f8a;color:var(--teal)}
:root[data-theme="dark"] .pill.warm{background:#33291c;color:#e0ad65}
:root[data-theme="dark"] .panel{background:rgba(2,9,13,.58)}
@media(max-width:650px){.theme-toggle{padding:9px;min-width:36px}.theme-toggle .theme-label{display:none}}
