:root{--mw-bg:#f4f7f9;--mw-panel:#fff;--mw-panel2:#fbfdfe;--mw-text:#173047;--mw-muted:#637887;--mw-line:#dbe5eb;--mw-input:#fff;--mw-chart-text:#526574;--mw-chart-grid:#edf2f5;--mw-chart-axis:#d9e3ea}
html[data-theme="dark"]{color-scheme:dark;--mw-bg:#0e1620;--mw-panel:#15212c;--mw-panel2:#101b25;--mw-text:#dce7ef;--mw-muted:#9db0bd;--mw-line:#2a3b48;--mw-input:#101a23;--mw-chart-text:#a9bbc7;--mw-chart-grid:#263744;--mw-chart-axis:#3a4b58}
html[data-theme="dark"] body,html[data-theme="dark"] .public-body,html[data-theme="dark"] .widget-body{background:var(--mw-bg)!important;color:var(--mw-text)!important}
html[data-theme="dark"] .pub-nav,html[data-theme="dark"] .station-card,html[data-theme="dark"] .current-strip>div,html[data-theme="dark"] .forecast-days article,html[data-theme="dark"] .forecast-hours article,html[data-theme="dark"] .public-map-wrap,html[data-theme="dark"] .public-empty,html[data-theme="dark"] .history-card,html[data-theme="dark"] .seismic-map-card,html[data-theme="dark"] .seismic-list-card,html[data-theme="dark"] .card,html[data-theme="dark"] table,html[data-theme="dark"] .dropdown-content,html[data-theme="dark"] .day,html[data-theme="dark"] .hour{background:var(--mw-panel)!important;border-color:var(--mw-line)!important;color:var(--mw-text)!important}
html[data-theme="dark"] .pub-title h1,html[data-theme="dark"] .pub-section-title,html[data-theme="dark"] .station-top h2,html[data-theme="dark"] .station-temp,html[data-theme="dark"] .history-y-title,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3{color:var(--mw-text)!important}
html[data-theme="dark"] .pub-title p,html[data-theme="dark"] .station-top span,html[data-theme="dark"] .station-metrics span,html[data-theme="dark"] .current-strip span,html[data-theme="dark"] .forecast-days article span,html[data-theme="dark"] .forecast-hours small,html[data-theme="dark"] .chart-status,html[data-theme="dark"] .history-help,html[data-theme="dark"] .muted,html[data-theme="dark"] .meta,html[data-theme="dark"] .brand,html[data-theme="dark"] .widget-footer,html[data-theme="dark"] .seismic-row small{color:var(--mw-muted)!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea,html[data-theme="dark"] button:not(.btn),html[data-theme="dark"] .public-film button,html[data-theme="dark"] .history-toolbar button,html[data-theme="dark"] .history-mode button,html[data-theme="dark"] .history-compare-controls button,html[data-theme="dark"] .history-excel{background:var(--mw-input)!important;color:var(--mw-text)!important;border-color:var(--mw-line)!important}
html[data-theme="dark"] th{background:#1c2a35!important;color:var(--mw-text)!important}html[data-theme="dark"] td,html[data-theme="dark"] th{border-color:var(--mw-line)!important}
html[data-theme="dark"] .dropdown-content a{color:var(--mw-text)!important}html[data-theme="dark"] .dropdown-content a:hover{background:#21313e!important}
html[data-theme="dark"] .forecast-details,html[data-theme="dark"] .seismic-list-more{background:var(--mw-panel2)!important;border-color:var(--mw-line)!important}
html[data-theme="dark"] .seismic-legend{background:rgba(21,33,44,.94)!important;border-color:#425462!important;color:var(--mw-text)!important}
html[data-theme="dark"] .seismic-loading,html[data-theme="dark"] .sw-status{background:rgba(15,24,33,.9)!important;color:var(--mw-text)!important;border-color:var(--mw-line)!important}
html[data-theme="dark"] .leaflet-popup-content-wrapper,html[data-theme="dark"] .leaflet-popup-tip{background:#17232d;color:#dce7ef}html[data-theme="dark"] .leaflet-popup-content a{color:#72b9e8!important}
html[data-theme="dark"] .leaflet-control-layers,html[data-theme="dark"] .leaflet-bar a{background:#17232d!important;color:#dce7ef!important;border-color:#334653!important}
.mw-theme-toggle{border:1px solid rgba(255,255,255,.55);background:transparent;color:inherit;border-radius:6px;padding:6px 9px;cursor:pointer;font-size:13px;line-height:1;min-width:34px}.mw-theme-toggle.widget-toggle{position:fixed;right:8px;bottom:8px;z-index:1200;background:rgba(23,50,77,.85);color:#fff;border-color:rgba(255,255,255,.5);box-shadow:0 2px 8px rgba(0,0,0,.25)}
html[data-theme="dark"] .mw-theme-toggle:not(.widget-toggle){border-color:#7890a0;color:#fff}


/* MyWeather 1.8.13 dark palette aligned to the new blue branding */
html[data-theme="dark"]{--mw-bg:#071525;--mw-panel:#0f2137;--mw-panel2:#0a1b2e;--mw-text:#eaf4ff;--mw-muted:#9eb7d1;--mw-line:#274763;--mw-input:#0a1a2c;--mw-chart-text:#a9c1da;--mw-chart-grid:#1d3851;--mw-chart-axis:#345675;--mw-brand:#5aa9ff;--mw-brand-strong:#7cbbff;--mw-brand-soft:#102d4d}
html[data-theme="dark"] .top,html[data-theme="dark"] .pub-head{background:linear-gradient(135deg,#0b2848,#174f87 58%,#236caf)!important}
html[data-theme="dark"] .pub-nav a.active{color:#82c0ff!important;border-bottom-color:#5aa9ff!important}
html[data-theme="dark"] .btn,html[data-theme="dark"] .data-tabs a.active,html[data-theme="dark"] .pager a.active,html[data-theme="dark"] .history-excel,html[data-theme="dark"] .seismic-toolbar button.active,html[data-theme="dark"] .area-map-actions .primary{background:#2f83dc!important;border-color:#4c9cf0!important;color:#fff!important}
html[data-theme="dark"] .forecast-details>summary,html[data-theme="dark"] .sort-link.active,html[data-theme="dark"] .metric-info,html[data-theme="dark"] .data-source-credit a,html[data-theme="dark"] .history-link{color:#7cbbff!important}
html[data-theme="dark"] .area-map-dialog{background:var(--mw-panel)!important;border-color:var(--mw-line)!important;color:var(--mw-text)!important}html[data-theme="dark"] .area-map-controls input,html[data-theme="dark"] .area-map-actions button{background:var(--mw-input)!important;border-color:var(--mw-line)!important;color:var(--mw-text)!important}
