/* Station solar mode has priority over device preferences. */
html[data-station-theme=light] { background:#edf5fb; color:#172333; color-scheme:light; }
html[data-station-theme=dark] { background:#020813; color:#eef6ff; color-scheme:dark; }
html[data-station-theme] .site-header .nav-header a,
html[data-station-theme] .site-header .nav-header a:hover,
html[data-station-theme] .site-header .nav-header a:focus {
    background:transparent !important; background-image:none !important;
    color:#003b73 !important; border:0 !important; border-radius:0 !important;
    box-shadow:none !important;
    -webkit-text-stroke:.4px #fff;
    paint-order:stroke fill;
    text-shadow:-1px -1px 0 #fff,0 -1px 0 #fff,1px -1px 0 #fff,-1px 0 0 #fff,1px 0 0 #fff,-1px 1px 0 #fff,0 1px 0 #fff,1px 1px 0 #fff !important;
}
html[data-station-theme] .site-header .nav-header a:focus-visible {
    outline:3px solid #168bff; outline-offset:3px;
}
html[data-station-theme=light] .site-header .menu-toggle,
html[data-station-theme=light] .site-header .responsive-menu-icon {
    background:#fff !important; color:#003b73 !important;
}
html[data-station-theme=dark] .site-header .menu-toggle,
html[data-station-theme=dark] .site-header .responsive-menu-icon {
    background:#081523 !important; color:#eef6ff !important;
}
html[data-station-theme] .site-header .nav-header .sub-menu a { display:block; }
body.light .wd { --wd-card:#fff; --wd-line:#dce5eb; --wd-text:#233442; --wd-muted:#536473; --wd-accent:#176e85; --wd-soft:#eef6f8; }
body.dark .wd { --wd-card:#1f2933; --wd-line:#405365; --wd-text:#edf3f7; --wd-muted:#b7c4cf; --wd-accent:#73c9df; --wd-soft:#263b46; }
html[data-station-theme] body:not([data-page]) .site-footer { color:#eef6ff !important; }
body.light .moon-phase,body.light .moon-visible { color:#536473 !important; }
body.dark .moon-phase,body.dark .moon-visible { color:#bdcddd !important; }
body.light .forecast-high { color:#af2600 !important; }
body.dark .forecast-high { color:#ff9f80 !important; }
body.light .wx-data-freshness-label { color:#126b35 !important; }
body.dark .wx-data-freshness-label { color:#85dfa3 !important; }
html[data-station-theme] .records-header-year { background:#005596 !important; color:#fff !important; }
html[data-station-theme] .garden-action-tab.is-active,
html[data-station-theme] .garden-mini-check.is-active,
html[data-station-theme] #gardenLimitsReset,
html[data-station-theme] .garden-weather button[type=submit],
html[data-station-theme] .garden-weather .garden-button { background:#005596 !important; color:#fff !important; }
body.light .highcharts-container text,body.light .highcharts-container text tspan,
body.light .highcharts-container .highcharts-plot-line-label { fill:#34495c !important; color:#34495c !important; }
body.dark .highcharts-container text,body.dark .highcharts-container text tspan,
body.dark .highcharts-container .highcharts-plot-line-label { fill:#d7e6f5 !important; color:#d7e6f5 !important; }
body.light .highcharts-container .highcharts-text-outline { stroke:#fff !important; fill:#34495c !important; }
body.dark .highcharts-container .highcharts-text-outline { stroke:#081523 !important; fill:#d7e6f5 !important; }
@media screen {
    body.dark.solar-report { background:#020813; color:#eef6ff; }
    body.dark.solar-report .report-sheet { background:#081523; border-color:#405365; }
    body.dark.solar-report h1, body.dark.solar-report .meta-value { color:#eef6ff; }
    body.dark.solar-report .report-kicker, body.dark.solar-report .report-subtitle,
    body.dark.solar-report .meta-label, body.dark.solar-report .unit-note,
    body.dark.solar-report .report-footer { color:#bdcddd; }
    body.dark.solar-report .meta-item, body.dark.solar-report tbody tr:nth-child(odd) { background:#10243a; }
    body.dark.solar-report tbody tr:nth-child(even) { background:#081b2e; }
    body.dark.solar-report .summary-row td { background:#233b53; color:#eef6ff; }
    body.dark.solar-report th, body.dark.solar-report h2 { background:#294762; color:#fff; }
    body.dark.solar-report td, body.dark.solar-report th,
    body.dark.solar-report .meta-grid, body.dark.solar-report .meta-item { border-color:#405365; }
    body.dark.solar-report .report-action.secondary { background:#10243a; color:#eef6ff; }
}
@media print {
    html[data-station-theme] { background:white !important; color:black !important; color-scheme:light !important; }
}

/* Mobile menu symbol: vector strokes, independent of icon-font loading. */
html[data-station-theme] .site-header .responsive-menu-icon {
    background:transparent !important; background-image:none !important;
    border:0 !important; box-shadow:none !important; border-radius:0 !important;
    width:48px; min-height:44px; padding:6px 8px;
}
html[data-station-theme] .site-header .responsive-menu-icon::before {
    content:"" !important; display:block; width:32px; height:32px;
    margin:0 auto; padding:0 !important;
    background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 7H28M4 16H28M4 25H28' fill='none' stroke='white' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M4 7H28M4 16H28M4 25H28' fill='none' stroke='%23003b73' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/32px 32px no-repeat !important;
    text-shadow:none !important; -webkit-text-stroke:0 !important;
}
html[data-station-theme] .site-header .responsive-menu-icon[aria-expanded=true]::before {
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 7L25 25M25 7L7 25' fill='none' stroke='white' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M7 7L25 25M25 7L7 25' fill='none' stroke='%23003b73' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}
@media(max-width:768px) {
    html[data-station-theme] .site-header .genesis-nav-menu.responsive-menu,
    html[data-station-theme] .site-header .genesis-nav-menu.responsive-menu .menu-item {
        background:transparent !important; background-image:none !important;
        border:0 !important; box-shadow:none !important;
    }
}

/* Verified after sunset: brighter lows and legible sensor cards. */
body.dark .forecast-low {color:#8dc9ff !important;}
body.dark .radar-map .nav-tabs a {color:#91caff !important;}
body.dark .radar-map .nav-tabs .active a {color:#ffaaa5 !important;}
body.dark .garden-weather .soil-moisture-visual,
body.dark .garden-weather [class*="story-"] .story-label,
body.dark .garden-weather .story-label,body.dark .garden-weather .story-caption,
body.dark .garden-weather .story-number,body.dark .garden-weather .story-status {color:#172333 !important;}

body.dark .pws-ac-mode.is-ready{color:#9ed1ff !important;}
