.language-toggle{min-width:44px;min-height:40px;padding:0 10px;border:1px solid #cbd9e7;border-radius:8px;background:#fff;color:#17324a;font-weight:700;letter-spacing:.04em}
.settings-workspace .secondary-button{background:#eaf4ff;border:1px solid #b8cfdf;color:#17324a}
.language-toggle:hover{background:#eaf4ff}
.language-toggle:focus-visible{outline:3px solid #0089ff70;outline-offset:3px}
.theme-toggle{min-width:42px;min-height:40px;padding:0 10px;border:1px solid #cbd9e7;border-radius:8px;background:#fff;color:#17324a;font-size:20px;line-height:1}
.theme-toggle:hover{background:#eaf4ff}
.theme-toggle:focus-visible{outline:3px solid #0089ff70;outline-offset:3px}
:root[data-theme="dark"]{color-scheme:dark;--blue:#75c4ff;--navy:#e8f0f7;--muted:#a5b9cb;--line:#344a5d;--bg:#0e1822;--green:#7bd49a;--cyan:#64d9ef;--card:#172635;--shadow:0 8px 24px #0006}
:root[data-theme="dark"] body{background:var(--bg);color:var(--navy)}
:root[data-theme="dark"] .sidebar{background:linear-gradient(168deg,#172735 0%,#142433 62%,#10202d 100%);border-right-color:var(--line)}
:root[data-theme="dark"] .brand-symbol{background:#f7fbff}
:root[data-theme="dark"] .nav-link{color:#b4c7d8}
:root[data-theme="dark"] .nav-link:hover,:root[data-theme="dark"] .icon-button:hover{background:#243b4e}
:root[data-theme="dark"] .nav-link.active{background:#173a53;color:#9bd7ff}
:root[data-theme="dark"] .sidebar footer{border-top-color:var(--line)}
:root[data-theme="dark"] .topbar{border-bottom-color:var(--line)}
:root[data-theme="dark"] .page-meta{color:#a5b9cb}
:root[data-theme="dark"] .card,:root[data-theme="dark"] .settings-workspace .settings{background:var(--card);border-color:var(--line);color:var(--navy)}
:root[data-theme="dark"] .search,:root[data-theme="dark"] .settings-workspace input,:root[data-theme="dark"] .settings-workspace select,:root[data-theme="dark"] .analytics-controls input,:root[data-theme="dark"] .analytics-controls select{background:#101e2a;border-color:#40586d;color:var(--navy)}
:root[data-theme="dark"] .analytics-workspace button,:root[data-theme="dark"] .settings-workspace button,:root[data-theme="dark"] .settings-workspace .secondary-button{background:#22394c;border-color:#486278;color:#e7f2fb}
:root[data-theme="dark"] .analytics-workspace button:hover:not(:disabled),:root[data-theme="dark"] .settings-workspace button:hover{background:#2d4a60}
:root[data-theme="dark"] .analytics-workspace button.primary-button{background:#1267a5;border-color:#1267a5;color:#fff}
:root[data-theme="dark"] .analytics-summary>div{background:linear-gradient(130deg,#1a2b39,#172635);border-color:var(--line);color:var(--navy)}
:root[data-theme="dark"] .analytics-alert{background:#302532;color:var(--navy)}
:root[data-theme="dark"] .saved-alert{background:#203547;color:var(--navy)}
:root[data-theme="dark"] .saved-alert p,:root[data-theme="dark"] .saved-alert small,:root[data-theme="dark"] .analytics-incidents-panel>p{color:#b7c8d7}
:root[data-theme="dark"] .incident-feedback-form label{color:#d8e5ee}
:root[data-theme="dark"] .incident-feedback-form select,:root[data-theme="dark"] .incident-feedback-form textarea{background:#101e2a;color:var(--navy);border-color:#40586d}
:root[data-theme="dark"] .incident-feedback-status{color:#8de0aa}
:root[data-theme="dark"] .analytics-empty{color:#b7c8d7}
:root[data-theme="dark"] .analytics-empty h3,:root[data-theme="dark"] .section-heading h2,:root[data-theme="dark"] .settings-workspace h3{color:var(--navy)}
:root[data-theme="dark"] .analytics-disclaimer,:root[data-theme="dark"] .main-footer{color:var(--muted)}
:root[data-theme="dark"] .section-heading .eyebrow{color:#8acfe0}
:root[data-theme="dark"] .main-footer{border-top-color:var(--line)}
:root[data-theme="dark"] table,:root[data-theme="dark"] th,:root[data-theme="dark"] td{background:#172635;color:var(--navy);border-color:var(--line)}
:root[data-theme="dark"] th{background:#203547}
:root[data-theme="dark"] dialog{background:#172635;border-color:var(--line);color:var(--navy)}
:root[data-theme="dark"] #dialog-body,:root[data-theme="dark"] #dialog-body dd{color:var(--navy)}
:root[data-theme="dark"] #analytics-feedback{background:#1a3446;color:#c7e8fa}
:root[data-theme="dark"] #analytics-feedback[data-error="true"],:root[data-theme="dark"] .settings-workspace #dashboard-settings-feedback[data-error="true"]{background:#3a2028;color:#ffb6bd}
:root[data-theme="dark"] .language-toggle,:root[data-theme="dark"] .theme-toggle{background:#203547;border-color:#496277;color:#f0f6fb}
:root[data-theme="dark"] .language-toggle:hover,:root[data-theme="dark"] .theme-toggle:hover{background:#2b465b}
:root[data-theme="dark"] .sidebar-landscape{background:linear-gradient(#183447,#203744 56%,#283f39)}
:root[data-theme="dark"] .lake{background:linear-gradient(#286478,#345969)}
:root[data-theme="dark"] .mountain{background:#425e6b}
:root[data-theme="dark"] .mountain.front{background:#497052}
:root[data-theme="dark"] .analytics-controls label,:root[data-theme="dark"] .settings-workspace label{color:#d8e5ee}
