/* Approved theme scopes. No global text/tokens or excluded component rules. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] [data-w2d-theme-owner][data-w2d-theme-scope] {
  --w2d-theme-canvas:#F1F5FA;
  --w2d-theme-settings-canvas:#E9EDF2;
  --w2d-theme-settings-surface:#FFFFFF;
  --w2d-theme-surface:#FFFFFF;
  --w2d-theme-subtle:#E8EFF7;
  --w2d-theme-elevated:#FFFFFF;
  --w2d-theme-header:#FFFFFF;
  --w2d-theme-drawer:#FFFFFF;
  --w2d-theme-drawer-current:#D1DFF0;
  --w2d-theme-drawer-current-hover:#C3D5EC;
  --w2d-theme-drawer-current-pressed:#B6CCE7;
  --w2d-theme-hero:#FFFFFF;
  --w2d-theme-text:#172A43;
  --w2d-theme-secondary:#42566F;
  --w2d-theme-muted:#596D85;
  --w2d-theme-border:#D7E1ED;
  --w2d-theme-control-border:#7A8BA1;
  --w2d-theme-action-border:transparent;
  --w2d-theme-action:#476B9D;
  --w2d-theme-action-hover:#3D5E8B;
  --w2d-theme-action-pressed:#334F76;
  --w2d-theme-link:#355782;
  --w2d-theme-focus:#476B9D;
  --w2d-theme-focus-on-dark:#A5C8FB;
  --w2d-theme-on-action:#FFFFFF;
  --w2d-theme-selection:#E4EBF5;
  --w2d-theme-selection-hover:#D8E3F2;
  --w2d-theme-selection-pressed:#CEDCED;
  --w2d-theme-selection-text:#355782;
  --w2d-theme-selection-border:#718CB1;
  --w2d-theme-status-off:#E5EAF1;
  --w2d-theme-status-off-text:#42566F;
  --w2d-theme-status-on:#DCF3E5;
  --w2d-theme-status-on-text:#24633D;
  --w2d-theme-high:#9B5700;
  --w2d-theme-low:#245FB5;
  --w2d-theme-rain:#006B52;
  --w2d-theme-search:#FFFFFF;
  --w2d-theme-tooltip:#000000;
  --w2d-theme-tooltip-text:#FFFFFF;
  --w2d-theme-on-dark:#EEF4FC;
  --w2d-theme-dark-muted:#BBCDE3;
  --w2d-theme-drawer-hover:#E8EFF7;
  --w2d-theme-disabled:#E8EFF7;
  --w2d-theme-disabled-text:#596D85;
  --w2d-theme-temperature-cold:#9B2EAD;
  --w2d-theme-temperature-cool:#146FB0;
  --w2d-theme-temperature-mild:#006E9B;
  --w2d-theme-temperature-comfortable:#21743D;
  --w2d-theme-temperature-warm:#9B5700;
  --w2d-theme-temperature-hot:#C1242B;
  --w2d-theme-temperature-very-hot:#AD2357;
  --w2d-theme-premium-surface:#FFF3CC;
  --w2d-theme-premium-text:#6B4B12;
  --w2d-theme-drawer-expanded:#FFFFFF;
  --w2d-theme-drawer-nested:#E8EFF7;
  --w2d-theme-drawer-nested-hover:#D7E1ED;
  --w2d-theme-drawer-pressed:#CEDCED;
}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] body[data-w2d-theme-canvas="forecast"] {background-color:#F1F5FA;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] body[data-w2d-theme-canvas="settings"] {background-color:#E9EDF2;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] [data-w2d-theme-owner][data-w2d-theme-scope] {
  --w2d-theme-canvas:#0D1726;
  --w2d-theme-settings-canvas:#0D1726;
  --w2d-theme-settings-surface:#1C2D43;
  --w2d-theme-surface:#16263A;
  --w2d-theme-subtle:#132135;
  --w2d-theme-elevated:#1E324B;
  --w2d-theme-header:#0D1726;
  --w2d-theme-drawer:#16263A;
  --w2d-theme-drawer-current:#285FA4;
  --w2d-theme-drawer-current-hover:#21538F;
  --w2d-theme-drawer-current-pressed:#1B4679;
  --w2d-theme-hero:#16263A;
  --w2d-theme-text:#EEF4FC;
  --w2d-theme-secondary:#B8C8DD;
  --w2d-theme-muted:#9AAEC7;
  --w2d-theme-border:#314661;
  --w2d-theme-control-border:#7890B0;
  --w2d-theme-action-border:transparent;
  --w2d-theme-action:#285FA4;
  --w2d-theme-action-hover:#21538F;
  --w2d-theme-action-pressed:#1B4679;
  --w2d-theme-selection:#285FA4;
  --w2d-theme-selection-hover:#21538F;
  --w2d-theme-selection-pressed:#1B4679;
  --w2d-theme-selection-text:#FFFFFF;
  --w2d-theme-selection-border:#7890B0;
  --w2d-theme-status-off:#253951;
  --w2d-theme-status-off-text:#B8C8DD;
  --w2d-theme-status-on:#163B2C;
  --w2d-theme-status-on-text:#97DCB2;
  --w2d-theme-link:#94BFF8;
  --w2d-theme-focus:#A5C8FB;
  --w2d-theme-focus-on-dark:#A5C8FB;
  --w2d-theme-on-action:#FFFFFF;
  --w2d-theme-high:#FFCA78;
  --w2d-theme-low:#95C4F5;
  --w2d-theme-rain:#70DDC0;
  --w2d-theme-search:#1E324B;
  --w2d-theme-tooltip:#000000;
  --w2d-theme-tooltip-text:#FFFFFF;
  --w2d-theme-on-dark:#EEF4FC;
  --w2d-theme-dark-muted:#BBCDE3;
  --w2d-theme-drawer-hover:#223B59;
  --w2d-theme-drawer-expanded:#1C2D43;
  --w2d-theme-drawer-nested:#24364C;
  --w2d-theme-drawer-nested-hover:#2D425C;
  --w2d-theme-drawer-pressed:#344B67;
  --w2d-theme-disabled:#1E324B;
  --w2d-theme-disabled-text:#9AAEC7;
}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] body[data-w2d-theme-canvas="forecast"] {background-color:#0D1726;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] body[data-w2d-theme-canvas="settings"] {background-color:#0D1726;}
html[data-w2d-theme-enabled="1"] .w2d-forecast-header[data-w2d-theme-owner][data-w2d-theme-scope] nav,
html[data-w2d-theme-enabled="1"] .w2d-page-header[data-w2d-theme-owner][data-w2d-theme-scope] nav { background: var(--w2d-theme-header); }
/* Override the legacy scroll-only !important paint without changing its scroll logic. */
html[data-w2d-theme-enabled="1"] .w2d-forecast-header[data-w2d-theme-owner][data-w2d-theme-scope] nav.nav-color-new.scrolled {background-color:var(--w2d-theme-header) !important;}
html[data-w2d-theme-enabled="1"] .w2d-page-header[data-w2d-theme-owner][data-w2d-theme-scope] nav .brand-logo,
html[data-w2d-theme-enabled="1"] .w2d-forecast-header[data-w2d-theme-owner][data-w2d-theme-scope] nav .brand-logo,
html[data-w2d-theme-enabled="1"] .w2d-page-header[data-w2d-theme-owner][data-w2d-theme-scope] nav .sidenav-trigger,
html[data-w2d-theme-enabled="1"] .w2d-forecast-header[data-w2d-theme-owner][data-w2d-theme-scope] nav .sidenav-trigger { color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] .w2d-page-header[data-w2d-theme-owner][data-w2d-theme-scope] .button-refresh { background: transparent; color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] { background: var(--w2d-theme-drawer); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li:hover { background-color: var(--w2d-theme-drawer-hover); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li > a,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-content,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-summary { color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-body { background: var(--w2d-theme-subtle); border-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .mobile-menu-subtitle { color: var(--w2d-theme-secondary); border-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collection-item { border-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-icon { background: var(--w2d-theme-subtle); color: var(--w2d-theme-text); border-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-summary { border-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-summary:hover { background: var(--w2d-theme-drawer-hover); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-summary:active { background: var(--w2d-theme-subtle); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-status { color: var(--w2d-theme-secondary); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .extended .collapsible-header::after,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .extended-weather-maps .collapsible-header::after,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-title .collapsible-header::after { border-right-color: var(--w2d-theme-secondary); border-bottom-color: var(--w2d-theme-secondary); }
/* Source buttons retain their border space without a visible outline in either theme. */
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button { background: var(--w2d-theme-surface); color: var(--w2d-theme-secondary); border-color: transparent; }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button:hover { background: var(--w2d-theme-subtle); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button[aria-pressed="true"] { background: var(--w2d-theme-selection); color: var(--w2d-theme-selection-text); border-color: transparent; }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button[aria-pressed="true"]:hover { background: var(--w2d-theme-selection-hover); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button:active,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button[aria-pressed="true"]:active { background: var(--w2d-theme-selection-pressed); color: var(--w2d-theme-selection-text); }
/* Forecast warning summary: exact warning severity fills, with the themed badge ink. */
.forecast-warnings { margin:0 10px 10px; padding:10px 12px; border:1px solid var(--w2d-theme-border,#42566F); border-radius:8px; background:var(--w2d-theme-settings-surface,#1C2D43); color:var(--w2d-theme-text,#EEF4FC); text-align:right; }
.forecast-warnings .forecast-warnings-list { display:flex; flex-wrap:wrap; gap:4px 14px; padding:0; margin:0; list-style:none; }
.forecast-warnings-list > li { flex:1 1 240px; min-width:0; }
.forecast-warnings .forecast-warning { display:flex; align-items:center; gap:8px; min-height:44px; padding:4px 0; color:inherit; border-radius:6px; text-decoration:none; }
.forecast-warning-icon { display:flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:32px; }
.forecast-warning-icon svg { display:block; width:24px; height:24px; fill:currentColor; }
/* Subtle 240ms glints, spaced about 3-4 seconds apart, with staggered timing between rows. */
.forecast-warnings li.is-upcoming .forecast-warning-icon svg {
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.55) 40%,#000 50%,rgba(0,0,0,.55) 60%);
  mask-image:linear-gradient(90deg,rgba(0,0,0,.55) 40%,#000 50%,rgba(0,0,0,.55) 60%);
  -webkit-mask-size:300% 100%; mask-size:300% 100%;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  animation:forecast-warning-upcoming 10s linear infinite;
}
.forecast-warnings li.is-upcoming:nth-child(3n+2) .forecast-warning-icon svg { animation-delay:-11s; }
.forecast-warnings li.is-upcoming:nth-child(3n) .forecast-warning-icon svg { animation-delay:-5s; }
@keyframes forecast-warning-upcoming {
  0%,29%,70% { -webkit-mask-position:100% 0; mask-position:100% 0; animation-timing-function:linear; }
  2.4%,31.4%,72.4% { -webkit-mask-position:0 0; mask-position:0 0; animation-timing-function:steps(1,end); }
  100% { -webkit-mask-position:0 0; mask-position:0 0; }
}
@media (prefers-reduced-motion:reduce) {
  .forecast-warnings li.is-upcoming .forecast-warning-icon svg { animation:none; -webkit-mask-image:none; mask-image:none; }
}
.forecast-warning-copy { display:flex; flex:1; min-width:0; flex-direction:column; line-height:1.35; }
.forecast-warning-copy strong { font-size:14px; font-weight:700; overflow-wrap:break-word; }
.forecast-warning-copy small { font-size:12px; color:var(--w2d-theme-muted,#BBCDE3); }
.forecast-warning-severity { flex:0 1 auto; max-width:45%; margin-left:8px; border-radius:999px; padding:3px 9px; font-size:12px; font-weight:700; line-height:1.35; text-align:center; }
.forecast-warnings .forecast-warning-severity { background:#476B9D; color:#FFF; box-shadow:inset 0 0 0 1px var(--w2d-theme-control-border,#7A8BA1); }
.forecast-warnings .warning-severity-2,.forecast-warnings .warning-severity-3 { background:#FFD700; color:#000; }
.forecast-warnings .warning-severity-4,.forecast-warnings .warning-severity-5 { background:#FF8C00; color:#000; }
.forecast-warnings .warning-severity-6,.forecast-warnings .warning-severity-7 { background:#FE0104; color:#000; }
.forecast-warnings .warning-severity-8 { background:#2563EB; color:#FFF; }
.forecast-warnings .forecast-warning:hover { background:var(--w2d-theme-subtle,#132135); }
.forecast-warnings a:focus-visible { outline:2px solid var(--w2d-theme-focus,#A5C8FB); outline-offset:2px; }
html[data-w2d-theme-enabled="1"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .observation { background: var(--w2d-theme-hero); }
html[data-w2d-theme-enabled="1"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .panel-2 { color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .update { color: var(--w2d-theme-muted); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .forecast-latest-update { color: var(--w2d-theme-muted); }
html[data-w2d-theme-enabled="1"] .expend-forecast[data-w2d-theme-owner][data-w2d-theme-scope] .title { color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] .expend-forecast[data-w2d-theme-owner][data-w2d-theme-scope] .weather-type,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .box.hourly .mm,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .box.hourly .kph { color: var(--w2d-theme-secondary); }
html[data-w2d-theme-enabled="1"] .expend-forecast[data-w2d-theme-owner][data-w2d-theme-scope] .temperatures .max { color: var(--w2d-theme-high); }
html[data-w2d-theme-enabled="1"] .expend-forecast[data-w2d-theme-owner][data-w2d-theme-scope] .temperatures .min { color: var(--w2d-theme-low); }
html[data-w2d-theme-enabled="1"] .expend-forecast[data-w2d-theme-owner][data-w2d-theme-scope] .date .mm { color: var(--w2d-theme-rain); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .box.hourly table td,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .box.hourly table th { border-bottom-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .hourly-mark { border-bottom-color: var(--w2d-theme-link); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] th.tooltip:hover { color: var(--w2d-theme-link); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header:focus-visible,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button:focus-visible { outline: 2px solid var(--w2d-theme-focus); outline-offset: -2px; }
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .header { color: var(--w2d-theme-link); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--primary { background: var(--w2d-theme-action); color: var(--w2d-theme-on-action); border-color: var(--w2d-theme-action-border); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .font-size-option.is-active { background: var(--w2d-theme-selection); color: var(--w2d-theme-selection-text); border-color: var(--w2d-theme-selection-border); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .font-size-option.is-active:hover { background: var(--w2d-theme-selection-hover); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .font-size-option.is-active:active { background: var(--w2d-theme-selection-pressed); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--primary:hover { background: var(--w2d-theme-action-hover); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--primary:active { background: var(--w2d-theme-action-pressed); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--outline { background: var(--w2d-theme-choice-background,transparent); color: var(--w2d-theme-link); border-color: var(--w2d-theme-control-border); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--outline:not(.is-active):not(:disabled):hover { background: var(--w2d-theme-choice-hover-background,var(--w2d-theme-subtle)); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--outline:not(.is-active):not(:disabled):active {background:var(--w2d-theme-selection-pressed);color:var(--w2d-theme-selection-text);border-color:var(--w2d-theme-selection-border);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--ghost { color: var(--w2d-theme-secondary); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--ghost:hover { background: var(--w2d-theme-subtle); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button--ghost:not(:disabled):active {background:var(--w2d-theme-drawer-pressed);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button:focus,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button:focus-visible { box-shadow: 0 0 0 3px var(--w2d-theme-focus); }
html[data-w2d-theme-enabled="1"] .w2d-page-header[data-w2d-theme-owner] nav a:focus-visible,
html[data-w2d-theme-enabled="1"] .w2d-forecast-header[data-w2d-theme-owner] nav a:focus-visible {outline-color:var(--w2d-theme-focus);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .w2d-button:disabled { background: var(--w2d-theme-disabled); color: var(--w2d-theme-disabled-text); border-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"] #weather-location[data-w2d-theme-owner][data-w2d-theme-scope] input[type=search]:focus { background-color: var(--w2d-theme-search); color: var(--w2d-theme-text);
  box-shadow: 0 0 0 2px var(--w2d-theme-focus) !important; }
html[data-w2d-theme-enabled="1"] #weather-location[data-w2d-theme-owner][data-w2d-theme-scope] input::placeholder { color: var(--w2d-theme-muted); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .autocomplete-items div { background: var(--w2d-theme-elevated); color: var(--w2d-theme-text); border-bottom-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .autocomplete-items { outline: 1px solid var(--w2d-theme-control-border); outline-offset: -1px; }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .autocomplete-items div:hover { background: var(--w2d-theme-subtle); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .autocomplete-active { background: var(--w2d-theme-selection) !important; color: var(--w2d-theme-selection-text) !important; }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header[aria-expanded="true"] { background-color:var(--w2d-theme-drawer-expanded); color:var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li[data-w2d-current-page="1"] { background-color: var(--w2d-theme-drawer-current); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li[data-w2d-current-page="1"] > a { color: var(--w2d-theme-selection-text); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li[data-w2d-current-page="1"]:hover { background-color: var(--w2d-theme-drawer-current-hover); }
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li[data-w2d-current-page="1"]:active { background-color: var(--w2d-theme-drawer-current-pressed); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li[data-w2d-current-page="1"] {box-shadow:inset -3px 0 var(--w2d-theme-selection-border);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li:not([data-w2d-current-page="1"]):hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] li:not([data-w2d-current-page="1"]):hover { background-color: transparent; }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-body,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .collapsible-body { background-color: var(--w2d-theme-drawer-nested); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header[aria-expanded="true"] { background-color: var(--w2d-theme-drawer-expanded); color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li:not([data-w2d-current-page="1"]) > a:hover,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] li:not([data-w2d-current-page="1"]) > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .collapsible-header:hover { background-color: var(--w2d-theme-drawer-hover); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-content:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .more-content:hover { background-color: var(--w2d-theme-drawer-nested-hover); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] li:not([data-w2d-current-page="1"]) > a:active,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header:active,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-content:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] li:not([data-w2d-current-page="1"]) > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .collapsible-header:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .more-content:active { background-color: var(--w2d-theme-drawer-pressed); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] a:focus-visible,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header:focus-visible,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] a:focus-visible,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .collapsible-header:focus-visible { outline: 2px solid var(--w2d-theme-focus); outline-offset: -2px; }
html[data-w2d-theme-enabled="1"] #site-login[data-w2d-theme-owner][data-w2d-theme-scope] > .collection { background: var(--w2d-theme-elevated) !important; color: var(--w2d-theme-text) !important; }
html[data-w2d-theme-enabled="1"] #site-login[data-w2d-theme-owner][data-w2d-theme-scope] .login-text,
html[data-w2d-theme-enabled="1"] #site-login[data-w2d-theme-owner][data-w2d-theme-scope] .premium-signup-message { color: var(--w2d-theme-secondary); }
html[data-w2d-theme-enabled="1"] #site-login[data-w2d-theme-owner][data-w2d-theme-scope] input { background: var(--w2d-theme-surface); color: var(--w2d-theme-text); border-color: var(--w2d-theme-control-border); }
html[data-w2d-theme-enabled="1"] #site-login[data-w2d-theme-owner][data-w2d-theme-scope] input::placeholder { color: var(--w2d-theme-muted); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="tooltip"] .tippy-box[data-theme~="forecast"],
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="tooltip"] .tippy-box[data-theme~="premium"] { background-color: var(--w2d-theme-tooltip); color: var(--w2d-theme-tooltip-text); }
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="tooltip"] .tippy-box[data-theme~="forecast"] > .tippy-arrow,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="tooltip"] .tippy-box[data-theme~="premium"] > .tippy-arrow { color: var(--w2d-theme-tooltip); }
html[data-w2d-theme-enabled="1"] #ims-forecast-container[data-w2d-theme-owner][data-w2d-theme-scope] .title,
html[data-w2d-theme-enabled="1"] #ims-forecast-container[data-w2d-theme-owner][data-w2d-theme-scope] .info { color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-name-editor label,
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-name-help,
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-name-status { color: var(--w2d-theme-secondary); }
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-name-editor input[type="text"] { background: var(--w2d-theme-surface); color: var(--w2d-theme-text); border-color: var(--w2d-theme-control-border); }
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-name-editor input[type="text"]:focus { outline-color: var(--w2d-theme-focus); }
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-name-open { color: var(--w2d-theme-link); }
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-name-open:focus-visible { outline-color: var(--w2d-theme-focus); }
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope],
html[data-w2d-theme-enabled="1"] #premium-logout-modal[data-w2d-theme-owner][data-w2d-theme-scope] { background: var(--w2d-theme-elevated); color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] h2,
html[data-w2d-theme-enabled="1"] #premium-logout-modal[data-w2d-theme-owner][data-w2d-theme-scope] h2 { color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] dt,
html[data-w2d-theme-enabled="1"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-expiration,
html[data-w2d-theme-enabled="1"] #premium-logout-modal[data-w2d-theme-owner][data-w2d-theme-scope] #premium-logout-modal-message,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-close { color: var(--w2d-theme-secondary); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-actions { border-top-color: var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] .w2d-page-header[data-w2d-theme-owner][data-w2d-theme-scope] nav,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] .w2d-forecast-header[data-w2d-theme-owner][data-w2d-theme-scope] nav { box-shadow: inset 0 -1px 0 var(--w2d-theme-border); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .purple-cold-temperature { color: var(--w2d-theme-temperature-cold); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .blue-temperature { color: var(--w2d-theme-temperature-cool); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .blue-middle-temperature { color: var(--w2d-theme-temperature-mild); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .green-temperature { color: var(--w2d-theme-temperature-comfortable); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .orange-temperature { color: var(--w2d-theme-temperature-warm); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .red-temperature { color: var(--w2d-theme-temperature-hot); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #refreshcontent[data-w2d-theme-owner][data-w2d-theme-scope] .pink-temperature { color: var(--w2d-theme-temperature-very-hot); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] [data-w2d-theme-owner][data-w2d-theme-scope="tooltip"] .tippy-box { box-shadow: 0 2px 10px #172a4333; }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .premium-container,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .premium-container { background: var(--w2d-theme-subtle); color: var(--w2d-theme-text); }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-delete { color: #FFB0B0; }
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #premium-account-modal[data-w2d-theme-owner][data-w2d-theme-scope] .premium-account-delete:focus-visible { outline-color: #FFB0B0; }

html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header[aria-expanded="true"]:hover {background-color:var(--w2d-theme-drawer-hover);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .collapsible-header[aria-expanded="true"]:active {background-color:var(--w2d-theme-drawer-pressed);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-content[data-w2d-current-page="1"] {background-color:var(--w2d-theme-drawer-current);color:var(--w2d-theme-selection-text);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-content[data-w2d-current-page="1"]:hover {background-color:var(--w2d-theme-drawer-current-hover);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-content[data-w2d-current-page="1"]:active {background-color:var(--w2d-theme-drawer-current-pressed);}
html[data-w2d-theme-enabled="1"] .bg.blue-sky[data-w2d-theme-owner][data-w2d-theme-canvas="forecast"],
html[data-w2d-theme-enabled="1"] #preloader[data-w2d-theme-owner] {background:var(--w2d-theme-canvas);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="settings"] #preloader[data-w2d-theme-owner] {background:var(--w2d-theme-settings-canvas);}
html[data-w2d-theme-enabled="1"] .w2d-national-forecast[data-w2d-theme-owner] > li > .collapsible-header,
html[data-w2d-theme-enabled="1"] .w2d-national-forecast[data-w2d-theme-owner] > li > .collapsible-body {background:var(--w2d-theme-hero);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] .w2d-national-forecast[data-w2d-theme-owner] .forecast-notification {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #weather[data-w2d-theme-owner] {background-color:var(--w2d-theme-elevated) !important;color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #weather[data-w2d-theme-owner] .modal-footer {background:var(--w2d-theme-elevated);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="dropdown"],
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="toast"] {background:var(--w2d-theme-elevated);color:var(--w2d-theme-text);}

/* Pull-to-refresh is created outside the content owners when a gesture starts. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="forecast"] .ptr--ptr .ptr--text,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="forecast"] .ptr--ptr .ptr--icon,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="forecast-car"] .ptr--ptr .ptr--text,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="forecast-car"] .ptr--ptr .ptr--icon,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="live"] .ptr--ptr .ptr--text,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="live"] .ptr--ptr .ptr--icon,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="reports"] .ptr--ptr .ptr--text,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="reports"] .ptr--ptr .ptr--icon,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="report-show"] .ptr--ptr .ptr--text,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="report-show"] .ptr--ptr .ptr--icon {color:var(--w2d-theme-secondary,#B8C8DD);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="forecast"] .ptr--ptr .pull-spinner,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="forecast-car"] .ptr--ptr .pull-spinner,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="live"] .ptr--ptr .pull-spinner,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="reports"] .ptr--ptr .pull-spinner,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"][data-w2d-theme-page="report-show"] .ptr--ptr .pull-spinner {border-color:var(--w2d-theme-border,#314661);border-top-color:var(--w2d-theme-link,#94BFF8);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="dropdown"] a {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="dropdown"] > li:hover,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="dropdown"] > li:focus-within {background:var(--w2d-theme-subtle);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner] {color:var(--w2d-theme-text);background:var(--w2d-theme-settings-canvas);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner] [data-w2d-notification-state="off"] {background-color:var(--w2d-theme-status-off) !important;color:var(--w2d-theme-status-off-text);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner] [data-w2d-notification-state="on"] {background-color:var(--w2d-theme-status-on) !important;color:var(--w2d-theme-status-on-text);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] .w2d-forecast-promotion[data-w2d-theme-owner] .forecast-notification {background:linear-gradient(92deg,#FFF7DF,#FFE5A3);color:#6B4B12;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] .w2d-forecast-promotion[data-w2d-theme-owner] .forecast-notification {background-image:linear-gradient(rgba(0,0,0,.48),rgba(0,0,0,.48)),radial-gradient(circle at 86% 24%,rgba(255,244,198,.34) 0,rgba(255,244,198,0) 24%),linear-gradient(92deg,#6f5415 -4%,#97701b 34%,#c79a35 72%,#efca67 104%);}


html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope="settings"] { padding-top: 16px; padding-bottom: 20px; }
/* Settings choices retain each theme's fill; only selected/pressed choices show a border. */
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope="settings"] .font-size-option,
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope="settings"] .appearance-choice { --w2d-theme-control-border:transparent; --w2d-theme-choice-background:var(--w2d-theme-subtle); --w2d-theme-choice-hover-background:var(--w2d-theme-drawer-nested-hover); }
/* Selectable controls use action ink; other selection surfaces keep their own palette. */
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button,
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope="settings"] .font-size-option,
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope="settings"] .appearance-choice,
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab,
html[data-w2d-theme-enabled="1"] .warning-day-tabs[data-w2d-theme-owner] .warning-day-tab,
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tab,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"] .model_box,
html[data-w2d-theme-enabled="1"] #forecast-text #tabs[data-w2d-theme-owner] a {
  --w2d-theme-selection:var(--w2d-theme-action);
  --w2d-theme-selection-hover:var(--w2d-theme-action-hover);
  --w2d-theme-selection-pressed:var(--w2d-theme-action-pressed);
  --w2d-theme-selection-text:var(--w2d-theme-on-action);
}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .w2d-settings-card {
  background-color: var(--w2d-theme-settings-surface);
  box-shadow: inset 0 0 0 1px var(--w2d-theme-border);
  border-radius: 4px;
  padding: 4px 0;
  margin: 0 2.5% 16px;
}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .w2d-settings-card > .row { margin-bottom: 0; }
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .w2d-settings-card .header { color: var(--w2d-theme-text); position: relative; }
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .w2d-settings-card > .row .header::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -4px; height: 1px;
  background-color: var(--w2d-theme-border); pointer-events: none;
}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .appearance-choice.is-active {
  background-color: var(--w2d-theme-selection); color: var(--w2d-theme-selection-text); border-color: var(--w2d-theme-selection-border);
}
/* Head preference metadata paints the choice before the footer adapter binds it. */
html[data-w2d-theme-enabled="1"][data-w2d-theme-preference="system"] #settings[data-w2d-theme-owner] .appearance-choice[data-w2d-preference="system"],
html[data-w2d-theme-enabled="1"][data-w2d-theme-preference="light"] #settings[data-w2d-theme-owner] .appearance-choice[data-w2d-preference="light"],
html[data-w2d-theme-enabled="1"][data-w2d-theme-preference="dark"] #settings[data-w2d-theme-owner] .appearance-choice[data-w2d-preference="dark"] {
  background-color:var(--w2d-theme-selection);color:var(--w2d-theme-selection-text);border-color:var(--w2d-theme-selection-border);
}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .appearance-choice.is-active:hover { background-color: var(--w2d-theme-selection-hover); }
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .appearance-choice.is-active:active { background-color: var(--w2d-theme-selection-pressed); }
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-owner][data-w2d-theme-scope] .appearance-description {
  color: var(--w2d-theme-muted);
}

html[data-w2d-theme-infrastructure="1"] #settings .appearance-setting .appearance-options {display:flex;flex-wrap:wrap;gap:6px;direction:rtl;}
html[data-w2d-theme-infrastructure="1"] #settings .appearance-setting .appearance-choice {flex:1 1 auto;}
html[data-w2d-theme-infrastructure="1"] #settings .appearance-setting .appearance-description {font-size:.93em;line-height:1.5;margin:12px 0 0;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .weather-icon {background-image:url(/images/theme/forecast_white-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .radar-clouds-icon {background-image:url(/images/theme/umbrella_white-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .umbrella-icon {background-image:url(/images/theme/umbrella-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .extended .collapsible-header {background-image:url(/images/theme/clarity--thermometer-line-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .push-notification-icon {background-image:url(/images/theme/bell-outline-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .warnings-icon {background-image:url(/images/theme/warnings-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .plane-icon {background-image:url(/images/theme/send-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .camlive-icon {background-image:url(/images/theme/live_white-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .sea-state-icon {background-image:url(/images/theme/boat-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .settings-icon {background-image:url(/images/theme/settings-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-title .collapsible-header {background-image:url(/images/theme/more_horizen_white-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .extended-weather-maps .collapsible-header {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23172A43' d='M21 12a9 9 0 0 1-9 9a9 9 0 0 1-9-9a9 9 0 0 1 9-9a9 9 0 0 1 9 9m-1.5 0a7.5 7.5 0 1 0-15 0a7.5 7.5 0 0 0 15 0'/%3E%3Cpath fill='%23172A43' d='M12 .25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V1A.75.75 0 0 1 12 .25m-6 11a.75.75 0 0 1 0 1.5H1a.75.75 0 0 1 0-1.5Zm17 0a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1 0-1.5Zm-11 6a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0v-5a.75.75 0 0 1 .75-.75'/%3E%3C/svg%3E");}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .more-content > svg [fill="#fff"] {fill:var(--w2d-theme-text);}

/* These row-background icons were covered by the link's opaque hover/press paint.
   Repeat only their existing artwork on that paint layer, with identical placement.
   Current rows, group headers, account controls and nested icons keep their own states. */
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .weather-icon:not([data-w2d-current-page="1"]) > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .weather-icon:not([data-w2d-current-page="1"]) > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .radar-clouds-icon > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .radar-clouds-icon > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .push-notification-icon > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .push-notification-icon > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .warnings-icon > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .warnings-icon > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .plane-icon > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .plane-icon > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .camlive-icon > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .camlive-icon > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .umbrella-icon > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .umbrella-icon > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .sea-state-icon > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .sea-state-icon > a:active,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .settings-icon:not([data-w2d-current-page="1"]) > a:hover,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner][data-w2d-theme-scope] .settings-icon:not([data-w2d-current-page="1"]) > a:active {
  background-image:inherit;
  background-size:inherit;
  background-position:inherit;
  background-repeat:inherit;
}

/* Exact raster-alpha geometry, with an SVG fallback when CSS masks are unavailable. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #weather-location[data-w2d-theme-owner] input[type=search] {background-image:none;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #weather-location[data-w2d-theme-owner]::after {content:"";position:absolute;left:20px;top:50%;transform:translateY(-50%);width:20px;height:20px;pointer-events:none;background:url(/images/theme/search-light.svg) center/contain no-repeat;}
@supports ((mask:url(/images/search-loc-rtl.png)) or (-webkit-mask:url(/images/search-loc-rtl.png))) {
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #weather-location[data-w2d-theme-owner]::after {background:var(--w2d-theme-text);-webkit-mask:url(/images/search-loc-rtl.png) center/contain no-repeat;mask:url(/images/search-loc-rtl.png) center/contain no-repeat;}
}
html[data-w2d-theme-enabled="1"] .expend-forecast[data-w2d-theme-owner][data-w2d-theme-scope] .box {background:var(--w2d-theme-surface);color:var(--w2d-theme-text);}

html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] .w2d-forecast-header[data-w2d-theme-owner] .alerts-button:not(.has-warnings) {background-image:url(/images/theme/warnings-light.svg);}
/* Approved darker yellow for this aggregate header indicator; severity palettes stay original. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] .w2d-forecast-header[data-w2d-theme-owner] .alerts-button.has-warnings {background-image:url(/images/theme/has-warning-light.svg);}

html[data-w2d-theme-enabled="1"] .w2d-national-forecast[data-w2d-theme-owner] .wi,
html[data-w2d-theme-enabled="1"] #ims-forecast-container[data-w2d-theme-owner] .wi,
html[data-w2d-theme-enabled="1"] #refreshcontent[data-w2d-theme-owner] .wi,
html[data-w2d-theme-enabled="1"] .expend-forecast[data-w2d-theme-owner] .wi {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #ims-forecast-container[data-w2d-theme-owner] .title {border-bottom-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #ims-forecast-container[data-w2d-theme-owner] .info .sub-title {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .premium-icon {background-color:var(--w2d-theme-subtle);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .premium-container,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .premium-icon {box-shadow:inset 0 1px var(--w2d-theme-border),inset 0 -1px var(--w2d-theme-border);}
/* Preserve the existing ink animation; adapt only its contrast on themed surfaces. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] [data-w2d-theme-owner] .waves-effect.waves-light > .w2d-ripple-ink {background:rgba(23,42,67,.12);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] [data-w2d-theme-owner] .waves-effect:not(.waves-green):not(.waves-purple):not(.waves-light-purple) > .w2d-ripple-ink {background:rgba(238,244,252,.18);}

/* Existing app-owned billing offer; its artwork and purchase logic stay local. */
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] #google-play-premium {background:var(--w2d-theme-subtle);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .google-play-premium-summary {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .google-play-premium-preview,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .google-play-premium-chevron {color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .google-play-premium-hint,
html[data-w2d-theme-enabled="1"] #nav-mobile[data-w2d-theme-owner] .google-play-premium-icon {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] {background:var(--w2d-theme-elevated);color:var(--w2d-theme-text);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] h2 {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] .google-play-premium-close,
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] .google-play-premium-benefits li > div > span,
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] .google-play-premium-description,
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] #google-play-price-details {color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] .google-play-premium-checkout {background:var(--w2d-theme-subtle);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] #google-play-price {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] #google-play-subscribe {background:var(--w2d-theme-action);color:var(--w2d-theme-on-action);border-color:var(--w2d-theme-action-border);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] #google-play-subscribe:hover:not(:disabled) {background:var(--w2d-theme-action-hover);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] #google-play-subscribe:active:not(:disabled) {background:var(--w2d-theme-action-pressed);}
html[data-w2d-theme-enabled="1"] #google-play-premium-modal[data-w2d-theme-owner] #google-play-subscribe:disabled {background:var(--w2d-theme-disabled);color:var(--w2d-theme-disabled-text);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #google-play-premium-modal[data-w2d-theme-owner] .google-play-premium-hero {background:var(--w2d-theme-surface);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #google-play-premium-modal[data-w2d-theme-owner] .google-play-premium-brand {color:var(--w2d-theme-secondary);}

/* Phase 5A: Settings-style groups retain existing controls and accordions. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] body[data-w2d-theme-canvas="alerts"] {background-color:#E9EDF2;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] body[data-w2d-theme-canvas="alerts"] {background-color:#0D1726;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="alerts"] #preloader[data-w2d-theme-owner] {background:var(--w2d-theme-settings-canvas);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] {padding-top:16px;padding-bottom:20px;}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .settings-alert-group > .row {margin-bottom:0;}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .settings-alert-group + .settings-alert-group {padding-top:0;border-top:1px solid var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .description {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .settings-collapsible .collapsible-header {background:var(--w2d-theme-subtle);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .settings-collapsible .collapsible-body {background:var(--w2d-theme-settings-surface);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .collapsible-header::after {border-color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .collapsible-header:hover {background:var(--w2d-theme-drawer-hover);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .collapsible-header:active {background:var(--w2d-theme-drawer-pressed);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .checkbox-list label {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .checkbox-list input[type=checkbox] {accent-color:var(--w2d-theme-action);color-scheme:light;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .checkbox-list input[type=checkbox] {color-scheme:dark;}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .checkbox-list input:focus-visible {outline-color:var(--w2d-theme-focus);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .w2d-badge {background:var(--w2d-theme-selection);color:var(--w2d-theme-selection-text);border-color:var(--w2d-theme-selection-border);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .selected-location {background:var(--w2d-theme-subtle);color:var(--w2d-theme-text);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .settings-location-output {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] #tracked-location {background:var(--w2d-theme-subtle);color:var(--w2d-theme-text);border-color:var(--w2d-theme-control-border);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] #tracked-location:focus {border-color:var(--w2d-theme-focus);outline-color:var(--w2d-theme-focus);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] #tracked-location::placeholder {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .w2d-toggle input + .w2d-toggle__control {background:var(--w2d-theme-control-border);border-color:var(--w2d-theme-control-border);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .w2d-toggle input:checked + .w2d-toggle__control {background:var(--w2d-theme-action);border-color:var(--w2d-theme-action);}
html[data-w2d-theme-enabled="1"] #settings[data-w2d-theme-scope="alert-preferences"][data-w2d-theme-owner] .w2d-toggle input:focus-visible + .w2d-toggle__control {box-shadow:0 0 0 3px var(--w2d-theme-focus);}

/* Approved page backdrop only: no ownership, inherited tokens or color-scheme.
   Paint the viewport and scroll canvas; map roots/ancestors remain unowned. */
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="warnings"][data-w2d-appearance="light"],
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="warnings"][data-w2d-appearance="light"] body {background-color:#F1F5FA;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="warnings"][data-w2d-appearance="dark"],
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="warnings"][data-w2d-appearance="dark"] body {background-color:#0D1726;}
/* Separate owned siblings: no rule/variable on warnings-page, panel, layout or map. */
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="warning-filters"],
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner][data-w2d-theme-scope="warning-feed"] {background:var(--w2d-theme-canvas);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] {border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab {color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab:hover {background:var(--w2d-theme-subtle);color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab[aria-selected="true"] {background:var(--w2d-theme-selection);color:var(--w2d-theme-selection-text);border-bottom-color:var(--w2d-theme-selection-border);}
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab[aria-selected="true"]:hover {background:var(--w2d-theme-selection-hover);color:var(--w2d-theme-selection-text);}
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .tab-icon,
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .tab-count {background:var(--w2d-theme-subtle);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab.is-active .tab-icon,
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab.is-active .tab-count {background:var(--w2d-theme-selection);color:var(--w2d-theme-selection-text);}
html[data-w2d-theme-enabled="1"] .warning-day-tabs[data-w2d-theme-owner] .warning-day-tab {background:var(--w2d-theme-settings-surface);color:var(--w2d-theme-secondary);border-color:transparent;}
html[data-w2d-theme-enabled="1"] .warning-day-tabs[data-w2d-theme-owner] .warning-day-tab:hover {background:var(--w2d-theme-subtle);color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] .warning-day-tabs[data-w2d-theme-owner] .warning-day-tab.is-active {background:var(--w2d-theme-selection);color:var(--w2d-theme-selection-text);border-color:var(--w2d-theme-selection-border);}
html[data-w2d-theme-enabled="1"] .warning-day-tabs[data-w2d-theme-owner] .warning-day-tab.is-active:hover {background:var(--w2d-theme-selection-hover);color:var(--w2d-theme-selection-text);}
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab:active,
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab[aria-selected="true"]:active,
html[data-w2d-theme-enabled="1"] .warning-day-tabs[data-w2d-theme-owner] .warning-day-tab:active,
html[data-w2d-theme-enabled="1"] .warning-day-tabs[data-w2d-theme-owner] .warning-day-tab.is-active:active {background:var(--w2d-theme-selection-pressed);color:var(--w2d-theme-selection-text);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-scope="warning-filters"][data-w2d-theme-owner] button:focus-visible {outline:2px solid var(--w2d-theme-focus);outline-offset:-2px;}
/* White inset focus stays visible against the selected blue fill in both themes. */
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope] .source-selector-button[aria-pressed="true"]:focus-visible,
html[data-w2d-theme-enabled="1"] .warning-tabs[data-w2d-theme-owner] .warning-tab[aria-selected="true"]:focus-visible,
html[data-w2d-theme-enabled="1"] .warning-day-tabs[data-w2d-theme-owner] .warning-day-tab.is-active:focus-visible {outline-color:var(--w2d-theme-on-action);}
/* Preserve the yellow fill; give its edge contrast on light tab surfaces. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] .warning-day-tabs[data-w2d-theme-owner] .fa {-webkit-text-stroke:.5px var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-card,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-empty {background:var(--w2d-theme-settings-surface);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-card:hover,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-card.is-focused {border-color:var(--w2d-theme-focus);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-card:focus-visible {outline:2px solid var(--w2d-theme-focus);outline-offset:-2px;}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-header h3 {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-meta,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-empty {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-body,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-regions {color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-tags li {background:var(--w2d-theme-subtle);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-tags .warning-tags-toggle-item {background:transparent;}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-tags-toggle {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-tags-toggle:hover,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-tags-toggle:active {color:var(--w2d-theme-selection-text);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .warning-tags-toggle:focus-visible {outline:2px solid var(--w2d-theme-focus);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .news-flash-badge {background:var(--w2d-theme-action);color:var(--w2d-theme-on-action);}
/* Severity fills/variables/mappings stay exact. Only badge ink/edge contrast adapts. */
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .alert-level {box-shadow:inset 0 0 0 1px var(--w2d-theme-control-border);}
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .alert-level.warning-severity-2,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .alert-level.warning-severity-3,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .alert-level.warning-severity-4,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .alert-level.warning-severity-5,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .alert-level.warning-severity-6,
html[data-w2d-theme-enabled="1"] .warning-feed[data-w2d-theme-owner] .alert-level.warning-severity-7 {color:#000;}

/* Phase 5B: application-owned community surfaces. Mixed post shells paint only:
   no inherited tokens/color on ancestors of galleries, embeds or media players. */
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="reports"][data-w2d-appearance="light"] body,
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="light"] body {background-color:#E9EDF2;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="reports"][data-w2d-appearance="dark"] body,
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="dark"] body {background-color:#0D1726;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="light"] #report-show .show-report-content {background:#FFFFFF;box-shadow:inset 0 0 0 1px #D7E1ED;border-radius:4px;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="dark"] #report-show .show-report-content {background:#1C2D43;box-shadow:inset 0 0 0 1px #314661;border-radius:4px;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="light"] #report-show .show-report-content:first-of-type {background:#E0EDFF;box-shadow:inset 0 0 0 1px #B8C8DD,0 2px 8px rgba(23,42,67,.08);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="dark"] #report-show .show-report-content:first-of-type {background:#233B58;box-shadow:inset 0 0 0 1px #47617F,0 2px 8px rgba(0,0,0,.2);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="light"] #report-show .show-report-content.selfbg {background-color:#DFF1FF !important;box-shadow:inset 0 0 0 1px #718CB1,inset 3px 0 0 #476B9D;padding-left:7px;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="dark"] #report-show .show-report-content.selfbg {background-color:#284C73 !important;box-shadow:inset 0 0 0 1px #7890B0,inset 3px 0 0 #94BFF8;padding-left:7px;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="light"] #report-show .show-report-content.report-jump-highlight {background-color:#FFF8E8 !important;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"][data-w2d-appearance="dark"] #report-show .show-report-content.report-jump-highlight {background-color:#2B4841 !important;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="report-show"] #report-show .show-report-content.selfbg > .comments {left:21px;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #report-show .show-report-content.selfbg [data-w2d-theme-owner][data-w2d-theme-scope^="community-"] {--w2d-theme-muted:var(--w2d-theme-secondary);}
/* Show the card's animated background directly, without a separate paint layer. */
.w2d-community-media-surface {background:transparent;}
/* Mixed messages have no theme owner; paint their text without owning the embeds. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #report-show .w2d-community-media-surface > .freetext {color:#42566F;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #report-show .w2d-community-media-surface > .freetext {color:#B8C8DD;}
html[data-w2d-theme-enabled="1"] #report-show .w2d-community-media-surface > .freetext > a {text-decoration:underline;text-underline-offset:2px;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #report-show .w2d-community-media-surface > .freetext > a {color:#245FB5;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #report-show .w2d-community-media-surface > .freetext > a {color:#94BFF8;}
html[data-w2d-theme-enabled="1"] #modal-share[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"] #alert-modal[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"] #composer-video-dialog[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"] #composer-discard-dialog[data-w2d-theme-owner] {background:var(--w2d-theme-elevated);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #modal-share[data-w2d-theme-owner] .modal-footer,
html[data-w2d-theme-enabled="1"] #alert-modal[data-w2d-theme-owner] .modal-footer {background:var(--w2d-theme-elevated);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope^="community-"] {color:var(--w2d-theme-text);--w2d-community-error:#B52C37;--w2d-community-purple:#9B2EAD;}
/* Report titles retain primary ink; ordinary body text uses the secondary ink. */
html[data-w2d-theme-enabled="1"] #report-show .w2d-community-text[data-w2d-theme-owner][data-w2d-theme-scope="community-text"] {color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] [data-w2d-theme-owner][data-w2d-theme-scope^="community-"],
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] .composer-video-dialog[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] .composer-discard-dialog[data-w2d-theme-owner] {--w2d-community-error:#FFB0B0;--w2d-community-purple:#D9A7EE;}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] > li {background:transparent;color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #reports #reports-list[data-w2d-theme-owner] > li {background:var(--w2d-theme-settings-surface);box-shadow:inset 0 0 0 1px var(--w2d-theme-border);border-radius:4px;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #reports #reports-list[data-w2d-theme-owner] > li.selfbg {background:#DFF1FF !important;box-shadow:inset 0 0 0 1px #718CB1,inset 3px 0 0 #476B9D;padding-left:7px;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #reports #reports-list[data-w2d-theme-owner] > li.selfbg {--w2d-theme-muted:var(--w2d-theme-secondary);background:#284C73 !important;box-shadow:inset 0 0 0 1px #7890B0,inset 3px 0 0 #94BFF8;padding-left:7px;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] #reports #reports-list[data-w2d-theme-owner] > li.selfbg:active {background:#CEE5FA !important;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #reports #reports-list[data-w2d-theme-owner] > li.selfbg:active {background:#223F60 !important;}
html[data-w2d-theme-enabled="1"] #reports #reports-list[data-w2d-theme-owner] > li:hover {background:var(--w2d-theme-subtle);}
html[data-w2d-theme-enabled="1"] #reports #reports-list[data-w2d-theme-owner] > li:active {background:var(--w2d-theme-selection-pressed) !important;}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] h2,
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .username {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .report-details,
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .ui-li-aside,
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .comments {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .views,
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .has-images,
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .has-video,
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .thread-locked {color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .username.highlight {color:var(--w2d-theme-status-on-text);}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .username.purplename {color:var(--w2d-community-purple);}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .username.admin {color:var(--w2d-community-error);}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .username.self {color:#172A43;}
html[data-w2d-theme-enabled="1"] #reports-list[data-w2d-theme-owner] .unread-dot {background:#00E64D;color:#FFFFFF;font-weight:700;}
html[data-w2d-theme-enabled="1"] #report-show #reports-list[data-w2d-theme-owner] > li p:first-of-type {border-bottom-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="community-text"] a,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="community-actions"] a {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="community-text"] a {text-decoration:underline;text-underline-offset:2px;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] [data-w2d-theme-owner][data-w2d-theme-scope="community-text"] a {color:var(--w2d-theme-low);}
html[data-w2d-theme-enabled="1"] .comments[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"] #report-show .unread-messages[data-w2d-theme-owner] {color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] #report-show .unread-messages[data-w2d-theme-owner] {background:var(--w2d-theme-subtle);}
html[data-w2d-theme-enabled="1"] .comments[data-w2d-theme-owner] .display-parent-reportid {background:var(--w2d-theme-subtle);color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] .comments[data-w2d-theme-owner] .views {color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] .actions[data-w2d-theme-owner] a:hover,
html[data-w2d-theme-enabled="1"] .comments[data-w2d-theme-owner] a:hover {background:var(--w2d-theme-subtle);}
html[data-w2d-theme-enabled="1"] .actions[data-w2d-theme-owner] a:active,
html[data-w2d-theme-enabled="1"] .comments[data-w2d-theme-owner] a:active {background:var(--w2d-theme-selection-pressed);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope^="community-"] a:focus-visible {outline:2px solid var(--w2d-theme-focus);outline-offset:2px;}
html[data-w2d-theme-enabled="1"] #add-report-btn[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"] .fixed-action-btn[data-w2d-theme-owner] a,
html[data-w2d-theme-enabled="1"] .navbar-float[data-w2d-theme-owner] a {background:var(--w2d-theme-action);color:var(--w2d-theme-on-action);}
html[data-w2d-theme-enabled="1"] #add-report-btn[data-w2d-theme-owner]:hover,
html[data-w2d-theme-enabled="1"] .fixed-action-btn[data-w2d-theme-owner] a:hover,
html[data-w2d-theme-enabled="1"] .navbar-float[data-w2d-theme-owner] a:hover {background:var(--w2d-theme-action-hover);}
html[data-w2d-theme-enabled="1"] #add-report-btn[data-w2d-theme-owner]:active,
html[data-w2d-theme-enabled="1"] .fixed-action-btn[data-w2d-theme-owner] a:active,
html[data-w2d-theme-enabled="1"] .navbar-float[data-w2d-theme-owner] a:active {background:var(--w2d-theme-action-pressed);}
html[data-w2d-theme-enabled="1"] .w2d-reports-header[data-w2d-theme-owner] .button-refresh svg,
html[data-w2d-theme-enabled="1"] .w2d-reports-header[data-w2d-theme-owner] .button-refresh svg path {fill:currentColor;}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"] .app-composer-drawer[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"] .app-composer-drawer[data-w2d-theme-owner] .app-composer-sheet {background:var(--w2d-theme-settings-surface);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-header {background:var(--w2d-theme-header);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] input:not([type=hidden]):not([type=file]),
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] textarea,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] select,
html[data-w2d-theme-enabled="1"] .composer-video-dialog[data-w2d-theme-owner] #composer-video-title {background:var(--w2d-theme-subtle);color:var(--w2d-theme-text);border-color:var(--w2d-theme-control-border);color-scheme:light;}
/* Keep browser-provided input UI consistent with the painted composer fields. */
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #report-add.app-composer[data-w2d-theme-owner] input:not([type=hidden]):not([type=file]),
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #report-add.app-composer[data-w2d-theme-owner] textarea,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #report-add.app-composer[data-w2d-theme-owner] select,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] .composer-video-dialog[data-w2d-theme-owner] #composer-video-title {color-scheme:dark;}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] input:focus,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] textarea:focus,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] select:focus,
html[data-w2d-theme-enabled="1"] .composer-video-dialog[data-w2d-theme-owner] #composer-video-title:focus {border-color:var(--w2d-theme-focus);outline-color:var(--w2d-theme-focus);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] input::placeholder,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] textarea::placeholder,
html[data-w2d-theme-enabled="1"] .composer-video-dialog[data-w2d-theme-owner] input::placeholder {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] label,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-file-name,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-hint,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-reply-subject,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-subject-counter,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .video-upload-container .file-name {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-details-toggle {color:var(--w2d-theme-secondary);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-image,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-temperature-sign {background:var(--w2d-theme-subtle);border-color:var(--w2d-theme-control-border);color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-image-plus,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-image label,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .video-upload-container .progress-text {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-image.has-file {background:var(--w2d-theme-selection);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-image-remove {background:var(--w2d-theme-elevated);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .video-upload-container.is-upload {border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-image:focus-within,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-temperature:focus-within,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-temperature-sign:focus {outline-color:var(--w2d-theme-focus);}
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] [role=alert],
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .composer-subject-counter.is-over-limit,
html[data-w2d-theme-enabled="1"] #report-add.app-composer[data-w2d-theme-owner] .video-upload-container.is-failed .progress-text {color:var(--w2d-community-error);}
html[data-w2d-theme-enabled="1"] .composer-video-dialog[data-w2d-theme-owner] #composer-video-error {color:var(--w2d-community-error,#B52C37);}
html[data-w2d-theme-enabled="1"] .composer-video-dialog[data-w2d-theme-owner] #composer-video-title[aria-invalid=true] {border-color:var(--w2d-community-error,#B52C37);}
html[data-w2d-theme-enabled="1"] .composer-video-dialog[data-w2d-theme-owner] .modal-footer,
html[data-w2d-theme-enabled="1"] .composer-discard-dialog[data-w2d-theme-owner] .modal-footer {background:var(--w2d-theme-elevated);}
html[data-w2d-theme-enabled="1"] .composer-discard-dialog[data-w2d-theme-owner] h2 {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] .composer-discard-dialog[data-w2d-theme-owner] p {color:var(--w2d-theme-secondary);}

/* Phase 5C: mixed camera/static-map shells paint only; media receives no tokens.
   Each heading/control is owned independently of its player or map image. */
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="live"][data-w2d-appearance="light"] body.w2d-live-page,
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="sea"][data-w2d-appearance="light"] body,
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"][data-w2d-appearance="light"] body.w2d-static-rain-page {background-color:#E9EDF2;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="live"][data-w2d-appearance="dark"] body.w2d-live-page,
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="sea"][data-w2d-appearance="dark"] body,
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"][data-w2d-appearance="dark"] body.w2d-static-rain-page {background-color:#0D1726;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="live"] .bg.blue-sky[data-w2d-theme-owner] {background:var(--w2d-theme-settings-canvas);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="live"] .w2d-page-header[data-w2d-theme-owner] nav.scrolled {background-color:var(--w2d-theme-header) !important;}
html[data-w2d-theme-enabled="1"] .live-container h2[data-w2d-theme-owner][data-w2d-theme-scope="camera-heading"] {background:var(--w2d-theme-settings-canvas);color:var(--w2d-theme-text);box-shadow:none;border-radius:4px;}
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner][data-w2d-theme-scope="marine-forecast"] {background:var(--w2d-theme-settings-canvas);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner] > .container {background:var(--w2d-theme-settings-canvas);box-shadow:none;border-radius:4px;}
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner] #sea-weather thead,
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner] #sea-weather td:first-child {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner] #sea-weather td {border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner] .last-update,
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner] .measurement {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner] select.select-time {background:var(--w2d-theme-subtle);color:var(--w2d-theme-text);border-color:var(--w2d-theme-control-border);color-scheme:light;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] #sea[data-w2d-theme-owner] select.select-time {color-scheme:dark;}
html[data-w2d-theme-enabled="1"] #sea[data-w2d-theme-owner] select.select-time:focus {border-color:var(--w2d-theme-focus);outline-color:var(--w2d-theme-focus);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"][data-w2d-appearance="light"] #rain {background-color:#E9EDF2;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"][data-w2d-appearance="dark"] #rain {background-color:#0D1726;}
/* Static viewer backing only; the map PNGs and pinch-zoom behavior stay unchanged.
   Override the template's inline white backing without adding inherited tokens. */
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"][data-w2d-appearance="light"] #rain .pinch-zoom.image-container {background-color:#E9EDF2 !important;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"][data-w2d-appearance="dark"] #rain .pinch-zoom.image-container {background-color:#0D1726 !important;}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"],
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-label"] {background:var(--w2d-theme-settings-surface);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"] .model_wrapper[data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"] {background:transparent;}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-label"] a {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tabs {background:var(--w2d-theme-settings-surface);border-color:var(--w2d-theme-border);}
/* Model tabs and labels share the page canvas around the static images. */
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"] .rain-tabs-spacing[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tabs,
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="rain"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-label"] {background:var(--w2d-theme-settings-canvas);}
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tab {background:transparent;color:var(--w2d-theme-secondary);}
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tab[aria-selected="true"] {background:var(--w2d-theme-selection);color:var(--w2d-theme-selection-text);border-bottom-color:var(--w2d-theme-selection-border);}
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tab:hover {background:var(--w2d-theme-subtle);}
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tab[aria-selected="true"]:hover {background:var(--w2d-theme-selection-hover);}
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tab:active,
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tab[aria-selected="true"]:active {background:var(--w2d-theme-selection-pressed);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"] .model_box {background:var(--w2d-theme-settings-surface);color:var(--w2d-theme-text);border-color:transparent;}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"] .model_box.selected {background:var(--w2d-theme-selection);color:var(--w2d-theme-selection-text);border-color:var(--w2d-theme-selection-border);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"] .model_box:hover {background:var(--w2d-theme-subtle);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"] .model_box.selected:hover {background:var(--w2d-theme-selection-hover);}
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"] .model_box:active,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-controls"] .model_box.selected:active {background:var(--w2d-theme-selection-pressed);}
html[data-w2d-theme-enabled="1"] .rain-tabs-spacing[data-w2d-theme-owner] .w2d-tab:focus-visible,
html[data-w2d-theme-enabled="1"] [data-w2d-theme-owner][data-w2d-theme-scope="static-rain-label"] a:focus-visible {outline:2px solid var(--w2d-theme-focus);outline-offset:2px;}

/* Phase 5D About: retain the existing text panel, control geometry and ordering. */
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="about"][data-w2d-appearance="light"] body {background-color:#E9EDF2;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="about"][data-w2d-appearance="dark"] body {background-color:#0D1726;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="about"] .bg.blue-sky[data-w2d-theme-owner],
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="about"] #preloader[data-w2d-theme-owner] {background:var(--w2d-theme-settings-canvas);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="about"] .w2d-page-header[data-w2d-theme-owner] nav.nav-color-new.scrolled {background-color:var(--w2d-theme-header) !important;}
html[data-w2d-theme-enabled="1"] #about[data-w2d-theme-owner][data-w2d-theme-scope="about-content"] {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #about[data-w2d-theme-owner] .opacity-container {background:var(--w2d-theme-settings-surface);color:var(--w2d-theme-text);box-shadow:inset 0 0 0 1px var(--w2d-theme-border);border-radius:4px;}
html[data-w2d-theme-enabled="1"] #about[data-w2d-theme-owner] .w2d-button--outline {background:transparent;color:var(--w2d-theme-link);border-color:var(--w2d-theme-control-border);}
html[data-w2d-theme-enabled="1"] #about[data-w2d-theme-owner] .w2d-button--outline:hover {background:var(--w2d-theme-subtle);color:var(--w2d-theme-link);border-color:var(--w2d-theme-control-border);}
html[data-w2d-theme-enabled="1"] #about[data-w2d-theme-owner] .w2d-button--outline:active {background:var(--w2d-theme-selection-pressed);color:var(--w2d-theme-selection-text);border-color:var(--w2d-theme-selection-border);}
html[data-w2d-theme-enabled="1"] #about[data-w2d-theme-owner] .rate-icon {background-image:url(/images/rate_48.png);}

/* Phase 5D remaining application UI. Embedded warnings and photo viewers are unowned. */
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-text"][data-w2d-appearance="light"] body,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] body[data-w2d-theme-fallback="1"] {background-color:#E9EDF2;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-car"][data-w2d-appearance="light"] body {background-color:#F1F5FA;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-text"][data-w2d-appearance="dark"] body,
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-car"][data-w2d-appearance="dark"] body,
html[data-w2d-theme-enabled="1"][data-w2d-appearance="dark"] body[data-w2d-theme-fallback="1"] {background-color:#0D1726;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-car"] .bg.blue-sky[data-w2d-theme-owner] {background:var(--w2d-theme-canvas);}
html[data-w2d-theme-enabled="1"] #forecast-text > [data-role="header"][data-w2d-theme-owner] {background:var(--w2d-theme-header);color:var(--w2d-theme-text);box-shadow:inset 0 -1px var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #forecast-text [data-w2d-theme-scope="text-forecast"][data-w2d-theme-owner] {color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] #forecast-text [data-w2d-theme-owner] a {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] #forecast-text [data-w2d-theme-owner] a:hover {background:var(--w2d-theme-subtle);}
html[data-w2d-theme-enabled="1"] #forecast-text #tabs[data-w2d-theme-owner] a.ui-btn-active {background:var(--w2d-theme-selection);color:var(--w2d-theme-selection-text);}
html[data-w2d-theme-enabled="1"] #forecast-text #tabs[data-w2d-theme-owner] a.ui-btn-active:hover {background:var(--w2d-theme-selection-hover);}
html[data-w2d-theme-enabled="1"] #forecast-text [data-w2d-theme-owner] a:active {background:var(--w2d-theme-selection-pressed);color:var(--w2d-theme-selection-text);}
html[data-w2d-theme-enabled="1"] #forecast-text #tabs[data-w2d-theme-owner] a.ui-btn-active:active {background:var(--w2d-theme-selection-pressed);}
html[data-w2d-theme-enabled="1"] #forecast-text #ims-forecast-container[data-w2d-theme-owner] .single-day {background:var(--w2d-theme-settings-surface);box-shadow:inset 0 0 0 1px var(--w2d-theme-border);border-radius:4px;}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-car"] .last-update[data-w2d-theme-owner] {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-car"] #alerts [data-w2d-theme-scope="dialog-chrome"][data-w2d-theme-owner] {background:var(--w2d-theme-elevated);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-car"][data-w2d-appearance="light"] .w2d-forecast-header[data-w2d-theme-owner] .forecast-car-button {background-image:url(/images/theme/umbrella_white-light.svg);}
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-car"][data-w2d-appearance="light"] .w2d-national-forecast[data-w2d-theme-owner] .forecast-notification img[src="/images/white-israel-map.svg"],
html[data-w2d-theme-enabled="1"][data-w2d-theme-page="forecast-car"][data-w2d-appearance="light"] #alerts .alerts-title[data-w2d-theme-owner] img {filter:brightness(0);}
html[data-w2d-theme-enabled="1"] .w2d-app-access[data-w2d-theme-owner] {background:var(--w2d-theme-settings-canvas);color:var(--w2d-theme-text);}
html[data-w2d-theme-enabled="1"] .w2d-app-access[data-w2d-theme-owner] a {color:var(--w2d-theme-link);}
html[data-w2d-theme-enabled="1"] .w2d-app-access[data-w2d-theme-owner] .name {color:var(--w2d-theme-muted);}
html[data-w2d-theme-enabled="1"] .w2d-app-access[data-w2d-theme-owner] a:hover {color:var(--w2d-theme-action-hover);}
html[data-w2d-theme-enabled="1"] .w2d-app-access[data-w2d-theme-owner] a:active {color:var(--w2d-theme-action-pressed);}
html[data-w2d-theme-enabled="1"] .w2d-app-access[data-w2d-theme-owner] a:focus-visible,
html[data-w2d-theme-enabled="1"] #forecast-text [data-w2d-theme-owner] a:focus-visible {outline:2px solid var(--w2d-theme-focus);outline-offset:2px;}
html[data-w2d-theme-enabled="1"] .w2d-app-access[data-w2d-theme-owner] > div[align="right"] {background:var(--w2d-theme-settings-surface);box-shadow:inset 0 0 0 1px var(--w2d-theme-border);border-radius:4px;}
html[data-w2d-theme-enabled="1"] #more[data-w2d-theme-owner] > .collection {background:var(--w2d-theme-elevated) !important;color:var(--w2d-theme-text) !important;}
html[data-w2d-theme-enabled="1"] #more[data-w2d-theme-owner] .collection-item {background:var(--w2d-theme-surface);color:var(--w2d-theme-text);border-color:var(--w2d-theme-border);}
html[data-w2d-theme-enabled="1"] #more[data-w2d-theme-owner] label {color:var(--w2d-theme-secondary);}

/* Legacy Text Forecast controls use the shared drawer and approved header ink. */
html[data-w2d-theme-enabled="1"] #forecast-text > [data-role="header"][data-w2d-theme-owner] .w2d-text-header-action {color:var(--w2d-theme-text);}

/* Fixed Forecast/Settings menu artwork is selected before the footer adapter. */
.w2d-fixed-menu-icon {background:url(/images/menu.svg?1) center/contain no-repeat;}
html[data-w2d-theme-enabled="1"][data-w2d-appearance="light"] [data-w2d-theme-owner][data-w2d-theme-scope="header"] .w2d-fixed-menu-icon {background-image:url(/images/theme/menu-light.svg?1);}