html[data-theme=dark]{--ink:#f1f2f2;--muted:#aab0ad;--line:#353839;--soft:#222526;--white:#181a1b;--black:#080909;--sidebar:#0b0c0d;--good:#52c59a;--shadow:0 18px 55px rgba(0,0,0,.48);background:#121415}
html[data-theme=dark] body,html[data-theme=dark] .app{background:#121415;color:var(--ink)}
html[data-theme=dark] .topbar,html[data-theme=dark] .panel,html[data-theme=dark] .empty,html[data-theme=dark] .stat-grid article,html[data-theme=dark] dialog,html[data-theme=dark] dialog form{background:#1a1c1d;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .secondary,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .filter-bar input,html[data-theme=dark] .filter-bar select,html[data-theme=dark] .form-grid select,html[data-theme=dark] .communications-layout select,html[data-theme=dark] .communications-layout textarea{background:#242728;color:var(--ink);border-color:#45494a}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#7f8682}
html[data-theme=dark] .form-grid label,html[data-theme=dark] .login-card label,html[data-theme=dark] .member-directory-filters label{color:#d8dcda}
html[data-theme=dark] th{color:#9ba19e}html[data-theme=dark] td{border-color:var(--line)}html[data-theme=dark] tr.clickable:hover,html[data-theme=dark] .ward-performance-row:hover{background:#2b2021}
html[data-theme=dark] .electoral-ward-list button,html[data-theme=dark] .campaign-card,html[data-theme=dark] .agenda-item,html[data-theme=dark] .calendar-day{background:#1a1c1d;color:var(--ink)}
html[data-theme=dark] .electoral-ward-list button:hover,html[data-theme=dark] .electoral-ward-list button.active{background:#302022}
html[data-theme=dark] .calendar-day.outside{background:#151718}html[data-theme=dark] .calendar-day button{background:#382124;color:#f3dddd}
html[data-theme=dark] .performance-note,html[data-theme=dark] .data-prerequisite,html[data-theme=dark] .vd-readiness,html[data-theme=dark] .estimate-label{background:#302b1e;color:#dfc77e}
html[data-theme=dark] .privacy-callout{background:#302124}html[data-theme=dark] .privacy-callout p{color:#c7adb0}
html[data-theme=dark] .profile-grid div,html[data-theme=dark] .campaign-ward-chips span,html[data-theme=dark] .cavalcade-map{background:#222526}
html[data-theme=dark] .ward-map{background:#222728}html[data-theme=dark] .map-legend{background:rgba(27,29,30,.94);color:#ddd}
html[data-theme=dark] .badge{background:#193a31;color:#7ee0b9}html[data-theme=dark] .badge.draft{background:#3c321c;color:#e3c26f}
html[data-theme=dark] .issue-list em,html[data-theme=dark] .stat-icon.red{background:#3c2023;color:#ff7379}html[data-theme=dark] .stat-icon{background:#19352c}
html[data-theme=dark] .progress-track{background:#393d3b}html[data-theme=dark] .review-member{color:var(--ink)}
html[data-theme=dark] .theme-toggle{color:#d9dddb;border:1px solid #44484a;background:#242627;border-radius:20px;padding:7px 11px;margin-left:8px;display:inline-flex;gap:6px;align-items:center}
.theme-toggle{border:1px solid var(--line)!important;border-radius:20px!important;padding:7px 11px!important;margin-left:8px!important;display:inline-flex;gap:6px;align-items:center;color:var(--ink)!important;background:var(--white)!important}.theme-toggle span:first-child{font-size:15px}.theme-label{font-size:10px}
@media(max-width:720px){.theme-label{display:none}.theme-toggle{padding:7px 9px!important;margin-left:2px!important}}
