
:root {
  --bg: #f4f6f8; --card: #ffffff; --ink: #14202b; --ink-2: #4d5d6c; --ink-3: #7f8d9a;
  --line: #dde3e9; --accent: #0b6e99; --accent-ink: #ffffff;
  --green: #2e8b57; --yellow: #d9a400; --orange: #e07000; --red: #c62828; --unknown: #6b7a88;
  --green-bg: #e6f4ec; --yellow-bg: #fbf3d6; --orange-bg: #fde9d7; --red-bg: #f9dddd; --unknown-bg: #e9edf1;
  --radius: 14px; --gutter: 16px; --shadow: 0 1px 2px rgba(20,32,43,.06), 0 6px 20px rgba(20,32,43,.05);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1620; --card: #182230; --ink: #e8eef4; --ink-2: #b4c0cc; --ink-3: #8595a5;
    --line: #273445; --accent: #5cb8e6; --accent-ink: #0f1620;
    --green-bg: #173424; --yellow-bg: #3a3214; --orange-bg: #3e2612; --red-bg: #3d1a1a; --unknown-bg: #222c38;
    --shadow: 0 1px 2px rgba(0,0,0,.3);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1620; --card: #182230; --ink: #e8eef4; --ink-2: #b4c0cc; --ink-3: #8595a5;
  --line: #273445; --accent: #5cb8e6; --accent-ink: #0f1620;
  --green-bg: #173424; --yellow-bg: #3a3214; --orange-bg: #3e2612; --red-bg: #3d1a1a; --unknown-bg: #222c38;
  --shadow: 0 1px 2px rgba(0,0,0,.3);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased;
  padding-bottom: calc(72px + env(safe-area-inset-bottom)); overflow-x: clip; }
a { color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 650; }
p { margin: .4rem 0; }
small, .muted { color: var(--ink-2); }
.tiny { font-size: .8rem; color: var(--ink-3); }
code, .mono { font-family: var(--mono); font-size: .9em; }
button { font: inherit; }

header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 10px; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 980px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.brand svg { width: 28px; height: 28px; }
.brand b { font-weight: 750; letter-spacing: -.01em; }
.brand .app-ver { font-weight: 500; font-size: .68rem; color: var(--ink-3); letter-spacing: 0; white-space: nowrap; vertical-align: 1px; }
.brand small { display: block; font-size: .72rem; color: var(--ink-3); margin-top: -2px; }
.layer { flex-shrink: 0; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.layer button { border: 0; background: transparent; color: var(--ink-2); padding: 6px 12px; cursor: pointer; font-size: .85rem; }
.layer button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 400px) { .layer button { padding: 6px 9px; font-size: .8rem; } }

main { max-width: 980px; margin: 0 auto; padding: 16px var(--gutter) 24px; }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 16px; margin: 12px 0; }
.card.plain { box-shadow: none; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 8px; }

.level { display: inline-flex; white-space: nowrap; flex-shrink: 0; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .8rem;
  font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
.level::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.level.green { color: var(--green); background: var(--green-bg); }
.level.yellow { color: var(--yellow); background: var(--yellow-bg); }
.level.orange { color: var(--orange); background: var(--orange-bg); }
.level.red { color: var(--red); background: var(--red-bg); }
.level.unknown { color: var(--unknown); background: var(--unknown-bg); }

.banner { border-left: 5px solid var(--unknown); }
.banner.green { border-left-color: var(--green); }
.banner.yellow { border-left-color: var(--yellow); }
.banner.orange { border-left-color: var(--orange); }
.banner.red { border-left-color: var(--red); }
.banner h2 { margin-bottom: 4px; }

.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px; min-height: 120px; color: inherit; }
a.tile:hover { text-decoration: none; border-color: var(--accent); }
.tile .lab { font-size: .78rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.tile .val { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile .val small { font-size: .9rem; font-weight: 500; color: var(--ink-2); margin-left: 3px; }
.tile .where { font-size: .9rem; }
.tile .unavail { color: var(--ink-3); font-size: 1rem; font-weight: 600; }
.tile svg.ill { width: 44px; height: 44px; color: var(--accent); }
.tile.hero { min-height: 150px; }

.chip { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.chip.ev-official { border-color: var(--green); color: var(--green); }
.chip.ev-gauge_confirmed { border-color: var(--accent); color: var(--accent); }
.chip.ev-reported { border-color: var(--yellow); color: var(--yellow); }
.chip.stale { border-color: var(--orange); color: var(--orange); }
.chip.camp { border-style: dashed; }

table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
td.num, th.num { text-align: right; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.na { color: var(--ink-3); }

.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list a { color: var(--ink); font-weight: 600; }
.list .sub { font-size: .85rem; color: var(--ink-2); font-weight: 400; }

.enth { display: none; }
body[data-layer="enthusiast"] .enth { display: block; }
body[data-layer="enthusiast"] .lay-only { display: none; }
.basis { font-size: .8rem; color: var(--ink-3); border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 6px; }

.tabs { display: inline-flex; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--card); }
.tabs button { border: 0; border-radius: 8px; background: transparent; padding: 6px 12px; color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }

.ill-wrap { display: flex; gap: 14px; align-items: flex-start; }
.ill-wrap svg { width: 72px; height: 72px; flex: 0 0 auto; color: var(--accent); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 12px 16px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--card); }
.timeline .d { font-weight: 650; font-variant-numeric: tabular-nums; }

nav.bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--card); border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
nav.bottom a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; color: var(--ink-3); padding: 4px 10px; min-width: 64px; }
nav.bottom a svg { width: 22px; height: 22px; }
nav.bottom a[aria-current="page"] { color: var(--accent); }
.status-bar { font-size: .78rem; color: var(--ink-3); margin-top: 18px; }
.err { background: var(--red-bg); color: var(--red); border-radius: 10px; padding: 10px 12px; }
.spark { width: 100%; height: 36px; }
@media (min-width: 760px) { h1 { font-size: 1.8rem; } .tile .val { font-size: 1.9rem; } }

.feedstatus td.note{white-space:normal;min-width:14rem;word-break:break-word}


:root { --sea: #a9c8e2; --land: #c5d9a8; --shore: #7d9a6a; --lake: #a9c8e2; --plot-ink: #10202e; --halo: rgba(255,255,255,.92);
  --t-ink: #b3261e; --td-ink: #1f7a3a; --p-ink: #14202b; --rr-ink: #1257a6; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --sea: #10273a; --land: #2a3b2a; --shore: #4c6a4c; --lake: #10273a; --plot-ink: #f1f5f8; --halo: rgba(10,18,28,.9);
    --t-ink: #ff8a80; --td-ink: #7bd88f; --p-ink: #e8eef4; --rr-ink: #7fb8ff; }
}
:root[data-theme="dark"] { --sea: #10273a; --land: #2a3b2a; --shore: #4c6a4c; --lake: #10273a; --plot-ink: #f1f5f8; --halo: rgba(10,18,28,.9);
  --t-ink: #ff8a80; --td-ink: #7bd88f; --p-ink: #e8eef4; --rr-ink: #7fb8ff; }
.mapcard { padding: 12px; }
.maphead { margin: 0 2px 8px; }
.maphead .tiny { text-align: right; max-width: 55%; }
.maphead h1 { font-size: 1.3rem; }
.mapbox { position: relative; width: 100%; border-radius: 10px; overflow: hidden; background: var(--sea); }
svg.mesomap { display: block; width: 100%; height: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
svg.mesomap .shore { fill: var(--land); stroke: var(--shore); stroke-width: .6; vector-effect: non-scaling-stroke; }
svg.mesomap .outline path { fill: none; stroke: var(--shore); stroke-width: .6; vector-effect: non-scaling-stroke; }
svg.mesomap .relief { pointer-events: none; }
svg.mesomap .lake { fill: var(--lake); stroke: var(--shore); stroke-width: .4; vector-effect: non-scaling-stroke; }
svg.mesomap text, svg.keyplot text { font: 600 11px/1 var(--sans); paint-order: stroke; stroke: var(--halo); stroke-width: 3px; stroke-linejoin: round; font-variant-numeric: tabular-nums; }
svg.mesomap .t, .mapkey .t { fill: var(--t-ink); color: var(--t-ink); }
svg.mesomap .td, .mapkey .td { fill: var(--td-ink); color: var(--td-ink); }
svg.mesomap .p, .mapkey .p { fill: var(--p-ink); color: var(--p-ink); }
svg.mesomap .rr, .mapkey .rr { fill: var(--rr-ink); color: var(--rr-ink); }
svg.mesomap .dot, svg.keyplot .dot { fill: var(--halo); stroke: var(--plot-ink); stroke-width: 1.4; }
svg.mesomap .camp .dot { stroke-dasharray: 2 1.5; }
svg.mesomap .calm { fill: none; stroke: var(--plot-ink); stroke-width: 1.2; }
svg.mesomap .barb, svg.keyplot .barb { fill: var(--plot-ink); stroke: var(--plot-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
svg.mesomap .mini .dot { fill: var(--plot-ink); stroke: var(--halo); stroke-width: 1; }
svg.mesomap .stale { opacity: .45; }
svg.mesomap .hit { fill: transparent; stroke: none; cursor: pointer; }
svg.mesomap .sel { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.zoom { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 6px; }
.zoom button { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.mapkey { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.mapkey svg.keyplot { width: 96px; height: 36px; flex: 0 0 auto; background: var(--land); border-radius: 6px; }
.mapkey b { font-weight: 650; }
.map-panel { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
table.kv th { width: 34%; text-transform: none; letter-spacing: 0; font-size: .85rem; }
table.kv td, table.kv th { padding: 6px 6px; }
.xt th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--ink); white-space: nowrap; }
.xt td .sub { font-size: .82rem; color: var(--ink-2); }
.xt .xv { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
svg.mesomap .badge .bg { fill: #f5b335; stroke: #6b4a00; stroke-width: 1; }
svg.mesomap .badge.camp .bg { stroke-dasharray: 2 1.5; }
svg.mesomap .badge .bt { fill: #2b1d00; stroke: none; font-size: 10.5px; font-weight: 700; }
.mapbox { max-width: 640px; margin: 0 auto; }
.xt th { text-transform: none; letter-spacing: 0; }


.mapmode { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; margin: 0 2px 8px; }
.mapmode button { border: 0; background: var(--card); color: var(--ink); padding: 7px 14px; font: inherit; font-size: .88rem; cursor: pointer; min-height: 36px; }
.mapmode button + button { border-left: 1px solid var(--line); }
.mapmode button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.mapmode button:disabled { opacity: .45; cursor: not-allowed; }
svg.mesomap .isoline { fill: none; stroke: rgba(20,32,43,.62); stroke-width: .9; vector-effect: non-scaling-stroke; }
svg.mesomap .isoline.cold { stroke: #10307a; stroke-width: 1.5; }
svg.mesomap .isolab { font-size: 10px; font-weight: 700; fill: #14202b; stroke: rgba(255,255,255,.9); }
svg.mesomap .isolab.cold { fill: #10307a; }

svg.mesomap .isoline.zero { stroke: #1d3f8f; stroke-width: 2.2; }
svg.mesomap .isolab.zero { fill: #1d3f8f; font-weight: 800; }
.isokey { margin: 10px 2px 0; }
.isokey .isobar { height: 12px; border-radius: 3px; }
.isokey .isoticks { position: relative; height: 14px; margin: 2px 0 6px; }
.isokey .isoticks span { position: absolute; top: 0; transform: translateX(-50%); font-size: .72rem; font-variant-numeric: tabular-nums; }

.sclegend { margin: 4px 0 6px; max-width: 100%; }
.sclegend .sctitle { font-size: .8rem; margin-bottom: 1px; }
.sclegend .isobar { height: 12px; border-radius: 3px; }
.sclegend .isoticks { position: relative; height: 14px; margin: 2px 0 6px; }
.sclegend .isoticks span { position: absolute; top: 0; transform: translateX(-50%); font-size: .7rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sclegend .scmarks { position: relative; height: 15px; }
.sclegend .scmark { position: absolute; bottom: 0; transform: translateX(-50%); font-size: .68rem; line-height: 1; color: var(--ink); white-space: nowrap; display: flex; flex-direction: column; align-items: center; }
.sclegend .scmark b { font-weight: 700; font-variant-numeric: tabular-nums; }
.isokey p { margin: 4px 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) svg.mesomap .isoline { stroke: rgba(10,18,28,.7); }
  :root:not([data-theme="light"]) svg.mesomap .isoline.zero { stroke: #1d3f8f; stroke-width: 2.2; }
}


svg.mesomap .badge .bg.tc { stroke: rgba(20,32,43,.55); }
svg.mesomap .badge .bg.gust { stroke-dasharray: none; }

svg.mesomap .badge .bg.max1 { stroke-dasharray: 2.5 2; stroke: #14202b; }
svg.mesomap .badge .bg.under { stroke: rgba(20,32,43,.35); }
svg.mesomap .stn.coastal .dot { fill: #fff; stroke: #0b6e99; stroke-width: 1.6; }
svg.mesomap .badge.own .bg { stroke: #14202b; stroke-width: 2; }
svg.mesomap .stn.own .dot { stroke-width: 2.4; }
svg.mesomap .wbarb { fill: #14202b; stroke: #14202b; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
svg.mesomap .wbarb-halo { fill: rgba(255,255,255,.85); stroke: rgba(255,255,255,.85); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
svg.mesomap .isoline.wind { stroke: rgba(30,20,60,.55); }
svg.mesomap .isolab.wind { fill: #1d1240; }
.chip.own { background: #14202b; color: #fff; }


.mapbox canvas.flow { position: absolute; left: 0; top: 0; pointer-events: none; }


svg.mesomap image.radar { opacity: .88; pointer-events: none; }
svg.mesomap image.sat { pointer-events: none; }
svg.mesomap.sat-on .shore { fill: none; }
svg.mesomap.sat-on .relief, svg.mesomap.sat-on image.iso { display: none; }
svg.mesomap.sat-on .lake { fill: none; stroke: rgba(255,255,255,.5); }
svg.mesomap.sat-on .outline path { stroke: rgba(255,255,255,.75); stroke-width: .8; }
.mapmode button { padding: 7px 10px; font-size: .84rem; }
.picbar { margin: 8px 2px 0; }
.picbar .row.wrap { flex-wrap: wrap; gap: 8px; align-items: center; }
.picbar .picplay { width: 40px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; cursor: pointer; vertical-align: middle; }
.picbar .picslider { width: min(60vw, 240px); vertical-align: middle; margin-left: 8px; accent-color: var(--accent); }
.picbar .picstreams { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; margin-top: 6px; }
.picbar .picstreams button { border: 0; background: var(--card); color: var(--ink); padding: 6px 12px; font: inherit; font-size: .84rem; cursor: pointer; min-height: 34px; }
.picbar .picstreams button + button { border-left: 1px solid var(--line); }
.picbar .picstreams button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.picbar p.stale { color: var(--warn, #b45309); font-weight: 600; }
.radarkey { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin-bottom: 4px; font-size: .72rem; font-variant-numeric: tabular-nums; }
.radarkey .sw { display: inline-block; width: 16px; height: 12px; border-radius: 2px; margin-left: 6px; }


svg.mesomap .counties path { fill: none; stroke: rgba(20,32,43,.28); stroke-width: .7; vector-effect: non-scaling-stroke; stroke-dasharray: 3 2; pointer-events: none; }

svg.mesomap .counties path.lv-on { pointer-events: all; cursor: pointer; stroke-dasharray: none; stroke-width: 1; }
svg.mesomap .counties path.lv-yellow { fill: rgba(217,164,0,.42); stroke: #b38600; }
svg.mesomap .counties path.lv-orange { fill: rgba(224,112,0,.46); stroke: #b05800; }
svg.mesomap .counties path.lv-red { fill: rgba(198,40,40,.5); stroke: #8e1c1c; }

svg.mesomap .counties.nowarn path.lv-on { fill: none !important; stroke: rgba(20,32,43,.28); stroke-width: .7; stroke-dasharray: 3 2; pointer-events: none; }
.wkey { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 6px 2px 0; }
.wkey .sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -2px; margin-right: 4px; border: 1px solid rgba(0,0,0,.25); }
.wkey .sw.yellow { background: rgba(217,164,0,.6); } .wkey .sw.orange { background: rgba(224,112,0,.65); } .wkey .sw.red { background: rgba(198,40,40,.7); }
.wkey .sw.later { background: repeating-linear-gradient(45deg, rgba(217,164,0,.7) 0 3px, transparent 3px 6px); }

.wkey .wkeyline { margin: 0; flex: 1 1 100%; }
.wkey .wkeyline .sw { margin-left: 2px; }
.wkey .wshade { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: .85rem; cursor: pointer; }
.wkey .wshade input { width: 18px; height: 18px; margin: 0; }
svg.mesomap.sat-on .counties path { stroke: rgba(255,255,255,.45); }
svg.mesomap .areafog { fill: none; pointer-events: none; }   
svg.mesomap .area path { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
svg.mesomap .area path.case { stroke: rgba(255,255,255,.92); stroke-width: 5.5; }
svg.mesomap.sat-on .area path.case { stroke: rgba(0,0,0,.7); }
svg.mesomap .hs .pin { stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; paint-order: stroke; }
svg.mesomap .hs.sel .pin { stroke: #14202b; stroke-width: 2; }
svg.mesomap .hs .hit { fill: transparent; cursor: pointer; }
.areabar { margin: 0 2px 8px; gap: 8px; align-items: center; }
.areabar select { font: inherit; font-size: .9rem; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); color: var(--ink); min-height: 36px; max-width: 60vw; }
.arealine { margin: 8px 2px 0; }
.hzsw { display: inline-block; width: 11px; height: 11px; border-radius: 2px; vertical-align: -1px; margin: 0 3px 0 6px; border: 1px solid rgba(255,255,255,.8); }
.hzkey { display: inline-block; margin-top: 2px; }


.list.sea li > b { white-space: nowrap; margin-left: 8px; }

.pushform .pushprov { margin: 6px 0; line-height: 1.9; }
.pushform .pushprov b { display: block; }
.pushform label { display: inline-block; margin-right: 8px; white-space: nowrap; }
.pushform .row { gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.pushform select { padding: 6px 8px; }
.pushform button { padding: 8px 14px; min-height: 44px; }

svg.mesomap .hs .ring { fill: none; stroke-width: 2.2; }
svg.mesomap .hs.lv-yellow .ring { stroke: #b38600; }
svg.mesomap .hs.lv-orange .ring { stroke: #b05800; }
svg.mesomap .hs.lv-red .ring { stroke: #8e1c1c; }
svg.mesomap .hs .ring.rec { stroke: #14202b; stroke-dasharray: 3 2; stroke-width: 1.6; }
.alertline { padding: 6px 10px; border-radius: 8px; margin: 6px 0; }
.alertline.yellow { background: rgba(217,164,0,.18); } .alertline.orange { background: rgba(224,112,0,.2); } .alertline.red { background: rgba(198,40,40,.2); }
.alertline.rec { border: 1.5px dashed currentColor; }

.mapmode.mapvalue { margin-top: -4px; }
.mapmode[hidden] { display: none; }
.mapmode.mapvalue button { padding: 5px 8px; font-size: .8rem; min-height: 32px; white-space: nowrap; }

.mapmode.mapvalue { flex-wrap: wrap; max-width: 100%; }

.mapmode { flex-wrap: wrap; max-width: 100%; }
.modewhy { margin: -4px 2px 8px; }


table.raintab { border-collapse: collapse; width: 100%; font-size: .9rem; }
table.raintab th, table.raintab td { padding: 4px 4px; border-bottom: 1px solid var(--line, #e3e8ee); text-align: left; vertical-align: top; }
table.raintab th.num, table.raintab td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.raintab td.num .sofar { white-space: normal; max-width: 7.5rem; margin-left: auto; }
table.raintab td b { font-weight: 600; }
table.raintab td:first-child { max-width: 150px; }
table.raintab .tiny { display: block; }
.chip.yellow { background: #f5d33f; color: #14202b; } .chip.orange { background: #f0932b; color: #14202b; } .chip.red { background: #c62828; color: #fff; }


.top-row { flex-wrap: wrap; row-gap: 6px; }
.region { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); flex-shrink: 0; }
.region button { border: 0; background: transparent; color: var(--ink-2); padding: 6px 11px; cursor: pointer; font-size: .82rem; white-space: nowrap; }
.region button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.region button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 480px) { .brand small { display: none; } .region button { padding: 6px 8px; font-size: .76rem; } .layer button { padding: 6px 8px; font-size: .76rem; } }
nav.bottom a { min-width: 0; padding: 4px 6px; flex: 1 1 0; font-size: .66rem; }
@media (min-width: 480px) { nav.bottom a { font-size: .7rem; padding: 4px 10px; } }
.chartbox, .warnbox { max-width: 100%; background: var(--bg); }
.chartbox canvas, .warnbox canvas { display: block; width: 100%; touch-action: none; cursor: grab; }
.charthead { margin: 6px 2px 8px; font-size: .92rem; font-variant-numeric: tabular-nums; }
.charttap { margin: 6px 2px 0; min-height: 1.2em; font-variant-numeric: tabular-nums; }
.chartattr { margin-top: 10px; }
.keyline { display: inline-block; width: 22px; border-top: 1.5px solid currentColor; vertical-align: middle; margin: 0 2px; }
.keyline.dotted { border-top-style: dotted; border-top-width: 2px; }
.picbar p.stale { background: var(--orange-bg); border-left: 4px solid var(--orange); padding: 6px 10px; border-radius: 6px; margin: 8px 2px 0; }
.warncard .wkey { margin: 8px 2px 4px; }
.warncard .warnlist li { display: block; }
.warncard .warnitem .warntext { white-space: pre-line; margin-top: 4px; }
.warncard .warnsub { margin: 10px 0 4px; font-size: .95rem; }
.warncard p.stale { color: var(--orange); font-weight: 600; }


svg.mesomap .nations path { fill: none; stroke: rgba(20,32,43,.3); stroke-width: .7; vector-effect: non-scaling-stroke; stroke-dasharray: 3 2; pointer-events: none; }
svg.mesomap.sat-on .nations path { stroke: rgba(255,255,255,.45); }
svg.mesomap .wpolys path { stroke: rgba(20,32,43,.45); stroke-width: .8; vector-effect: non-scaling-stroke; pointer-events: none; }
svg.mesomap .wpolys path.later { stroke-dasharray: 4 3; fill-opacity: .55; }

svg.mesomap .rlines path { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
svg.mesomap .rlines path.lv-yellow { stroke: #f2d21b; }
svg.mesomap .rlines path.lv-orange { stroke: #f08a1c; }
svg.mesomap .rlines path.lv-red { stroke: #d62828; }
svg.mesomap .stn .bg.river.review { stroke: #14202b; stroke-dasharray: 2 1.5; }
svg.mesomap .stn .bg.river.baseline { fill-opacity: .85; }
.rivlegend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 4px 0; }
.rivlegend span { display: inline-flex; align-items: center; gap: 4px; }
.rivlegend i { width: 14px; height: 10px; border-radius: 2px; display: inline-block; border: 1px solid rgba(20,32,43,.25); }
.hydro { width: 100%; height: 90px; display: block; }
.hydro polyline { fill: none; stroke: var(--accent, #1f6fb2); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.hydro line.th { stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.hydro text { font-size: 9px; fill: var(--muted, #5b6672); }


.tabs.exscope { gap: 6px; align-items: center; margin: 8px 0; }
.tabs.exscope .tiny { margin-right: 4px; }

.tabs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.gust-note { margin: 4px 0 8px; }


.flowsel { margin-top: 6px; align-items: center; }
.flowsel .tiny { margin-right: 4px; align-self: center; }


:root { --euw-none: #e3ebe5; --euw-nofeed: #eef1f4; --euw-hatch: #c3cad2; --euw-sea: #e8f1f7; --euw-land: #f4f1ea; --euw-edge: #6d7a86; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --euw-none: #1f3326; --euw-nofeed: #222a33; --euw-hatch: #3a4552; --euw-sea: #12202c; --euw-land: #1c2530; --euw-edge: #90a0ae; } }
:root[data-theme="dark"] { --euw-none: #1f3326; --euw-nofeed: #222a33; --euw-hatch: #3a4552; --euw-sea: #12202c; --euw-land: #1c2530; --euw-edge: #90a0ae; }
.euwmap { display: block; width: 100%; height: auto; max-height: 70vh; }
.euwmap .euwsea { fill: var(--euw-sea); }
.euwmap .euwland { fill: var(--euw-land); stroke: none; }
.euwmap .euwc { stroke: var(--euw-edge); cursor: pointer; }
.euwmap .euwc.sel { stroke: var(--accent); }   
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; border: 1px solid var(--line); }
.swatch.euwnone { background: var(--euw-none); }
.swatch.euwnofeed { background: repeating-linear-gradient(45deg, var(--euw-nofeed) 0 3px, var(--euw-hatch) 3px 5px); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
.chartframe { margin: 4px 0; }
.mapmode.euwregs { display: flex; flex-wrap: wrap; max-width: 100%; }
.mapmode.euwregs button { flex: 1 1 auto; white-space: nowrap; padding: 6px 9px; font-size: .82rem; min-height: 34px; border-top: 1px solid var(--line); margin-top: -1px; }
.euwcard select { font: inherit; font-size: .9rem; padding: 4px 6px; border-radius: 7px; border: 1px solid var(--line); background: var(--card); color: var(--ink); max-width: 100%; }

svg.mesomap .counties.tapall path { pointer-events: all; cursor: pointer; }


svg.mesomap .stn.nudged .leader { fill: none; stroke: var(--plot-ink); stroke-width: 1.1; stroke-linecap: round; }
svg.mesomap .stn.nudged .dot { fill: var(--plot-ink); stroke: var(--halo); stroke-width: 1; }
svg.mesomap .stn .warrow { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.euxmap .euxc { fill: var(--euw-land); stroke: var(--euw-edge); opacity: .4; cursor: pointer; }
.euxmap .euxc.sel { fill: var(--euw-none); stroke: var(--accent); opacity: 1; }
.euxmap .euxmark { cursor: pointer; }
.euxmap .euxmark .euxdot, .euxmap .euxmark .euxarrow { fill: var(--accent); stroke: var(--card); stroke-width: .8; }
.euxmap .euxmark .euxlab { fill: var(--card); fill-opacity: .94; stroke: var(--accent); }
.euxmap .euxmark .euxlead { stroke: var(--accent); }
.euxmap .euxmark text { fill: var(--ink); font-weight: 650; }
.euxmap .euxmark:focus { outline: none; }
.euxmap .euxmark:focus .euxlab, .euxmap .euxmark:hover .euxlab { stroke: var(--ink); }
.euxtile .val { font-size: 1.5em; font-weight: 700; }
.euxtile .euxn { display: inline-block; min-width: 1.4em; text-align: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-right: 4px; }
tr.lead td { font-weight: 700; }


.mapbox .mapchip { position: absolute; left: 6px; bottom: 6px; max-width: 46%; padding: 1px 6px; border-radius: 5px; background: var(--halo);
  color: var(--plot-ink); font-size: .72rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; z-index: 2; }
.mapnotes { margin: 6px 2px 0; display: flex; flex-direction: column; gap: 3px; color: var(--muted, #4a5560); }
.mapnotes .mnote { line-height: 1.4; }
.mapnotes .mnote-i { border: 0; background: none; color: var(--accent); font: inherit; font-size: 1rem; line-height: 1; padding: 2px 6px; min-width: 32px; min-height: 28px; cursor: pointer; vertical-align: middle; }
.mapnotes .mnote-full { margin: 2px 0 4px; padding: 4px 8px; border-left: 3px solid var(--line); color: var(--ink); }

.mapsummary { margin: 2px 0 8px; font-size: 0.95rem; line-height: 1.35; }

.keypic { width: 100%; max-width: 340px; height: auto; display: block; margin: 0 auto 4px; font-size: 10px; }
.mapkey.lay-only { flex-direction: column; align-items: stretch; }
body[data-layer="enthusiast"] .mapkey.enth { display: flex; }

.euwfold > summary { cursor: pointer; list-style: none; padding: 2px 0; }
.euwfold > summary::-webkit-details-marker { display: none; }
.euwfold[open] > summary { margin-bottom: 6px; }
.euwfold > .card { box-shadow: none; border: 0; padding: 0; margin: 0; }

.zoomchip { margin: 4px 0 6px; padding: 3px 8px; display: inline-block; border-radius: 12px; background: var(--chip-bg, rgba(27,78,166,.10)); }
.zoomchip[hidden] { display: none; }

.hz { font-weight: 600; white-space: nowrap; }
.warnitem .ev { font-weight: 400; color: var(--ink-2); }
.hz.none { font-weight: 400; font-style: italic; color: var(--ink-3); white-space: normal; }
