/* Weather tools site. Tokens first; every color on the page comes from them
   so light and dark both resolve as a set. Light is the default on :root;
   dark is the same tokens redefined under prefers-color-scheme and under an
   explicit data-theme, so an explicit choice beats the system setting. */
:root{
  --ground:#F6F7F9; --panel:#FFFFFF; --ink:#1A2330; --muted:#5E6B7A; --line:#D8DEE6; --rule:#B8C1CC;
  --navy:#0B2545; --accent:#1E5AA0; --accent-ink:#FFFFFF;
  --obs:#111111; --nws:#2E7D32; --nbm:#B45309; --lamp:#6B4FBB; --mav:#5C6F8A; --hrrr:#B02E7C; --sust:#8A8F98;
  --dot-ink:#FFFFFF; --warm:#B2182B; --cool:#2166AC; --yes:#1E7A4F; --no:#B2182B; --fcst:#7B4FA8; --vbar:#CF6A14;
  --night:#EEF1F6; --shade:#F4F7FB; --map-land:#EEF1F5; --map-sea:#F6F9FC; --map-line:#FFFFFF; --map-road:rgba(140,90,40,.55); --map-road2:rgba(140,90,40,.3); --map-place:#4A5563;
  --chip:#EEF2F7; --warn:#8A5A00; --warn-soft:#FFF4DC; --bad:#A6452B; --bad-soft:#F8E5DF; --ok:#2E6B3F; --ok-soft:#E3EFE6;
  --tip-bg:#12161C; --tip-ink:#FFFFFF;
  /* the archive's PDF viewer, the same in both themes as it is there */
  --viewer:#404040; --viewer-line:#2E2E2E;
  /* the working paper's five groups on the accuracy page, the palette of the brief at its top */
  --g-mos:#1B7D3A; --g-blend:#12A4B6; --g-human:#E8850C; --g-ai:#7B3294; --g-raw:#B79E70;
  --ana-rtma:#B8722C; --ana-rain-soft:#D6E4F3;
  /* the analysis page's map: nine steps for temperature and wind, nine for precipitation, and the ink on the dark steps */
  --ana-r0:#c9dcec; --ana-r1:#d4e6ea; --ana-r2:#dcecd9; --ana-r3:#e9eecb; --ana-r4:#f4ecc1; --ana-r5:#f5ddb3; --ana-r6:#eec9a5; --ana-r7:#e3b49c; --ana-r8:#d8a098;
  --ana-b0:#eef4fb; --ana-b1:#d6e6f5; --ana-b2:#bcd7ee; --ana-b3:#9fc5e5; --ana-b4:#7fb0da; --ana-b5:#5f98cb; --ana-b6:#437fb8; --ana-b7:#2b66a1; --ana-b8:#184d86; --ana-ink-dk:#FFFFFF;
  /* the landing's observed minus expected temperature: four blue steps colder than the forecast, a grey within a
     degree, four red steps warmer, each arm one hue with its lightness stepping outward, checked for each theme */
  --dif0:#0d366b; --dif1:#1c5cab; --dif2:#3987e5; --dif3:#86b6ef; --dif4:#f0efec; --dif5:#ea9a93; --dif6:#d75853; --dif7:#9e3432; --dif8:#621b1a;
  --t-extra:#9AA3AD;
  /* a live storm's cards, shaded by what each column of the vendor's is: LiveCyc looks forward from
     its cycle, Metryc counts the highest gust over the whole storm (owner, 2026-10-12) */
  --ph-fwd:rgba(30,90,160,.075); --ph-cum:rgba(214,140,30,.13); --ph-cum-ink:#9A5B0C;
  /* the shadow under a floating panel, such as the analysis page's list of places and its replay */
  --shadow:rgba(16,24,40,.16);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ground:#0F141A; --panel:#161C24; --ink:#E4E9F0; --muted:#98A4B3; --line:#2A3440; --rule:#3A4656;
    --navy:#9DB8E3; --accent:#7FB0EA; --accent-ink:#0F141A;
    --obs:#F2F4F7; --nws:#6FCF76; --nbm:#F0A048; --lamp:#A995E8; --mav:#9FB3CC; --hrrr:#E88AC5; --sust:#7E8695; --sust:#7E8695;
    --dot-ink:#0F141A; --warm:#E4606F; --cool:#6FA8E6; --yes:#4FB37C; --no:#E4606F; --fcst:#B98FE0; --vbar:#E0A070;
    --night:#141B24; --shade:#18212C; --map-land:#1F2833; --map-sea:#131A22; --map-line:#0F141A; --map-road:rgba(226,204,168,.4); --map-road2:rgba(226,204,168,.22); --map-place:#B7C0CC;
    --chip:#1F2833; --warn:#F0C36A; --warn-soft:#2B2210; --bad:#E8876A; --bad-soft:#2B1A14; --ok:#7CC28F; --ok-soft:#14261A;
    --tip-bg:#E4E9F0; --tip-ink:#0F141A;
    --g-mos:#5FBF7A; --g-blend:#3FC4D4; --g-human:#F0A04A; --g-ai:#B98AE0; --g-raw:#A8957A;
    --ana-rtma:#E8A85C; --ana-rain-soft:#1E3550;
    --ana-r0:#35506b; --ana-r1:#3d5f66; --ana-r2:#456650; --ana-r3:#5d6a3e; --ana-r4:#76693a; --ana-r5:#80603a; --ana-r6:#82533a; --ana-r7:#7e4740; --ana-r8:#7a3c44;
    --ana-b0:#1d2a38; --ana-b1:#1f3550; --ana-b2:#234466; --ana-b3:#28547d; --ana-b4:#2d6595; --ana-b5:#3577ad; --ana-b6:#4a8cc2; --ana-b7:#68a3d3; --ana-b8:#8cbbe2; --ana-ink-dk:#0F141A;
    --dif0:#9ec5f4; --dif1:#6da7ec; --dif2:#3987e5; --dif3:#256abf; --dif4:#383835; --dif5:#b13f3c; --dif6:#d75853; --dif7:#e4857e; --dif8:#f1aea8;
    --t-extra:#8C97A3;
    --ph-fwd:rgba(127,176,234,.13); --ph-cum:rgba(232,170,80,.15); --ph-cum-ink:#E8AA50;
    --shadow:rgba(0,0,0,.55);
  }
}
:root[data-theme="dark"]{
  --ground:#0F141A; --panel:#161C24; --ink:#E4E9F0; --muted:#98A4B3; --line:#2A3440; --rule:#3A4656;
  --navy:#9DB8E3; --accent:#7FB0EA; --accent-ink:#0F141A;
  --obs:#F2F4F7; --nws:#6FCF76; --nbm:#F0A048; --lamp:#A995E8; --mav:#9FB3CC; --hrrr:#E88AC5; --sust:#7E8695;
  --dot-ink:#0F141A; --warm:#E4606F; --cool:#6FA8E6; --yes:#4FB37C; --no:#E4606F; --fcst:#B98FE0; --vbar:#E0A070;
  --night:#141B24; --shade:#18212C; --map-land:#1F2833; --map-sea:#131A22; --map-line:#0F141A; --map-road:rgba(226,204,168,.4); --map-road2:rgba(226,204,168,.22); --map-place:#B7C0CC;
  --chip:#1F2833; --warn:#F0C36A; --warn-soft:#2B2210; --bad:#E8876A; --bad-soft:#2B1A14; --ok:#7CC28F; --ok-soft:#14261A;
  --tip-bg:#E4E9F0; --tip-ink:#0F141A;
  --g-mos:#5FBF7A; --g-blend:#3FC4D4; --g-human:#F0A04A; --g-ai:#B98AE0; --g-raw:#A8957A;
  --ana-rtma:#E8A85C; --ana-rain-soft:#1E3550;
  --ana-r0:#35506b; --ana-r1:#3d5f66; --ana-r2:#456650; --ana-r3:#5d6a3e; --ana-r4:#76693a; --ana-r5:#80603a; --ana-r6:#82533a; --ana-r7:#7e4740; --ana-r8:#7a3c44;
  --ana-b0:#1d2a38; --ana-b1:#1f3550; --ana-b2:#234466; --ana-b3:#28547d; --ana-b4:#2d6595; --ana-b5:#3577ad; --ana-b6:#4a8cc2; --ana-b7:#68a3d3; --ana-b8:#8cbbe2; --ana-ink-dk:#0F141A;
  --dif0:#9ec5f4; --dif1:#6da7ec; --dif2:#3987e5; --dif3:#256abf; --dif4:#383835; --dif5:#b13f3c; --dif6:#d75853; --dif7:#e4857e; --dif8:#f1aea8;
  --t-extra:#8C97A3;
  --ph-fwd:rgba(127,176,234,.13); --ph-cum:rgba(232,170,80,.15); --ph-cum-ink:#E8AA50;
  --shadow:rgba(0,0,0,.55);
}
*{box-sizing:border-box}
html{color-scheme:light dark}
body{margin:0;background:var(--ground);color:var(--ink);
  font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-variant-numeric:tabular-nums}
a{color:var(--accent)}
.wrap{max-width:1040px;margin:0 auto;padding:18px 20px 60px}
header.site{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:6px 18px;padding:14px 0 0;border-bottom:1px solid var(--line);margin-bottom:16px}
header.site nav.l1{grid-column:2;align-items:baseline}
header.site nav.l1>a{font-size:15px;font-weight:700;color:var(--muted)}
header.site nav.l1>a.on{color:var(--navy)}
header.site nav.l2{grid-column:2;padding:5px 0 9px;gap:16px}
header.site nav.l2 a{font-size:13px}
header.site nav.l2 a.on{color:var(--navy);font-weight:700;box-shadow:inset 0 -2px 0 var(--accent)}
header.site .refnav{margin-left:auto;display:flex;gap:12px;flex-wrap:wrap;align-items:baseline}
header.site .refnav a{font-size:12.5px;color:var(--muted);text-decoration:none}
header.site .refnav a.on{color:var(--ink);font-weight:600}
@media (max-width:760px){header.site{grid-template-columns:1fr}header.site nav.l1,header.site nav.l2,header.site .refnav{grid-column:1}header.site .refnav{margin-left:0}}
header.site .brand{font-weight:700;color:var(--navy);font-size:16px;text-decoration:none}
header.site .ndfd-mark{margin-left:7px;padding:1px 6px;border:1px solid currentColor;border-radius:3px;font-size:11px;font-weight:700;letter-spacing:.06em;vertical-align:2px}
header.site nav{display:flex;gap:14px;flex-wrap:wrap}
header.site nav a{color:var(--muted);text-decoration:none;font-size:13.5px}
header.site nav a.on{color:var(--ink);font-weight:600}
header.site a.out::after{content:" \2197";font-size:.85em}
h1{font-size:19px;margin:0 0 3px;font-weight:650;color:var(--navy);text-wrap:balance}
h2{font-size:15px;margin:18px 0 6px;color:var(--navy)}
.sub{color:var(--muted);font-size:13px;margin:0 0 14px;max-width:72ch}
p{max-width:72ch}
.bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
select,button{font:inherit;padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink)}
button{cursor:pointer}button.on{background:var(--ink);color:var(--ground);border-color:var(--ink)}
button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.card{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:8px 4px 4px;overflow-x:auto}
.card svg{width:100%;height:auto;display:block}
.note{background:var(--shade);border-left:3px solid var(--accent);padding:10px 13px;margin:14px 0;font-size:13px;border-radius:0 6px 6px 0;max-width:none}
.note b{font-weight:620}
.note.warn{border-left-color:var(--warn)}
.key{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:10px 2px}
.key i{display:inline-block;width:20px;height:0;border-top:2px solid;vertical-align:middle;margin-right:5px}
.cap{font-size:12px;color:var(--muted);line-height:1.55;margin:8px 2px 0;max-width:none}
text{font-family:inherit}
.ax{font-size:10.5px;fill:var(--muted)}
.axl{font-size:11px;fill:var(--muted)}
.grid{stroke:var(--line);stroke-width:1}
.lvlval{font-size:9.5px;font-weight:700}
.lvlnm{font-size:9.5px}
.mklab{font-size:9px;fill:var(--muted)}
.lbl{paint-order:stroke;stroke:var(--panel);stroke-width:3px;stroke-linejoin:round;pointer-events:none}
/* status strip: the as-of state of what is on screen */
.status{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);padding:3px 9px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.status::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ok)}
.status.stale::before{background:var(--warn)}
.status.cache::before{background:var(--warn)}
.status.none::before{background:var(--bad)}
.status.none{color:var(--bad)}
/* tooltips */
.tip{position:fixed;pointer-events:none;background:var(--tip-bg);color:var(--tip-ink);padding:7px 10px;border-radius:6px;font-size:12px;opacity:0;transition:opacity .08s;z-index:60;line-height:1.45;max-width:340px}
.tip b{display:block;margin-bottom:2px}
.tip .tg{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:12px;row-gap:1px}
.tip .tk{opacity:.75;white-space:nowrap}
.tip .tv{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tip .tf{margin-top:4px;opacity:.75;font-size:11px}
/* the standing book under a price box, set off from the rows above it */
.tip .tq{margin-top:5px;padding-top:4px;border-top:1px solid color-mix(in srgb, currentColor 22%, transparent)}
/* a ranking of the accuracy page's 26 series needs a little more room than a row of values */
.tip:has(table.l3){max-width:430px}
.tip[data-pinned="1"]{pointer-events:auto;user-select:text;outline:1px solid var(--accent)}
.tip .sw{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px;vertical-align:-1px;box-shadow:0 0 0 1px rgba(128,128,128,.7)}
.tip .swl{display:inline-block;margin-right:5px;vertical-align:1px}
.tip .tg .gs{margin-top:5px}
/* The hover box is drawn in the opposite theme to the page, dark on a light
   page and light on a dark one, so a system's swatch inside it takes the
   other theme's value of its color; the page's own value would sit dark on
   dark or light on light. The ForecastEx row is set in bold. */
.tip{--g-mos:#5FBF7A; --g-blend:#3FC4D4; --g-human:#F0A04A; --g-ai:#B98AE0; --g-raw:#A8957A;}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .tip{--g-mos:#1B7D3A; --g-blend:#12A4B6; --g-human:#E8850C; --g-ai:#7B3294; --g-raw:#B79E70;}
}
:root[data-theme="dark"] .tip{--g-mos:#1B7D3A; --g-blend:#12A4B6; --g-human:#E8850C; --g-ai:#7B3294; --g-raw:#B79E70;}
.tip{--accent:#7FB0EA; --t-extra:#8C97A3;}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .tip{--accent:#1E5AA0; --t-extra:#9AA3AD;}
}
:root[data-theme="dark"] .tip{--accent:#1E5AA0; --t-extra:#9AA3AD;}
@media (prefers-reduced-motion: reduce){.tip{transition:none}}
/* city page */
/* The two maps side by side, finishing at the same height.

   They are different shapes: the states are 960 by 600 and the world strip 960
   by 320. Giving them equal widths made the taller one twice the height of the
   other and pushed the chart off the screen. Each takes the share of the row
   its own aspect needs, 16 against 30, so both come out the same height and one
   scale serves the pair. The columns stretch and the maps sit at the bottom of
   them, which keeps the two aligned however many lines a title runs to. */
.pickwrap{display:flex;gap:22px;align-items:stretch;margin-bottom:6px}
.pickwrap > div{min-width:0;display:flex;flex-direction:column;justify-content:flex-end}
.pickwrap > div:nth-child(1){flex:16 1 0}
.pickwrap > div:nth-child(2){flex:30 1 0}
#pick,#pickW{width:100%;max-width:100%;display:block}
@media (max-width:640px){.pickwrap{flex-wrap:wrap}.pickwrap > div{flex:1 1 100%}}
.pickttl{font-size:12px;color:var(--muted);margin:0 0 4px}
#skRow{margin:12px 0 10px;font-size:12.5px}
#skRow .lbl2{display:inline-block;width:88px;font-weight:620;color:var(--muted);font-size:12px}
button.sk{font-size:11.5px;padding:1px 8px;margin:2px 2px;border-radius:10px;border:1.4px solid var(--c);color:var(--c);background:var(--panel)}
button.sk.on{background:var(--c);color:var(--panel);border-color:var(--c)}
.ladtxt{font-size:8.5px;font-weight:700;fill:#fff}
/* map page */
.how{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;background:var(--shade);border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:14px 0;font-size:12.5px}
.how h3{margin:0 0 6px;font-size:12px;color:var(--ink)}
.how p{margin:0 0 6px;color:var(--muted);line-height:1.5}
.how .chip{display:inline-block;width:13px;height:13px;border-radius:50%;border:1px solid var(--ink);vertical-align:-2px;margin-right:5px}
.state{fill:none;stroke:var(--map-line);stroke-width:1.4}
.state2{fill:none;stroke:var(--muted);stroke-width:.55;opacity:.8}
.dot{cursor:pointer}
.dot:hover circle:last-child{stroke:var(--ink);stroke-width:2}
#modeTitle{font-size:13px;font-weight:700;color:var(--navy);margin:2px 2px 8px;letter-spacing:.02em}
/* hurricane page */
.coast{fill:var(--map-land);stroke:var(--muted);stroke-width:.8}
.secttl{font-size:13px;font-weight:700;color:var(--navy);margin:20px 2px 6px}
.stormrow{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;font-size:13px;margin:4px 0}
.stormrow b{color:var(--navy)}
/* tables */
table{border-collapse:collapse;width:100%;font-size:13px;background:var(--panel);border:1px solid var(--line)}
th,td{text-align:left;padding:7px 10px;border-bottom:1px solid var(--line)}
th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
tr:last-child td{border-bottom:0}
/* footer */
footer.site{margin-top:40px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:12.5px;line-height:1.55}
footer.site p{max-width:none;margin:6px 0}
/* embed target */
body.embed{background:var(--panel)}
body.embed .wrap{padding:8px 10px 10px;max-width:none}
/* hurricane page: season tiles and contract ladders */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:6px 0 12px}
.tile{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px 12px}
.tile .tv{font-size:24px;font-weight:700;color:var(--navy);line-height:1.1}
.tile .tl{font-size:12px;color:var(--muted);margin-top:2px}
.tile .ts{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.4}
.ladders{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.ladder{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px 12px}
.ladder .lt{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:4px}
.lrow{display:flex;align-items:center;gap:8px;font-size:12px;margin:3px 0}
.lrow .lk{width:92px;flex:none;color:var(--ink)}
.lrow .lb{flex:1;height:10px;background:var(--no);border-radius:3px;overflow:hidden}
.lrow .lb i{display:block;height:100%;background:var(--yes)}
.lrow .lv{width:56px;flex:none;text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}
.pws th,.pws td{padding:4px 8px}
.pws th .pwsn{font-weight:400;color:var(--muted);font-size:11px;white-space:nowrap}
.attrib{font-weight:600}
.lrow.one .lb i{background:repeating-linear-gradient(90deg,var(--yes) 0 6px,transparent 6px 9px)}
/* scorecard: the divergence figure's view buttons */
button.vbtn{font-size:12.5px}
button.vbtn.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
/* hurricane: the season-count panels, cumulative beside the ladder */
.cwrap{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px 12px;grid-column:1/-1}
.cwrap .lt{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:2px}
svg.cpanel{width:100%;height:auto;display:block}
.tile.link{cursor:pointer}
.tile.link:hover{border-color:var(--accent)}
/* hurricane: a live storm's per-location delivery charts */
.scards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px}
.scardwrap{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:8px 10px}
.scardwrap .lt{font-size:12.5px;font-weight:700;color:var(--navy)}
.scardwrap .lt .ltfin{color:var(--ph-cum-ink)}
svg.scard{width:100%;height:auto;display:block}
svg.stimeline{width:100%;height:auto;display:block;cursor:ew-resize;touch-action:none;margin:2px 0 6px}
svg.stimeline:focus{outline:2px solid var(--accent);outline-offset:2px}
.sbar{margin-bottom:2px}
.prose{max-width:74ch}
.prose p{font-size:14px;line-height:1.65;margin:0 0 12px}
.prose h2{margin:22px 0 8px}
.prose h3{font-size:14px;margin:20px 0 6px;color:var(--navy)}
.prose ul{margin:0 0 12px;padding-left:20px}
.prose li{font-size:14px;line-height:1.6;margin:0 0 6px}
.skp.lnk{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}
.skp.lnk:hover,.skp.lnk:focus{text-decoration-style:solid}
.lrow .lv[role="link"]{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}
.lrow .lv[role="link"]:hover{text-decoration-style:solid}
.tip a{color:var(--accent);text-decoration:underline}
td.num.lnk,.tile.lnk{cursor:pointer}
td.num.lnk{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}
td.num.lnk:hover{text-decoration-style:solid}
.tile.lnk:hover{border-color:var(--accent)}
svg path[role="link"],svg rect[role="link"]{cursor:pointer}
/* The basin map with its side panel while a storm is running: the panel holds
   one location's ladder and series, filled from the map. On a wide screen the
   pair widens past the text column so the map keeps its size; below that the
   panel is left off, since the storm section under the map holds the same
   cards. */
.mapwrap .mside{display:none}
@media (min-width:1100px){
  .card.mapwrap.has-side{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;align-items:start;
    width:min(1380px,calc(100vw - 60px));margin-left:calc(50% - min(690px,50vw - 30px));padding:8px 12px 8px 4px;overflow:visible}
  .card.mapwrap.has-side .mside{display:block}
}
.mside{font-size:12px;border-left:1px solid var(--line);padding:2px 0 4px 12px;min-width:0}
/* a satellite loop per storm on view, under the map */
#stormLoops{margin:14px 0 4px}
.loops{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,400px));gap:14px}
.loopcard{padding:10px 12px;margin:0}
.loopcard .lhd{font-weight:700;color:var(--navy);font-size:13.5px}
.loopcard .lsub{font-size:11.5px;color:var(--muted);margin:1px 0 7px}
.loopcard .loopimg{display:block;width:100%;height:auto;aspect-ratio:1/1;border-radius:6px;background:#0b0f14}
.loopcard .lbar{display:flex;align-items:center;gap:6px;margin-top:7px;font-size:12px}
.loopcard .looptime{margin-left:auto;color:var(--muted);font-variant-numeric:tabular-nums}
.loopcard .lsrc{font-size:10.5px;color:var(--muted);margin-top:4px}
/* the lower 48 under the landing map: the map card's padding, so the picture is the map's width */
#conusLoop{margin:16px 0 4px}
.loopcard.wide{padding:8px 4px 6px}
.loopcard.wide .lsub,.loopcard.wide .lbar,.loopcard.wide .lsrc{padding:0 8px}
.loopcard .loopcrop{position:relative;width:100%;overflow:hidden;border-radius:6px;background:#0b0f14}
.loopcard .loopcrop .loopimg{position:absolute;max-width:none;aspect-ratio:auto;border-radius:0}
/* the surface analysis is drawn on the landing map's projection in a frame of its own shape, and the
   fan-shaped margins outside WPC's picture are transparent, so they show the card rather than a dark box */
.loopcard.wpc .loopimg{aspect-ratio:auto;background:none}
.mside .mshd{font-size:12.5px;font-weight:700;color:var(--navy);margin:2px 0 3px}
.mside .msbox{border:1px dashed var(--line);border-radius:8px;padding:8px 10px;margin:9px 0;min-height:118px}
.mside .msbox.filled{border:none;padding:0;min-height:0}
.mside .msbox.filled .vloc,.mside .msbox.filled .scardwrap{margin:0}
.mside .mslbl{font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:0 0 5px}
.mside .msempty{color:var(--muted);line-height:1.5}
.mside .msquick{margin-top:4px;color:var(--muted);line-height:1.9}
.mside .msquick button{font-size:11.5px;padding:1px 7px;margin:0 4px 0 0}
#basinKey{gap:8px 18px;align-items:center}
#basinKey .bkitem{display:inline-flex;align-items:center;gap:6px}
#basinKey .bkitem b{font-weight:600;color:var(--ink)}
#basinKey .bkramp{display:inline-flex;align-items:center;gap:5px}
#basinKey .bkbar{display:inline-block;width:120px;height:9px;border:1px solid var(--line);border-radius:2px;margin:0}
#basinKey .bkdot{display:inline-block;width:8px;height:8px;border-radius:50%;border:1.4px solid var(--muted);margin:0}
#basinKey .bkdot.live{width:11px;height:11px;background:rgba(192,57,43,.75);border:1px solid #fff}
svg#basin circle.msel{stroke:var(--ink);stroke-width:2.4px;vector-effect:non-scaling-stroke}
svg#basin{touch-action:none}
svg#basin.grab{cursor:grab}
svg#basin.grabbing{cursor:grabbing}
svg#vmap.grab{cursor:grab}
svg#vmap.grabbing{cursor:grabbing}
.catgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin:10px 0}
a.catcard{display:block;border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:12px 14px;text-decoration:none}
a.catcard:hover{border-color:var(--accent)}
a.catcard .ct{font-weight:700;color:var(--navy);font-size:15px;margin-bottom:3px}
a.catcard .cn{font-size:12.5px;color:var(--muted)}
tr.dim td{color:var(--muted)}
.pill{display:inline-block;font-size:11.5px;padding:1px 7px;border-radius:9px;border:1px solid var(--line);white-space:nowrap}
.pill.ok{color:var(--yes);border-color:var(--yes)}
.pill.off{color:var(--muted)}
.pill.bad{color:var(--no);border-color:var(--no)}
code{font-size:12px;background:var(--bg);padding:1px 5px;border-radius:4px}
svg.serieschart{width:100%;height:auto;display:block}
.lrow .lv.dim{color:var(--muted)}
.bar.modegrid{align-items:flex-start;gap:22px}
.modegrid .mgcol{display:flex;flex-direction:column;gap:5px;align-items:stretch}
.modegrid .mgh{font-size:12px;font-weight:700;color:var(--navy);letter-spacing:.04em;text-transform:uppercase}
.modegrid .mgcol button{min-width:104px;text-align:left}
/* the NDFD landing's other measures, after the daily high and low, which lead: a quieter column of smaller buttons,
   two by two and set off by a rule, whose rows keep the daily columns' height */
.modegrid .mgmore{padding-left:20px;border-left:1px solid var(--line)}
.modegrid .mgmore .mgh{color:var(--muted)}
.modegrid .mgset{display:grid;grid-template-columns:repeat(2,auto);gap:5px}
.modegrid .mgset button{min-width:0;font-size:12.5px;line-height:21px}
@media (max-width:640px){.modegrid .mgmore{padding-left:0;border-left:0}}
/* the hourly temperature's three maps, the forecast, the analysis and the one less the other, under the bar */
.bar.tmodes{gap:6px;margin:-2px 0 10px}
.bar.tmodes[hidden]{display:none}
.bar.tmodes .tmh{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-right:4px}
.bar.tmodes button{font-size:12.5px;line-height:21px}

/* The scored-days table on a city page. Each tool owns a color, carried on its
   header and a rule down the left of its first column, so a reader following one
   tool can find it without counting across; temperatures are tinted by the cell
   itself. Numbers are tabular so columns line up on the decimal. */
.daytab{border-collapse:collapse;font-size:12px;width:100%}
.daytab th,.daytab td{padding:4px 7px;white-space:nowrap}
.daytab th{font-weight:700;font-size:11px;letter-spacing:.02em;text-align:left;color:var(--muted)}
.daytab th.grp{border-top:3px solid var(--line);padding-top:6px;color:var(--navy)}
.daytab th.obs,.daytab td.obs{background-clip:padding-box}
.daytab th.grp.obs{border-top-color:var(--ink)}
.daytab .num{text-align:right;font-variant-numeric:tabular-nums}
.daytab td.gs,.daytab th.gs{border-left:2px solid var(--line)}
.daytab td.err,.daytab th.err{color:var(--muted);font-size:11px}
.daytab tr:nth-child(odd) td{box-shadow:inset 0 0 0 9999px rgba(127,127,127,.035)}
.daytab .sw{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px;vertical-align:middle}


/* The per-panel zoom. Every window ends at the right edge, where the contracts
   and the newest reading are, and reaches back from it. */
.zoomrow{display:flex;align-items:center;gap:5px;margin:0 2px 6px;flex-wrap:wrap}
.zoomrow .zl{font-size:11px;color:var(--muted);margin-right:2px}
.zoomrow .zb{font-size:11px;padding:2px 8px;border:1px solid var(--line);background:transparent;
  color:var(--muted);border-radius:11px;cursor:pointer;line-height:1.6}
.zoomrow .zb:hover{border-color:var(--accent);color:var(--ink)}
.zoomrow .zb.on{border-color:var(--accent);color:var(--accent);font-weight:700}

.zoomrow .zb.fc{margin-left:6px}
.zoomrow .zb.fc.on{border-color:var(--fcst);color:var(--fcst)}


/* The two prices at the head of a strike's box. Wide blocks rather than table
   rows: this is the thing a reader hovered the marker to find out. */
.tip .tprice{display:flex;gap:6px;margin:6px 0 2px}
.tip .tp{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;
  padding:6px 8px;border-radius:6px;border:1px solid transparent}
.tip .tp .tpl{font-size:10px;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.tip .tp .tpv{font-size:19px;font-weight:800;line-height:1.15;font-variant-numeric:tabular-nums}
.tip .tp.yes{background:color-mix(in srgb, var(--yes) 16%, transparent);
  border-color:color-mix(in srgb, var(--yes) 45%, transparent);color:var(--yes)}
.tip .tp.no{background:color-mix(in srgb, var(--no) 16%, transparent);
  border-color:color-mix(in srgb, var(--no) 45%, transparent);color:var(--no)}
/* a price that links to its contract, live once the box is pinned */
.tip a.tp{text-decoration:none}
.tip[data-pinned="1"] a.tp:hover{border-color:currentColor;filter:brightness(1.06)}
.tip[data-pinned="1"] a.tp:focus-visible{outline:2px solid currentColor;outline-offset:1px}
/* a hint that reads one way on hover and another once the box is pinned */
.tip .tyes,.tip[data-pinned="1"] .tnot{display:none}
.tip[data-pinned="1"] .tyes{display:inline}


/* A panel opened to fill the window. Everything in it is the panel's own code
   drawn into a bigger viewBox, so the zoom, the projection and the hovers come
   with it rather than being rebuilt for a second layout. */
body.wtfull{overflow:hidden}
.panel.full{position:fixed;inset:0;z-index:40;margin:0;padding:18px 22px 22px;
  background:var(--ground);overflow:auto;display:flex;flex-direction:column}
.panel.full svg.ts{width:100%;height:auto;max-height:calc(100vh - 190px)}
.panel.full .note{max-width:none}
.zoomrow .zb.ex{margin-left:auto}
.zoomrow .zb.ex.on{border-color:var(--accent);color:var(--accent)}
@media (max-width:700px){
  .panel.full{padding:12px 12px 16px}
  .panel.full svg.ts{max-height:calc(100vh - 230px)}
}

/* the lead a tool's column is anchored to, under its name */
.daytab th.grp .lead{display:block;font-weight:600;font-size:10px;color:var(--muted);
  letter-spacing:0;text-transform:none;margin-top:1px}


/* how current each forecast on a city page is */
.freshtab{border-collapse:collapse;font-size:12px;width:100%}
.freshtab th,.freshtab td{padding:5px 10px;white-space:nowrap;text-align:left}
.freshtab th{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.02em}
.freshtab .num{text-align:right;font-variant-numeric:tabular-nums}
.freshtab td.stale{color:var(--no);font-weight:700}
.freshtab tr:nth-child(even) td{box-shadow:inset 0 0 0 9999px rgba(127,127,127,.035)}
.freshtab .sw{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px;vertical-align:middle}


/* any chart marked expandable, opened to fill the window */
.expandable.full{position:fixed;inset:0;z-index:40;margin:0;padding:20px;background:var(--ground);
  display:flex;align-items:center;justify-content:center;overflow:auto;border-radius:0}
.expandable.full svg,.expandable.full img{width:auto;max-width:100%;height:auto;max-height:calc(100vh - 46px)}


/* the forecast office's own discussion, folded shut */
.afd{border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--panel)}
.afd summary{cursor:pointer;font-size:13px;list-style:none}
.afd summary::-webkit-details-marker{display:none}
.afd summary .afdmore{color:var(--accent);font-weight:700}
.afd[open] summary .afdmore{opacity:.6}
.afdtext{white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;
  line-height:1.5;margin:10px 0 6px;max-height:460px;overflow:auto;color:var(--ink)}


/* where this station is: a small crop of the same projected geometry the picker
   uses, so a reader knows what KMDW means without looking it up */
.citytop{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap;margin:0 0 8px}
.citytop #locator{flex:0 0 240px}
.citytop #skRow{flex:1 1 380px;min-width:0}
svg.loc{width:240px;height:auto;display:block;border:1px solid var(--line);border-radius:6px;
  background:var(--map-sea)}
@media (max-width:700px){.citytop #locator{flex:1 1 100%}svg.loc{width:100%}}


/* the station's own place, at metro scale */
.locbox{position:relative;display:block;border:1px solid var(--line);border-radius:6px;overflow:hidden;
  line-height:0;background:var(--map-land)}
.locbox img{width:100%;height:auto;display:block}
/* the live overlay is positioned against this wrapper rather than the box, so
   it stays registered with the image when the box grows to the window */
.locstack{position:relative;display:block;line-height:0}
.locstack img{width:100%;height:auto;display:block}
/* Expanded, the wrapper is sized in script and the image fills it. The generic
   full-window rule above fits a chart inside the window, which for this image
   is height-bound, and the map is already as wide as the column, so on a short
   window it came out smaller than it started. chart-city.js does the fit and
   floors it at the size the map already had; safe centering keeps the top of an
   overflowing map reachable, falling back to the plain centering above. */
.expandable.full .locstack{display:block;margin:auto}
.expandable.full .locstack img,.expandable.full svg.locov{
  width:100%;height:100%;max-width:none;max-height:none}
.locbox.full{padding:10px;align-items:safe center;justify-content:safe center}
.locbox .locpin{position:absolute;left:50%;top:50%;width:13px;height:13px;margin:-6.5px 0 0 -6.5px;
  border-radius:50%;border:2.5px solid #fff;background:var(--accent);
  box-shadow:0 0 0 1.5px rgba(0,0,0,.55),0 1px 4px rgba(0,0,0,.45)}
.citytop #locator{flex:0 0 340px}
@media (max-width:760px){.citytop #locator{flex:1 1 100%}}

/* the pin stays on the station when the picture grows */
.locbox.full{border:0;border-radius:0}

/* the question a strike is asking, under its name */
.tip .tsub{font-size:11px;opacity:.8;margin:1px 0 0}

.tip .tp .tps{font-size:10px;opacity:.85;font-weight:700;letter-spacing:.01em}


/* the way out of anything opened to fill the window */
.fullclose{position:fixed;top:14px;right:16px;z-index:70;font-size:12px;font-weight:700;
  padding:7px 12px;border-radius:999px;border:1px solid var(--line);background:var(--panel);
  color:var(--ink);cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.fullclose:hover{border-color:var(--accent);color:var(--accent)}

/* the additional-variables row: the panel column is exactly as wide as the
   temperature panel above it (the market layout draws that panel from 52 to
   610 of a 960 viewBox), and the forecast discussion fills what the strike
   ladders used, so the page's two readings sit side by side */
.advrow{display:flex;gap:16px;align-items:flex-start}
/* expanded, the panels' svg is not a direct child of the card the way the
   chart's is, and a viewBox-only svg given width:auto collapses to nothing.
   The wrapper becomes the centering frame and the svg is sized by height,
   which an svg with a viewBox turns into a width by its own aspect. */
.expandable.full #advPanels{display:flex;justify-content:center;width:100%}
.expandable.full #advPanels svg{height:calc(100vh - 46px);width:auto;max-width:none;max-height:none}
.expandable.full#advCard{align-items:safe center;justify-content:safe center}
.advrow #advCard{flex:0 0 63.5%;min-width:0}
.advrow .advside{flex:1;min-width:0}
.advrow .advside .secttl{margin-top:2px}
@media (max-width:900px){.advrow{flex-direction:column}.advrow #advCard{flex:1 1 100%;width:100%}}

/* lessons: the written courses, folded shut because eighteen at full length is
   a wall. The cue lines are what a reader would be looking at on screen, kept
   visually apart from the words that go over them. */
.course{margin:0 0 30px}
.cmeta{font:500 12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted);margin:0 0 8px}
details.lesson{border:1px solid var(--line);border-radius:8px;background:var(--panel);margin:0 0 8px}
details.lesson>summary{cursor:pointer;list-style:none;display:flex;align-items:baseline;gap:12px;
  padding:11px 14px;font-size:15px}
details.lesson>summary::-webkit-details-marker{display:none}
details.lesson>summary:hover .ltitle{color:var(--accent)}
details.lesson[open]>summary{border-bottom:1px solid var(--line)}
.lnum{font:600 12px/1.5 ui-monospace,Menlo,monospace;color:var(--muted);flex:0 0 auto}
.ltitle{font-weight:600;color:var(--navy);flex:1 1 auto;min-width:0}
.ldur{font:400 12px/1.5 ui-monospace,Menlo,monospace;color:var(--muted);flex:0 0 auto}
.lbody{padding:14px 16px 16px}
.lbody p{max-width:70ch;margin:0 0 10px}
.laim{font-size:13.5px;color:var(--muted);border-left:2px solid var(--rule);padding-left:11px}
a.lgo{display:inline-block;font-size:13px;margin:0 0 14px;text-decoration:none;border:1px solid var(--line);
  border-radius:14px;padding:4px 12px;background:var(--chip);color:var(--accent)}
a.lgo:hover{border-color:var(--accent)}
.lcue{font:500 11px/1.5 ui-monospace,Menlo,monospace;letter-spacing:.06em;text-transform:uppercase;
  color:var(--nws);background:var(--shade);border-radius:4px;padding:5px 9px;display:inline-block;
  margin:16px 0 8px !important}
.lnote{background:var(--warn-soft);border-left:3px solid var(--warn);padding:9px 12px;
  border-radius:0 5px 5px 0;font-size:13.5px}
.lquiz{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.lquiz h3{margin:0 0 8px;font:500 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.11em;
  text-transform:uppercase;color:var(--muted)}
.lquiz ol{margin:0;padding-left:18px;font-size:14px}
.lquiz li{margin-bottom:7px}
.lquiz summary{cursor:pointer;color:var(--ink)}
.lquiz summary:hover{color:var(--accent)}
.lans{margin:5px 0 0 !important;color:var(--accent);font-size:13.5px}

/* the two standing links above the LiveCyc sections: prominent, because they
   are the way off this page to the markets themselves and to the raw files */
.biglinks{display:flex;flex-direction:column;gap:8px;margin:16px 0 4px;padding:13px 16px;
  border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:0 8px 8px 0;
  background:var(--panel)}
.biglinks a{font-size:15px;font-weight:650;text-decoration:none}
.biglinks a:hover{text-decoration:underline}
/* a storm that has stopped updating: its record folds shut */
details.stormdone{border:1px solid var(--line);border-radius:8px;background:var(--panel);
  margin:8px 0;opacity:.85}
details.stormdone>summary{cursor:pointer;list-style:none;display:flex;gap:12px;align-items:baseline;
  padding:9px 14px;font-size:13.5px;color:var(--muted)}
details.stormdone>summary::-webkit-details-marker{display:none}
details.stormdone>summary b{color:var(--ink);font-weight:600}
details.stormdone[open]{opacity:1}
details.stormdone[open]>summary{border-bottom:1px solid var(--line)}
details.stormdone>div{padding:6px 14px 12px}

/* the stated-calculation marker on a pool row: a hollow tick on the same
   0-100 bar the price fills, so the two figures share one scale */
.lrow .lb{position:relative}
.lrow .calcmk{position:absolute;top:-2px;bottom:-2px;width:0;border-left:2px dashed var(--ink);opacity:.7}

/* hurricane: a live storm's charts, the switch between the two series, the
   key, and any chart opened to fill the window with both of those in it */
.lth{display:flex;align-items:center;gap:8px;margin-bottom:2px}
.lth .lt{flex:1;margin-bottom:0}
.lth .zb.ex{font-size:11px;padding:2px 8px;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:11px;line-height:1.6}
.lth .zb.ex:hover,.lth .zb.ex.on{border-color:var(--accent);color:var(--accent)}
.xhdr{display:none}
/* the vendor's latest file, inside the storm it belongs to */
.filehd{font-size:12.5px;font-weight:700;color:var(--navy);margin:14px 0 2px}
svg.gustmap{width:100%;height:auto;display:block}
/* the storm's replay map and the season headings over the storms that have run */
.replaycap{margin:4px 0 0}
/* the line under a priced chart or board that says its prices open the exchange */
p.tradenote{margin:4px 0 8px;color:var(--accent)}
/* the replay map pans only once zoomed, so a swipe over it at full view still scrolls the page */
svg.replay.grab{cursor:grab;touch-action:none}
svg.replay.grabbing{cursor:grabbing}
.rzoom{margin:2px 0 6px}
.stormseason{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:14px 0 4px}
.scardwrap.flash{outline:2px solid var(--accent);outline-offset:2px}
svg.scard rect.plotlink,svg.lhlserie rect.plotlink{cursor:pointer}
.scardwrap.full,.cwrap.full{position:fixed;inset:0;z-index:40;margin:0;padding:18px 22px 22px;border:0;border-radius:0;
  background:var(--ground);overflow:auto;display:flex;flex-direction:column}
.scardwrap.full .xhdr,.cwrap.full .xhdr{display:block;margin-bottom:8px;padding-right:104px}
.scardwrap.full .lth .lt{font-size:15px}
.scardwrap.full .lth .zb.ex,.cwrap.full .lth .zb.ex{display:none}
.scardwrap.full svg.scard,.cwrap.full svg.lhlserie{width:100%;height:auto;max-height:calc(100vh - 250px)}
.emphrow{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;margin:6px 0 8px}
.emphctl{display:flex;flex-direction:column;gap:4px;flex:none}
.emphl{font-size:12px;color:var(--muted)}
.emphtog{display:inline-flex;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.emphtog button{border:0;border-radius:0;padding:6px 12px;font-size:12.5px;background:var(--panel);color:var(--muted)}
.emphtog button+button{border-left:1px solid var(--line)}
.emphtog button.on{background:var(--ink);color:var(--ground)}
.emphnote{flex:1;min-width:260px;margin:0;font-size:12.5px;line-height:1.5}
.slegend{display:flex;gap:10px 12px;flex-wrap:wrap;font-size:11.5px;color:var(--muted);margin:0 0 8px;align-items:center}
.slegend .sw{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:4px;vertical-align:-1px}
.slegend .kk{margin-left:4px}
.slegend .kl{display:inline-block;width:22px;border-top:2.4px solid var(--ink);margin-right:5px;vertical-align:middle}
.slegend .kl.dash{border-top-style:dashed;border-top-width:2px}
.slegend .ph{display:inline-block;width:14px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px;border:1px solid var(--line)}
.slegend .ph.fwd{background:var(--ph-fwd)} .slegend .ph.cum{background:var(--ph-cum)}
.slegend .kq{display:inline-block;width:8px;height:8px;border:1.4px solid var(--ink);background:var(--panel);margin-right:5px;vertical-align:-1px}
svg.scard .pxline,svg.scard .pxdot,svg.scard .lcline,svg.scard .ldot,svg.scard .intmk,svg.scard .intdot,
svg.scard .rsmk,svg.scard .finline,svg.scard .findot,
svg.lhlserie .pxline,svg.lhlserie .pxdot,svg.lhlserie .calcline,svg.lhlserie .cdot{transition:opacity .2s}
svg.lhlserie .pxband{opacity:.16;transition:opacity .2s}
svg.emph-livecyc .pxline,svg.emph-livecyc .pxdot{opacity:.22}
svg.emph-livecyc .pxband{opacity:.05}
svg.emph-exchange .lcline,svg.emph-exchange .ldot,svg.emph-exchange .calcline,svg.emph-exchange .cdot,
svg.emph-exchange .intmk,svg.emph-exchange .intdot,svg.emph-exchange .rsmk,svg.emph-exchange .finline,svg.emph-exchange .findot{opacity:.32}
/* a check or cross keeps a thin halo of the panel, so it reads where a dashed line runs through it */
svg.scard .rsmk{paint-order:stroke;stroke:var(--panel);stroke-width:2px;stroke-linejoin:round}
@media (prefers-reduced-motion: reduce){svg.scard *,svg.lhlserie *{transition:none}}
/* the page's tables sit on the panel color; a table inside the hover box has
   to take the box's own ink and ground or it vanishes against them */
.tip table.l3{border-collapse:collapse;margin-top:3px;width:auto;background:transparent;border:0;font-size:12px}
.tip table.l3 th,.tip table.l3 td{padding:0 0 0 10px;text-align:right;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap;
  color:var(--tip-ink);background:transparent;border:0}
.tip table.l3 th{opacity:.7;font-size:10.5px;letter-spacing:.04em}
.tip table.l3 th:first-child,.tip table.l3 td:first-child{padding-left:0;text-align:left}

/* the mean under each column of the scored-days table, set off from the days */
tr.meanrow td{border-top:2px solid var(--rule);font-weight:700}

/* The two pages at the top of the accuracy page, side by side at one size.
   The research brief opens in a dialog with its download. The working paper's
   first page sits in the dark frame of the archive's own viewer, and the whole
   frame is one link to its DOI. Both pages are images of the PDFs
   (scripts/paper_images.py) and stay white in either theme, as paper does. */
.paperrow{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:12px 0 18px}
.paperfig{margin:0;min-width:0;display:flex;flex-direction:column;gap:8px}
.pf-frame{position:relative;display:block;padding:16px;border-radius:10px;line-height:0;text-decoration:none}
.pf-frame img{display:block;width:100%;height:auto;background:#FFFFFF;box-shadow:0 1px 2px rgba(0,0,0,.16),0 5px 16px rgba(0,0,0,.12)}
.pf-brief{background:var(--shade);border:1px solid var(--line);cursor:zoom-in}
.pf-paper{background:var(--viewer);border:1px solid var(--viewer-line)}
.pf-paper img{box-shadow:0 2px 10px rgba(0,0,0,.5)}
.pf-frame:focus-visible{outline-offset:3px}
.pf-hint{position:absolute;left:50%;bottom:34px;transform:translateX(-50%);padding:7px 12px;border-radius:6px;
  background:var(--tip-bg);color:var(--tip-ink);font-size:12.5px;font-weight:600;line-height:1.2;white-space:nowrap;
  opacity:0;transition:opacity .15s;pointer-events:none}
.pf-frame:hover .pf-hint,.pf-frame:focus-visible .pf-hint{opacity:.94}
.paperfig figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:6px;
  font-size:12.5px;line-height:1.4;color:var(--muted)}
.paperfig figcaption b{color:var(--ink);font-weight:650}
.pf-acts{display:flex;flex-wrap:wrap;gap:6px}
.pf-act{font-size:12px;line-height:1.4;padding:4px 10px;border:1px solid var(--line);border-radius:6px;
  background:var(--panel);color:var(--accent);text-decoration:none;max-width:100%;overflow-wrap:anywhere}
.pf-act:hover{border-color:var(--accent)}
@media (max-width:560px){.paperrow{gap:10px}.pf-frame{padding:7px;border-radius:8px}.pf-hint{display:none}}
@media (prefers-reduced-motion:reduce){.pf-hint{transition:none}}
.pf-dlg{width:min(960px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);
  padding:0;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink);overflow:hidden}
.pf-dlg[open]{display:flex;flex-direction:column}
.pf-dlg::backdrop{background:rgba(8,12,18,.72)}
.pf-dlg-bar{display:flex;align-items:center;gap:8px;padding:8px 10px 8px 14px;border-bottom:1px solid var(--line)}
.pf-dlg-bar b{margin-right:auto;font-size:13.5px;color:var(--navy)}
.pf-dlg-body{overflow:auto;padding:14px;background:var(--shade);line-height:0}
.pf-dlg-body img{display:block;width:100%;max-width:900px;height:auto;margin:0 auto;background:#FFFFFF;
  box-shadow:0 1px 2px rgba(0,0,0,.16),0 5px 16px rgba(0,0,0,.12)}
html:has(.pf-dlg[open]){overflow:hidden}

/* The accuracy page. A series takes its group's color, the tokens --g-mos to
   --g-raw above (the working paper's groups, the palette of the brief at the
   top of the page), so the market's accent line is the one a reader finds
   first; --t-extra is the gray for a series no group names. Everything else
   here is the furniture the four figures have in common: a bar of tab groups,
   a legend, and the method note with its equation set as written. */
.bar.acccontrols{gap:6px 16px;min-height:10px;margin-bottom:8px}
.tabgroup{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}
.tabgroup[hidden]{display:none}
.tabgroup .tl{font-size:11.5px;color:var(--muted);margin-right:2px}
.tabgroup button.vbtn{padding:4px 10px}
[id^="acc"].key span{white-space:nowrap}
/* a key note is a sentence, so it takes its own line and wraps; on a narrow screen every entry wraps too, so the page never scrolls sideways */
[id^="acc"].key .kn{white-space:normal;flex-basis:100%;color:var(--muted);font-style:italic}
@media (max-width:640px){[id^="acc"].key span{white-space:normal}}
/* the method note waits behind a button under each figure */
button.accnote-btn{margin:8px 0 0;font-size:12px}
.accnote[hidden]{display:none}
.accnote{background:var(--shade);border-left:3px solid var(--rule);padding:9px 13px 8px;margin:10px 0 4px;
  font-size:12px;line-height:1.5;color:var(--muted);border-radius:0 6px 6px 0}
.accnote .nt{font-weight:700;color:var(--navy);font-size:12px;margin-bottom:3px}
.accnote .rule{margin:2px 0}
.accnote .rule.n{margin-top:5px;color:var(--ink)}
/* the span line under a figure: which days it drew on, set apart from the
   sampling rules above it because it is the one the reader checks before
   comparing two figures to each other */
.accnote .rule.span{margin-top:5px;color:var(--ink);font-weight:600}
/* the market's own row in a hover standings table, so the eye finds it
   wherever the ranking has put it at that hour. It takes the hover box's own
   ink: the page's ink is the box's ground color in both themes. */
.tip table.l3 tr.tfx td{font-weight:700;color:var(--tip-ink)}
/* the record a key entry covers, printed after the name it belongs to */
[id^="acc"].key .ks{color:var(--muted);opacity:.85;margin-left:5px;font-style:italic}
/* an estimator, set as mathematics. KaTeX draws it; a display block gets room
   above and below and scrolls on its own when a long one meets a narrow screen,
   so the note never pushes the page sideways. .texraw is the fallback when
   KaTeX has not loaded, where the LaTeX source stands in for the typesetting */
.eq{color:var(--ink);margin:9px 0 10px;overflow-x:auto;overflow-y:hidden;text-align:center;padding:1px 0}
.eq .katex-display{margin:0}
.eq .katex{font-size:1.06em}
.accnote .mi{color:var(--ink)}
.accnote .mi .katex{font-size:1.02em}
.texraw{font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--panel);
  border:1px solid var(--line);border-radius:5px;padding:7px 10px;display:block;text-align:left;white-space:pre-wrap}
.accsub{font-size:12px;font-weight:700;color:var(--navy);margin:8px 2px 4px}
/* accuracy city map: the round swatches in its key and the tool select in its bar */
.key i.acc-map-sw{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:5px;vertical-align:-1px;border:1px solid var(--rule);box-sizing:border-box}
.acc-map-ramp{display:inline-flex;gap:2px;vertical-align:middle;margin:0 6px}
.key .acc-map-ramp i.acc-map-sw{margin-right:0}
select.acc-map-sel{padding:4px 8px;font-size:12.5px}
.acc-map-dot{cursor:default}
/* Scorecard grid (accuracy figure 5). A sixteen-column table scrolls in its
   own container; each cell stacks its value over its sample; the shading is
   a token-colored layer behind the text so it reads in both themes. */
.acc-grid-scroll{overflow-x:auto;margin:0 4px}
table.acc-grid-table{width:auto;min-width:100%;font-size:12px;border:0}
table.acc-grid-table th,table.acc-grid-table td{padding:4px 7px;white-space:nowrap;vertical-align:top}
table.acc-grid-table th{font-size:10.5px}
table.acc-grid-table th.acc-grid-g{text-align:center;border-left:1px solid var(--line);color:var(--ink);letter-spacing:.04em}
table.acc-grid-table th.acc-grid-first,table.acc-grid-table td.acc-grid-first{border-left:1px solid var(--line)}
table.acc-grid-table td.acc-grid-c{position:relative;text-align:right;font-variant-numeric:tabular-nums;min-width:56px}
table.acc-grid-table td.acc-grid-c .acc-grid-fill{position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none}
table.acc-grid-table td.acc-grid-c .acc-grid-v,table.acc-grid-table td.acc-grid-c .acc-grid-n{position:relative;display:block}
table.acc-grid-table .acc-grid-n{font-size:10px;color:var(--muted);line-height:1.2}
table.acc-grid-table td.acc-grid-sys{color:var(--ink);font-weight:600;position:sticky;left:0;background:var(--panel);z-index:1}
table.acc-grid-table td.acc-grid-sys .acc-grid-n{display:block;font-weight:400}
table.acc-grid-table td.acc-grid-start{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
table.acc-grid-table th.acc-grid-start{white-space:nowrap}
table.acc-grid-table tr.acc-grid-fx td{background:var(--shade)}
table.acc-grid-table tr.acc-grid-fx td.acc-grid-sys{background:var(--shade)}
table.acc-grid-table tr.acc-grid-fx td.acc-grid-c .acc-grid-v{font-weight:700}
table.acc-grid-table tr.acc-grid-ref td.acc-grid-c .acc-grid-v{font-weight:600}
/* the metric over its two sides, a faint divider between MAE and mean error
   inside a lead, and the group rows that follow the forecast systems table */
table.acc-grid-table th.acc-grid-m{text-align:center;color:var(--ink);font-size:10.5px}
table.acc-grid-table th.acc-grid-mid,table.acc-grid-table td.acc-grid-mid{border-left:1px dashed var(--line)}
table.acc-grid-table tr.acc-grid-grp th{text-align:left;background:var(--shade);color:var(--navy);font-size:11px;
  letter-spacing:.06em;padding:7px 10px 5px;border-top:1px solid var(--line);position:sticky;left:0}
.acc-grid-sw{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:6px;vertical-align:-2px;border:1px solid var(--line)}
.acc-grid-foot{font-size:11.5px;color:var(--muted);line-height:1.5;margin:6px 6px 2px}
.acc-grid-foot.acc-grid-top{margin:0 6px 6px}

/* The scorecard: the working paper's Tables 3 and 4. A group's row is shaded and set in its title,
   each series carries its qualifier under its name, and an improvement that holds after Holm is bold. */
.acc-grid-wrap{overflow-x:auto;margin:4px 0 10px}
.acc-grid{font-size:12.5px;min-width:760px}
.acc-grid th{font-size:11.5px;font-weight:650;color:var(--muted);text-align:right;white-space:nowrap}
.acc-grid th:first-child{text-align:left}
.acc-grid td{text-align:right;white-space:nowrap;padding:5px 8px;vertical-align:top}
.acc-grid td:first-child{text-align:left;white-space:normal;min-width:220px}
.acc-grid td.na{color:var(--muted)}
.acc-grid .pi{color:var(--muted);font-size:11.5px}
.acc-grid .pi.sig{color:var(--ink);font-weight:700}
.acc-grid tr.acc-g-group td{background:var(--shade);font-weight:650;color:var(--navy)}
.acc-grid tr.acc-g-fx td{font-weight:650}
.acc-g-name{display:block}
.acc-g-qual{display:block;font-size:10.5px;color:var(--muted);margin-left:16px}
.acc-rel-sum{margin-top:8px;font-size:12.5px}
.acc-rel-sum th{font-size:11.5px;font-weight:650;color:var(--muted);text-align:right;white-space:nowrap}
.acc-rel-sum th:first-child,.acc-rel-sum td:first-child{text-align:left}
.acc-rel-sum td{white-space:nowrap;text-align:right}

/* The source tables at the foot of the accuracy page. A group row names the
   family and says in a line what sets it apart; the kind is a small chip so a
   probabilistic system stands out down a long column of deterministic ones. */
.acc-sources-wrap{overflow-x:auto;margin:0 0 14px}
table.acc-sources td{vertical-align:top;line-height:1.45}
table.acc-sources td.sys{white-space:nowrap;font-weight:600}
table.acc-sources tr.grp th{background:var(--shade);color:var(--navy);font-size:11.5px;padding:9px 10px 7px;border-top:1px solid var(--line)}
table.acc-sources tr.grp th span{display:block;text-transform:none;letter-spacing:0;font-weight:400;color:var(--muted);font-size:12px;margin-top:2px}
table.acc-sources td.kind{white-space:nowrap;font-size:12px}
table.acc-sources td.rec{font-size:12px;color:var(--ink);min-width:6.5em}
/* The grid, time step and update columns: wide enough that a value like
   "Hourly, 3-hourly after 120 h" breaks at most twice, narrow enough that the
   table fits the page column without scrolling. It still scrolls on its own
   on a phone rather than pushing the page sideways. */
table.acc-sources:not(.acc-feeds) td{font-size:13px;padding-left:8px;padding-right:8px}
table.acc-sources:not(.acc-feeds) td:nth-child(4){min-width:6.5em}
table.acc-sources:not(.acc-feeds) td:nth-child(5){min-width:7em}
table.acc-sources:not(.acc-feeds) td:nth-child(6){min-width:6.5em}
table.acc-sources{width:100%}
table.acc-sources td.k-probabilistic{color:var(--accent);font-weight:600}
table.acc-sources td.k-ensemble{color:var(--ink)}
table.acc-sources td.k-deterministic{color:var(--muted)}
table.acc-feeds{margin:0 0 10px}

/* The hourly and wind contract panels. They appear on their own pages and as
   tabs inside a station's page, so the rules live here rather than in either
   page's own block. An hour is a card in a grid; a wind panel is one card's
   worth of text and a ladder. */
.ctr svg.ts{width:100%;height:auto;display:block}
.ctr .card{padding:8px 10px;margin:0 0 8px}
.hours{display:grid;grid-template-columns:repeat(auto-fill,minmax(252px,1fr));gap:12px}
.hours .card{padding:10px 12px}
.hours .card .hd{margin-bottom:6px}
table.lad{border-collapse:collapse;min-width:260px;font-variant-numeric:tabular-nums}
.hours table.lad{width:100%;min-width:0}
table.lad th,table.lad td{text-align:right;padding:2px 6px;font-size:13px}
table.lad th:first-child,table.lad td:first-child{text-align:left;white-space:nowrap}
table.lad th{font-weight:600;border-bottom:1px solid var(--line)}

/* The vendor's gust ladder, a card per reference location.

   One row per threshold the vendor published a figure above zero on, running
   down from the strongest wind to the weakest so the strongest is read first.
   The bar is the published probability on a fixed 0 to 100 scale, which is
   what makes two locations comparable at a glance; it is the vendor's number
   and not a price, so it carries its own colour rather than the Yes green the
   market bars use. */
.vgrid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.vloc{padding:8px 10px}
.vloc .lt{font-size:12.5px;margin-bottom:0}
.vrung{display:flex;align-items:center;gap:6px;margin:2px 0}
.vlab{flex:0 0 68px;font-size:10.5px;color:var(--muted);white-space:nowrap}
/* Each rung is a board: Yes green from the left, No red for the rest, and a
   tick where the vendor's published probability sits on the same scale. A rung
   the exchange has not opened is drawn from the vendor's figure instead, and
   hatched, so it cannot be read as a price at a glance. */
.vtrack{position:relative;flex:1 1 auto;height:11px;border-radius:2px;background:var(--chip);
  overflow:hidden;display:flex}
.vyes{display:block;height:100%;background:var(--yes)}
.vno{display:block;height:100%;background:var(--no)}
.vtrack.vsoft .vyes,.vtrack.vsoft .vno{opacity:.42;
  background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.35) 0 2px,transparent 2px 5px)}
.vmark{position:absolute;top:-2px;bottom:-2px;width:2px;margin-left:-1px;background:var(--ink);
  border-radius:1px;box-shadow:0 0 0 1px var(--panel)}
.vfill{display:block;height:100%;background:var(--vbar);border-radius:2px}
.vpct{flex:0 0 44px;text-align:right;font-size:10.5px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}

/* A panel the reader just picked off the map, marked briefly so the eye lands
   on the right one after the scroll rather than on whatever is at the top. */
.prod.pick{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px;
  transition:outline-color .6s ease}

/* The cyclone area's two basin maps, the way in to the full view.

   Two cards side by side on a wide screen and stacked on a narrow one, the
   Pacific first because it is the western ocean and the page reads west to
   east. Each is a link, so the whole card is the target rather than a small
   word inside it. */
.basins{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}
.basincard{display:block;border:1px solid var(--line);border-radius:10px;background:var(--panel);
  padding:10px 12px;text-decoration:none;color:inherit}
.basincard:hover{border-color:var(--accent)}
.basincard .lt{font-size:14px;font-weight:700;color:var(--navy);margin-bottom:2px}
.basincard svg.minimap{width:100%;height:auto;display:block;border-radius:6px}

/* The desk's pool figure, which stands in while the exchange has no book.

   It reuses the vendor ladder's row so the two read as the same kind of
   object, and takes the page's accent rather than the vendor's colour or the
   Yes green, because it is neither the vendor's number nor a price. The label
   is a place name rather than a threshold, so it gets room to be one. */
.dhead{font-weight:700;color:var(--ink)}
.vrung .dlab{flex:0 0 96px;color:var(--ink);font-weight:600;overflow:hidden;text-overflow:ellipsis}
.vfill.dfill{background:var(--accent)}

/* The hover bands on the contract panels. Transparent and full height, so a
   pointer anywhere over the plot answers rather than only where a line has a
   point, and the cursor says the plot is readable. */
.ctr svg.ts rect.hband,svg.ts rect.hband{cursor:crosshair}

/* The analysis resolution page, version 3 of its settlement display (owner's
   approval of 2026-11-04). RTMA owns a token above for its line on the
   temperature chart, the rain bars take --ana-rain-soft, and the map's nine
   colours for each theme are --ana-r0 to --ana-r8 and, for precipitation,
   --ana-b0 to --ana-b8, the approved design's ramps. The rest is the furniture
   the page adds, in its order: the calendar and the map side by side
   (stacked on a phone), the open place's header, and the place-day. */
@media (max-width:560px){.anawrap{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}}
#anaBar #anaNewest{margin:0;min-width:0}   /* wraps at phone width; nowrap pushed the page to 469 px at 390 */
#anaBar .anacsv{font-size:.85rem;color:var(--muted);min-width:0}
.anahead{margin:4px 0 12px}
.anaheadrow{display:flex;gap:4px 12px;align-items:baseline;flex-wrap:wrap}
.anaheadrow h2{margin:0;font-size:18px}
.anaheadrow h2 .code{color:var(--muted);font-weight:600}
.anaheadrow .anaday{color:var(--muted);font-size:13.5px}
.anaheadrow .ananav{margin-left:auto;display:inline-flex;gap:6px;flex-wrap:wrap}
.anaheadrow .ananav button{padding:4px 9px;font-size:12.5px}
/* the place's header leads with where it is and its zone, and ends with its grid points in small type */
.anawhere{margin:5px 2px 0;font-size:13.5px;color:var(--ink)}
.anafacts{margin:6px 2px 0;font-size:11.5px;color:var(--muted);max-width:none}
.anastmt{margin:6px 2px 0;font-weight:600;color:var(--ink)}
.anapick{margin:2px 2px 12px}
/* the calendar and the map, always on the page */
.anapickers{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:14px;align-items:start;margin:0 0 14px}
@media (max-width:760px){.anapickers{grid-template-columns:minmax(0,1fr)}}
.anapick1{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:12px 14px;min-width:0}
.anacalhead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px}
.anacalttl{margin:0;font-size:15px;color:var(--navy)}
.anacalnavs{display:inline-flex;gap:6px}
.anacalnav{padding:2px 10px;font-size:12px}
.anacalnav:disabled{opacity:.4;cursor:default}
table.anacalgrid{width:100%;table-layout:fixed;border:0;background:none;border-collapse:separate;border-spacing:3px;font-size:13px}
table.anacalgrid th{padding:2px 0;border:0;text-align:center;font-size:10.5px;letter-spacing:.04em;color:var(--muted);font-weight:600;text-transform:none}
table.anacalgrid td{height:36px;padding:0;border:1px solid transparent;text-align:center;vertical-align:middle;border-radius:7px}
table.anacalgrid td .n{display:block;line-height:1.15}
table.anacalgrid td.off{color:var(--muted);opacity:.45;cursor:not-allowed}
table.anacalgrid td.on{cursor:pointer;font-weight:600;color:var(--ink);background:var(--ground);border-color:var(--line)}
table.anacalgrid td.on:hover{border-color:var(--accent)}
table.anacalgrid td.open{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
table.anacalgrid td:focus{outline:none}
table.anacalgrid td:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
/* a listed day's mark is solid once final and a ring while provisional, and
   a diamond or a square under review or closed, so the marks differ in shape
   as well as colour */
.anacal i.mk{display:block;width:7px;height:7px;margin:3px auto 0;border-radius:50%}
.anacal i.mk.final{background:var(--ok)}
.anacal i.mk.provisional{border:1.5px solid var(--warn)}
.anacal i.mk.review{background:var(--bad);border-radius:1px;transform:rotate(45deg)}
.anacal i.mk.closed{border:1.5px solid var(--bad);border-radius:1px}
table.anacalgrid td.open i.mk{box-shadow:0 0 0 1.5px var(--accent-ink)}
.anacalkey{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:8px;font-size:11.5px;color:var(--muted)}
.anacalkey span{display:inline-flex;align-items:center;gap:5px}
.anacalkey span.off{flex-basis:100%}
.anacalkey i.mk{margin:0}
.anamaphead{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.anamaphead h2{margin:0;font-size:15px}
.anamapbox{margin-top:8px}
svg.anamap{display:block;width:100%;height:auto;background:var(--map-sea);border-radius:6px}
svg.anamap.hot{cursor:pointer}
svg.anamap .pv{stroke:var(--muted);stroke-width:.9px;vector-effect:non-scaling-stroke}
svg.anamap .pv.prov{stroke-dasharray:3 2;stroke-width:1.2px}
svg.anamap .pv.none{fill:var(--panel)}
svg.anamap text.pvt{fill:var(--ink);font-weight:650;pointer-events:none}
svg.anamap text.pvt.dk{fill:var(--ana-ink-dk)}
svg.anamap circle.ring{fill:none;stroke:var(--ink);stroke-width:2.2px;vector-effect:non-scaling-stroke}
svg.anamap text.pname{fill:var(--ink);font-weight:700;paint-order:stroke;stroke:var(--map-sea);stroke-width:4px;stroke-linejoin:round;pointer-events:none}
.anamapfoot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;align-items:flex-start;margin-top:8px}
.analegend{display:flex;flex-wrap:wrap;align-items:center;gap:3px 10px;font-size:12px;color:var(--muted);min-width:0;flex:1 1 260px}
.analegend .what{color:var(--ink);font-weight:600}
.analegend .scale{white-space:nowrap}
.analegend .ramp{display:inline-flex;border:1px solid var(--line);border-radius:3px;overflow:hidden;vertical-align:middle}
.analegend .ramp i{display:inline-block;width:13px;height:10px}
.analegend .kn{flex-basis:100%}
/* the map's variable switch, one radio group above the map */
.anaseg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--panel)}
.anaseg button{border:0;border-radius:0;padding:4px 10px;font-size:12.5px;background:none;color:var(--ink)}
.anaseg button + button{border-left:1px solid var(--line)}
.anaseg button[aria-checked="true"]{background:var(--ink);color:var(--ground)}
.anaseg button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
/* the box that finds a place, with its list of matches under it */
.anafind{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 8px;align-items:center;flex:1 1 240px;max-width:340px;min-width:0}
.anafind label{font-size:12.5px;color:var(--muted);white-space:nowrap}
.anafindbox{position:relative;min-width:0}
.anafind input{width:100%;font:inherit;font-size:13px;padding:5px 9px;border:1px solid var(--line);border-radius:6px;background:var(--ground);color:var(--ink)}
.anafind input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.anaplcount{grid-column:1/-1;margin:0}
ul.anapllist{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;list-style:none;margin:0;padding:3px;max-height:240px;overflow-y:auto;
  border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 10px 28px var(--shadow)}
ul.anapllist[hidden]{display:none}
ul.anapllist li{padding:4px 8px;border-radius:4px;cursor:pointer;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
ul.anapllist li:hover{background:var(--chip)}
ul.anapllist li.act{background:var(--chip);box-shadow:inset 0 0 0 1px var(--accent)}
ul.anapllist li span.val,ul.anapllist li span.cur{color:var(--muted)}
ul.anapllist li.cur{font-weight:700}
ul.anapllist li.cur span{font-weight:400}
.anadl{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;font-size:13.5px;margin:8px 0 14px}
.anadl dt{font-weight:600;color:var(--navy)}
.anadl dd{margin:0;line-height:1.55;color:var(--ink)}
@media (max-width:640px){.anadl{grid-template-columns:1fr}.anadl dd{margin-bottom:6px}}
/* the place-day: its state, the countdowns, the five values, three charts on
   one time axis with their CSV files, every hour, and the replay */
#anaSettle{display:grid;gap:12px;margin:0 0 6px}
#anaSettle [hidden]{display:none !important}
.anastatus{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13.5px}
.anastatus .anapill{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:2px 9px;margin:0}
.anapill.prov{background:var(--warn-soft);color:var(--warn)}
.anapill.final{background:var(--ok-soft);color:var(--ok)}
.anapill.review,.anapill.closed{background:var(--bad-soft);color:var(--bad)}
.ananext{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}
.ananext:empty{display:none}
.anadue{border:1px solid var(--line);border-radius:8px;padding:8px 12px;display:grid;gap:2px;background:var(--ground)}
.anadue .what{font-size:12.5px;color:var(--muted)}
.anadue .main{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}
.anadue .cd{font:700 20px/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}
.anadue .cd.late{color:var(--warn)}
.anadue .ananote{font-size:12px;color:var(--muted)}
.anacards{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
.anacard{display:grid;align-content:start;gap:1px;text-align:left;font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px 12px;cursor:pointer}
.anacard:hover{border-color:var(--accent)}
/* the card the map shows; the site's pressed button turns ink, which a card does not */
.anacard.on{background:var(--panel);color:var(--ink);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.anacard .al{font-size:12px;color:var(--muted)}
.anacard .av{font-size:24px;font-weight:700;color:var(--navy);line-height:1.1;margin:2px 0}
.anacard .av.dim{font-size:15px;color:var(--muted);font-weight:600}
.anacard .ae{font-size:11.5px;color:var(--muted);margin-top:3px;line-height:1.4}
.anaold{margin:0}
.anachart{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px 14px 10px;min-width:0}
.anachart h3{margin:0;font-size:14px;color:var(--navy);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:baseline}
.analeg{display:inline-flex;gap:12px;flex-wrap:wrap;font-size:12px;font-weight:400;color:var(--muted)}
.analeg i{display:inline-block;width:14px;height:3px;border-radius:2px;vertical-align:middle;margin-right:5px}
.anachart .cap{margin:2px 0 6px;max-width:80ch}
.anaplot svg{display:block;width:100%;height:auto;overflow:visible}
svg.anasvg:focus{outline:none}
svg.anasvg:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
svg.anasvg text{font-size:11px;fill:var(--muted)}
svg.anasvg text.lab{fill:var(--ink);font-weight:600}
svg.anasvg text.duelab{fill:var(--accent)}
svg.anasvg .grid{stroke:var(--line);stroke-width:1}
svg.anasvg .axis{stroke:var(--rule);stroke-width:1}
svg.anasvg .future{fill:var(--shade)}
svg.anasvg .now{stroke:var(--ink);stroke-width:1.5}
svg.anasvg .duemark{stroke:var(--accent);stroke-width:1.5;stroke-dasharray:4 3}
svg.anasvg .kband{fill:var(--chip)}
.anacsvrow{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;margin-top:8px;font-size:12.5px;color:var(--muted)}
.anacsvrow button{padding:4px 10px;font-size:12.5px}
.anahrs{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px 14px 8px;min-width:0}
.anahrs h3{margin:0 0 8px;font-size:14px;color:var(--navy)}
.anatab{overflow-x:auto;margin:0}
table.anahours{font-size:12px}
table.anahours th,table.anahours td{padding:3px 7px;white-space:nowrap}
table.anahours td.dim{color:var(--muted)}
table.anahours tr:nth-child(odd) td{box-shadow:inset 0 0 0 9999px rgba(127,127,127,.035)}
table.anahours tr.pending td{color:var(--muted)}
table.anahours td.hi{color:var(--warm);font-weight:700}
table.anahours td.lo{color:var(--cool);font-weight:700}
table.anahours td.pk{color:var(--vbar);font-weight:700}
table.anahours td.arr{color:var(--muted)}
table.anahours th{white-space:normal;vertical-align:bottom}
table.anahours th.pubg{text-align:center}
table.anahours td.hst{font-size:11.5px;color:var(--muted)}
table.anahours td.hst[data-state="final"]{color:var(--ok)}
table.anahours td.hst[data-state="review"]{color:var(--bad)}
table.anahours th.num,table.anahours td.num{text-align:right}
/* the local time stays in view while a phone scrolls the hours sideways: an opaque cell of the
   panel's colour, the zebra's tint laid over it in its rows, and a rule along its edge. It holds
   a pixel past the box's edge, where the table's collapsed border leaves the cell unpainted */
table.anahours thead tr:first-child th:first-child,table.anahours tbody td:first-child{position:sticky;left:-1px;z-index:1;
  background:var(--panel);box-shadow:inset -1px 0 0 var(--rule)}
table.anahours tbody tr:nth-child(odd) td:first-child{box-shadow:inset -1px 0 0 var(--rule),inset 0 0 0 9999px rgba(127,127,127,.035)}
/* the note under the table, a sentence or two and the rest in points under a summary */
.anafoot p{margin:0;max-width:none}
.anafoot details{margin-top:6px}
.anafoot summary{cursor:pointer;color:var(--ink)}
.anafoot summary:hover{color:var(--accent)}
.anafoot ul{margin:4px 0 0;padding-left:18px}
.anafoot li{margin:2px 0}
/* the replay comes last, as the specification orders it, and is held at the
   foot of the screen while the day is on it, so the charts it moves stay in
   view; a day that cannot be replayed has only its note there */
.anareplay{position:sticky;bottom:0;z-index:20;border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px 14px;box-shadow:0 -4px 16px var(--shadow)}
.anareplay.still{position:static;box-shadow:none}
.anaclkrow{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:8px 14px;align-items:center}
.anabtns{display:flex;gap:8px}
.anabtns button{padding:5px 11px;font-weight:600}
.anabtns button.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.anawhen{white-space:nowrap;font-variant-numeric:tabular-nums}
.anawhen b{font-size:16px}
.anawhen span{color:var(--muted);margin-left:6px;font-size:12.5px}
.anawhen.ended span{margin-left:0}     /* "End of day, final 12:45 AM Fri" reads as one phrase */
#anaT{width:100%;min-width:0;accent-color:var(--accent)}
/* on a phone the replay is two rows, the time and then the buttons beside the slider, so the bar
   held at the foot of the screen stays short */
@media (max-width:640px){.anareplay{padding:8px 12px}.anaclkrow{grid-template-columns:auto minmax(0,1fr);gap:6px 10px}
  .anawhen{grid-column:1/-1;grid-row:1;white-space:normal;line-height:1.3}.anawhen b{font-size:14px}.anawhen span{font-size:12px}
  .anabtns{gap:6px}.anabtns button{padding:4px 9px;font-size:13px}}
/* the hover box of the three charts: the value as stored, converted and
   rounded, the day so far and the file, each a section of its own */
.tip .tsub{display:block;opacity:.75;font-size:11px;margin:-1px 0 2px;overflow-wrap:anywhere}
.tip .anatg{grid-template-columns:8.4em minmax(0,1fr);margin-top:5px;padding-top:4px;border-top:1px solid color-mix(in srgb, currentColor 22%, transparent)}
.tip .anatg .tv{text-align:left}
.tip .anatg b{display:inline;margin:0}
.tip .anatg .tv.num{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px}
.tip .tm{opacity:.7;font-weight:400}
.tip:has(.anatg){max-width:min(380px,calc(100vw - 16px))}

/* the landing map's legend: what a dot's number, color and size mean, and the NWS color scale under them */
.maplegend{display:flex;flex-direction:column;gap:8px;margin:10px 2px 12px;font-size:12px;color:var(--muted)}
.maplegend .lgrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px}
.maplegend .lgi{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:var(--ink)}
.maplegend .lgdot{display:inline-block;vertical-align:middle}
.maplegend .lgt{flex-basis:100%;line-height:1.45}
.maplegend .lgfield{max-width:560px}
.maplegend .lgbar{display:block;width:100%;height:12px;border:1px solid var(--line);border-radius:2px}
.maplegend .lgsteps{display:flex;height:12px;border:1px solid var(--line);border-radius:2px;overflow:hidden}
.maplegend .lgsteps i{flex:1}
.maplegend .lgticks{position:relative;height:15px;margin-bottom:3px;font-size:10.5px;font-variant-numeric:tabular-nums}
.maplegend .lgticks span{position:absolute;top:1px;transform:translateX(-50%)}
#map image.ndfd,#map image.rtma{cursor:default}
/* the landing's every-place table: a header sorts by its column, and the column of the view on show is tinted */
table.anaplaces th .sortb{border:0;background:none;padding:0;font:inherit;font-weight:700;color:var(--ink);text-align:inherit}
table.anaplaces th[aria-sort="ascending"] .sortb::after{content:" \25B2";font-size:.75em}
table.anaplaces th[aria-sort="descending"] .sortb::after{content:" \25BC";font-size:.75em}
table.anaplaces th .tm{display:block;font-weight:400;color:var(--muted)}
table.anaplaces th.cur,table.anaplaces td.cur{background:color-mix(in srgb, var(--accent) 11%, transparent)}
/* the place page's days: the day before and after as links, and the calendar under its summary */
.anadaynav{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 18px;margin:2px 0 6px;font-size:13px}
.anadaypick summary{cursor:pointer;color:var(--accent)}
.anadaypick[open] summary{margin-bottom:6px}
.anadaypick .anacal{max-width:340px}
