/* WEATHER — the look of the weather room, shared by Weather (weather.html)
   and Weather Pro (weather-pro.html). One room, two pages: a stylesheet
   shared WITHIN a room, as climbing and training share theirs (AGENTS.md).
   body[data-view] says which page is drawing. */
:root{
  /* A phone's weather app: the page IS the sky — its colour follows what
     is overhead and whether the sun is up — and everything sits on frosted
     glass over it. Every sky below was picked so white type clears 4.5:1
     on its lightest stop; the dimmer greys only ever sit on a card
     (--glass over the sky), where they clear it too. */
  --sky-a:#163f73; --sky-b:#2a66a8;
  --glass:rgba(6,16,34,.42);
  --glass-hi:rgba(6,16,34,.58);
  --edge:rgba(255,255,255,.14);
  --text:#ffffff;
  --dim:rgba(255,255,255,.78);       /* 6:1 or better on --glass over every sky */
  --faint:rgba(255,255,255,.66);     /* labels; 4.9:1 on --glass over the lightest sky */
  --sun:#ffd166;
  --rain:#7cc4ff;
  --warn:#ff6b6b; --watch:#ffa94d; --advise:#ffd43b; --note:#a5d8ff;
  --ok:#69db7c;
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --gut:clamp(14px,4vw,28px);
  --r:18px;
}
body[data-sky="clear-day"]  {--sky-a:#163f73;--sky-b:#2a66a8}
body[data-sky="partly-day"] {--sky-a:#22487a;--sky-b:#3a6597}
body[data-sky="cloudy-day"] {--sky-a:#3b4a5c;--sky-b:#56677a}
body[data-sky="rain-day"]   {--sky-a:#2c3846;--sky-b:#45525f}
body[data-sky="storm-day"]  {--sky-a:#211f30;--sky-b:#383349}
body[data-sky="snow-day"]   {--sky-a:#465668;--sky-b:#5f7086}
body[data-sky="fog-day"]    {--sky-a:#4a535e;--sky-b:#636c76}
body[data-sky$="-night"]    {--sky-a:#070d1f;--sky-b:#17254a}
body[data-sky="cloudy-night"],body[data-sky="fog-night"]{--sky-a:#0d1119;--sky-b:#252c38}
body[data-sky="rain-night"],body[data-sky="storm-night"]{--sky-a:#0a0c14;--sky-b:#1f2433}
*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%}
body{min-height:100vh;color:var(--text);font-family:var(--sans);font-size:15px;line-height:1.45;overflow-x:hidden;
  background:var(--sky-b);background-image:linear-gradient(180deg,var(--sky-a) 0,var(--sky-b) 70vh,var(--sky-b));
  background-attachment:fixed;transition:background-color .8s}
a{color:inherit}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid #fff;outline-offset:2px}
.num{font-variant-numeric:tabular-nums}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ══ top bar ═════════════════════════════════════════════ */
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;min-height:54px;padding:0 var(--gut);
  background:rgba(6,14,30,.55);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);
  border-bottom:1px solid var(--edge)}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;flex:none;font-weight:600;letter-spacing:.01em}
.brand small{display:block;font-size:11px;font-weight:500;color:var(--dim);letter-spacing:.08em;text-transform:uppercase;line-height:1}
.navwrap{flex:1;min-width:0;display:flex;justify-content:flex-end;position:relative}
nav.glass{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:8px 0}
nav.glass::-webkit-scrollbar{display:none}
nav.glass a,nav.glass .here{display:flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;font-size:13px;
  font-weight:500;text-decoration:none;white-space:nowrap;color:var(--dim)}
nav.glass a:hover{background:rgba(255,255,255,.12);color:#fff}
nav.glass .here{background:rgba(255,255,255,.2);color:#fff}
.roomnav-toggle{display:none}
@media (max-width:1060px){
  .roomnav-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px;border-radius:999px;
    background:rgba(255,255,255,.12);border:1px solid var(--edge);font-size:14px;font-weight:500}
  .roomnav-toggle[aria-expanded="true"]{background:rgba(255,255,255,.22)}
  .roomnav-toggle-bars{position:relative;width:15px;height:11px;border-top:2px solid currentColor;border-bottom:2px solid currentColor}
  .roomnav-toggle-bars::after{content:"";position:absolute;inset:calc(50% - 1px) 0 auto;border-top:2px solid currentColor}
  nav.glass[data-roomnav]{display:none}
  nav.glass[data-roomnav].roomnav-open{display:flex;flex-direction:column;position:absolute;top:calc(100% + 6px);right:0;min-width:220px;
    padding:6px;border-radius:16px;background:rgba(10,20,40,.94);border:1px solid var(--edge);box-shadow:0 18px 40px rgba(0,0,0,.45)}
  nav.glass[data-roomnav].roomnav-open a{min-height:44px;padding:0 16px;border-radius:12px}
}

main{max-width:820px;margin:0 auto;padding:10px var(--gut) 40px}

/* ══ the place line ══════════════════════════════════════ */
.placebar{display:flex;align-items:center;gap:8px;padding:10px 0 0}
.placebtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 12px;border-radius:999px;
  background:rgba(255,255,255,.12);border:1px solid var(--edge);font-weight:600;max-width:100%;overflow:hidden}
.placebtn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.placebtn:hover,.chip:hover{background:rgba(255,255,255,.2)}
.spacer{flex:1}
.chip{min-height:44px;min-width:44px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid var(--edge);font-weight:600}

/* ══ the hero ════════════════════════════════════════════ */
.hero{text-align:center;padding:26px 0 22px}
.hero .where{font-size:22px;font-weight:600;text-shadow:0 1px 8px rgba(0,0,0,.25)}
.hero .temp{font-size:clamp(84px,22vw,120px);font-weight:200;line-height:1;letter-spacing:-.04em;margin:4px 0 2px;
  text-shadow:0 2px 18px rgba(0,0,0,.25)}
.hero .temp sup{font-size:.5em;vertical-align:.7em;margin-left:.02em}
.hero .cond{font-size:20px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:8px}
.hero .cond svg{width:34px;height:34px}
.hero .sub{font-size:16px;font-weight:500;margin-top:4px}
.hero .rainline{display:inline-block;margin-top:14px;padding:8px 16px;border-radius:999px;background:var(--glass);
  border:1px solid var(--edge);font-weight:600;font-size:15px}
.hero .rainline.wet{background:rgba(17,58,110,.72)}
.hero .from{margin-top:12px;font-size:13px}
.hero .from>span,.hero .from>a>span{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--glass)}
.hero .from .delayed{background:rgba(120,30,30,.75)}
.empty{padding:60px 0;text-align:center}
.empty h1{font-size:28px;font-weight:600;margin-bottom:6px}
.empty p{margin:0 auto 18px;max-width:420px}
.empty .go{min-height:48px;padding:0 22px;border-radius:999px;border:0;background:#fff;color:#0b2342;font-weight:700}

/* ══ cards ═══════════════════════════════════════════════ */
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card{grid-column:1/-1;background:var(--glass);border:1px solid var(--edge);border-radius:var(--r);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);padding:14px 16px;min-width:0}
.card.half{grid-column:auto}
.card h2{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--faint);padding-bottom:9px;margin-bottom:10px;border-bottom:1px solid var(--edge)}
.card h2 svg{width:15px;height:15px;flex:none}
.card h2 .src{margin-left:auto;font-weight:500;letter-spacing:.02em;text-transform:none}
.dim{color:var(--dim)}
.faint{color:var(--faint)}
.tag{display:inline-block;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.04em;
  background:rgba(255,255,255,.12);color:var(--dim);vertical-align:1px}
.loading{color:var(--dim);padding:6px 0}
.err{color:var(--dim);padding:4px 0}
.err b{color:#fff}

/* alerts */
.alert{border-left:4px solid var(--note);border-radius:12px;background:var(--glass-hi);margin-top:8px}
.alert:first-of-type{margin-top:0}
/* the NWS did not answer: said at the top of the alerts card, never hidden */
.alertdown{margin:0 0 10px;padding:10px 12px;border:1px solid var(--warn);border-left-width:4px;border-radius:10px;font-size:14px;line-height:1.45}
.alert[data-tone="warning"]{border-color:var(--warn)}
.alert[data-tone="watch"]{border-color:var(--watch)}
.alert[data-tone="advisory"]{border-color:var(--advise)}
.alert summary{list-style:none;cursor:pointer;padding:11px 14px;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.alert summary::-webkit-details-marker{display:none}
.alert .ev{font-weight:700;font-size:16px}
.alert .until{color:var(--dim);font-size:13px}
.alert .body{padding:0 14px 14px;font-size:14px}
.alert .body p{white-space:pre-line;margin-top:8px}
.alert .body .meta{color:var(--dim);font-size:13px}

/* the next few hours */
.nextbars{display:flex;align-items:flex-end;gap:3px;height:64px;margin-top:6px}
.nextbars i{flex:1;min-height:3px;border-radius:3px 3px 1px 1px;background:rgba(255,255,255,.22)}
.nextbars i.w{background:var(--rain)}
.nextbars i.s{background:#e7f5ff}
.nextaxis{display:flex;justify-content:space-between;font-size:12px;color:var(--dim);margin-top:5px}
.nextnote{font-size:13px;color:var(--dim);margin-top:8px}
/* the radar nowcast: twelve five-minute cells */
.nowcast{margin:2px 0 14px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.14)}
.nowtext{font-size:17px;font-weight:600}
.nowstrip{display:flex;gap:3px;margin-top:8px;height:14px}
.nowstrip i{flex:1;border-radius:3px;background:rgba(255,255,255,.14)}
.nowstrip i.n{background:rgba(120,190,255,.35)}
.nowstrip i.l{background:var(--rain)}
.nowstrip i.m{background:#3fbf4f}
.nowstrip i.h{background:#ffc400}
.nowstrip i.x{background:repeating-linear-gradient(45deg,rgba(255,255,255,.1) 0 3px,transparent 3px 6px)}
.who{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin-bottom:2px}
.nextafter{font-size:14px;color:var(--dim);margin-top:2px}


/* hourly strip */
.hours{display:flex;gap:2px;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px;scroll-snap-type:x proximity;
  margin:0 -6px}
.hour{flex:0 0 58px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 2px;border-radius:14px;
  border:1px solid transparent;background:none;scroll-snap-align:start}
.hour:hover{background:rgba(255,255,255,.08)}
.hour[aria-pressed="true"]{background:rgba(255,255,255,.16);border-color:var(--edge)}
.hour .h{font-size:13px;font-weight:600}
.hour svg{width:28px;height:28px}
.hour .t{font-size:17px;font-weight:600}
.hour .p{font-size:12px;font-weight:600;color:var(--rain);min-height:17px}
.hour .wd{display:flex;flex-direction:column;align-items:center;font-size:12px;color:var(--dim);min-height:30px;line-height:1.25}
.hour .wd svg{width:10px;height:10px}
.hour .wd small{font-size:11px}
.hour.sun .wd{min-height:30px}
.hourdetail{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px 14px;margin-top:10px;
  padding-top:10px;border-top:1px solid var(--edge);font-size:14px}
.hourdetail div{display:flex;justify-content:space-between;gap:8px}
.hourdetail span{color:var(--dim)}
.hourdetail .head{grid-column:1/-1;font-weight:600}

/* ten days */
.day{border-top:1px solid var(--edge)}
.day:first-child{border-top:0}
.day summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:52px 34px 40px 40px 1fr 40px;align-items:center;
  gap:8px;min-height:50px}
.day summary::-webkit-details-marker{display:none}
.day .dn{font-weight:600}
.day svg{width:30px;height:30px}
.day .pp{font-size:12px;font-weight:600;color:var(--rain);text-align:center}
.day .lo{text-align:right;color:var(--dim)}
.day .hi{font-weight:600}
.range{position:relative;height:6px;border-radius:3px;background:rgba(0,0,0,.28)}
.range i{position:absolute;top:0;bottom:0;border-radius:3px}
.range b{position:absolute;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:#fff;border:2px solid rgba(0,0,0,.45)}
.daybody{padding:2px 0 14px;font-size:14px}
.daybody .facts{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--dim)}
.daybody .facts b{color:#fff;font-weight:600}
.office{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--glass-hi)}
.office h3{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin-bottom:4px}
.office p+p{margin-top:6px}

/* radar */
.radar{position:relative;height:340px;margin:0 -16px;overflow:hidden;background:#141a22;touch-action:none;cursor:grab;
  user-select:none;-webkit-user-select:none}
.radar.dragging{cursor:grabbing}
.radar .layer{position:absolute;inset:0;pointer-events:none}
.radar .layer img{position:absolute;width:256px;height:256px;max-width:none}
.radar .base img{filter:grayscale(1) invert(1) brightness(.78) contrast(.92)}
/* satellite in grey: IEM colours the coldest cloud tops in the same
   greens and purples as the radar, and under the radar that read as rain */
.radar .sat img{opacity:.9;filter:grayscale(1) contrast(1.15)}
.radar .frame{opacity:0}
/* IEM's HRRR pictures are opaque, rain on black: "screen" lets the black
   vanish and keeps the colours, with no per-pixel work */
.radar .frame canvas.hrrr{position:absolute;left:0;top:0}
.radar .frame.future{mix-blend-mode:screen}      /* on the layer: its opacity would isolate the canvas */
.radar .frame.on{opacity:.82}
.radar svg.over{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.radar .credit{position:absolute;right:0;bottom:0;padding:2px 7px;font-size:11px;background:rgba(0,0,0,.66);color:#e6e9ee;
  border-top-left-radius:8px;pointer-events:auto}
.radar .zoom{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:6px}
.radar .zoom button{width:44px;height:44px;border-radius:12px;border:1px solid var(--edge);background:rgba(8,14,24,.82);font-size:22px;line-height:1}
.radar .note{position:absolute;left:10px;top:10px;right:64px;padding:6px 10px;border-radius:10px;background:rgba(8,14,24,.85);font-size:13px}
.radarbar{display:flex;align-items:center;gap:10px;margin-top:12px}
.radarbar .play{width:44px;height:44px;flex:none;border-radius:50%;border:1px solid var(--edge);background:rgba(255,255,255,.14);
  display:grid;place-items:center}
.radarbar input{flex:1;min-width:0;accent-color:#fff;height:44px}
.radarbar .when{flex:none;min-width:104px;text-align:right;font-size:13px;font-weight:600}
.radarbar .when small{display:block;font-size:12px;font-weight:500;color:var(--dim)}
.legend{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--dim);margin-top:8px}
.legend i{flex:1;height:8px;border-radius:4px;background:linear-gradient(90deg,#04e9e7,#019ff4,#0300f4,#02fd02,#01c501,#008e00,#fdf802,#e5bc00,#fd9500,#fd0000,#d40000,#bc0000,#f800fd,#9854c6)}

/* details */
.tile .big{font-size:30px;font-weight:500;line-height:1.1}
.tile .say{margin-top:6px;font-size:14px;color:var(--dim)}
.tile .say b{color:#fff;font-weight:600}
.dial{display:flex;align-items:center;gap:14px}
.dial svg{width:74px;height:74px;flex:none}

/* sources */
.feeds{display:grid;gap:2px}
.feed{display:grid;grid-template-columns:14px 1fr auto;gap:10px;align-items:baseline;padding:7px 0;border-top:1px solid var(--edge);font-size:14px}
.feed:first-child{border-top:0}
.feed i{width:10px;height:10px;border-radius:50%;background:var(--ok);align-self:center}
.feed i.stale{background:var(--watch)}
.feed i.off{background:rgba(255,255,255,.35)}
.feed .what b{font-weight:600}
.feed .what span{display:block;color:var(--dim);font-size:13px}
.feed .age{color:var(--dim);font-size:13px;text-align:right}

footer{max-width:820px;margin:0 auto;padding:6px var(--gut) 48px;font-size:13px;color:var(--dim);text-align:center}
footer p+p{margin-top:6px}
footer a{color:#fff}

/* the place sheet */
dialog.sheet{margin:auto;width:min(520px,calc(100vw - 24px));max-height:min(640px,calc(100vh - 40px));padding:0;border:1px solid var(--edge);
  border-radius:22px;background:rgba(12,24,46,.97);color:var(--text);box-shadow:0 30px 80px rgba(0,0,0,.55)}
dialog.sheet::backdrop{background:rgba(2,6,14,.55);backdrop-filter:blur(3px)}
.sheet .in{padding:18px}
.sheet h2{font-size:18px;font-weight:600;margin-bottom:12px;display:flex;align-items:center}
.sheet h2 button{margin-left:auto;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.1);font-size:20px}
.sheet .locate{width:100%;min-height:48px;border-radius:14px;border:1px solid var(--edge);background:rgba(255,255,255,.12);
  font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px}
.sheet .locate:hover{background:rgba(255,255,255,.2)}
.sheet form{margin-top:10px}
.sheet input[type=search]{width:100%;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid var(--edge);
  background:rgba(0,0,0,.3);font-size:16px}
.sheet input::placeholder{color:var(--faint)}
.sheet .msg{font-size:14px;color:var(--dim);margin-top:10px;min-height:1px}
.sheet ul{list-style:none;padding:0;margin-top:8px}
.sheet li{display:flex;align-items:center;gap:4px;border-top:1px solid var(--edge)}
.sheet li:first-child{border-top:0}
.sheet li button.pick{flex:1;min-height:48px;text-align:left;padding:6px 6px;border:0;background:none;border-radius:10px}
.sheet li button.pick:hover{background:rgba(255,255,255,.08)}
.sheet li button.pick small{display:block;color:var(--dim);font-size:13px}
.sheet li button.x{width:44px;height:44px;border:0;background:none;border-radius:10px;color:var(--dim);font-size:18px}
.sheet .savednow{display:flex;align-items:center;gap:6px;font-size:18px;white-space:nowrap}
.sheet .savednow svg{width:26px;height:26px}
.sheet .savednow small{display:block;font-size:12px;color:var(--dim)}
.sheet h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin-top:16px}
.sheet .privacy{font-size:13px;color:var(--dim);margin-top:14px}

@media (max-width:640px){
  /* every card full width, except the detail tiles, two to a row */
  .card.half{padding:12px}
  .tile .big{font-size:25px}
  .tile .dial{gap:10px}
  .tile .dial svg{width:52px;height:52px}
  .day summary{grid-template-columns:54px 28px 34px 34px 1fr 34px;gap:5px}
  .radar{height:300px}
  .brand .t{display:none}
}

.summary{font-size:15px;margin:-2px 0 10px;padding-bottom:10px;border-bottom:1px solid var(--edge)}
.hour.sun{opacity:.95}
.hour.sun .t{font-size:13px;font-weight:600}
.day .daychart{width:100%;height:auto;display:block;margin:4px 0 6px}
.confline{display:inline-block;margin-top:10px;padding:4px 12px;border-radius:999px;background:var(--glass);font-size:14px;font-weight:600}
.confline[data-l="low"]{background:rgba(120,70,0,.7)}
.day .dn{white-space:nowrap}
.cdot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-left:4px;vertical-align:2px;background:#69db7c}
.cdot[data-l="medium"]{background:#ffd43b}
.cdot[data-l="low"]{background:#ff922b}
.confsay{margin-top:8px;font-size:14px;color:var(--dim)}
.confsay[data-l="low"]{color:#fff}
.recrows{display:grid;gap:6px}
.recrow{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 54px;gap:10px;align-items:center;font-size:14px}
.recrow .rb{height:8px;border-radius:4px;background:rgba(0,0,0,.28);overflow:hidden}
.recrow .rb i{display:block;height:100%;border-radius:4px;background:rgba(255,255,255,.55)}
.recrow.used .rb i{background:#7cc4ff}
.recrow.used .rn{font-weight:700}
.recrow .rv{text-align:right;font-weight:600}
.card.bare{background:none;border:0;padding:0;backdrop-filter:none;-webkit-backdrop-filter:none}
.hero.card.bare{padding:20px 0 10px}
#storms{display:grid;gap:10px}
.hero .go{min-height:48px;padding:0 22px;border-radius:999px;border:0;background:#fff;color:#0b2342;font-weight:700}

/* ══ storm mode ══════════════════════════════════════════
   Inside a warning the page turns to face it: the warning first, then
   the radar, then the rest. Each warning type has its own deep colour
   (white type on all of them clears 7:1). */
.storm{grid-column:1/-1;border-radius:var(--r);padding:16px;border:2px solid rgba(255,255,255,.35);background:#7a0019;
  box-shadow:0 10px 40px rgba(0,0,0,.35)}
.storm[data-ev="svr"]{background:#7a3300}
.storm[data-ev="ffw"]{background:#0c4f20}
.storm[data-ev="eww"]{background:#5a1880}
.storm[data-ev="other"]{background:#3b3f4a}
.storm.emergency{background:#4a0060;border-color:#ff8cff;animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{50%{border-color:#fff}}
.storm .kicker{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.storm h2{display:block;font-size:clamp(26px,7vw,34px);font-weight:800;line-height:1.05;margin:4px 0 6px;padding:0;border:0;letter-spacing:-.01em;
  text-transform:none;color:#fff}
.storm .until{font-size:16px;font-weight:600}
.storm .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.storm .chips span{padding:4px 10px;border-radius:999px;background:rgba(0,0,0,.32);font-size:13px;font-weight:700}
.storm .track{margin-top:12px;padding:12px;border-radius:12px;background:rgba(0,0,0,.3);font-size:16px;font-weight:600}
.storm .track small{display:block;font-size:13px;font-weight:500;margin-top:4px}
.storm .todo{margin-top:12px;font-size:15px;white-space:pre-line}
.storm .from{margin-top:10px;font-size:13px}
body.storming .hero{padding:14px 0 10px}
body.storming .hero .temp{font-size:64px}
body.storming #radarcard{order:-1}
body.storming #storms{order:-2}

/* lists of warnings: nearby, and across the country */
.warn{display:grid;grid-template-columns:6px 1fr auto;gap:10px;align-items:center;width:100%;text-align:left;padding:10px 0;
  border:0;border-top:1px solid var(--edge);background:none;min-height:52px}
.warn:first-of-type{border-top:0}
.warn i{align-self:stretch;border-radius:3px;background:var(--note)}
.warn[data-tone="warning"] i{background:var(--warn)}
.warn[data-tone="watch"] i{background:var(--watch)}
.warn b{display:block;font-weight:700}
.warn span{display:block;font-size:13px;color:var(--dim)}
.warn em{font-style:normal;font-size:13px;color:var(--dim);text-align:right}
.warn:hover{background:rgba(255,255,255,.05)}
.counts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
.counts span{padding:6px 12px;border-radius:999px;background:var(--glass);border:1px solid var(--edge);font-weight:600;font-size:14px}
.counts .hot{background:rgba(122,0,25,.85)}
.risk{display:inline-block;margin-top:10px;padding:5px 12px;border-radius:999px;font-weight:700;font-size:14px;background:var(--glass)}

/* radar layer controls */
.seg{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.seg[hidden]{display:none}
.seg button{min-height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--edge);background:rgba(255,255,255,.08);font-weight:600;font-size:14px}
.seg button[aria-pressed="true"]{background:#fff;color:#0b2342;border-color:#fff}
.seg .sep{flex:1}
/* the map's control rows stay one line and scroll sideways on a phone,
   rather than wrapping into five rows above the map */
.seg.rowscroll{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-2px;padding-left:2px}
.seg.rowscroll::-webkit-scrollbar{display:none}
.seg.rowscroll button{flex:none}

/* replay: a time, a length, and storms worth seeing again */
.replaybar[hidden]{display:none}
.replaybar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 10px;padding:10px;border-radius:14px;background:var(--glass-hi);font-size:14px}
.replaybar input,.replaybar select{min-height:44px;padding:0 10px;border-radius:10px;border:1px solid var(--edge);background:rgba(0,0,0,.3);color:#fff;font:inherit}
.replaybar .go{min-height:44px;padding:0 18px;border-radius:999px;border:0;background:#fff;color:#0b2342;font-weight:700}
.replaybar #rplive{min-height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--edge);background:rgba(255,255,255,.1);font-weight:600}
.replaybar .presets{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;width:100%;scrollbar-width:none}
.replaybar .presets button{flex:none;min-height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--edge);background:rgba(255,255,255,.08);font-weight:600;font-size:13px}
#replaytoggle[aria-pressed="true"]{background:#ffd166;color:#2b1d00;border-color:#ffd166}

/* a cross-section under the map */
.xsec{margin-top:12px;padding-top:12px;border-top:1px solid var(--edge)}
.xsec .xh{display:flex;align-items:flex-start;gap:8px;font-size:14px;font-weight:600}
.xsec .xh small{display:block;font-weight:500;color:var(--dim);font-size:13px}
.xsec .xh button{margin-left:auto;flex:none;width:40px;height:40px;border:0;border-radius:10px;background:rgba(255,255,255,.1);font-size:18px}
.xsec canvas{display:block;width:100%;border-radius:10px;margin-top:8px;background:#0c1422}
.xsec .seg{margin:8px 0 0}

/* the whole window as the map */
#radarcard.mapfull{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;border-radius:0;border:0;margin:0;
  background:rgba(8,16,30,.97);padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
#radarcard.mapfull .radar{flex:1;height:auto;min-height:0;margin:0 -14px}
body.mapopen{overflow:hidden}
.radar .zoom button[aria-pressed="true"]{background:#fff;color:#0b2342}
@media (min-width:900px){ .radar{height:420px} }

/* a tapped point on the map */
.radar .pin{position:absolute;z-index:2;width:232px;transform:translate(-50%,calc(-100% - 14px));padding:10px 12px;border-radius:14px;
  background:#0c182e;border:1px solid var(--edge);box-shadow:0 10px 30px rgba(0,0,0,.5);font-size:14px;pointer-events:auto;cursor:default}
.radar .pin{max-height:calc(100% - 12px);overflow:auto}
.pin .prows{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin-top:6px;font-size:13px}
.pin .prows span{color:var(--dim)}
.pin .prows b{text-align:right;font-weight:600}
.pin details{margin-top:6px;font-size:12px;color:var(--dim)}
.pin details summary{cursor:pointer;min-height:28px;display:flex;align-items:center}
.pin details code{display:block;white-space:pre-wrap;word-break:break-all;font-size:12px;color:#e6e9ee}
/* station chips: dark type on the temperature's own colour (6:1 or better on every stop) */
.radar svg.over .stn text{font:700 12px var(--sans);fill:#0b1422}
.pin .ph{display:flex;align-items:center;gap:8px}
.pin .ph svg{width:30px;height:30px;flex:none}
.pin .pt{font-size:22px;font-weight:600}
.pin .pn{font-weight:600;padding-right:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pin .ps{color:var(--dim);font-size:13px}
.pin .pgo{margin-top:8px;width:100%;min-height:44px;border-radius:12px;border:0;background:#fff;color:#0b2342;font-weight:700}
.pin .px{position:absolute;top:2px;right:2px;width:40px;height:40px;border:0;background:none;color:var(--dim);font-size:18px}
.seg .seglab,.presets .seglab{align-self:center;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin-right:2px}
.sitebar{font-size:13px;color:var(--dim);margin:-2px 0 10px}
.legend.vel i{background:linear-gradient(90deg,#00ff3c,#007a1d,#3a3a3a,#7a0010,#ff2a2a)}

/* the models, side by side */
#models summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:44px}
#models summary::-webkit-details-marker{display:none}
#models summary .chev{margin-left:auto;transition:transform .2s}
#models details[open] summary .chev{transform:rotate(180deg)}
#models .lead{font-size:14px;color:var(--dim)}
.cmpchart{width:100%;height:auto;display:block;margin-top:6px}
.cmpchart text{fill:var(--dim);font-size:12px}
.cmpkey{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;margin-top:6px}
.cmpkey span{display:inline-flex;align-items:center;gap:6px}
.cmpkey i{width:16px;height:3px;border-radius:2px;display:inline-block}
.cmpsay{font-size:15px;font-weight:600;margin-top:8px}
/* the ensemble's days: a row each */
.plrows{display:grid;gap:4px;margin-top:10px;font-size:14px}
.plrow{display:grid;grid-template-columns:76px minmax(0,1fr) 42px 74px;gap:10px;align-items:center}
.plrow.plhead{font-size:12px;color:var(--faint);letter-spacing:.04em}
.plrow.plhead span:last-child{text-align:right}
.plbar{height:8px;border-radius:4px;background:rgba(0,0,0,.28);overflow:hidden}
.plbar i{display:block;height:100%;border-radius:4px;background:var(--rain)}
.plp,.plh{text-align:right;font-weight:600}

/* above you: the ingredients timeline */
.tl{margin-top:10px}
.tlsay{font-size:14px;font-weight:600;margin-bottom:6px}
.tlrow{display:flex;align-items:center;gap:6px;margin-top:3px}
.tln{width:44px;flex:none;font-size:12px;color:var(--dim)}
.tlcells{flex:1;display:flex;gap:1px;min-width:0}
.tlcells i{flex:1;min-width:0;height:22px;border-radius:2px;background:rgba(255,255,255,.1);cursor:pointer}
.tlcells i.l1{background:#e9c46a}
.tlcells i.l2{background:#f4845f}
.tlcells i.l3{background:#d0329b}
.tlcells i.lx{background:transparent}
.tlcells i.on{outline:2px solid #fff;outline-offset:1px;position:relative;z-index:1}
.tlticks{position:relative;height:16px;margin-left:50px;font-size:12px;color:var(--dim)}
.tlticks span{position:absolute;top:2px;white-space:nowrap}

/* above you: the sounding */
#sky summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:44px}
#sky summary::-webkit-details-marker{display:none}
#sky summary .chev{margin-left:auto;transition:transform .2s}
#sky details[open] summary .chev{transform:rotate(180deg)}
#sky .lead{font-size:14px;color:var(--dim)}
.skyrow{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px;margin-top:10px;align-items:start}
.skyrow svg{width:100%;height:auto;display:block;border-radius:12px}
.skymeta{font-size:14px;font-weight:600;margin-top:4px}
.skymeta small{display:block;font-weight:500;color:var(--dim);font-size:13px}
.skycmp{font-size:14px;margin-top:8px;padding:8px 10px;border-radius:10px;background:var(--glass-hi)}
.linkbtn{border:0;background:none;padding:0;color:#fff;font-weight:600;text-decoration:underline;min-height:24px}
.hourpick{display:flex;align-items:center;gap:10px;margin-top:8px}
.hourpick input{flex:1;min-width:0;height:44px;accent-color:#fff}
.params{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 16px;margin-top:12px;font-size:14px}
.params div{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid var(--edge)}
.params span{color:var(--dim)}
.ptable{width:100%;border-collapse:collapse;margin-top:12px;font-size:14px}
.ptable th,.ptable td{padding:6px 4px;text-align:right;border-bottom:1px solid var(--edge)}
.ptable th:first-child,.ptable td:first-child{text-align:left}
.ptable th{font-weight:600;color:var(--faint);font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.gloss{margin-top:12px;font-size:14px;color:var(--dim)}
.gloss summary{cursor:pointer;color:#fff;font-weight:600;min-height:44px;display:flex;align-items:center}
.gloss dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px}
.gloss dt{color:#fff;font-weight:600}
.key{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--dim);margin-top:6px}
.key i{display:inline-block;width:14px;height:3px;border-radius:2px;vertical-align:middle;margin-right:5px}

@media (max-width:640px){
  .skyrow{grid-template-columns:minmax(0,1fr)}
  .warn{grid-template-columns:6px 1fr}
  .warn em{grid-column:2;text-align:left}
}

/* ══ two products, one room ══════════════════════════════
   Weather (data-view="simple") is the everyday app, and looks like the
   sky. Weather Pro (data-view="pro") is a different product for people who
   chase or study weather, and looks like an instrument: Ric, 2026-10-21 —
   "like two different products … you get to Weather Pro by clicking on a
   button that is gold with a star". The radar card's markup is the same on
   both; the simple page hides Pro's controls. */
body[data-view="simple"] .pro-only{display:none!important}
body[data-view="pro"] .simple-only{display:none!important}
.promore{margin-top:10px;font-size:14px}
.promore a{font-weight:600}

/* the door to Pro, on Weather: gold, with a star */
.probtn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 15px 0 11px;border-radius:999px;flex:none;
  background:linear-gradient(180deg,#ffd76b,#f2a922);color:#2a1a00;font-weight:800;font-size:15px;letter-spacing:.04em;text-decoration:none;
  box-shadow:0 0 0 2px rgba(255,215,107,.35),0 4px 14px rgba(242,169,34,.35)}
.probtn:hover{background:linear-gradient(180deg,#ffe08a,#f6b53a)}
.topbar .probtn{min-height:40px}
.probtn svg{flex:none}

/* ══ Weather Pro's type (2026-10-23, Ric: "Use IBM Plex Sans and IBM Plex Mono,
   shipped with the site"): IBM Plex, served from this repo — no font CDN, no
   external request (hard rule 4 is about fetching; these are files beside the
   page). SIL Open Font License, in fonts/OFL.txt. Latin only: a character
   outside it (an arrow, a tick) falls through to the system font after it in
   the stack. Only Pro names these families, so Weather never downloads them. */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:100 700;font-display:swap;src:url("fonts/IBMPlexSans.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/IBMPlexMono-400.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/IBMPlexMono-500.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/IBMPlexMono-600.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/IBMPlexMono-700.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ══ Weather Pro: the instrument ═══════════════════════════
   Near-black panels, hairline rules, one blue accent, monospaced data,
   square corners, no sky and no frosted glass. Every text colour below
   clears 4.5:1 on --glass (#0e1218): --dim 8.0:1, --faint 6.2:1, accent 7.3:1. */
body[data-view="pro"]{
  --glass:#0e1218; --glass-hi:#141a22; --edge:#232b36;
  --dim:#9eabba; --faint:#8a96a6;
  /* the accent is blue (2026-10-23, Ric: "Go with the blue accent" — the
     amber fought the radar's own oranges and the watch colours); amber is
     kept for one meaning only, "late". #4dabf7 on #0e1218 is 7.3:1, the
     dark text on it 7.6:1. */
  --accent:#4dabf7; --on-accent:#031525; --accent-tint:#0f2537; --accent-edge:#2d6a99; --late:#ffb627;
  --mono:"IBM Plex Mono",ui-monospace,"SF Mono","Cascadia Mono","Roboto Mono",Menlo,Consolas,monospace;
  --sans:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --r:4px;
  background:#07090c;background-image:none;color:#e3e9f0}
body[data-view="pro"] .num{font-family:var(--mono)}
body[data-view="pro"] .topbar{background:#05070a;border-bottom:1px solid #2a2f38;backdrop-filter:none;-webkit-backdrop-filter:none}
body[data-view="pro"] .brand .mark{font-family:var(--mono);font-weight:700;letter-spacing:.2em;font-size:15px}
body[data-view="pro"] .brand .mark b{color:var(--accent);margin-left:.45em}
body[data-view="pro"] nav.glass a,body[data-view="pro"] nav.glass .here{border-radius:3px;font-family:var(--mono);font-size:12px}
body[data-view="pro"] nav.glass .here{background:#1b222c}
body[data-view="pro"] .roomnav-toggle{border-radius:4px;background:#121821}
body[data-view="pro"] main{max-width:none;padding:8px 12px 24px}
body[data-view="pro"] .placebar{padding-top:4px}
body[data-view="pro"] .placebtn,body[data-view="pro"] .chip,.backbtn{border-radius:4px;background:#121821;border:1px solid var(--edge);font-family:var(--mono);font-size:13px}
.backbtn{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:#e3e9f0;font-weight:600;text-decoration:none;flex:none}
.backbtn:hover,body[data-view="pro"] .placebtn:hover,body[data-view="pro"] .chip:hover{background:#1a212b}
body[data-view="pro"] .card{border-radius:var(--r);backdrop-filter:none;-webkit-backdrop-filter:none;padding:12px 14px}
body[data-view="pro"] .card h2,body[data-view="pro"] #sky summary b,body[data-view="pro"] #models summary b{font-family:var(--mono);color:var(--accent);letter-spacing:.14em;font-size:12px;text-transform:uppercase}
body[data-view="pro"] #sky summary .lead,body[data-view="pro"] #models summary .lead{font-size:12px}
body[data-view="pro"] .seg button,body[data-view="pro"] .replaybar input,body[data-view="pro"] .replaybar select,body[data-view="pro"] .replaybar #rplive,body[data-view="pro"] .replaybar .presets button{
  border-radius:3px;background:#121821;border:1px solid var(--edge);font-family:var(--mono);font-size:12.5px;letter-spacing:.02em}
body[data-view="pro"] .seg button[aria-pressed="true"],body[data-view="pro"] #replaytoggle[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
body[data-view="pro"] .replaybar{border-radius:4px;background:#0a0d12;border:1px solid var(--edge)}
body[data-view="pro"] .replaybar .go,body[data-view="pro"] .pin .pgo{border-radius:3px;background:var(--accent);color:var(--on-accent);font-family:var(--mono)}
body[data-view="pro"] .radar{margin:0 -14px;background:#0b0e13}
body[data-view="pro"] .radar .zoom button{border-radius:3px;background:rgba(7,9,12,.88);border-color:#2a3340}
body[data-view="pro"] .radar .zoom button[aria-pressed="true"]{background:var(--accent);color:var(--on-accent)}
body[data-view="pro"] .radarbar .play{border-radius:4px;background:#121821}
body[data-view="pro"] .radarbar input,body[data-view="pro"] .hourpick input{accent-color:var(--accent)}
body[data-view="pro"] .pin{border-radius:4px;background:#0b0f15;border-color:#2a3340}
body[data-view="pro"] .sitebar,body[data-view="pro"] .nextnote,body[data-view="pro"] .legend{font-size:12px}

/* the readout: what is happening here, as an instrument says it */
body[data-view="pro"] .hero.card.bare{background:var(--glass);border:1px solid var(--edge);border-radius:var(--r);padding:12px 14px;text-align:left}
body[data-view="pro"] .hero .where{font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);text-shadow:none}
body[data-view="pro"] .hero .temp{font-family:var(--mono);font-size:48px;font-weight:500;letter-spacing:-.02em;text-shadow:none;margin:2px 0}
body[data-view="pro"] .hero .cond{justify-content:flex-start;font-size:15px}
body[data-view="pro"] .hero .cond svg{width:24px;height:24px}
body[data-view="pro"] .hero .sub{font-size:13px;font-family:var(--mono)}
body[data-view="pro"] .hero .rainline,body[data-view="pro"] .confline,body[data-view="pro"] .hero .from>span,body[data-view="pro"] .hero .from>a>span,body[data-view="pro"] .risk{border-radius:3px;background:#141a22;font-size:13px}
body[data-view="pro"] .hero .go{border-radius:3px;background:var(--accent);color:var(--on-accent)}
body[data-view="pro"] .counts{justify-content:flex-start}
body[data-view="pro"] .counts span{border-radius:3px;background:#141a22;font-family:var(--mono);font-size:12.5px}

/* the workspace: the map docked, the readouts beside it */
.stormband{display:grid;gap:10px}
.stormband #storms:not([hidden]){margin-bottom:12px}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:12px;align-items:start}
.mapcol{position:sticky;top:62px;min-width:0}
/* the docked map column must fit the screen whole — controls, map, play bar
   and legend — or its bottom could never be reached while it is docked */
body[data-view="pro"] .workspace .radar{height:calc(100vh - 390px);min-height:380px}
@media (pointer:fine){
  body[data-view="pro"] .seg button{min-height:34px;padding:0 10px}
  body[data-view="pro"] .seg{margin-bottom:8px}
}
.side.grid{grid-template-columns:minmax(0,1fr);gap:10px}
.side .skyrow{grid-template-columns:minmax(0,1fr)}
.side .card.half{grid-column:1/-1}
body[data-view="pro"] footer{font-family:var(--mono);font-size:12px;max-width:none}
/* on a phone Pro keeps its wordmark, and the place gets a row of its own */
@media (max-width:640px){
  body[data-view="pro"] .brand .t{display:block}
  body[data-view="pro"] .brand .t small{display:none}
  body[data-view="pro"] .placebar{flex-wrap:wrap}
  body[data-view="pro"] .placebtn{order:-1;flex:1 1 100%}
}
@media (max-width:1000px){
  .workspace{grid-template-columns:minmax(0,1fr)}
  .mapcol{position:static}
  body[data-view="pro"] .workspace .radar{height:62vh;min-height:320px}
}

/* ── Pro's map labels: a dark halo so each reads over radar and satellite ── */
.radar svg.over .ovl{font:700 11px var(--mono,ui-monospace,monospace);paint-order:stroke;stroke:#05070a;stroke-width:3px;stroke-linejoin:round}
.radar svg.over .ovl.hl{font-size:22px;font-weight:800;stroke-width:4px}
.radar svg.over .stp text{font:600 11px var(--mono,ui-monospace,monospace);paint-order:stroke;stroke:#05070a;stroke-width:3px;stroke-linejoin:round}
.radar svg.over .stp .st{fill:#ff8787}
.radar svg.over .stp .sd{fill:#69db7c}
.radar svg.over .stp .sw{fill:#da77f2}
.radar svg.over .stp .sp{fill:#e9ecef}
.pin .pgo.alt{margin-top:6px;background:transparent;color:inherit;border:1px solid var(--edge)}
.skyat{font-size:13px;margin:8px 0 0;padding:6px 10px;border-radius:4px;background:var(--glass-hi)}

/* the forecast discussion: the office's sections, as written */
details.afd{border-top:1px solid var(--edge)}
details.afd:first-of-type{border-top:0}
details.afd summary{cursor:pointer;min-height:40px;display:flex;align-items:center;font-weight:600;font-size:13px;letter-spacing:.04em}
details.afd pre{white-space:pre-wrap;word-wrap:break-word;margin:0 0 10px;font:12.5px/1.5 var(--mono,ui-monospace,monospace);color:#dfe6ee;max-height:360px;overflow:auto}

/* SPC mesoanalysis: SPC's own maps */
.mesopick{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--dim)}
.mesopick select{min-height:40px;margin-left:4px;padding:0 8px;border-radius:4px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:inherit}
.mesoimg{display:block;margin-top:10px;border-radius:4px;overflow:hidden;background:#fff}
.mesoimg img{display:block;width:100%;height:auto}

/* ── Weather Pro's own radar, model maps, lightning and storm reports (2026-10-22) ──
   The models bar sits under the layer row like the replay bar; the legend
   becomes a numbered scale (or swatches, for a product made of classes); the
   readout follows a mouse over the map. */
.modelbar[hidden]{display:none}
.modelbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 10px;padding:10px;border-radius:14px;background:var(--glass-hi);font-size:14px}
.modelbar label{display:flex;align-items:center;gap:8px}
.modelbar select{min-height:44px;max-width:min(330px,72vw);padding:0 10px;border-radius:10px;border:1px solid var(--edge);background:rgba(0,0,0,.3);color:#fff;font:inherit}
.modelbar .mmrun{font-size:12px;color:var(--dim)}
.modelbar .mmrun .linkish{background:none;border:0;padding:4px 0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
.modelbar .go{min-height:44px;padding:0 16px;border-radius:999px;border:0;background:#fff;color:#0b2342;font-weight:700}
.modelbar .go[hidden]{display:none}
body[data-view="pro"] .modelbar .go{border-radius:3px;background:var(--accent);color:var(--on-accent);font-family:var(--mono)}
.legend.scale{align-items:flex-start;gap:10px}
.legend.scale .bar{flex:1;min-width:0}
.legend.scale .bar i{display:block;height:9px;border-radius:2px}
.legend.scale .ticks{position:relative;height:17px}
.legend.scale .ticks span{position:absolute;top:2px;transform:translateX(-50%);font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.legend.scale .lu{flex:none;font-size:11px}
.legend.cats{flex-wrap:wrap;gap:4px 12px}
.legend.cats .sw{display:inline-flex;align-items:center;gap:5px;font-size:11px}
.legend.cats .sw i{flex:none;width:12px;height:12px;border-radius:2px}
.modelbar .dscale{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:12px}
.modelbar .dscale .sw{display:inline-flex;align-items:center;gap:4px}
.modelbar .dscale .sw i{flex:none;width:12px;height:12px;border-radius:2px}
.pin .prows .pfull{grid-column:1/-1;font-size:12px;color:var(--dim);margin-top:2px}
.radar canvas.ltg{width:100%;height:100%}
.radar .read[hidden]{display:none}
.radar .read{position:absolute;left:10px;bottom:24px;max-width:calc(100% - 20px);padding:5px 9px;border-radius:6px;background:rgba(5,7,10,.9);border:1px solid #2a3340;
  font:500 12px/1.35 ui-monospace,"SF Mono",Menlo,Consolas,monospace;color:#e9ecef;pointer-events:none}
#radarover .lsr text{font:700 11px ui-monospace,Menlo,Consolas,monospace;fill:#05070a}
.pin .ro{color:#ffd166;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:12px}
body[data-view="pro"] .modelbar{border-radius:4px;background:#0a0d12;border:1px solid var(--edge)}
body[data-view="pro"] .modelbar select{border-radius:3px;font-family:var(--mono);font-size:13px}
body[data-view="pro"] .pin .ro{color:var(--accent)}

/* ── Weather Pro's controls, 2026-10-23 ──
   On a wide screen every layer and overlay is in view: the rows wrap rather
   than scroll sideways (at 1440px, Echo tops, VIL, Future, Models and Replay
   were all past the right edge with nothing to say they were there), and the
   map takes whatever height the controls leave, so the docked column still
   fits the screen whole however many rows they need. While a cross-section is
   open the card grows as before. On a phone the rows still scroll, and fade
   at the right edge to say there is more. */
@media (min-width:1001px){
  body[data-view="pro"] .seg.rowscroll{flex-wrap:wrap;overflow:visible}
  body[data-view="pro"] .workspace #radarcard:not(.mapfull):not(:has(.xsec:not([hidden]))){display:flex;flex-direction:column;height:calc(100vh - var(--maptop, 130px) - 10px);min-height:520px}
  body[data-view="pro"] .workspace #radarcard:not(.mapfull):not(:has(.xsec:not([hidden]))) .radar{flex:1 1 0;height:auto;min-height:240px}
}
@media (max-width:1000px){
  body[data-view="pro"] .seg.rowscroll{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);padding-right:24px}
}
/* the overlays are switches, any number at once — drawn as boxes that tick,
   so they do not read like the one layer chosen in the row above */
body[data-view="pro"] .seg.toggles button{display:inline-flex;align-items:center;gap:7px}
body[data-view="pro"] .seg.toggles button::before{content:"";flex:none;width:10px;height:10px;border:1.5px solid currentColor;border-radius:2px;opacity:.75}
body[data-view="pro"] .seg.toggles button[aria-pressed="true"]{background:var(--accent-tint);color:var(--accent);border-color:var(--accent-edge)}
body[data-view="pro"] .seg.toggles button[aria-pressed="true"]::before{opacity:1;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2 4-4.4' fill='none' stroke='%231c1300' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;border-color:var(--accent)}
/* the radar picker, at the head of the tilt row; the satellite under the
   radar, at the end of the overlays (a list, so it costs no row of its own) */
.tiltbtns{display:contents}
.sitepick,.satpick{display:inline-flex;align-items:center;gap:6px;flex:none;margin-right:6px}
.satpick{margin:0 0 0 6px}
.sitepick select,.satpick select{min-height:34px;max-width:min(300px,70vw);padding:0 8px;border-radius:3px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12.5px var(--mono,ui-monospace,monospace)}
@media (pointer:coarse){ .sitepick select,.satpick select{min-height:44px} }
/* the keys: offered only where there is a keyboard to press them */
.keyschip{font-weight:700}
@media (pointer:coarse){ .keyschip{display:none} }
.keysheet .keys{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:6px 0 4px;font-size:14px}
.keysheet .keys dt{white-space:nowrap}
.keysheet .keys dd{margin:0;color:var(--dim)}
.keysheet kbd{display:inline-block;min-width:22px;padding:1px 6px;border:1px solid var(--edge);border-bottom-width:2px;border-radius:3px;background:#121821;color:#e3e9f0;font:600 12px var(--mono,ui-monospace,monospace);text-align:center}
/* Pro's sheets are the instrument's, not the sky's */
body[data-view="pro"] dialog.sheet{border-radius:var(--r);background:#0b0f15;border-color:#2a3340}
body[data-view="pro"] .sheet h2 button{border-radius:3px;background:#121821;border:1px solid var(--edge)}

/* Pro's map lines: a canvas over the data, under lightning and the overlays */
.radar canvas.geo{width:100%;height:100%}
.modelbar label[hidden]{display:none}
/* a model field at one point, hour by hour — under the map, like a cross-section */
.ptchart .cmp{display:inline-flex;align-items:center;gap:8px;margin:8px 0 0;font-size:13px;color:var(--dim);min-height:32px}
.ptchart .cmp input{accent-color:var(--accent,#4dabf7);width:16px;height:16px}
.ptchart svg.chart{display:block;width:100%;height:auto;margin-top:8px;cursor:crosshair}
.ptchart svg.chart text{font:11px var(--mono,ui-monospace,monospace);fill:#9eabba}
.ptchart svg.chart text.d{fill:#8a96a6}
.ptchart svg.chart text.u{fill:#9eabba}
.ptchart svg.chart .gl{stroke:#232b36;stroke-width:1}
.ptchart svg.chart .now{stroke:#e9ecef;stroke-width:1;stroke-dasharray:3 3}
.ptchart svg.chart polyline{fill:none;stroke-linejoin:round;stroke-linecap:round}
.ptchart svg.chart .cur{stroke:var(--accent);stroke-width:2.2}
.ptchart svg.chart circle{fill:var(--accent)}
.ptchart svg.chart .prev{stroke:#9eabba;stroke-width:1.8;stroke-dasharray:5 4}
.ptchart .ps{font-size:12px;color:var(--dim);margin-top:6px}
body[data-view="pro"] .xsec .xh button{border-radius:3px;background:#121821;border:1px solid var(--edge)}

/* ── the workstation (workstation.js): the layout bar, the maps beside the
   main one, and each map's own page inside its frame ── */
.ws-off{display:none!important}
.wsbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 10px;padding:6px 8px;border:1px solid var(--edge);border-radius:var(--r);background:#0a0d12;font-family:var(--mono);font-size:12px}
.wsbar button,.wsbar select{min-height:34px;padding:0 10px;border-radius:3px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:inherit}
.wsbar select{max-width:min(260px,60vw)}
.wsbar button:hover{background:#1a212b}
.wsbar .wsname{display:inline-flex;align-items:center;gap:6px}
.wssync{display:inline-flex;align-items:center;gap:8px}
.wssync label{display:inline-flex;align-items:center;gap:5px;min-height:34px;color:var(--dim)}
.wssync input{accent-color:var(--accent);width:15px;height:15px;margin:0}
.wsclock{color:var(--accent);margin-left:auto}

@media (pointer:coarse){ .wsbar button,.wsbar select,.wssync label{min-height:44px} }

.mainst:empty{display:none}
.workspace.has-panels .mapcol{position:static}
.panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:10px;margin-top:10px}
.panels[hidden]{display:none}
body[data-view="pro"] .mpanel{padding:8px 10px;grid-column:auto;min-width:0}
.mpanel .phead{display:flex;align-items:center;gap:8px;margin:0 0 6px}
.mpanel .phead .pn{flex:none}
.mpanel .pst{flex:1;min-width:0;font:12px var(--mono);color:var(--dim);text-transform:none;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mpanel .phead button{flex:none;display:inline-grid;place-items:center;min-width:32px;min-height:32px;border-radius:3px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:600 14px var(--mono)}
.mpanel iframe{display:block;width:100%;height:600px;border:0;border-radius:3px;background:#0b0e13}
@media (max-width:1000px){ .mpanel iframe{height:72vh;min-height:420px} }
@media (pointer:coarse){ .mpanel .phead button{min-width:44px;min-height:44px} }
/* a map's own page inside its frame: only the map and its controls */
body[data-panel] .topbar,body[data-panel] .placebar,body[data-panel] .stormband,body[data-panel] .wsbar,body[data-panel] .side,body[data-panel] footer,
body[data-panel] .panels,body[data-panel] #radarcard>h2,body[data-panel] .mainst,body[data-panel] #replaytoggle,body[data-panel] #replaybar{display:none!important}
body[data-panel] main{padding:0}
body[data-panel] .workspace{display:block}
body[data-panel] .mapcol{position:static}
body[data-panel] #radarcard{border:0;padding:2px 6px;background:transparent}
body[data-panel] #radarcard{display:flex;flex-direction:column;height:100vh;min-height:0}
body[data-panel] .workspace .radar{flex:1 1 0;height:auto;min-height:160px;margin:0 -6px}
/* the sheets: explore, arrange, save, share */
.wssheet .wslead{color:var(--dim);font-size:13px;margin:0 0 10px}
.wssheet h3{font:600 12px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin:14px 0 6px}
.wslist,.wsexplore ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.wslist li,.wsexplore li{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 0;border-bottom:1px solid #1b222c;font-size:13px}
.wslist li>span,.wsexplore li>span,.wslist li>label{flex:1 1 200px;min-width:0}
.wslist small,.wsexplore small{display:block;color:var(--dim);font-size:12px}
.wslist label small{display:inline;margin-left:4px}
.wslist input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px;vertical-align:-3px}
.wsexplore select{display:block;margin-top:4px;width:100%;max-width:420px;min-height:36px;padding:0 8px;border-radius:3px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.wslist button,.wsexplore button{min-height:36px;padding:0 10px;border-radius:3px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.wslist button:disabled{opacity:.4}
.wslist .none{color:var(--dim)}
@media (pointer:coarse){ .wslist button,.wsexplore button,.wsexplore select{min-height:44px} }
.wsform{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.wsform label[for]{font-size:13px;color:var(--dim)}
.wsform input[type=text],#wslinkout{flex:1 1 200px;min-height:40px;padding:0 10px;border-radius:3px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:13px var(--mono)}
#wslinkout{display:block;width:100%;margin-top:8px}
#wslinkout[hidden]{display:none}
.wscheck{display:flex;gap:8px;align-items:center;margin:6px 0;font-size:13px;min-height:32px}
.wscheck input{accent-color:var(--accent);width:16px;height:16px;flex:none}
.wsform .wscheck{flex:1 1 100%}
.wssheet .go{min-height:40px;padding:0 16px;border-radius:3px;border:0;background:var(--accent);color:var(--on-accent);font:600 13px var(--mono)}

/* ── Pro's map, first (2026-10-23, Ric: "make it cleaner and easier to use
   for the professionals") ──
   Measured before: at 1366×768 in Models mode 173 px of map showed, at
   1440×900 the play bar and legend were off the screen, and on a phone the
   map began below the first screen — seven rows of controls stood above it.
   Now: one row of kinds (Mosaic · Radar · Satellite · MRMS · Models ·
   Future, then Replay, Overlays ▾ and ⓘ), the chosen kind's own row under it
   (a single radar's products, picker and tilts; a model's model, field and
   run), the overlays in one menu with a count, the words about the map
   behind ⓘ, the map's stamp on the map, and the workspace in the place bar.
   The map card fills the screen below where it starts (--maptop, measured by
   workstation.js), so the play bar and legend are always in view. */
.maptools{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 8px}
.maptools .seg{margin:0}
.maptools .kinds{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.maptools .kinds::-webkit-scrollbar{display:none}
.maptools .kinds button{flex:none}
body[data-view="pro"] .maptools .toolbtn{min-height:34px;padding:0 10px;border-radius:3px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:600 13px var(--mono)}
body[data-view="pro"] .maptools .toolbtn:hover{background:#1a212b}
body[data-view="pro"] .maptools .toolbtn[aria-pressed="true"],body[data-view="pro"] .maptools .toolbtn[aria-expanded="true"]{background:var(--accent-tint);color:var(--accent);border-color:var(--accent-edge)}
body[data-view="pro"] #replaytoggle[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}

.ovwrap{position:relative}
.ovcount{margin-left:4px;color:var(--accent)}
.ovcount:empty{display:none}
.ovpanel{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:min(560px,calc(100vw - 32px));padding:10px;background:#0b0f15;border:1px solid #2a3340;border-radius:4px;box-shadow:0 12px 30px rgba(0,0,0,.55)}
.ovpanel[hidden]{display:none}
.ovpanel .seg{flex-wrap:wrap;margin:0 0 8px}
.ovpanel .satpick{display:inline-flex;align-items:center;gap:8px}
.siterow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 8px}
.siterow[hidden]{display:none}
.siterow .seg,.siterow #tiltrow{margin:0}
body[data-view="pro"] .sitebar{display:none}
body[data-view="pro"] .sitebar.open{display:block;margin:0 0 8px}
@media (min-width:1001px){ body[data-view="pro"] .maptools .kinds{flex-wrap:wrap;overflow:visible} }
/* the map's own stamp, on the map: what it shows and when */
.radar .mainst{position:absolute;left:8px;top:8px;z-index:6;margin:0;max-width:calc(100% - 72px);padding:3px 8px;border-radius:3px;background:rgba(5,7,10,.82);color:#e3e9f0;font:12px var(--mono);pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-view="pro"] .radar .note{top:38px}
/* the workspace sits in the place bar: one row of page controls */
body[data-view="pro"] .placebar{flex-wrap:wrap}
body[data-view="pro"] .placebar .wsbar{margin:0;padding:0;border:0;background:none;flex:0 1 auto}
body[data-view="pro"] .placebar .wsclock{margin-left:4px}
.wstoggle{display:none}
.wsnote{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:60;max-width:min(520px,calc(100vw - 32px));margin:0;padding:8px 12px;background:#0b0f15;border:1px solid #2a3340;border-radius:4px;color:#e3e9f0;font:12px var(--mono);box-shadow:0 8px 24px rgba(0,0,0,.5)}
.wsnote[hidden]{display:none}
@media (max-width:1000px){
  /* on a phone the overlays rise from the bottom of the screen */
  .ovpanel{position:fixed;top:auto;left:16px;right:16px;bottom:16px;width:auto;max-height:70vh;overflow:auto}
  .wstoggle{display:inline-flex}
  body[data-view="pro"] .placebar .wsbar{display:none;flex:1 1 100%;order:5;flex-wrap:wrap}
  body[data-view="pro"] .placebar .wsbar.open{display:flex}
}
/* a model's, a satellite's or MRMS's own row: compact, so it is one line on a laptop */
body[data-view="pro"] .modelbar{padding:6px 8px;gap:6px 10px;margin-bottom:8px;font-size:12px}
body[data-view="pro"] .modelbar select{min-height:34px;max-width:min(250px,72vw)}
body[data-view="pro"] .modelbar .mmrun{flex:1 1 220px;min-width:0}
body[data-view="pro"] .siterow .sitepick select{max-width:210px}
@media (pointer:coarse){ body[data-view="pro"] .modelbar select{min-height:44px} }
/* the place bar on one line on a laptop: the workspace's labels go below
   1500px (the controls keep their own names), and the shared clock shows
   only when it is not "now" */
@media (max-width:1500px) and (min-width:1001px){
  body[data-view="pro"] .placebar .wsname .seglab,body[data-view="pro"] .placebar .wssync>.seglab{display:none}
  body[data-view="pro"] .placebar{gap:6px}
  body[data-view="pro"] .placebar .wsbar button{padding:0 8px}
}
.wsclock[hidden]{display:none}
/* the phone's place bar: the place on its own line, then one line of chips */
@media (max-width:1000px){
  .wstoggle{align-items:center;justify-content:center;white-space:nowrap}
}
@media (max-width:640px){
  body[data-view="pro"] .placebar{gap:6px}
  body[data-view="pro"] .placebar .chip,body[data-view="pro"] .placebar .backbtn{padding:0 9px}
  body[data-view="pro"] .placebar .wstoggle{flex:1 1 auto}
}

/* ── Pro, the rest of the review (2026-10-23, Ric: "5-8 do plz") ── */
/* Find: Ctrl+K or / — every layer, field, overlay and card by name */
.maptools .findbtn kbd{margin-left:6px;padding:0 4px;border:1px solid #3a4452;border-radius:3px;font:600 11px var(--mono);color:var(--dim)}
@media (pointer:coarse){ .maptools .findbtn kbd{display:none} }
dialog.sheet.findsheet{width:min(620px,calc(100vw - 24px))}
.findsheet .in{width:auto}
.findsheet #findq{display:block;width:100%;min-height:44px;padding:0 12px;border-radius:3px;border:1px solid var(--accent);background:#121821;color:#e3e9f0;font:14px var(--mono)}
.findlist{list-style:none;margin:8px 0 0;padding:0;max-height:min(420px,55vh);overflow:auto}
.findlist li{display:flex;align-items:center;gap:10px;min-height:40px;padding:6px 10px;border-radius:3px;cursor:pointer;font-size:13px}
.findlist li>span{flex:1;min-width:0}
.findlist li small{display:block;color:var(--dim);font-size:12px}
.findlist li em{flex:none;font:normal 11px var(--mono);color:var(--dim)}
.findlist li[aria-selected="true"],.findlist li:hover{background:#1b222c}
.findlist li[aria-selected="true"]{outline:1px solid var(--accent-edge)}
.findlist .none{color:var(--dim);cursor:default}
.findhint{margin:8px 0 0!important;font-size:12px!important}
/* the readout cards fold to their heading */
#cards .card>h2[data-min]{cursor:pointer;display:flex;align-items:center}
#cards .card>h2[data-min]::after{content:"−";margin-left:auto;padding-left:10px;font:600 14px var(--mono);color:var(--dim)}
#cards .card.ws-min>h2[data-min]::after{content:"+"}
#cards .card.ws-min>h2{margin-bottom:0}
#cards .card.ws-min>:not(h2:first-child){display:none!important}
#cards .card>h2[data-min]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* Pro's hero with no place: shorter — the place button is in the bar above */
body[data-view="pro"] #hero .sub[style]{margin-top:6px!important}
body[data-view="pro"] #hero [data-locate],body[data-view="pro"] #hero [data-open-places]{min-height:36px!important;padding:0 12px}
body[data-view="pro"] #hero>div[style]{margin-top:6px!important}
/* the Layers button and the done button belong to the phone's sheet */
.layersbtn,.sheetdone{display:none}
@media (max-width:640px){
  body[data-view="pro"]:not([data-panel]) .mapctl{display:none}
  body[data-view="pro"]:not([data-panel]) #radarcard.ctl-open .mapctl{display:block;position:fixed;left:0;right:0;bottom:0;z-index:50;max-height:74vh;overflow:auto;padding:14px 16px calc(14px + env(safe-area-inset-bottom));background:#0b0f15;border-top:1px solid #2a3340;border-radius:8px 8px 0 0;box-shadow:0 -14px 34px rgba(0,0,0,.6)}
  body[data-view="pro"]:not([data-panel]) .mapctl .maptools .kinds{flex-wrap:wrap;overflow:visible}
  body[data-view="pro"]:not([data-panel]) .mapctl .ovpanel{position:static;width:auto;max-height:none;box-shadow:none;margin-top:8px}
  body[data-view="pro"]:not([data-panel]) .mapctl .seg.rowscroll{flex-wrap:wrap;overflow:visible;-webkit-mask-image:none;mask-image:none;padding-right:0}
  body[data-view="pro"]:not([data-panel]) .sheetdone{display:block;width:100%;min-height:44px;margin-top:8px;border:0;border-radius:4px;background:var(--accent);color:var(--on-accent);font:600 14px var(--mono)}
  body[data-view="pro"]:not([data-panel]) .layersbtn{display:inline-flex;align-items:center;gap:7px;position:absolute;left:8px;bottom:24px;z-index:7;min-height:44px;padding:0 14px;border-radius:4px;border:1px solid var(--accent-edge);background:rgba(7,9,12,.92);color:var(--accent);font:600 13px var(--mono)}
  /* the map takes the first screen: what is above it is the place bar and the card's title */
  body[data-view="pro"]:not([data-panel]) .workspace .radar{height:calc(100svh - 330px);min-height:320px}
}

/* ── Weather's radar, closer to Apple's (2026-10-23, Ric: "it should be
   closer to the Apple one … you should just have to click it for it to go full
   screen. And it should be easy to see where it's raining.") ──
   The rain is redrawn in one intensity ramp (app.js, rainTile) and shown at
   full strength over a lighter grey map; a tap on the small map opens it full
   screen, where the map fills the screen and the key, the close button and the
   timeline float over it. */
.mapclose{display:none}
#radarcard.mapfull .mapclose{display:grid;place-items:center;position:absolute;left:12px;top:calc(12px + env(safe-area-inset-top));z-index:9;width:48px;height:48px;border-radius:50%;border:1px solid var(--edge);background:rgba(28,31,36,.9);color:#fff}
body:not([data-view="pro"]) .radar{cursor:pointer}
body:not([data-view="pro"]) #radarcard.mapfull .radar{cursor:grab}
body:not([data-view="pro"]) .radar .base img{filter:grayscale(1) invert(1) brightness(.98) contrast(.72)}
body:not([data-view="pro"]) .radar .frame.on{opacity:1}
.sitebar:empty{display:none}
/* the key: one bar, named Light to Extreme */
.legend.rainkey{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 10px}
.legend.rainkey b{grid-row:1/3;font-weight:600;color:#fff}
.legend.rainkey i{height:8px;border-radius:4px;background:linear-gradient(90deg,var(--rain))}
.legend.rainkey .k{display:flex;justify-content:space-between;font-size:11px}
/* full screen, Apple's way: the map edge to edge, everything else floating on it */
body:not([data-view="pro"]) #radarcard.mapfull{padding:0;background:#2b2e33}
body:not([data-view="pro"]) #radarcard.mapfull>:not(.radar):not(.radarbar):not(.legend){display:none}
body:not([data-view="pro"]) #radarcard.mapfull .radar{position:absolute;inset:0;height:auto;margin:0}
body:not([data-view="pro"]) #radarcard.mapfull .radar .zoom{top:calc(12px + env(safe-area-inset-top))}
body:not([data-view="pro"]) #radarcard.mapfull .radarbar{position:absolute;left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:8;margin:0;padding:10px 14px;border-radius:22px;background:rgba(28,31,36,.92);border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 24px rgba(0,0,0,.4)}
body:not([data-view="pro"]) #radarcard.mapfull .legend{position:absolute;left:12px;top:calc(72px + env(safe-area-inset-top));z-index:8;margin:0;padding:10px 12px;border-radius:14px;background:rgba(28,31,36,.88);border:1px solid rgba(255,255,255,.1);color:#e9ecef}
body:not([data-view="pro"]) #radarcard.mapfull .legend.rainkey{grid-template-columns:8px auto;grid-template-rows:auto 1fr;gap:8px 10px}
body:not([data-view="pro"]) #radarcard.mapfull .legend.rainkey b{grid-row:auto;grid-column:1/3}
body:not([data-view="pro"]) #radarcard.mapfull .legend.rainkey i{width:6px;height:110px;background:linear-gradient(0deg,var(--rain))}
body:not([data-view="pro"]) #radarcard.mapfull .legend.rainkey .k{flex-direction:column-reverse;justify-content:space-between;font-size:13px}
body:not([data-view="pro"]) #radarcard.mapfull .radar .credit{bottom:calc(92px + env(safe-area-inset-bottom))}
body:not([data-view="pro"]) #radarcard.mapfull .radar .note{left:72px;top:calc(14px + env(safe-area-inset-top))}
body:not([data-view="pro"]) #radarcard.mapfull .legend.rainkey .k{height:110px}
#radarcard.mapfull .radar .mainst{left:70px;top:calc(22px + env(safe-area-inset-top))}
/* Weather's layers menu (2026-10-23, Ric: "It should just be rain and there
   should be a setting that does overlays") — Apple's: a dark rounded card,
   a tick on what is shown */
.wxlayersbtn{display:none}
body:not([data-view="pro"]) .radar .zoom .wxlayersbtn{display:grid;place-items:center}
body:not([data-view="pro"]) .radar .zoom .wxlayersbtn.some{color:#7cc4ff}
.wxmenu{position:absolute;top:10px;right:62px;z-index:12;width:min(280px,calc(100% - 134px));padding:8px;border-radius:20px;background:rgba(28,31,36,.96);border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 32px rgba(0,0,0,.5);cursor:default}
.wxmenu[hidden]{display:none}
#radarcard.mapfull .wxmenu{top:calc(12px + env(safe-area-inset-top))}
.wxrow{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:0 12px 0 34px;border:0;border-radius:12px;background:none;color:#fff;font:500 16px/1.2 inherit;text-align:left;position:relative}
.wxrow svg{width:20px;height:20px;flex:none}
button.wxrow:hover{background:rgba(255,255,255,.07)}
.wxrow[aria-checked="true"]::before{content:"";position:absolute;left:12px;top:50%;width:6px;height:11px;margin-top:-8px;border:solid #fff;border-width:0 2.2px 2.2px 0;transform:rotate(45deg)}
.wxsub{margin:6px 12px 2px;font-size:12px;color:rgba(255,255,255,.6)}
/* the rain softened into areas, as Apple draws it, rather than the radar's
   single cells — only the rain layer, never the map or its labels */
body:not([data-view="pro"]) .radar #radarframes .frame:not(.future){filter:blur(.9px) saturate(1.15)}
/* Weather's map marks, Apple's: city temperatures in slate rounds, the place in a blue one */
.radar svg.over .city .ct{font:700 15px var(--sans,system-ui);fill:#fff}
.radar svg.over .cn{font:600 12px var(--sans,system-ui);fill:#fff;paint-order:stroke;stroke:#14171c;stroke-width:3px;stroke-linejoin:round}
.radar svg.over .me .mt{font:700 17px var(--sans,system-ui);fill:#fff}
/* Weather in plain words (2026-10-23, Ric: "1 and 2 please") */
.hour .meas{display:block;font-size:11px;color:var(--dim);margin-top:2px}
details.how{margin-top:10px}
details.how summary{cursor:pointer;min-height:36px;display:flex;align-items:center;font-size:13px;color:var(--dim)}
details.how[open] summary{margin-bottom:6px}
.dotkey{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:10px 0 0;font-size:12px;color:var(--dim)}
.dotkey .cdot{position:static;margin:0 2px 0 6px}
.dotkey .cdot:first-child{margin-left:0}
details.srcfold>summary{list-style:none;cursor:pointer}
details.srcfold>summary::-webkit-details-marker{display:none}
details.srcfold>summary h2{margin-bottom:0}
details.srcfold[open]>summary h2{margin-bottom:12px}
.aqibar{position:relative;height:6px;margin:8px 0;border-radius:3px;background:linear-gradient(90deg,#00e400 0 16.7%,#ffff00 16.7% 33.3%,#ff7e00 33.3% 50%,#ff0000 50% 66.7%,#8f3f97 66.7% 100%)}
.aqibar b{position:absolute;top:-3px;width:4px;height:12px;margin-left:-2px;border-radius:2px;background:#fff;box-shadow:0 0 0 1.5px rgba(0,0,0,.4)}

/* ── Weather Pro, the pros' pass (2026-10-23, Ric: "do all 11") ── */
/* panels are mostly map: their controls are a sheet behind the Layers button, at any size */
body[data-panel] .mapctl{display:none}
body[data-panel] .workspace .radar{margin:0 -6px}
body[data-panel] .layersbtn{display:inline-flex;align-items:center;gap:6px;position:absolute;left:6px;top:6px;z-index:8;min-height:30px;padding:0 10px;border-radius:3px;border:1px solid var(--accent-edge);background:rgba(7,9,12,.9);color:var(--accent);font:600 12px var(--mono)}
body[data-panel] #radarcard.ctl-open .mapctl{display:block;position:fixed;left:0;right:0;top:0;z-index:50;max-height:86vh;overflow:auto;padding:10px 12px;background:#0b0f15;border-bottom:1px solid #2a3340;box-shadow:0 14px 34px rgba(0,0,0,.6)}
body[data-panel] #radarcard.ctl-open .mapctl .seg.rowscroll,body[data-panel] #radarcard.ctl-open .mapctl .kinds{flex-wrap:wrap;overflow:visible;-webkit-mask-image:none;mask-image:none;padding-right:0}
body[data-panel] #radarcard.ctl-open .mapctl .ovpanel{position:static;width:auto;max-height:none;box-shadow:none;margin-top:8px}
body[data-panel] .sheetdone{display:block;width:100%;min-height:36px;margin-top:8px;border:0;border-radius:3px;background:var(--accent);color:var(--on-accent);font:600 13px var(--mono)}
body[data-panel] .radarbar{margin-top:4px}
body[data-panel] .radarbar .play{width:34px;height:34px}
body[data-panel] .loopset,body[data-panel] .legend{font-size:11px}
@media (pointer:coarse){ body[data-panel] .layersbtn{min-height:44px} }

/* side by side: every map in one grid filling the screen; the readouts below */
@media (min-width:1001px){
  .workspace.ws-grid{grid-template-columns:minmax(0,1fr)}
  .workspace.ws-grid .mapcol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;position:static}
  .workspace.ws-grid .panels{display:contents}
  .workspace.ws-grid #radarcard,.workspace.ws-grid .mpanel{grid-column:auto}
  .workspace.ws-grid[data-maps="2"] .mapcol{--cell:calc(100vh - var(--maptop, 130px) - 10px)}
  .workspace.ws-grid:not([data-maps="2"]) .mapcol{--cell:calc((100vh - var(--maptop, 130px) - 20px) / 2)}
  body[data-view="pro"] .workspace.ws-grid #radarcard:not(.mapfull):not(:has(.xsec:not([hidden]))){height:var(--cell);min-height:300px}
  .workspace.ws-grid .mpanel{display:flex;flex-direction:column;height:var(--cell);min-height:300px;margin:0}
  .workspace.ws-grid .mpanel iframe{flex:1 1 0;height:auto;min-height:0}
  .workspace.ws-grid[data-maps="3"] #radarcard{grid-row:span 2;height:calc(2 * var(--cell) + 10px)!important}
  .workspace.ws-grid .side.grid{grid-template-columns:repeat(auto-fill,minmax(380px,1fr))}
  /* side by side, the main map is map-first too: its controls behind its Layers button */
  .workspace.ws-grid #radarcard{position:relative}
  .workspace.ws-grid #radarcard>h2{margin-bottom:4px}
  .workspace.ws-grid #radarcard .mapctl{display:none}
  .workspace.ws-grid #radarcard.ctl-open .mapctl{display:block;position:absolute;left:8px;top:38px;z-index:30;width:min(680px,calc(100% - 16px));max-height:calc(100% - 46px);overflow:auto;padding:10px 12px;background:#0b0f15;border:1px solid #2a3340;border-radius:4px;box-shadow:0 14px 34px rgba(0,0,0,.6)}
  .workspace.ws-grid #radarcard.ctl-open .mapctl .ovpanel{position:static;width:auto;max-height:none;box-shadow:none;margin-top:8px}
  .workspace.ws-grid #radarcard .sheetdone{display:block;width:100%;min-height:36px;margin-top:8px;border:0;border-radius:3px;background:var(--accent);color:var(--on-accent);font:600 13px var(--mono)}
  .workspace.ws-grid #radarcard .layersbtn{display:inline-flex;align-items:center;gap:6px;position:absolute;left:6px;top:6px;z-index:8;min-height:30px;padding:0 10px;border-radius:3px;border:1px solid var(--accent-edge);background:rgba(7,9,12,.9);color:var(--accent);font:600 12px var(--mono)}
  .workspace.ws-grid #radarcard .mainst{left:auto;right:56px;max-width:calc(100% - 200px)}
}
#wslayout[aria-pressed="true"]{border-color:var(--accent-edge);color:var(--accent)}

/* the colour key on the map, on a desk; the readout sits above it */
.radar>.legend{position:absolute;left:10px;bottom:22px;z-index:6;width:min(380px,calc(100% - 140px));margin:0;padding:5px 9px;border-radius:4px;background:rgba(7,9,12,.86);border:1px solid #2a3340;pointer-events:none}
.radar:has(>.legend) .read{bottom:68px}
.radar .read b{color:var(--accent);font-weight:600}
.radar .read.stale{opacity:.55}
/* range rings */
#radarover .ringl{font:600 11px var(--mono);fill:#e6edf3;stroke:#05070a;stroke-width:3px;paint-order:stroke}
/* the loop's own controls */
.radarbar .fcount{flex:none;font:12px var(--mono);color:var(--dim);min-width:3.5em;text-align:right}
.radarbar .fcount:empty{display:none}
/* the loop's speed and rest, folded behind one button that says the speed (declutter, 2026-10-24) */
.loopset{position:relative;flex:none}
.loopset>summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 8px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono);cursor:pointer;list-style:none}
.loopset>summary::-webkit-details-marker{display:none}
.loopset>summary::after{content:"▾";color:var(--dim);font-size:11px}
.loopset[open]>summary{border-color:var(--accent-edge,#2d6a99)}
.loopset .loopbox{position:absolute;right:0;bottom:calc(100% + 6px);z-index:30;display:flex;flex-direction:column;gap:8px;padding:10px;min-width:230px;background:#0b0f15;border:1px solid #4a5566}
.loopset .loopbox label{display:flex;justify-content:space-between;align-items:center;gap:10px;white-space:nowrap;font:12px var(--mono);color:var(--dim)}
.loopset select{min-height:32px;padding:0 4px;border-radius:3px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
@media (pointer:coarse){ .loopset>summary,.loopset select{min-height:44px} }
@media (max-width:640px){ .loopset,.radarbar .fcount{display:none} }  /* on a phone the slider needs the width; the loop runs at the speed last set on a wider screen */
/* opacity and the base map, in the overlays menu */
.ovrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:8px}
.opick{display:inline-flex;align-items:center;gap:6px}
.opick input{width:120px;accent-color:var(--accent)}
.opick .num{font:12px var(--mono);color:var(--dim);min-width:3em}
.radar[data-base="dark"] .base img{filter:grayscale(1) invert(1) brightness(.6) contrast(.95)}
.radar[data-base="light"] .base img{filter:grayscale(.35) brightness(.92)}
/* the single radar's products and its picker and tilts on one line where they fit */
@media (min-width:1001px){
  body[data-view="pro"] .siterow{flex-wrap:nowrap;gap:6px 10px}
  body[data-view="pro"] .siterow>.seg{flex:0 1 auto;min-width:0}
  body[data-view="pro"] .siterow .seg button{padding-left:8px;padding-right:8px}
  body[data-view="pro"] .siterow .sitepick select{max-width:150px}
  body[data-view="pro"] .siterow .tiltbtns{white-space:nowrap}
}
.utcchip[aria-pressed="true"]{border-color:var(--accent-edge);color:var(--accent)}

/* the tropics: a forecast point's letter (H, S, D…) and its time */
#radarover .trl{font:700 10px var(--mono);fill:#05070a}
#radarover .trw{font:600 11px var(--mono);fill:#e6edf3;stroke:#05070a;stroke-width:3px;paint-order:stroke}

/* ── Weather Pro is a map app (2026-10-23, Ric: "The map needs to cover the
   whole page … they all have the map covering the entire screen"). The map
   fills the window under the site's bar and one slim row of place and
   workspace controls; its own tools float on it; the readouts (hero,
   alerts, sounding, models…) are a drawer from the right — docked beside
   the map on a wide screen, over it on a smaller one; storm warnings float
   over the map so they are never off screen. The page itself never scrolls.
   (A panel's frame, body[data-panel], keeps its own rules above.) ── */
body[data-view="pro"]:not([data-panel]){height:100dvh;overflow:hidden}
body[data-view="pro"]:not([data-panel]) .topbar{min-height:44px}
body[data-view="pro"]:not([data-panel]) main{position:fixed;top:var(--tb,44px);left:0;right:0;bottom:0;max-width:none;margin:0;padding:0;overflow:hidden;display:flex;flex-direction:column}
body[data-view="pro"]:not([data-panel]) footer{display:none}
/* the one row above the map: it scrolls sideways rather than wrap */
body[data-view="pro"]:not([data-panel]) .placebar{flex:none;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;gap:6px;padding:5px 8px;background:#05070a;border-bottom:1px solid #1d232c}
body[data-view="pro"]:not([data-panel]) .placebar::-webkit-scrollbar{display:none}
body[data-view="pro"]:not([data-panel]) .placebar>*,body[data-view="pro"]:not([data-panel]) .wsbar>*{flex:none}
body[data-view="pro"]:not([data-panel]) .placebar .chip,body[data-view="pro"]:not([data-panel]) .placebar .backbtn,body[data-view="pro"]:not([data-panel]) .placebar .placebtn,body[data-view="pro"]:not([data-panel]) .wsbar button,body[data-view="pro"]:not([data-panel]) .wsbar select{min-height:32px}
body[data-view="pro"]:not([data-panel]) .wsbar{flex-wrap:nowrap}
body[data-view="pro"]:not([data-panel]) .wsnote{position:fixed;top:calc(var(--tb,44px) + 48px);left:50%;transform:translateX(-50%);z-index:45}
/* storm warnings over the map, at the top, always */
body[data-view="pro"]:not([data-panel]) .stormband{position:absolute;top:calc(48px + var(--mapctlh,0px));left:50%;transform:translateX(-50%);z-index:44;width:min(760px,calc(100% - 140px));pointer-events:none}
body[data-view="pro"]:not([data-panel]) .stormband #storms{pointer-events:auto;max-height:40vh;overflow:auto;margin:0;box-shadow:0 10px 30px rgba(0,0,0,.6)}
/* a warning folded to a bar, and the Fold button on an open one (2026-10-24):
   still red, still on top, the event and its end time always shown */
body[data-view="pro"] .storm{position:relative}
body[data-view="pro"] .storm .stormfold{position:absolute;top:10px;right:10px;min-height:32px;padding:4px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.55);background:rgba(0,0,0,.35);color:#fff;font:600 13px var(--sans);cursor:pointer}
body[data-view="pro"] .storm .stormfold~.kicker{padding-right:76px}
body[data-view="pro"] .storm.folded{padding:0}
body[data-view="pro"] .storm .stormbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;width:100%;min-height:44px;padding:8px 14px;border:0;background:none;color:#fff;font:500 14px var(--sans);text-align:left;cursor:pointer}
body[data-view="pro"] .storm .stormbar b{font-size:15px;font-weight:800}
body[data-view="pro"] .storm .stormbar .show{margin-left:auto;padding:3px 10px;border-radius:999px;background:rgba(0,0,0,.35);font-weight:600;font-size:13px}
body[data-view="pro"] .storm .stormfold:focus-visible,body[data-view="pro"] .storm .stormbar:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* the map and the drawer share what is left */
body[data-view="pro"]:not([data-panel]) .workspace{flex:1 1 auto;min-height:0;position:relative;display:block;margin:0}
body[data-view="pro"]:not([data-panel]) .mapcol{position:absolute;inset:0;right:var(--dock,0px);transition:right .2s}
body[data-view="pro"]:not([data-panel]) .workspace #radarcard:not(.mapfull){position:absolute;inset:0;height:auto!important;min-height:0;display:flex;flex-direction:column;margin:0;padding:0 0 4px;border:0;border-radius:0;background:#05070a}
body[data-view="pro"]:not([data-panel]) .workspace #radarcard:not(.mapfull)>h2{display:none}
body[data-view="pro"]:not([data-panel]) .workspace #radarcard:not(.mapfull) .mapctl{padding:6px 8px 4px}
body[data-view="pro"]:not([data-panel]) .workspace #radarcard:not(.mapfull) .radar{flex:1 1 0;height:auto;min-height:0;margin:0}
body[data-view="pro"]:not([data-panel]) .workspace #radarcard:not(.mapfull) .radarbar{margin:4px 10px 0}
body[data-view="pro"]:not([data-panel]) .workspace #radarcard:not(.mapfull)>.legend{margin:4px 10px 0}
/* the cross-section and the point chart: a sheet over the bottom of the map */
body[data-view="pro"]:not([data-panel]) .workspace #radarcard .xsec:not([hidden]){position:absolute;left:8px;right:8px;bottom:56px;z-index:20;max-height:52%;overflow:auto;margin:0;padding:10px 12px;background:#0b0f15;border:1px solid #2a3340;border-radius:4px;box-shadow:0 -10px 30px rgba(0,0,0,.6)}
/* the readouts drawer */
body[data-view="pro"]:not([data-panel]) .side#cards{position:absolute;top:0;right:0;bottom:0;z-index:40;width:min(440px,100%);margin:0;padding:10px;overflow-y:auto;overscroll-behavior:contain;align-content:start;background:#080b10;border-left:1px solid #2a3340;box-shadow:-14px 0 34px rgba(0,0,0,.55);transform:translateX(105%);transition:transform .2s;visibility:hidden}
body[data-view="pro"].drawer-open:not([data-panel]) .side#cards{transform:none;visibility:visible}
@media (min-width:1200px){ body[data-view="pro"]:not([data-panel]){--dockw:clamp(300px,var(--drawerw,440px),min(900px,calc(100vw - 520px)))} body[data-view="pro"].drawer-open:not([data-panel]){--dock:var(--dockw)} body[data-view="pro"]:not([data-panel]) .side#cards{box-shadow:none} }
@media (prefers-reduced-motion:reduce){ body[data-view="pro"]:not([data-panel]) .side#cards,body[data-view="pro"]:not([data-panel]) .mapcol{transition:none} }
.databtn{display:inline-flex;align-items:center;gap:6px}
.databtn b{min-width:18px;padding:0 5px;border-radius:9px;background:var(--warn,#ff6b6b);color:#160000;font:700 11px/18px var(--mono);text-align:center}
.databtn b:empty{display:none}
body[data-view="pro"].drawer-open .databtn{border-color:var(--accent-edge);color:var(--accent)}
/* maps side by side fill the window too (a stack does not fit a page that does not scroll) */
body[data-view="pro"]:not([data-panel]) .workspace.has-panels .mapcol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:6px;padding:0}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels .panels{display:contents}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels #radarcard:not(.mapfull){position:relative;inset:auto;grid-column:auto}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels[data-maps="3"] #radarcard:not(.mapfull){grid-row:span 2}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels .mpanel{display:flex;flex-direction:column;min-height:0;height:auto;margin:0;padding:4px 6px;border-radius:0}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels .mpanel iframe{flex:1 1 0;height:auto;min-height:0}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels #radarcard .mapctl{display:none}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels #radarcard.ctl-open .mapctl{display:block;position:absolute;left:8px;top:8px;z-index:30;width:min(680px,calc(100% - 16px));max-height:calc(100% - 16px);overflow:auto;padding:10px 12px;background:#0b0f15;border:1px solid #2a3340;border-radius:4px;box-shadow:0 14px 34px rgba(0,0,0,.6)}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels #radarcard .sheetdone{display:block;width:100%;min-height:36px;margin-top:8px;border:0;border-radius:3px;background:var(--accent);color:var(--on-accent);font:600 13px var(--mono)}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels #radarcard .layersbtn{display:inline-flex;align-items:center;gap:6px;position:absolute;left:6px;top:6px;z-index:8;min-height:30px;padding:0 10px;border-radius:3px;border:1px solid var(--accent-edge);background:rgba(7,9,12,.9);color:var(--accent);font:600 12px var(--mono)}
body[data-view="pro"]:not([data-panel]) .workspace.has-panels #radarcard .mainst{left:auto;right:56px;max-width:calc(100% - 200px)}
body[data-view="pro"]:not([data-panel]) #wslayout{display:none}
@media (max-width:760px){ body[data-view="pro"]:not([data-panel]) .workspace.has-panels .mapcol{grid-template-columns:minmax(0,1fr)} body[data-view="pro"]:not([data-panel]) .workspace.has-panels[data-maps="3"] #radarcard:not(.mapfull){grid-row:auto} }
/* a phone shows one map at a time, picked by tabs (workstation.js, tabsRender;
   2026-10-27): every map in the one cell under the tabs, the others hidden
   but still laid out, so none has to be resized or reloaded when picked */
.wstabs{display:none}
@media (max-width:760px){
  body[data-view="pro"]:not([data-panel]) .workspace.has-panels .mapcol{grid-template-rows:auto minmax(0,1fr);grid-auto-rows:0}
  body[data-view="pro"]:not([data-panel]) .workspace.has-panels .wstabs:not([hidden]){display:flex;grid-row:1;grid-column:1;gap:4px;padding:4px 6px 0;overflow-x:auto;scrollbar-width:none}
  .wstabs button{flex:1 0 auto;min-height:44px;padding:0 14px;border:1px solid var(--edge);border-bottom:0;border-radius:4px 4px 0 0;background:#0a0d12;color:var(--dim);font:600 13px var(--mono);letter-spacing:.04em}
  .wstabs button[aria-selected="true"]{background:#121821;color:var(--accent);border-color:var(--accent-edge);box-shadow:inset 0 2px 0 var(--accent)}
  body[data-view="pro"]:not([data-panel]) .workspace.has-panels #radarcard:not(.mapfull),body[data-view="pro"]:not([data-panel]) .workspace.has-panels .mpanel{grid-row:2!important;grid-column:1}
  body[data-view="pro"]:not([data-panel]) .workspace.has-panels #radarcard:not(.wsshown):not(.mapfull),body[data-view="pro"]:not([data-panel]) .workspace.has-panels .mpanel:not(.wsshown){visibility:hidden;pointer-events:none}
}
@media (max-width:640px){ body[data-view="pro"]:not([data-panel]) .workspace .radar{height:auto} }
/* the map's own toolbar floats over the top of the map, as the radar apps do; what sits on the map moves down under it (--ctlh, measured) */
body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull){--ctlh:0px}
body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl{position:absolute;top:0;left:0;right:0;z-index:12;padding:6px 8px 6px;background:linear-gradient(rgba(5,7,10,.94),rgba(5,7,10,.82));border-bottom:1px solid rgba(42,51,64,.7)}
body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .radar .zoom{top:calc(var(--ctlh) + 10px)}
body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .radar .mainst{top:calc(var(--ctlh) + 8px)}
body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .radar .note{top:calc(var(--ctlh) + 38px)}
@media (max-width:640px){ body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl{position:static;background:none;border:0;padding:0} }
/* on a phone the Readouts button (and its count of alerts) leads the row, never scrolled off */
@media (max-width:640px){ body[data-view="pro"]:not([data-panel]) .placebar .databtn{order:-2} body[data-view="pro"]:not([data-panel]) .side#cards{width:100%} }
/* on a phone the workspace controls open as a sheet under the row, not inside it (where they scrolled off the edge) */
@media (max-width:640px){ body[data-view="pro"]:not([data-panel]) .placebar .wsbar.open{position:fixed;top:calc(var(--tb,44px) + 46px);left:8px;right:8px;z-index:46;flex-wrap:wrap;gap:6px;padding:10px;background:#0b0f15;border:1px solid #2a3340;border-radius:4px;box-shadow:0 14px 34px rgba(0,0,0,.6)} }
/* the old side-by-side rule made the column static; in the map app it always keeps its place beside the drawer */
body[data-view="pro"]:not([data-panel]) .workspace .mapcol,body[data-view="pro"]:not([data-panel]) .workspace.ws-grid .mapcol{position:absolute;inset:0 var(--dock,0px) 0 0}

/* ── One bar (2026-10-23, Ric: "cut the stacked bars down so the map gets
   more room and nothing gets clipped at laptop width"). app.js moves the
   place bar into the site's bar (.topbar.hasplace) and the place bar's own
   box goes away (display:contents), so its controls sit in one row with the
   wordmark and the rooms. What used to make that row too long folds:
   the workspace's controls are a menu under one button carrying its name;
   the page's settings (US, °F, Local, ?, refresh) go behind ⋯ under 1200px;
   the room nav is its menu button at every width (same rooms, same labels).
   On a phone the row wraps into two: wordmark, Readouts and rooms, then the
   place and its controls. Without JS nothing moves and the old bars stand. ── */
.pagebox{display:contents}
.pagemore{display:none}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace{gap:6px;padding:0 8px;flex-wrap:wrap;row-gap:0}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar{display:contents}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .brand{margin-right:4px}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .spacer{flex:1 1 0;min-width:0}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebtn{flex:0 1 auto;min-width:96px;max-width:280px}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .backbtn{display:inline-flex;align-items:center;gap:.5ch;min-height:32px;padding:0 10px;white-space:nowrap;text-decoration:none}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace>.navwrap{flex:none}
/* it may say what a Compare compares as well as the time: it takes only the room left (a basis of 0, so it can never wrap the bar) and ends in … (the whole is its tooltip) */
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .wsclock{white-space:nowrap;font-size:12px;flex:6 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis}
/* the workspace button: its name, and a menu under it */
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .wstoggle{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:240px;padding:0 10px;white-space:nowrap}
.wstoggle #wsname{overflow:hidden;text-overflow:ellipsis}
.wstoggle .caret{color:var(--dim);font-size:11px}
.wstoggle .seglab{color:var(--dim)}
body[data-view="pro"] .wstoggle[aria-expanded="true"],body[data-view="pro"] .pagemore[aria-expanded="true"]{border-color:var(--accent-edge);color:var(--accent)}
@media (max-width:1399px){ body[data-view="pro"] .wstoggle .seglab{display:none} }
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wsbar{display:none;position:fixed;left:var(--popx,8px);top:var(--popy,52px);z-index:60;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:6px;width:max-content;min-width:220px;max-width:calc(100vw - 16px);margin:0;padding:10px;background:#0b0f15;border:1px solid #2a3340;border-radius:4px;box-shadow:0 14px 34px rgba(0,0,0,.6)}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wsbar.open{display:flex}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wsbar button{text-align:left;padding:0 10px}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wsbar select{max-width:none;width:100%}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wsname{display:flex;flex-direction:column;align-items:stretch;gap:4px}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wsname .seglab,body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wssync>.seglab{display:inline}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wssync{padding-top:4px;border-top:1px solid #1d232c}
/* the page's settings: a small menu under ⋯ at every width (2026-10-25, Ric:
   "still feels kinda crowded" — six chips in the bar for things set once) */
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .pagemore{display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .pagebox{display:none;position:fixed;right:var(--popr,8px);top:var(--popy,52px);z-index:60;flex-wrap:wrap;gap:6px;max-width:calc(100vw - 16px);padding:8px;background:#0b0f15;border:1px solid #2a3340;border-radius:4px;box-shadow:0 14px 34px rgba(0,0,0,.6)}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .pagebox.open{display:flex}
/* the rooms: the menu button at every width in Pro, same rooms inside */
body[data-view="pro"]:not([data-panel]) .roomnav-toggle{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 10px;border-radius:4px;background:#121821;border:1px solid var(--edge);font:13px var(--mono);color:#e3e9f0}
body[data-view="pro"]:not([data-panel]) .roomnav-toggle-bars{position:relative;width:15px;height:11px;border-top:2px solid currentColor;border-bottom:2px solid currentColor}
body[data-view="pro"]:not([data-panel]) .roomnav-toggle-bars::after{content:"";position:absolute;inset:calc(50% - 1px) 0 auto;border-top:2px solid currentColor}
body[data-view="pro"]:not([data-panel]) .roomnav-toggle[aria-expanded="true"]{border-color:var(--accent-edge);color:var(--accent)}
body[data-view="pro"]:not([data-panel]) nav.glass[data-roomnav]{display:none}
body[data-view="pro"]:not([data-panel]) nav.glass[data-roomnav].roomnav-open{display:flex;flex-direction:column;position:absolute;top:calc(100% + 6px);right:0;z-index:60;min-width:220px;padding:6px;border-radius:4px;background:#0b0f15;border:1px solid #2a3340;box-shadow:0 14px 34px rgba(0,0,0,.6)}
body[data-view="pro"]:not([data-panel]) nav.glass[data-roomnav].roomnav-open a,body[data-view="pro"]:not([data-panel]) nav.glass[data-roomnav].roomnav-open .here{min-height:44px;padding:0 16px}
/* what floated under the old second bar moves up to the map's own top */
body[data-view="pro"]:not([data-panel]) .stormband{top:calc(8px + var(--mapctlh,0px))}
body[data-view="pro"]:not([data-panel]) .wsnote{top:calc(var(--tb,44px) + 8px)}
/* a laptop: the wordmark goes to its star, the rooms button to its bars */
@media (max-width:999px) and (min-width:641px){
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .brand .t{display:none}
}
/* the rooms button is its bars at every width: its label said "weather" a few buttons from "← Weather" (declutter, 2026-10-24); a screen reader still hears it */
body[data-view="pro"]:not([data-panel]) .roomnav-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* a phone: two rows — the wordmark, Readouts and the rooms; then the place and its controls */
@media (max-width:640px){
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace{padding:0 8px 6px}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .brand{order:0;margin-right:auto;min-height:44px}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .databtn{order:1}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace>.navwrap{order:2}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .spacer{order:3;flex:1 0 100%;height:0}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebtn{order:4;flex:1 1 auto;max-width:none}
  /* the back arrow leads the first row, beside the wordmark — where a back arrow is looked for; alone in the second row, between the place and the workspace, it read as nothing (2026-10-24) */
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .backbtn{order:-1;min-width:44px;justify-content:center;padding:0}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .wstoggle{order:6;flex:0 1 auto;max-width:150px}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .pagemore{order:7}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .wsclock,body[data-view="pro"]:not([data-panel]) .topbar.hasplace #wslive{order:8}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .backbtn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebar .wsbar{left:8px;right:8px;width:auto}
}
/* the bar's controls are 32px for a mouse; a finger still gets 44px: the bar is a row taller on a phone, which is the price */
@media (pointer:coarse){ body[data-view="pro"]:not([data-panel]) .placebar .chip,body[data-view="pro"]:not([data-panel]) .placebar .backbtn,body[data-view="pro"]:not([data-panel]) .placebar .placebtn,body[data-view="pro"]:not([data-panel]) .wsbar button,body[data-view="pro"]:not([data-panel]) .wsbar select,body[data-view="pro"]:not([data-panel]) .topbar.hasplace .backbtn,body[data-view="pro"]:not([data-panel]) .roomnav-toggle{min-height:44px} }
/* the map's toolbar on one line at laptop width: Find's ⌃K hint (still in its title and the ? sheet) gives way below 1100px */
@media (max-width:1099px){ body[data-view="pro"] .maptools .findbtn kbd{display:none} }

/* ══ Weather Pro, squared: an instrument to use (2026-10-23, Ric: "make all
   the edges squared … with the idea that this is an instrument to use").
   Every corner in Pro is square — controls, panels, menus, sheets, the map's
   buttons, chart bars and map tags — except the data's own symbols (an
   airport is still a round dot: that is meaning, not styling). Nothing
   floats on a soft shadow or a gradient: panels are flat, edged in hairlines,
   and the menus are told apart by a brighter edge. Controls read like a
   panel's switches: monospaced capitals; a mode selector is one joined
   strip whose lit segment is the accent; checkboxes and sliders are square;
   numbers keep their width as they change. ══ */
body[data-view="pro"],body[data-view="pro"] *,body[data-view="pro"] *::before,body[data-view="pro"] *::after{border-radius:0!important}
body[data-view="pro"] svg rect{rx:0;ry:0}
body[data-view="pro"] *{box-shadow:none!important;text-shadow:none}
body[data-view="pro"]{font-variant-numeric:tabular-nums}
/* flat: the map's toolbar is a solid strip, ruled off from the map */
body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl{background:#05070a;border-bottom:1px solid #2a3340}
/* menus, sheets and popovers: a brighter edge instead of a shadow */
body[data-view="pro"] .ovpanel,body[data-view="pro"] .wsbar.open,body[data-view="pro"] .pagebox.open,body[data-view="pro"] nav.glass.roomnav-open,body[data-view="pro"] dialog.sheet,body[data-view="pro"] .wsnote,body[data-view="pro"] .pin,body[data-view="pro"] #radarcard.ctl-open .mapctl,body[data-view="pro"] .xsec:not([hidden]){border-color:#4a5566!important}
body[data-view="pro"] dialog.sheet::backdrop{background:rgba(0,0,0,.6)}
/* switches: monospaced. Capitals only on the kinds of map — the one strip read first, and the
   only thing that changes what the map is; everything else in ordinary case. All in capitals,
   the top of the page read as three bands of identical buttons (declutter, 2026-10-24: 26 of
   the first screen's 47 controls were capitals) */
body[data-view="pro"] .seg button,body[data-view="pro"] .toolbtn,body[data-view="pro"] .chip,body[data-view="pro"] .backbtn,body[data-view="pro"] .wsbar button,body[data-view="pro"] .roomnav-toggle,body[data-view="pro"] .sheet h2 button,body[data-view="pro"] .replaybar .go,body[data-view="pro"] .pin .pgo,body[data-view="pro"] .hero .go{font-family:var(--mono)}
body[data-view="pro"] .maptools .kinds button{text-transform:uppercase;letter-spacing:.04em}
body[data-view="pro"] .placebtn,body[data-view="pro"] .wstoggle #wsname{text-transform:none;letter-spacing:0}
body[data-view="pro"] .seg button:hover,body[data-view="pro"] .toolbtn:hover,body[data-view="pro"] .chip:hover,body[data-view="pro"] .wsbar button:hover,body[data-view="pro"] .radar .zoom button:hover{border-color:#5a6678}
/* a mode selector is one joined strip; the lit segment sits on top of its neighbours' edges */
body[data-view="pro"] .maptools .kinds,body[data-view="pro"] .siterow .seg.rowscroll{gap:0}
body[data-view="pro"] .maptools .kinds>button+button,body[data-view="pro"] .siterow .seg.rowscroll>button+button{margin-left:-1px}
body[data-view="pro"] .seg button[aria-pressed="true"]{position:relative;z-index:1}
/* the map's buttons: one joined column */
body[data-view="pro"] .radar .zoom{gap:0}
body[data-view="pro"] .radar .zoom>*+*{margin-top:-1px}
body[data-view="pro"] .radar .zoom button{background:#0b0e13;border-color:#2a3340}
@media (pointer:fine){ body[data-view="pro"] .radar .zoom button{width:36px;height:36px;font-size:18px} }
/* sliders: a hairline track and a square accent cursor */
body[data-view="pro"] input[type="range"]{-webkit-appearance:none;appearance:none;height:20px;background:transparent;cursor:pointer}
body[data-view="pro"] input[type="range"]::-webkit-slider-runnable-track{height:4px;background:#2a3340;border:0}
body[data-view="pro"] input[type="range"]::-moz-range-track{height:4px;background:#2a3340;border:0}
body[data-view="pro"] input[type="range"]::-moz-range-progress{height:4px;background:var(--accent-edge)}
body[data-view="pro"] input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:10px;height:20px;margin-top:-8px;background:var(--accent);border:1px solid var(--on-accent)}
body[data-view="pro"] input[type="range"]::-moz-range-thumb{width:10px;height:20px;background:var(--accent);border:1px solid var(--on-accent)}
body[data-view="pro"] input[type="range"]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* checkboxes: a square that lights */
body[data-view="pro"] input[type="checkbox"]{-webkit-appearance:none;appearance:none;flex:none;display:inline-grid;place-content:center;width:15px;height:15px;margin:0;background:#0b0f15;border:1.5px solid #6b7686;cursor:pointer}
body[data-view="pro"] input[type="checkbox"]:checked{background:var(--accent);border-color:var(--accent)}
body[data-view="pro"] input[type="checkbox"]:checked::after{content:"";width:8px;height:4px;margin-top:-2px;border:2px solid var(--on-accent);border-top:0;border-right:0;transform:rotate(-45deg)}
body[data-view="pro"] input[type="checkbox"]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* selects: square, with a drawn caret (the system's own is rounded on a Mac) */
body[data-view="pro"] select{-webkit-appearance:none;appearance:none;padding-right:26px;background:#121821 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%239eabba'/%3E%3C/svg%3E") right 9px center/10px 6px no-repeat;border:1px solid var(--edge);color:#e3e9f0;font-family:var(--mono)}
body[data-view="pro"] select:hover{border-color:#5a6678}
/* the readouts drawer is a rack: panels flush, one hairline between them */
body[data-view="pro"]:not([data-panel]) .side#cards{gap:0;padding:0}
body[data-view="pro"]:not([data-panel]) .side#cards>*{margin:0;border-width:0 0 1px;border-style:solid;border-color:var(--edge);background:#0b0e13}
body[data-view="pro"]:not([data-panel]) .side#cards>.card.bare:empty,body[data-view="pro"]:not([data-panel]) .side#cards>[hidden]{display:none}
/* a narrow phone: the place gives up its width first, so its row stays one row */
@media (max-width:640px){ body[data-view="pro"]:not([data-panel]) .topbar.hasplace .placebtn{flex:1 1 0} }
/* on a phone the joined strip of kinds is a 3 × 2 block, not a strip that wraps one button over */
@media (max-width:640px){
  body[data-view="pro"] .maptools .kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;padding:0 0 1px 1px}
  body[data-view="pro"] .maptools .kinds>button,body[data-view="pro"] .maptools .kinds>button+button{margin:0 0 -1px -1px}
}
/* the Overlays panel opens leftward from its button on a wide screen, so it stays over the map and never under the docked drawer */
@media (min-width:1001px){ body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) .maptools .ovpanel{left:auto;right:0} }
/* a town named once (2026-10-23): while the map's own lines and town names
   are drawn (.haslines), Pro sinks the tiles' labels — contrast squeezed
   first, then darkened, so roads and counties stay faint and the tiles'
   names all but vanish under ours. With Map lines off, the tiles keep theirs. */
body[data-view="pro"] .radar.haslines .base img{filter:grayscale(1) invert(1) contrast(.42) brightness(.5)}
body[data-view="pro"] .radar.haslines[data-base="dark"] .base img{filter:grayscale(1) invert(1) contrast(.32) brightness(.36)}
body[data-view="pro"] .radar.haslines[data-base="light"] .base img{filter:grayscale(.6) contrast(.45) brightness(1.18)}
/* the phone (2026-10-23): the map's controls rise from the bottom of the
   screen as a sheet, as they were meant to — the map-app rule that keeps the
   toolbar in flow on a phone had been winning over the sheet's — and the map's
   stamp takes two lines rather than cutting off its time */
@media (max-width:640px){
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull).ctl-open .mapctl{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:50;max-height:74vh;overflow:auto;padding:14px 16px calc(14px + env(safe-area-inset-bottom));background:#0b0f15;border:0;border-top:1px solid #4a5566}
  body[data-view="pro"] .radar .mainst{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35}
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .radar .note{top:calc(var(--ctlh) + 56px)}
}
/* a card's heading and its source (2026-10-23): when both do not fit on one
   line the source drops to its own, rather than both wrapping into each
   other; the source is grey, so the accent heading reads first */
body[data-view="pro"] .card h2{flex-wrap:wrap;row-gap:2px}
body[data-view="pro"] .card h2 .src{flex:0 1 auto;min-width:0;color:var(--dim);font-family:var(--mono);font-size:11.5px;letter-spacing:0;text-align:right}
/* the same for the folding cards' headings: the title on one line, its description under it when there is no room */
body[data-view="pro"] #sky summary,body[data-view="pro"] #models summary{flex-wrap:wrap;row-gap:2px}
body[data-view="pro"] #sky summary b,body[data-view="pro"] #models summary b{white-space:nowrap}
body[data-view="pro"] #sky summary .lead,body[data-view="pro"] #models summary .lead{flex:1 1 180px;min-width:0}

/* ── The legend (UI-REVIEW B1, 2026-10-23): in the stamp's place, one line a
   layer — the data first, then each overlay with its source and age. Each
   line is a switch: greyed and struck through when off, amber when late. ── */
.radar .maplegend{display:flex;flex-direction:column;align-items:stretch;padding:2px 0;white-space:normal;pointer-events:auto;overflow:visible;max-width:min(560px,calc(100% - 72px))}
.radar .maplegend:has(#mainstamp:empty){display:none}
.maplegend .lgrow{display:flex;align-items:center;gap:7px;width:100%;min-height:22px;margin:0;padding:1px 8px;border:0;background:none;color:#e3e9f0;font:12px var(--mono);text-align:left;cursor:pointer;white-space:nowrap}
.maplegend .lgrow>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.maplegend .lgrow em{font-style:normal;color:var(--dim)}
.maplegend .lgrow:hover{background:#141a22}
.maplegend .lgrow:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.maplegend .lgsw{flex:none;width:9px;height:9px;background:var(--accent)}
.maplegend .lgrow[aria-pressed="false"]{color:var(--faint)}
.maplegend .lgrow[aria-pressed="false"]>span{text-decoration:line-through}
.maplegend .lgrow[aria-pressed="false"] .lgsw{background:transparent!important;outline:1px solid #6b7686;outline-offset:-1px}
.maplegend .lgrow.stale,.maplegend .lgrow.stale em{color:var(--late)}
.maplegend .lgrows:empty{display:none}
.maplegend .lgrows{border-top:1px solid #1d232c;margin-top:2px;padding-top:2px}
.radar.datahide #radarframes{visibility:hidden}
/* a phone keeps the data line only (the overlays are a tap away in the sheet), on two lines */
@media (max-width:640px){
  .maplegend .lgrows{display:none}
  body[data-view="pro"] .radar .maplegend{display:flex;-webkit-line-clamp:unset}
  .maplegend .lgbase{white-space:normal;align-items:flex-start}
  .maplegend .lgbase .lgsw{margin-top:4px}
  .maplegend .lgbase>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35}
  .maplegend .pstsrc{display:none}
  /* Pro's credits on a phone: one line beside the Layers button, clear of
     the time bubble that rises out of the scrubber below; a tap opens the
     whole line (they wrapped to two lines under both — audit, 2026-10-27) */
  body[data-view="pro"] .radar .credit{left:154px;bottom:12px;border-radius:8px 0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
  body[data-view="pro"] .radar .credit.open{white-space:normal;left:8px;bottom:72px;border-radius:8px 0 0 8px}
}

/* ── The timeline (UI-REVIEW B2, 2026-10-23): the slider with a tick a frame
   (filled loaded, hollow loading, red failed, the accent the one on screen), times
   under it, and the frame's own time on the cursor. The ticks sit on the
   thumb's centres: inset by half the 10 px thumb. ── */
.scrubwrap{position:relative;flex:1;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start}
.scrubwrap input{width:100%;flex:none}
body[data-view="pro"] .scrubwrap{min-height:48px}
body[data-view="pro"] .scrubwrap input[type="range"]{margin-top:4px}
.scrubwrap .scrubticks{position:relative;height:18px;margin:0 5px}
.scrubwrap .tk{position:absolute;top:0;width:5px;height:6px;margin-left:-2.5px;background:#6b7686}
.scrubwrap .tk.wait,.scrubwrap .tk.idle{background:transparent;outline:1px solid #6b7686;outline-offset:-1px}
.scrubwrap .tk.idle{opacity:.5}
.scrubwrap .tk.err{background:#ff6b6b}
.scrubwrap .tk.cur{background:var(--accent);outline:0;height:8px}
.scrubwrap .tlab{position:absolute;top:7px;transform:translateX(-50%);font:500 11px var(--mono);color:var(--dim);white-space:nowrap;pointer-events:none}
.scrubwrap .tlab:first-of-type{transform:none}
.scrubwrap .scrubtip{position:absolute;bottom:calc(100% - 2px);transform:translateX(-50%);margin-left:0;padding:1px 6px;background:var(--accent);color:var(--on-accent);font:600 11px var(--mono);white-space:nowrap;pointer-events:none;z-index:3}
.scrubwrap .scrubtip:empty{display:none}
/* the frame counter said "3/19"; the ticks say it better */
body[data-view="pro"] .radarbar .fcount{display:none}
/* Weather keeps its plain slider */
body:not([data-view="pro"]) .scrubwrap .scrubticks,body:not([data-view="pro"]) .scrubwrap .scrubtip{display:none}
.scrubwrap .tlab:last-of-type:not(:first-of-type){transform:translateX(-100%)}
/* the map's notices sit at its foot, above the colour key, so they never cover the legend at its head */
body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .radar .note,body[data-view="pro"] .radar .note{top:auto;bottom:62px}
/* Compare and Trend (UI-REVIEW B3): a joined pair at the end of the model row */
.mmline{display:inline-flex}
.mmline button{min-height:34px;padding:0 10px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:600 12px var(--mono);letter-spacing:.04em;cursor:pointer}
.mmline button+button{margin-left:-1px}
.mmline button:hover{border-color:#5a6678;position:relative}
@media (pointer:coarse){ .mmline button{min-height:44px} }

/* ── The drawer's index (UI-REVIEW B4, 2026-10-23): a joined strip of tabs
   pinned to the drawer's top; the card at the top is lit; the place's own
   alerts are red. It scrolls sideways when the drawer is narrow. ── */
.cardtabs{display:none}
body[data-view="pro"]:not([data-panel]) .side#cards>.cardtabs:not([hidden]){display:flex;position:sticky;top:0;z-index:5;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;min-height:43px;align-items:center;margin:0;padding:6px 8px;gap:0;background:#05070a!important;border-bottom:1px solid #2a3340}
.cardtabs::-webkit-scrollbar{display:none}
.cardtabs button{flex:none;min-height:30px;padding:0 9px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:600 11px var(--mono);letter-spacing:.06em;cursor:pointer}
.cardtabs button+button{margin-left:-1px}
.cardtabs button:hover{border-color:#5a6678;position:relative}
.cardtabs button[aria-current="true"]{background:var(--accent);color:var(--on-accent);border-color:var(--accent);position:relative;z-index:1}
.cardtabs button.warn{color:#ff8787}
.cardtabs button.warn[aria-current="true"]{background:#ff6b6b;border-color:#ff6b6b;color:#1a0000}
@media (pointer:coarse){ .cardtabs button{min-height:40px} }

/* ── The sounding, large: a panel over the map (never over the drawer it
   came from when that is docked, and under the storm warnings) ── */
.skypop{display:none}
body[data-view="pro"]:not([data-panel]) .skypop{display:inline-flex;align-items:center;position:absolute;top:12px;right:44px;z-index:2;min-height:28px;padding:0 9px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:600 11px var(--mono);letter-spacing:.06em;cursor:pointer}
body[data-view="pro"] .skypop:hover{border-color:#5a6678}
body[data-view="pro"] #sky{position:relative}
body[data-view="pro"] #sky summary .lead{padding-right:60px}
.skyout[hidden]{display:none}
body[data-view="pro"]:not([data-panel]) .skyout{position:fixed;top:var(--tb,44px);left:0;right:var(--dock,0px);bottom:0;z-index:43;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 24px;background:#080b10;border-right:1px solid #2a3340}
.skyouthead{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:12px;margin:0 -16px 8px;padding:8px 16px;background:#05070a;border-bottom:1px solid #2a3340}
.skyouthead b{font:600 12px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.skyouthead button{margin-left:auto;min-height:32px;padding:0 12px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:600 12px var(--mono);letter-spacing:.04em;cursor:pointer}
.skyouthead button:hover{border-color:#5a6678}
/* in the panel the card is the page: no card chrome, its own heading and button not needed */
.skyout #sky{max-width:1400px;margin:0 auto;padding:0;border:0!important;background:none!important}
.skyout #sky>.skypop,.skyout #skyd>summary{display:none!important}
.skyout .skyrow{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.skyout #skydyn .params{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
@media (max-width:760px){ .skyout .skyrow{grid-template-columns:minmax(0,1fr)} }
@media (pointer:coarse){ body[data-view="pro"]:not([data-panel]) .side#cards>.cardtabs:not([hidden]){min-height:53px} }
.skyouthead b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.skyouthead button{flex:none;white-space:nowrap}
@media (max-width:640px){ .skyouthead .wide{display:none} }

/* ── The mode's controls in the toolbar (UI-REVIEW B5, 2026-10-23): on a wide
   single map the model, satellite, MRMS and single-radar rows are no longer
   boxed bars of their own under the toolbar — they flow on from it in the same
   strip, set off by a hairline, sharing its row when the map is wide enough
   and wrapping to one more when not. Their info line ("HRRR run 01Z · 19 hours
   out so far") is said in the legend instead (#lgnote), unless it holds a
   button. The replay's form and Info's words still take the full width. A
   phone's sheet and the maps side by side keep their own layout. ── */
@media (min-width:1001px){
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl>.maptools{margin:0;flex:0 1 auto}
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl>.modelbar:not([hidden]),
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl>.siterow:not([hidden]){flex:0 1 auto;margin:0;padding:0 0 0 10px;border:0;border-left:1px solid #2a3340;background:none;min-height:34px}
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl>.modelbar label{gap:6px;color:var(--dim)}
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl>.modelbar select{min-height:32px;max-width:220px}
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl .mmrun:not(:has(button)){display:none}
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl>.replaybar:not([hidden]),
  body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl>.sitebar.open{flex:1 1 100%;margin:0}
}
.maplegend .lgnote{margin:0;padding:0 8px 2px 24px;font:11.5px var(--mono);color:var(--dim);white-space:normal;pointer-events:none}
.maplegend .lgnote[hidden]{display:none}
@media (max-width:1000px){ .maplegend .lgnote{display:none} }
@media (min-width:1001px){ body[data-view="pro"]:not([data-panel]) .workspace:not(.has-panels) #radarcard:not(.mapfull) .mapctl .siterow .sitepick select{min-width:178px} }
/* the timeline's hover preview (B9): the frame under the pointer, said in grey until you step to it */
.scrubwrap .scrubtip.peek{background:#e3e9f0;color:#05070a}

/* ── Zoom that feels like a map (UI-REVIEW-2 item 1, 2026-10-24): the frames'
   holder is a full-size box so it scales with the rest during a gesture, and
   the ghost — a still copy of the map laid over it while the next zoom level
   loads — sits above the data and under every control. ── */
.radar .frameslayer{position:absolute;inset:0;pointer-events:none}
.radar .zghost{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.radar .zghost>*{will-change:transform}

/* ── Active (UI-REVIEW-2 item 3): the Find sheet's list, with a colour bar for what each is ── */
.actlist li{gap:10px}
.actlist .actsw{flex:none;align-self:stretch;width:4px;min-height:28px}
.actlist li em{color:var(--accent)}
.actbtn .ovcount{color:#ff8787}
/* ── The map's own menu (item 4): right-click or a long press ── */
.radar .mapmenu{position:absolute;z-index:30;min-width:240px;padding:4px 0;background:#0b0f15;border:1px solid #4a5566;font:13px var(--mono,ui-monospace,monospace);color:#e3e9f0}
.radar .mapmenu[hidden]{display:none}
.radar .mapmenu .mmhead{margin:0;padding:4px 12px 6px;font-size:11.5px;color:var(--dim);border-bottom:1px solid #1d232c}
.radar .mapmenu button{display:block;width:100%;min-height:32px;padding:0 12px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.radar .mapmenu button:hover,.radar .mapmenu button:focus-visible{background:var(--accent-tint,#0f2537);color:var(--accent,#4dabf7);outline:0}
.radar .mapmenu hr{margin:4px 0;border:0;border-top:1px solid #1d232c}
@media (pointer:coarse){ .radar .mapmenu button{min-height:44px} }
body[data-panel] #actbtn{display:none}
.maplegend .lgload{color:var(--accent)}
@media (max-width:1000px){ .maplegend .lgload{display:block} .maplegend .lgload[hidden]{display:none} }

/* ── Quieter controls (UI-REVIEW-2 item 7, 2026-10-24): a hierarchy, not
   fewer features. The kinds of map keep full weight (the joined strip, the
   one on show filled); the tools — Replay, Overlays, Active, Info, Find —
   are outlined and light up on hover or while in use; the page's own
   settings in the bar (US, units, Local, ?, refresh) are lighter again.
   With a mouse over the data, the legend and the colour key step back to
   half strength, and come straight back when pointed at. ── */
body[data-view="pro"] .maptools .toolbtn{background:transparent;border-color:#232b36;color:#c3cad4}
body[data-view="pro"] .maptools .toolbtn:hover{background:#121821;border-color:#5a6678;color:#e3e9f0}
body[data-view="pro"] .maptools .toolbtn[aria-pressed="true"],body[data-view="pro"] .maptools .toolbtn[aria-expanded="true"]{background:var(--accent-tint);color:var(--accent);border-color:var(--accent-edge)}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .pagebox .chip{border-color:var(--edge);color:#e3e9f0;background:#121821}
body[data-view="pro"]:not([data-panel]) .topbar.hasplace .pagebox .chip:hover{border-color:#5a6678}
#radarcard .maplegend,#radarcard #legend{transition:opacity .25s}
#radarcard.mapfocus .maplegend:not(:hover):not(:focus-within),#radarcard.mapfocus #legend:not(:hover){opacity:.6}
@media (prefers-reduced-motion:reduce){ #radarcard .maplegend,#radarcard #legend{transition:none} }
/* ── The first-visit hint (UI-REVIEW-3 item 3) ── */
.radar .maphint{position:absolute;left:12px;right:12px;bottom:52px;z-index:9;display:flex;align-items:center;gap:10px;width:fit-content;max-width:640px;margin:0 auto;padding:6px 8px 6px 12px;background:#0b0f15;border:1px solid var(--accent-edge,#2d6a99);color:#e3e9f0;font:12px var(--mono,ui-monospace,monospace);transition:opacity .5s}
.radar .maphint>span{flex:1 1 auto;min-width:0;line-height:1.5}
.radar .maphint.going{opacity:0}
/* while the hint is up, a notice at the map's foot sits above it rather than under it */
body[data-view="pro"] .radar:has(> .maphint) .note{bottom:112px !important}  /* !important: the notice's own placing, earlier in this file, carries an id and seven classes */
.radar .maphint kbd{padding:0 4px;border:1px solid #3a4452;font:600 11px var(--mono,ui-monospace,monospace)}
.radar .maphint button{flex:none;min-width:28px;min-height:28px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;cursor:pointer}
@media (pointer:coarse){ .radar .maphint button{min-width:40px;min-height:40px} }
@media (max-width:640px){ .radar .maphint{bottom:84px;font-size:11.5px} body[data-view="pro"] .radar:has(> .maphint) .note{bottom:172px !important} }
/* clutter filtering's line under the data's own (2026-10-24) */
.maplegend .lgbase{flex-wrap:wrap}
.lgbase .lgclut{flex:1 0 100%;padding-left:17px;color:var(--dim);font-size:11px;white-space:normal}
.lgbase .lgclut[hidden]{display:none}
/* Terrain (2026-10-24): shaded relief between the base map and the data */
.radar .layer.terrain canvas{position:absolute;width:256px;height:256px}
.radar .layer.terrain[hidden]{display:none}

/* the radar row's own pickers display as flex, which beat their hidden attribute: Echoes showed on every product (2026-10-24) */
#clutterpick[hidden],#dealiasbtn[hidden],#vwpbtn[hidden]{display:none!important}
/* route weather and your files (2026-10-24) */
.routep .rtctl{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:8px 0;font:12px var(--mono)}
.routep .rtctl label{display:inline-flex;gap:6px;align-items:center;color:var(--dim)}
.routep .rtctl input,.routep .rtctl select,.routep .rtctl button{min-height:32px;padding:0 8px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.routep .rtctl .go{border-color:var(--accent-edge,#2d6a99);color:var(--accent)}
.routep .rtctl button:disabled{opacity:.5;cursor:default}
@media (pointer:coarse){ .routep .rtctl input,.routep .rtctl select,.routep .rtctl button{min-height:44px} }
.routep .rtchart{display:block;width:100%;height:auto;max-height:150px;background:#0c1422;margin:6px 0}
.routep .rttable{max-height:260px;overflow:auto}
.routep table{width:100%;border-collapse:collapse;font:12px var(--mono)}
.routep th{position:sticky;top:0;background:#0b0f15;color:var(--dim);font-weight:600;text-align:left;padding:4px 6px;border-bottom:1px solid #2a3340}
.routep td{padding:4px 6px;border-bottom:1px solid #1d232c;white-space:nowrap}
.routep td.dim,.fileitem .dim{color:var(--dim)}
.fileslist{display:flex;flex-direction:column;gap:4px;margin:4px 0 8px}
.fileitem{display:flex;align-items:center;gap:8px;font:12px var(--mono)}
.fileitem label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fileitem button,.filesrow button{min-height:30px;padding:0 8px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
@media (pointer:coarse){ .fileitem button,.filesrow button{min-height:44px} }
.vwpp .vwpbody{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}
.vwpp .vwpcol{width:240px;height:auto;background:#0c1422}
.vwpp .hodo{width:260px;height:auto}
/* watches (2026-10-24) */
.watchlist{list-style:none;margin:8px 0;padding:0;display:flex;flex-direction:column;gap:6px}
.watchlist li{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:6px 8px;border:1px solid #2a3340;font:13px var(--mono)}
.watchlist li.met{border-color:#ffd43b}
.watchlist li small{grid-column:1;color:var(--dim);font-size:12px}
.watchlist li button{grid-row:1 / span 2;grid-column:2;align-self:center;min-width:32px;min-height:32px;border:1px solid var(--edge);background:#121821;color:#e3e9f0}
.watchlist li.none{display:block;color:var(--dim)}
.watchadd{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font:12px var(--mono)}
.watchadd select,.watchadd input,.watchadd button{min-height:32px;padding:0 6px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.watchadd input{width:5em}
@media (pointer:coarse){ .watchadd select,.watchadd input,.watchadd button,.watchlist li button{min-height:44px} }
#watchbadge:empty{display:none}
#watchbadge{margin-left:4px;color:#ffd43b}
.checksheet h3{margin-top:14px}
.checklist{margin:4px 0 8px;padding-left:18px;font-size:13px;line-height:1.5}
.checklist li{margin:3px 0}
/* colour tables (2026-10-24) */
#cmapedit{min-height:30px;padding:0 8px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.cmapwhich{display:flex;gap:8px;align-items:center;font:12px var(--mono);margin:6px 0}
.cmapwhich select{flex:1;min-width:0;min-height:32px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
#cmapstrip{display:block;width:100%;height:18px;margin:6px 0;border:1px solid #2a3340;background:#0b0f15}
.cmapstops{list-style:none;margin:6px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;max-height:40vh;overflow:auto}
.cmapstops li{display:flex;gap:4px;align-items:center}
.cmapstops input[type=number]{width:6.5em;min-height:32px;padding:0 6px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.cmapstops input[type=color]{width:40px;min-height:32px;padding:0;border:1px solid var(--edge);background:#121821}
.cmapstops button{min-width:32px;min-height:32px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:14px var(--mono);text-decoration:none}
.cmapacts{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.cmapacts button{min-height:32px;padding:0 10px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.cmapacts button.go{border-color:#4dabf7;color:#fff;background:#14324f}
.cmapacts button:disabled{opacity:.5}
@media (pointer:coarse){ #cmapedit,.cmapwhich select,.cmapstops input,.cmapstops button,.cmapacts button{min-height:44px} }
/* satellite recipes (2026-10-24) */
#abibuild{min-height:30px;padding:0 8px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.rchead{display:flex;flex-wrap:wrap;gap:8px 16px;font:12px var(--mono);margin:6px 0}
.rchead label{display:flex;gap:6px;align-items:center;flex:1;min-width:200px}
.rchead select,.rchead input{flex:1;min-width:0;min-height:32px;padding:0 6px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.rcwrap{overflow-x:auto}
.rctable{border-collapse:collapse;font:12px var(--mono);width:100%}
.rctable th{text-align:left;color:var(--dim);font-weight:600;padding:4px}
.rctable td{padding:3px}
.rctable select{max-width:13em;min-height:32px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.rctable input{width:5.5em;min-height:32px;padding:0 4px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.rctable th.rcr{color:#ff8787}.rctable th.rcg{color:#69db7c}.rctable th.rcb{color:#74c0fc}
@media (pointer:coarse){ #abibuild,.rchead select,.rchead input,.rctable select,.rctable input{min-height:44px} }
/* 3D radar (2026-10-24) */
#v3dbtn[hidden]{display:none!important}
dialog.sheet.v3dsheet{width:min(1100px,calc(100vw - 16px));max-height:calc(100vh - 16px)}
.v3dctl{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font:12px var(--mono);margin:6px 0}
.v3dctl label{display:flex;gap:6px;align-items:center}
.v3dctl button{min-height:32px;padding:0 10px;border:1px solid var(--edge);background:#121821;color:#e3e9f0;font:12px var(--mono)}
.v3dbox{position:relative;height:min(62vh,640px);border:1px solid #2a3340;background:#080d14}
.v3dbox canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
#v3dlab{pointer-events:none}
#v3dcv:focus-visible{outline:2px solid #4dabf7;outline-offset:-2px}
@media (pointer:coarse){ .v3dctl button,.v3dctl input{min-height:44px} }
/* the scoreboard's weekly post, late (2026-10-24): said in the room's "late" colour */
.nextnote.late{color:var(--late,#ffb627)}
/* a side map in a Compare or Trend (2026-10-24): one field, one time — the main map's timeline and key serve them all */
body[data-panel].compact .radarbar,body[data-panel].compact #legend{display:none!important}
/* under the workspace menu: what the open preset has, and what it does not (2026-10-24) */
.wspresetnote{flex:1 1 100%;margin:2px 0 0;color:var(--dim);font-size:12px;line-height:1.45;max-width:72ch;white-space:normal}
.wspresetnote[hidden]{display:none}

/* Info and Find are icons in the map's row; a note on the map is tapped away and stays narrow (2026-10-25) */
body[data-view="pro"] .maptools .iconbtn{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:0 8px}
body[data-view="pro"] .radar .note{cursor:pointer;max-width:min(520px,calc(100% - 84px));right:auto}
/* a watch that has gone off still shows with the settings folded: a dot on ⋯ */
body[data-view="pro"] .pagemore{position:relative}
body[data-view="pro"] .pagemore:has(+ .pagebox #watchbadge:not(:empty))::after{content:"";position:absolute;top:4px;right:4px;width:7px;height:7px;background:var(--accent)}
/* the docked drawer's edge can be dragged to size it — unannounced on purpose (2026-10-25, Ric: "just a hidden feature") */
.drawergrip{display:none}
@media (min-width:1200px){
  body[data-view="pro"]:not([data-panel]) .side#cards{width:var(--dockw,440px)}
  body[data-view="pro"].drawer-open:not([data-panel]) .drawergrip{display:block;position:absolute;top:0;bottom:0;right:calc(var(--dock,440px) - 4px);width:8px;z-index:41;cursor:col-resize;touch-action:none}
  body.drawer-sizing,body.drawer-sizing *{cursor:col-resize!important;user-select:none}
  body.drawer-sizing .mapcol,body.drawer-sizing .side#cards{transition:none!important}
}

/* ══ Weather's scene (scene.js, 2026-10-25) ══════════════
   A picture behind the page, or the plain sky, and the weather happening in
   it on one canvas. Fixed to the window, under everything; the cards' frosted
   glass blurs whatever passes behind them. With a photo, a scrim keeps white
   type at 4.5:1 or better over the brightest part of any picture: the hero's
   words carry a shadow, and every card sits on --glass, darkened further below. */
body[data-view="simple"] .topbar,body[data-view="simple"] main,body[data-view="simple"] footer{position:relative;z-index:1}
body[data-view="simple"] .topbar{z-index:30}
.scene{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.scene .photo,.scene .tint,.scene .flash,.scene canvas{position:absolute;inset:0;width:100%;height:100%}
.scene .photo{background:center/cover no-repeat;transition:filter 1.2s ease;transform:scale(1.04)}
.scene .water{transition:filter 1.2s ease}
.scene .photo.flat{opacity:0;transition:filter 1.2s ease,opacity 1.6s ease}
.scene .glphoto{transition:filter 1.2s ease;visibility:hidden}
.scene.gl-on .glphoto{visibility:visible}
/* with the GPU layer drawing the photo (scene.js), the CSS photo underneath is only the fallback */
.scene.gl-on .photo{visibility:hidden}
/* one camera over the photo and the footage: grain that moves, corners that fall off (scene.js) */
.scene .grain{position:absolute;inset:0;pointer-events:none;mix-blend-mode:soft-light;opacity:.28}
.scene .vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 45%,rgba(0,0,0,0) 58%,rgba(0,0,0,.18) 100%)}
/* the real skies' footage plays here unseen; scene.js draws its frames into the sky (iOS decodes only video that is in the page) */
.scene .skyclip{position:absolute;left:0;top:0;width:2px;height:2px;opacity:0;pointer-events:none}
.scene .tint{transition:opacity 1.2s ease}
.scene .flash{background:#e8ecff;opacity:0;mix-blend-mode:screen}
.scene.hasphoto::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(4,10,22,.42) 0,rgba(4,10,22,.12) 32%,rgba(4,10,22,.18) 60%,rgba(4,10,22,.55) 100%)}
body:has(.scene.hasphoto){--glass:rgba(6,14,28,.5);--glass-hi:rgba(6,14,28,.64)}
/* fog, snow and a photo all pass behind the big white words: they carry a shadow on Weather always */
body[data-view="simple"] .hero{text-shadow:0 1px 3px rgba(0,0,0,.4),0 2px 18px rgba(0,0,0,.3)}
body:has(.scene.hasphoto) .hero{text-shadow:0 1px 3px rgba(0,0,0,.55),0 2px 22px rgba(0,0,0,.4)}
@media (prefers-reduced-motion:reduce){.scene .flash{display:none}}

/* ══ the place line: the place, and one button for the rest ══ */
.placebar .setbtn{display:grid;place-items:center;padding:0}
.sheet .usbtn{margin-top:10px;background:none}

/* ══ the settings sheet ══ */
.sheet h3:first-of-type{margin-top:4px}
#settings .in{display:flex;flex-direction:column;gap:2px}
#settings h3{margin-bottom:8px}
.modes{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.modes button{display:grid;grid-template-columns:30px 1fr;gap:2px 10px;align-items:center;text-align:left;padding:12px;min-height:72px;
  border-radius:16px;border:1px solid var(--edge);background:rgba(255,255,255,.06)}
.modes button svg{grid-row:1/3;width:30px;height:30px}
.modes button small{display:block;font-size:12px;color:var(--dim);line-height:1.3}
.modes button[aria-checked="true"]{background:rgba(255,255,255,.16);border-color:#fff;box-shadow:inset 0 0 0 1px #fff}
.scenes{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}
.scenes button{display:flex;flex-direction:column;gap:6px;padding:0;border:0;background:none;text-align:left;border-radius:14px}
.scenes .sw{display:block;aspect-ratio:4/3;border-radius:12px;border:1px solid var(--edge);background:linear-gradient(180deg,#163f73,#2a66a8) center/cover}
.scenes .sn{font-size:13px;font-weight:600;padding-left:2px}
.scenes button[aria-checked="true"] .sw{outline:2px solid #fff;outline-offset:2px}
.setnote{font-size:12px;color:var(--dim);margin-top:8px;min-height:1px}
.setnote a{color:#fff}
.setrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--edge);margin-top:10px}
.setrow+.setrow{margin-top:0}
.setrow>span{font-weight:600}
.setrow>span small{display:block;font-weight:400;font-size:12px;color:var(--dim)}
.switch{flex:none;width:52px;height:32px;border-radius:999px;border:1px solid var(--edge);background:rgba(255,255,255,.14);position:relative;padding:0}
.switch i{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .2s}
.switch[aria-checked="true"]{background:#2f7be0;border-color:#2f7be0}
.switch[aria-checked="true"] i{transform:translateX(20px)}
/* a 32px switch, with a 44px place to tap */
.switch::before{content:"";position:absolute;inset:-6px}
.unitseg{display:flex;padding:3px;border-radius:999px;background:rgba(0,0,0,.3);border:1px solid var(--edge)}
.unitseg button{min-width:54px;min-height:38px;border:0;border-radius:999px;background:none;font-weight:700}
.unitseg button[aria-checked="true"]{background:#fff;color:#0b2342}
#settings #refresh{margin-top:6px}

/* ══ Details: the tiles, folded into one card ══ */
#more>summary{list-style:none;cursor:pointer}
#more>summary::-webkit-details-marker{display:none}
#more>summary h2{margin:0;padding:4px 0;border:0;min-height:36px}
#more>summary h2::after{content:"";width:8px;height:8px;margin-left:10px;border:solid var(--faint);border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px);transition:transform .2s;flex:none}
#more[open]>summary h2{border-bottom:1px solid var(--edge);padding-bottom:9px;margin-bottom:12px}
#more[open]>summary h2::after{transform:rotate(-135deg) translateY(-2px)}
#more>summary .src{text-transform:none;letter-spacing:0;font-size:13px;color:var(--dim)}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tiles .tile{grid-column:1/-1;padding:12px;border-radius:14px;background:rgba(255,255,255,.06);min-width:0}
.tiles .tile.half{grid-column:auto}
.tiles .tile h2{border:0;padding:0;margin-bottom:8px}
@media (min-width:700px){.tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.tiles .tile:not(.half){grid-column:span 2}}

/* the foot: where it comes from, then the words */
footer #sources{text-align:left;margin-bottom:18px}
footer #sources .srcfold summary h2{margin:0;padding:4px 0;border:0}
.srcfold>summary{list-style:none;cursor:pointer}
.srcfold>summary::-webkit-details-marker{display:none}

/* ══ climbing (2026-10-25): measurements only, never a verdict ══ */
.cnow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px}
@media (min-width:700px){.cnow{grid-template-columns:repeat(6,minmax(0,1fr))}}
.cstat{display:flex;flex-direction:column;min-width:0}
.cstat .cl{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
.cstat .cl i{font-style:normal;font-weight:500;letter-spacing:0;text-transform:none}
.cstat b{font-size:clamp(22px,2.4vw,26px);font-weight:500;line-height:1.15;white-space:nowrap}
.cstat b small{font-size:14px}
.cstat>small{font-size:12px;color:var(--dim);line-height:1.3}
.crain{margin-top:14px;padding-top:12px;border-top:1px solid var(--edge)}
.crain>p:first-child{font-size:15px}
.rspans{display:grid;gap:6px;margin-top:10px}
.rspan{display:grid;grid-template-columns:96px 1fr 70px;gap:10px;align-items:center;font-size:13px}
.rspan span{color:var(--dim)}
.rspan i{height:8px;border-radius:4px;background:rgba(0,0,0,.28);overflow:hidden}
.rspan i b{display:block;height:100%;border-radius:4px;background:var(--rain)}
.rspan em{font-style:normal;font-weight:600;text-align:right}
.cdays{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:14px -2px 0;padding:2px;border-top:1px solid var(--edge);padding-top:14px}
.cdays::-webkit-scrollbar{display:none}
.cdays button{flex:none;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--edge);background:rgba(255,255,255,.08);font-weight:600;font-size:14px}
.cdays button[aria-pressed="true"]{background:#fff;color:#0b2342;border-color:#fff}
.cdaysay{font-size:13px;color:var(--dim);margin:10px 0 8px}
.cdaysay b{color:#fff;font-weight:600}
.ctable{overflow-x:auto;margin:0 -16px;padding:0 16px 4px;scrollbar-width:thin}
.ctable table{border-collapse:separate;border-spacing:0;font-size:14px}
.ctable th,.ctable td{padding:6px 4px;text-align:center;white-space:nowrap;min-width:46px}
.ctable thead th{font-size:12px;font-weight:600;color:var(--dim)}
.ctable tbody th{position:sticky;left:-16px;z-index:1;text-align:left;font-size:12px;font-weight:600;padding-left:16px;margin-left:-16px;
  background:rgba(12,24,44,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);min-width:88px}
.ctable tbody th small{font-weight:500;color:var(--dim)}
.ctable thead th:first-child{position:sticky;left:-16px;z-index:1;background:rgba(12,24,44,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.ctable td{font-weight:600}
.ctable td small{display:block;font-size:11px;font-weight:500;color:var(--dim)}
.ctable td.sh{background:rgba(124,196,255,calc(var(--a,0)*.32))}
.ctable td.csky svg{width:26px;height:26px;display:block;margin:auto}
.ctable tbody tr+tr td,.ctable tbody tr+tr th{border-top:1px solid rgba(255,255,255,.07)}
