/* TheLabs News: a broadsheet printed in TheLabs' colours. Night edition (navy paper, cream ink) by default, Day edition
   (grey newsprint, navy ink) on the switch. Teal is reserved for live data; red only for "live" and corrections. */
@font-face { font-family: "Playfair"; src: url(fonts/playfair.woff2?v=1) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair"; src: url(fonts/playfair-italic.woff2?v=1) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif.woff2?v=1) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-italic.woff2?v=1) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(fonts/oswald.woff2?v=1) format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Mono"; src: url(fonts/mono.woff2?v=1) format("woff2"); font-weight: 100 800; font-display: swap; }

:root, :root[data-theme="night"] {
  --paper: #0f2a33; --paper-2: #0b222a; --ink: #eadfb8; --ink-2: #a9a58f; --rule: rgba(234, 223, 184, .26); --rule-2: rgba(234, 223, 184, .55);
  --signal: #4fc6b8; --red: #e0675d; --dot: rgba(11, 34, 42, .42); --grain: .07;
  color-scheme: dark;
}
:root[data-theme="day"] {
  --paper: #e4e2d8; --paper-2: #d8d6cb; --ink: #13262d; --ink-2: #4b585a; --rule: rgba(19, 38, 45, .28); --rule-2: rgba(19, 38, 45, .6);
  --signal: #0f7168; --red: #a8332c; --dot: rgba(228, 226, 216, .5); --grain: .11;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 "Source Serif", Georgia, serif; font-optical-sizing: auto;
  /* newsprint grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  background-blend-mode: soft-light;
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: inherit; opacity: var(--grain); z-index: -1; }
a { color: inherit; text-decoration-color: var(--rule-2); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.mono { font-family: "Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 6px 12px; z-index: 9; }
.skip:focus { left: 12px; }
main, .mast, .foot { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------------------------------------------------------------- masthead */
.mast { padding-top: 22px; }
.mast-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-bottom: 14px; }
.nameplate { margin: 0; text-align: center; line-height: .9; }
.nameplate a { text-decoration: none; display: inline-flex; align-items: center; gap: .32em; font-size: clamp(46px, 7.8vw, 108px); }
.np-emb { width: .98em; height: 1.16em; flex: none; }
.np-txt { display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.np-name { font: 600 1em/.92 "Oswald", sans-serif; letter-spacing: .055em; white-space: nowrap; }
.np-dom { display: flex; justify-content: space-between; gap: 1em; white-space: nowrap; margin-top: .16em; padding-top: .12em; border-top: 2px solid currentColor; font: 500 .19em/1.2 "Oswald", sans-serif; letter-spacing: .5em; }
.np-dom span:last-child { letter-spacing: .26em; margin-right: -.26em; }
.np-dom > span:first-child { letter-spacing: .42em; margin-right: -.42em; }
/* the diamond between the address and the strap: centred in the gap and on the capital letters */
.np-dom { gap: 0; }
.np-sep { flex: 1; display: flex; justify-content: center; align-items: center; min-width: 1.8em; --sep-x: -.025em; --sep-y: .02em; }
.np-sep svg { width: .62em; height: .62em; fill: currentColor; transform: translate(var(--sep-x, 0), var(--sep-y, 0)); }
.np-name { margin-right: -.055em; }   /* letter-spacing leaves room after the last S: pull it back so the rule ends under the S */
.np-dom { margin-left: .3em; margin-right: .16em; }   /* rule starts under the N and stops under the S (measured, 2026-11-08) */
/* the logo parts (shared drawings in data/logo2-symbols.svg), coloured by the edition */
.lg { --lg-ink: var(--ink); --lg-bg: var(--paper); --lg-sun: #e3a447; --lg-water: var(--signal); }
:root[data-theme="day"] .lg { --lg-sun: #c9822a; }
.lg .lg-bg, .lg .lg-bgfill { fill: var(--lg-bg); } .lg .lg-line { stroke: var(--lg-ink); } .lg .lg-ink { fill: var(--lg-ink); }
.lg .lg-sun { fill: var(--lg-sun); } .lg .lg-sunline { stroke: var(--lg-sun); stroke-width: 3; stroke-linecap: round; fill: none; }
.lg .lg-waterfill { fill: var(--lg-water); } .lg .lg-bgline { stroke: var(--lg-bg); fill: none; }
.lg .lg-name { fill: var(--lg-ink); font: 600 30px "Oswald", sans-serif; letter-spacing: .12em; text-anchor: middle; }
.lg .lg-tag { fill: var(--lg-ink); font: 500 10.5px "Oswald", sans-serif; letter-spacing: .3em; text-anchor: middle; }
.ear { display: block; max-width: 210px; padding: 10px 12px; border: 1px solid var(--rule-2); outline: 1px solid var(--rule); outline-offset: 3px; text-decoration: none; }
.ear-l { justify-self: start; } .ear-r { justify-self: end; text-align: right; }
.ear p { margin: 0; }
.ear-k { font: italic 600 13.5px/1.2 "Playfair", serif; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.ear-r .ear-k { justify-content: flex-end; }
.ear-big { font: 700 25px/1.15 "Playfair", serif; margin: 3px 0 2px !important; }
.ear-big .vol { font-weight: 400; font-style: italic; }
.ear-big.mono { font: 600 25px/1.15 "Mono", monospace; color: var(--signal); }
.ear-big small { font-size: 13px; color: var(--ink-2); font-weight: 400; }
.ear-s { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.ear-s.mono { font: 11.5px/1.4 "Mono", monospace; }
.ear-spark { display: block; width: 100%; height: 26px; margin: 2px 0 3px; }
.ear-spark path { fill: none; stroke: var(--signal); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
a.ear:hover .ear-big { text-decoration: underline; text-decoration-thickness: 1px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; flex: none; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--red); animation: live 2.4s ease-out infinite; }
@keyframes live { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* thick-thin rules around the dateline, like the papers had */
.mast-rule { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 3px 0 0; position: relative; }
.mast-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1px solid var(--ink); }
.dateline { margin: 0; display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding: 7px 2px 6px; font-size: 14.5px; font-variant: small-caps; letter-spacing: .04em; }
.dateline .motto { font-style: italic; font-variant: normal; letter-spacing: 0; color: var(--ink-2); }
.sections { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 26px; padding: 9px 0; border-bottom: 1px solid var(--rule-2); font: 600 15.5px/1.3 "Playfair", serif; }
.sections a { text-decoration: none; padding: 2px 0; border-bottom: 1px solid transparent; }
.sections a:hover, .sections a[aria-current] { border-bottom-color: currentColor; }
.ed-switch { font: italic 500 14px "Playfair", serif; color: var(--ink-2); background: none; border: 1px solid var(--rule-2); border-radius: 2px; padding: 2px 10px; cursor: pointer; }
.ed-switch:hover { color: var(--ink); border-color: var(--ink); }

/* the wire: a slow ticker */
.wire { display: flex; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 3px double var(--rule-2); overflow: hidden; }
.wire-k { flex: none; font-size: 12px; color: var(--paper); background: var(--signal); padding: 2px 8px; }
.wire-track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.wire-run { display: flex; flex: none; gap: 18px; padding-right: 18px; white-space: nowrap; font: 14px/1.4 "Source Serif", serif; animation: wire 95s linear infinite; }
.wire-run a { text-decoration: none; } .wire-run a:hover { text-decoration: underline; }
.wire-run b { font: 600 11.5px "Mono", monospace; color: var(--signal); margin-right: 6px; text-transform: lowercase; }
.w-sep { color: var(--ink-2); font-size: 11px; }
.wire:hover .wire-run, .wire:focus-within .wire-run { animation-play-state: paused; }
@keyframes wire { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .wire-track { overflow-x: auto; } .wire-run { animation: none; } .wire-run[aria-hidden] { display: none; }
  .live::after { animation: none; display: none; }
}

/* ---------------------------------------------------------------- front page */
.front { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 0; margin-top: 26px; }
.lead { padding-right: 34px; border-right: 1px solid var(--rule-2); }
.lead-photo { display: block; aspect-ratio: 16 / 10; margin-bottom: 16px; }
.halftone { position: relative; overflow: hidden; background: var(--paper-2); }
.halftone .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
a.halftone:hover .ph { transform: scale(1.03); }
.kicker { margin: 0 0 4px; font: italic 600 15px/1.3 "Playfair", serif; color: var(--signal); }
.kicker a { text-decoration: none; }
.lead-h { margin: 0 0 12px; font: 800 clamp(32px, 4.3vw, 58px)/1.03 "Playfair", serif; letter-spacing: -.012em; text-wrap: balance; }
.lead-h a, .card h3 a { text-decoration: none; }
.lead-h a:hover, .card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.deck { margin: 0 0 10px; font: italic 400 21px/1.42 "Source Serif", serif; color: var(--ink-2); text-wrap: pretty; }
.byline { margin: 0 0 14px; font-size: 14px; font-variant: small-caps; letter-spacing: .05em; color: var(--ink-2); }
.lead-text { columns: 2 260px; column-gap: 28px; column-rule: 1px solid var(--rule); hyphens: auto; text-align: justify; }
.lead-text p { margin: 0 0 .8em; }
.lead-text .place { font-variant: small-caps; letter-spacing: .06em; }
.more { margin: 12px 0 0; font: italic 600 16px "Playfair", serif; }

.rail { padding-left: 30px; }
.rail-h, .sec-h { margin: 0 0 12px; font: italic 700 25px/1.2 "Playfair", serif; padding-bottom: 6px; border-bottom: 3px double var(--rule-2); }
.briefs { list-style: none; margin: 0; padding: 0; }
.briefs li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.briefs li:last-child { border-bottom: 0; }
.briefs a { display: block; text-decoration: none; }
.b-sec { display: block; font: italic 600 13.5px "Playfair", serif; color: var(--signal); }
.b-h { display: block; font: 700 19.5px/1.22 "Playfair", serif; text-wrap: balance; }
.briefs a:hover .b-h { text-decoration: underline; }
.briefs p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

/* the data desk */
.desk { margin-top: 36px; padding: 20px 24px 18px; border: 1px solid var(--rule-2); outline: 1px solid var(--rule); outline-offset: 4px; background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.desk-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; border-bottom: 3px double var(--rule-2); margin-bottom: 14px; }
.desk-head .sec-h { border: 0; padding: 0; margin: 0 0 6px; }
.desk-src { margin: 0 0 8px; font: 12.5px "Mono", monospace; color: var(--ink-2); }
.desk-body { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.6fr); gap: 26px; align-items: start; }
.figs { margin: 0; display: grid; gap: 12px; }
.figs div { border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.figs dt { font: italic 500 14px "Playfair", serif; color: var(--ink-2); }
.figs dd { margin: 0; font-size: 34px; line-height: 1.1; color: var(--signal); }
.figs dd small { font-size: 14px; color: var(--ink-2); }
.figs dd.small { font-size: 17px; color: var(--ink); }
.year { margin: 0; }
.year svg { display: block; width: 100%; height: 170px; border-bottom: 1px solid var(--rule-2); background: repeating-linear-gradient(0deg, transparent 0 41px, var(--rule) 41px 42px); }
.yr-line { fill: none; stroke: var(--signal); stroke-width: 1.7; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.yr-x { position: relative; height: 18px; font-size: 12.5px; color: var(--ink-2); }
.yr-x span { position: absolute; top: 3px; transform: translateX(-50%); }
.year figcaption { margin-top: 6px; font-size: 14.5px; font-style: italic; color: var(--ink-2); }

/* the rest: true newspaper columns with rules */
.grid-sec { margin-top: 40px; }
/* column rules: every card has a left rule, and the grid clips the first column's off */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); overflow: hidden; }
.card { margin: 0 0 26px -1px; padding: 0 20px 4px; border-left: 1px solid var(--rule-2); }
.grid { margin-inline: -20px; }   /* text of the first and last columns lines up with the headings above */
@media (max-width: 760px) { .grid { margin-inline: 0; } .card { padding-inline: 0; border-left: 0; margin-left: 0; } }
.card-photo { display: block; aspect-ratio: 3 / 2; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font: 700 23px/1.18 "Playfair", serif; text-wrap: balance; }
.card-s h3 { font-size: 19px; }
.deck-s { margin: 0 0 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.card .byline { margin: 0; }

/* ---------------------------------------------------------------- story page */
.story { width: min(720px, 100%); margin: 38px auto 10px; }
.story-head h1 { margin: 0 0 14px; font: 800 clamp(34px, 5.4vw, 60px)/1.04 "Playfair", serif; letter-spacing: -.012em; text-wrap: balance; }
.story-head .deck { font-size: 22px; }
.story-head { border-bottom: 3px double var(--rule-2); margin-bottom: 22px; }
.story-photo { margin: 0 0 24px; }
.story-photo .ph { width: 100%; height: auto; display: block; }
.story-photo.tall .ph { max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; }
.story-photo figcaption { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); font-style: italic; border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.credit { font-style: normal; font-variant: small-caps; letter-spacing: .04em; margin-left: 4px; }
.story-body { font-size: 19.5px; line-height: 1.72; hyphens: auto; display: flow-root; }   /* a drop cap on a short paragraph never hangs over what follows */
.corr-none { font-style: italic; color: var(--ink-2); }
.story-body p { margin: 0 0 1.05em; }
.story-body .first::first-letter { float: left; font: 800 3.44em/.71 "Playfair", serif; margin: var(--dc-top, .072em) .07em 0 0; color: var(--ink); }   /* 2 lines tall: top on the cap line of line 1, bottom on the baseline of line 2 (measured) */
.story-body .place { font-variant: small-caps; letter-spacing: .06em; }
.story-body h2 { font: 700 24px/1.25 "Playfair", serif; margin: 1.6em 0 .4em; }
.sources, .related { margin: 30px 0 0; padding-top: 12px; border-top: 3px double var(--rule-2); }
.sources h2, .related h2 { margin: 0 0 8px; font: italic 700 20px "Playfair", serif; }
.sources ul, .related ul { margin: 0 0 12px; padding: 0; list-style: none; }
.sources li { padding: 4px 0 4px 20px; position: relative; }
.sources li::before { content: "§"; position: absolute; left: 0; color: var(--signal); }
.sources p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.related li { padding: 8px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; font: 600 17.5px/1.3 "Playfair", serif; }
.related li span { flex: none; font: 13.5px "Source Serif", serif; color: var(--ink-2); font-variant: small-caps; }
.related a { text-decoration: none; } .related a:hover { text-decoration: underline; }
.section-page { margin-top: 30px; }
.sec-title { font: 600 clamp(36px, 5.5vw, 60px)/1.05 "Oswald", sans-serif; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 3px double var(--rule-2); }
.empty { font-style: italic; color: var(--ink-2); }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: 56px; border-top: 3px solid var(--ink); padding: 18px 0 22px; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1px solid var(--ink); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 44px; align-items: center; font-size: 15.5px; }
.foot-in p { margin: 0 0 4px; }
/* footer: a small copy of the masthead lockup (emblem + NWA NEWS + address ◆ strap), centred on the emblem */
.foot-lock { display: inline-flex; align-items: center; gap: .3em; font-size: 40px; color: inherit; text-decoration: none; }
.foot-lock .np-emb { width: .98em; height: 1.16em; }
.foot-lock .np-txt { display: flex; flex-direction: column; }
.foot-lock .np-dom { border-top-width: 1.5px; }
.foot-motto { margin: 8px 0 0 !important; font-style: italic; color: var(--ink-2); }
.foot-fine { margin: 16px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2); font-style: italic; }

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 980px) {
  .front { grid-template-columns: 1fr; }
  .lead { padding-right: 0; border-right: 0; }
  .rail { padding-left: 0; margin-top: 30px; }
  .desk-body { grid-template-columns: 1fr; }
  .figs { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  main, .mast, .foot { width: calc(100% - 32px); }
  .mast-top { grid-template-columns: 1fr 1fr; gap: 12px; }
  .np-dom { border-top-width: 1.5px; }
  .np-sep { --sep-y: -.1em; }
  .nameplate { grid-column: 1 / -1; order: -1; }
  .nameplate a { font-size: clamp(40px, 13vw, 60px); }
  .ear { max-width: none; outline-offset: 2px; }
  .ear-big, .ear-big.mono { font-size: 20px; }
  .dateline { justify-content: center; text-align: center; font-size: 13.5px; }
  .dateline .motto { display: none; }
  .sections { gap: 2px 16px; font-size: 14.5px; }
  .lead-text { columns: 1; text-align: left; }
  .deck { font-size: 18.5px; }
  .story-body { font-size: 18px; }
  .story-head .deck { font-size: 19px; }
  .foot-in { grid-template-columns: 1fr; }
  .desk { padding: 16px 14px; }
}

/* ---------------------------------------------------------------- press badge (/press-badge)
   One number (--cw) sizes the card: 400px on screen, exactly 2.125in × 3.375in in print. Everything inside is in em
   (1em = card width / 20) and centred; the middle of each side is spread evenly between the top and the bottom band. */
.badge-tool { display: grid; grid-template-columns: minmax(260px, 330px) 1fr; gap: 44px; margin-top: 30px; align-items: start; }
.badge-form h1 { font: 800 46px/1.05 "Playfair", serif; margin: 0 0 8px; }
.badge-form label { display: block; margin: 0 0 12px; font: italic 600 15px "Playfair", serif; }
.badge-form input:not([type=radio]):not([type=file]):not([type=range]) { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; font: 17px "Source Serif", serif; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule-2); border-radius: 2px; }
.badge-form fieldset { border: 1px solid var(--rule-2); margin: 0 0 14px; padding: 8px 12px 4px; }
.badge-form legend { font: italic 600 15px "Playfair", serif; padding: 0 4px; }
.badge-form .radio { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font: 16px "Source Serif", serif; font-style: normal; }
.bf-note { font-size: 14.5px; color: var(--ink-2); margin: 0 0 14px; }
.bf-photo { margin: 0 0 16px; }
.bf-photo input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bf-up { display: flex !important; align-items: center; justify-content: center; gap: 10px; padding: 14px; border: 2px dashed var(--rule-2); cursor: pointer; font: 700 18px "Playfair", serif !important; font-style: normal !important; }
.bf-up:hover, .bf-photo input:focus-visible + .bf-up { border-color: var(--signal); }
.bf-up svg { width: 30px; height: 30px; fill: none; stroke: var(--signal); stroke-width: 2.6; stroke-linejoin: round; }
.bf-frame { margin-top: 10px; } .bf-frame input[type=range] { width: 100%; accent-color: var(--signal); }
.bf-steps { margin: 8px 0 10px; padding-left: 20px; font: 15px/1.45 "Source Serif", serif; font-style: normal; } .bf-steps li { margin-bottom: 4px; }
.bf-adjust { margin: 4px 0 10px; padding: 10px 12px; border: 1px solid var(--rule-2); }
.bf-adjust-h { margin: 0 0 4px; font: 700 16px "Playfair", serif; font-style: normal; }
.bf-adj-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.bf-adj-row label { display: flex !important; align-items: center; gap: 6px; margin: 0 !important; font: 15px "Source Serif", serif !important; }
.bf-adj-row input { width: 4.5em !important; display: inline-block !important; margin: 0 !important; padding: 5px 7px !important; }
.bf-adj-row select { padding: 6px; font: 15px "Source Serif", serif; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule-2); }
.bf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .bf-two .print-btn { margin: 0 0 10px; font-size: 16px; padding: 11px 6px; }
.bf-link { background: none; border: 0; padding: 0; color: var(--signal); font: inherit; text-decoration: underline; cursor: pointer; }
.print-btn { width: 100%; margin: 4px 0 12px; padding: 12px; font: 700 18px "Playfair", serif; color: var(--paper); background: var(--signal); border: 0; border-radius: 2px; cursor: pointer; }
.print-btn:hover { background: var(--ink); }
.badge-sheet { --cw: 400px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 34px; }
.cutbox, .dpage { display: contents; } .crop { display: none; } .cutbox.copy .idcard { display: none; } .print-info { display: none; } .print-check { display: none; }

.idcard {
  --c-bg: #0f2a33; --c-ink: #eadfb8; --c-ink2: #b4ae95; --c-acc: #4fc6b8; --c-band: #eadfb8; --c-band-ink: #0f2a33; --c-top: #0b222a;
  position: relative; flex: none; width: var(--cw); height: calc(var(--cw) * 3.375 / 2.125); font-size: calc(var(--cw) / 20); overflow: hidden;
  background: var(--c-bg); color: var(--c-ink); border-radius: .6em; display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 .5em 2em rgba(0, 0, 0, .4); font-family: "Source Serif", serif; print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
.idcard.look-day { --c-bg: #f3efe2; --c-ink: #13262d; --c-ink2: #4b585a; --c-acc: #0f7168; --c-band: #13262d; --c-band-ink: #f3efe2; --c-top: #e6e0cd; }
.idcard.look-red { --c-bg: #f3efe2; --c-ink: #1a1a1a; --c-ink2: #555; --c-acc: #a8332c; --c-band: #a8332c; --c-band-ink: #fff; --c-top: #e6e0cd; }
.idcard .lg { --lg-ink: var(--c-ink); --lg-bg: var(--c-bg); }
.slot { position: absolute; z-index: 2; top: 1.5em; left: 50%; width: 4.8em; height: 1.1em; transform: translateX(-50%); border-radius: 1em; background: color-mix(in srgb, var(--c-ink) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c-ink) 45%, transparent); }
/* top band: the lockup, centred */
.id-top { width: 100%; padding: 3.4em 1em .65em; background: var(--c-top); border-bottom: 1px solid color-mix(in srgb, var(--c-ink) 30%, transparent); display: flex; justify-content: center; }
.id-lock { display: flex; align-items: center; gap: .45em; }
.id-emb { width: 2.66em; height: 3.18em; flex: none; transform: translateY(var(--emb-y, .11em)); }   /* same height as the lettering ink: cap tops of NWA NEWS to the bottom of the address */
.id-lock-t { display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.id-np { font: 600 2.25em/.95 "Oswald", sans-serif; letter-spacing: .05em; margin-right: -.05em; white-space: nowrap; }
.id-dom { margin-top: .2em; padding-top: .16em; border-top: 1.2px solid currentColor; font: 600 .86em/1.1 "Oswald", sans-serif; letter-spacing: .2em; padding-left: .2em; white-space: nowrap; text-align: center; }
/* middle: spread evenly between the bands */
.id-mid { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding: .7em 1.9em .55em; gap: .5em; }
.id-photo { position: relative; width: 12.2em; aspect-ratio: 1; overflow: hidden; background: color-mix(in srgb, var(--c-ink) 12%, var(--c-bg)); border: .3em solid #fbf8ef; outline: 1px solid color-mix(in srgb, var(--c-ink) 40%, transparent); box-shadow: 0 .15em .5em rgba(0, 0, 0, .3); display: grid; place-items: center; touch-action: none; }
.id-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: center; cursor: grab; user-select: none; }
.id-photo img:active { cursor: grabbing; }
.id-ph-empty { font: italic .75em "Playfair", serif; color: var(--c-ink2); }
.id-who p { margin: 0; }
.id-name { font: 600 1.6em/1.1 "Oswald", sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.id-title { margin-top: .12em !important; font: italic 600 .95em/1.25 "Playfair", serif; color: var(--c-acc); }
.id-beat { margin-top: .12em !important; font: 600 .86em/1.3 "Source Serif", serif; color: var(--c-ink2); }
.id-press { margin: 0; width: 100%; background: var(--c-band); color: var(--c-band-ink); font: 700 2.3em/1.3 "Oswald", sans-serif; letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; }
.id-top, .id-press, .id-foot { flex: none; }
.id-foot { width: 100%; display: flex; justify-content: space-between; padding: .45em 1.9em 1.3em; font: 500 .8em/1.2 "Oswald", sans-serif; letter-spacing: .08em; color: var(--c-ink2); background: var(--c-top); }
/* back */
.id-back .id-mid { padding: .5em 1.9em .4em; gap: .2em; justify-content: flex-start; }
.id-back-lock { display: flex; flex-direction: column; align-items: center; }
.id-back-emb { width: 2.6em; height: 3.1em; }
.id-back-np { margin: .2em 0 0; font: 600 1.45em/1 "Oswald", sans-serif; letter-spacing: .06em; padding-left: .06em; }
.id-back-dom { margin: .15em 0 0; font: 600 .82em/1 "Oswald", sans-serif; letter-spacing: .2em; padding-left: .2em; color: var(--c-ink2); }
.id-back-t { margin: 0; max-width: 19em; font-size: .88em; line-height: 1.38; text-wrap: balance; }
.id-back-t.small { font-size: .82em; font-weight: 500; color: var(--c-ink2); }
.id-qr { display: flex; flex-direction: column; align-items: center; gap: .25em; font: italic 600 .85em/1.3 "Playfair", serif; text-align: center; }
.id-qr p { margin: 0; } .id-qr .mono { font-style: normal; font-size: .9em; }
.qr { width: 8.4em; height: 8.4em; flex: none; padding: .35em; background: #fff; border-radius: .2em; }
.qr-bg { fill: #fff; } .qr-ink { fill: none; stroke: #000; }
.id-sign { width: 100%; } .id-back .id-sign { margin-top: auto; }
.id-sign p.id-disc { margin: 0 0 .35em; font: 500 .62em/1.2 "Source Serif", serif; font-style: normal; color: var(--c-ink2); white-space: nowrap; }
.id-sign span { display: block; position: relative; height: 2.7em; background: #fff; border-radius: .2em; border: 1px solid color-mix(in srgb, var(--c-ink) 35%, transparent); }
.id-sign p { margin: .15em 0 0; font: italic 600 .8em "Playfair", serif; color: var(--c-ink2); }
@media (max-width: 1100px) { .badge-sheet { --cw: 360px; } }
@media (max-width: 900px) { .badge-tool { grid-template-columns: 1fr; } .badge-sheet { --cw: min(360px, calc(100vw - 32px)); justify-content: center; } }
@media print {
  @page { size: letter; margin: 0; }
  html[data-big] body { zoom: 1 !important; }   /* the A+ (bigger page) zoom must not scale the printed sheet */
  html, body { background: #fff !important; background-image: none !important; color-scheme: light; } body::before { display: none; }
  .mast, .foot, .badge-form, .skip, .d-row1, .d-nav, .wire { display: none !important; }
  main { width: auto; margin: 0; }
  .badge-tool { display: block; margin: 0; }
  /* bleed: each card prints 2 mm bigger on every side (square corners), its bands running on into the extra 2 mm.
     That 2 mm ring is printed a shade lighter (darker on light cards), so the true card edge (54 × 85.6 mm) shows as a
     line where the shade changes, at every step of cutting; corner crop marks in the 6 mm margin show it too. */
  .badge-sheet { --cw: 2.125in; padding: 0; gap: 0; }
  .dpage { display: contents; }
  .cutbox { display: block; position: relative; padding: 6mm; }
  .cutbox.copy .idcard { display: flex; }
  .cutbox .crop { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .crop path { fill: none; stroke: #000; stroke-width: .2; }
  .idcard { box-shadow: none; border-radius: 0; width: calc(var(--cw) + 4mm); height: calc(var(--cw) * 3.375 / 2.125 + 4mm); }
  .idcard::after { content: ""; position: absolute; inset: 0; border: 2mm solid rgba(255, 255, 255, .1); pointer-events: none; z-index: 3; }
  .idcard.look-day::after, .idcard.look-red::after { border-color: rgba(0, 0, 0, .07); }
  .id-top { padding-top: calc(3.4em + 2mm); }
  .id-photo { box-shadow: none; }
  .id-foot { padding: .45em calc(1.9em + 2mm) calc(1.3em + 2mm); }
  .id-mid { padding-left: calc(1.9em + 2mm); padding-right: calc(1.9em + 2mm); }
  .slot { display: none; }   /* the user punches a real slot; keep the space above the logo free for it */
  /* side by side: one page, 2 badges: fronts on the left, their backs on the right */
  .badge-sheet:not(.duplex) { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; align-content: center; width: 8.5in; height: 11in; }
  .badge-sheet:not(.duplex) .cutbox:nth-child(n+3) { display: none; }
  .badge-sheet:not(.duplex) .front-page .cutbox:nth-child(1) { grid-area: 1 / 1; } .badge-sheet:not(.duplex) .front-page .cutbox:nth-child(2) { grid-area: 2 / 1; }
  .badge-sheet:not(.duplex) .back-page .cutbox:nth-child(1) { grid-area: 1 / 2; } .badge-sheet:not(.duplex) .back-page .cutbox:nth-child(2) { grid-area: 2 / 2; }
  /* two-sided: page 1 = 4 fronts, page 2 = 4 backs, each grid dead centre on its page so turning the sheet over lines them up */
  .badge-sheet.duplex { display: block; }
  .badge-sheet.duplex .dpage { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; align-content: center; width: 8.5in; height: 11in; break-after: page; overflow: hidden; }
  .badge-sheet.duplex .dpage:last-child { break-after: auto; }
  .badge-sheet.only-front .back-page, .badge-sheet.only-back .front-page { display: none !important; }
  .badge-sheet.only-front .front-page { break-after: auto; }
  .badge-sheet.duplex .back-page { transform: translate(var(--back-x, 0mm), var(--back-y, 0mm)); }   /* the printer correction (badge.js) */
  /* a line of fine print at the bottom of each printed page: what was printed and with which printer correction */
  .badge-sheet:not(.duplex) { position: relative; }
  .badge-sheet.duplex .dpage { position: relative; }
  .print-info { position: absolute; left: .5in; right: .5in; bottom: .4in; margin: 0; text-align: center; font: 8pt/1.4 "Source Serif", serif; color: #555; }
  .badge-sheet:not(.duplex) .pi-side, .badge-sheet.duplex .pi-front, .badge-sheet.duplex .pi-back { display: block; }
  .print-check { position: absolute; left: 0; right: 0; bottom: .72in; display: none; flex-direction: column; align-items: center; gap: 1mm; }
  .badge-sheet:not(.duplex) .pc-side, .badge-sheet.duplex .pc-front, .badge-sheet.duplex .pc-back { display: flex; }
  .print-check svg { width: 54mm; height: 7.2mm; overflow: visible; }
  .print-check .pc-base, .print-check .pc-tk { fill: none; stroke: #000; stroke-width: .18; }
  .print-check text { font: 2.2px "Oswald", sans-serif; fill: #000; } .print-check .pc-u { text-anchor: start; }
  .print-check p { margin: 0; max-width: 5.6in; text-align: center; font: 8pt/1.35 "Source Serif", serif; color: #333; }
  .id-photo img { cursor: default; }
}

/* ---------------------------------------------------------------- send us news (/send) */
.nav-send { color: var(--paper); background: var(--signal); padding: 2px 10px !important; border-radius: 2px; border-bottom: 0 !important; }
.nav-send:hover { background: var(--ink); }
.send { width: min(760px, 100%); margin: 34px auto 10px; }
.send-head h1, .send h1 { margin: 0 0 10px; font: 800 clamp(36px, 5.6vw, 58px)/1.04 "Playfair", serif; }
.send-head { border-bottom: 3px double var(--rule-2); margin-bottom: 22px; }
.send-form { display: grid; gap: 16px; }
.send-form label { display: block; font: italic 600 15.5px "Playfair", serif; }
.send-form input:not([type=checkbox]):not([type=file]), .send-form textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: 17.5px/1.45 "Source Serif", serif; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule-2); border-radius: 2px; }
.send-form textarea { resize: vertical; }
.send-form input:focus, .send-form textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font: 16px/1.45 "Source Serif", serif !important; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--signal); flex: none; }
.drop { position: relative; border: 2px dashed var(--rule-2); padding: 6px; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--signal); background: color-mix(in srgb, var(--signal) 10%, transparent); }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-in { display: grid !important; justify-items: center; gap: 4px; padding: 26px 16px; text-align: center; cursor: pointer; font-style: normal !important; }
.drop-in svg { width: 52px; height: 52px; fill: none; stroke: var(--signal); stroke-width: 2.4; stroke-linejoin: round; }
.drop-in b { font: 700 22px "Playfair", serif; }
.drop-in span { font: 15px "Source Serif", serif; color: var(--ink-2); max-width: 44ch; }
.drop input:focus-visible + .drop-in { outline: 2px solid var(--signal); outline-offset: -4px; }
.drop.has .drop-in { padding: 12px; grid-template-columns: auto auto; justify-content: center; } .drop.has .drop-in span { display: none; } .drop.has .drop-in svg { width: 30px; height: 30px; }
.sheet { list-style: none; margin: 0; padding: 0 6px 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.sheet li { position: relative; background: #fff; padding: 6px 6px 4px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.sheet li:nth-child(odd) { transform: rotate(-1.2deg); } .sheet li:nth-child(3n) { transform: rotate(1deg); }
.sheet img, .ph-heic { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ph-heic { display: grid; place-items: center; background: #dfe6e4; color: #13262d; font: italic 13px "Playfair", serif; }
.sheet p { margin: 4px 0 0; font: 11px "Mono", monospace; color: #4b585a; text-align: center; }
.sheet li.bad p { color: #a8332c; font-weight: 700; }
.ph-x { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font: 700 17px/1 sans-serif; cursor: pointer; }
.send-btn { justify-self: start; padding: 13px 26px; font: 700 18px "Playfair", serif; color: var(--paper); background: var(--signal); border: 0; border-radius: 2px; cursor: pointer; text-decoration: none; display: inline-block; }
.send-btn:hover { background: var(--ink); } .send-btn:disabled { opacity: .6; cursor: wait; }
.send-prog .bar { height: 10px; border: 1px solid var(--rule-2); background: var(--paper-2); } .send-prog .bar i { display: block; height: 100%; width: 0; background: var(--signal); transition: width .2s; }
.send-prog p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.send-err { margin: 0; padding: 10px 14px; border-left: 4px solid var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); }
.send-note { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.send-done p { font-size: 18px; } .send-done .send-btn { margin-right: 16px; }
.dv-meta { display: grid; gap: 6px; margin: 0 0 18px; } .dv-meta div { display: flex; gap: 14px; } .dv-meta dt { width: 110px; flex: none; font: italic 600 15px "Playfair", serif; color: var(--ink-2); } .dv-meta dd { margin: 0; }
.dv-photos { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.dv-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; } .dv-photos p { margin: 4px 0 0; font-size: 14px; }
@media (max-width: 600px) { .f-row { grid-template-columns: 1fr; } .send-btn { justify-self: stretch; text-align: center; } }

/* the logo's scene keeps fixed colours (they print the same everywhere); frame and lettering follow the edition */
.lg .lg-sky { fill: #f3e7c6; } .lg .lg-sun, .lg .lg-sunray { fill: #e8953a; }
.lg .lg-r1 { fill: #a9c1b8; } .lg .lg-r2 { fill: #74999a; } .lg .lg-r3 { fill: #3f6c70; } .lg .lg-r4 { fill: #1d4249; } .lg .lg-r5 { fill: #173a41; } .lg .lg-pine { fill: #13323a; }
.lg .lg-river { fill: #49bfb2; } .lg .lg-ripple { stroke: #9fe0d6; stroke-linecap: round; }
.lg .lg-frame { fill: var(--lg-bg); stroke: var(--lg-ink); stroke-width: 5; }
.lg .lg3-name { fill: var(--lg-ink); font: 600 32px "Oswald", sans-serif; letter-spacing: .07em; text-anchor: middle; }
.lg .lg3-tag { fill: var(--lg-ink); font: 600 12.5px "Oswald", sans-serif; letter-spacing: .3em; text-anchor: middle; }

/* ---------------------------------------------------------------- credential verification (/verify/…) */
.bf-issued { margin: 0 0 14px; padding: 10px 12px; border-left: 4px solid var(--signal); background: color-mix(in srgb, var(--signal) 12%, transparent); font-size: 15px; }
.vp { width: min(560px, 100%); margin: 32px auto 10px; }
.vp-sample { margin: 0 0 12px; padding: 8px 12px; border: 1px dashed var(--rule-2); font: italic 14.5px "Playfair", serif; color: var(--ink-2); text-align: center; }
.vp-card { border: 1px solid var(--rule-2); outline: 1px solid var(--rule); outline-offset: 4px; background: var(--paper-2); overflow: hidden; }
.vp-head { padding: 16px 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; border-bottom: 3px double var(--rule-2); }
.vp-k { margin: 0; font: italic 600 14px "Playfair", serif; color: var(--ink-2); }
.vp-lock { display: flex; align-items: center; gap: 10px; }
.vp-emb { width: 40px; height: 48px; }
.vp-lock-t { display: flex; flex-direction: column; }
.vp-np { font: 600 34px/.95 "Oswald", sans-serif; letter-spacing: .06em; }
.vp-dom { margin-top: 4px; padding-top: 3px; border-top: 1px solid currentColor; font: 600 11.5px "Oswald", sans-serif; letter-spacing: .46em; text-align: center; padding-left: .46em; }
.vp-status { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.vp-status svg { width: 46px; height: 46px; flex: none; }
.vp-status circle { fill: var(--vp-c); } .vp-status path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vp-valid { --vp-c: #2f9e6b; } .vp-expired { --vp-c: #c98a2b; } .vp-revoked { --vp-c: var(--red); }
.vp-status { background: color-mix(in srgb, var(--vp-c) 16%, transparent); border-bottom: 1px solid var(--rule); }
.vp-st { margin: 0; font: 600 26px/1 "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--vp-c); }
:root[data-theme="night"] .vp-st { filter: brightness(1.35); }
.vp-line { margin: 4px 0 0; font-size: 15.5px; }
.vp-body { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 18px; align-items: center; }
.vp-photo { aspect-ratio: 1; border: 5px solid #fbf8ef; box-shadow: 0 2px 8px rgba(0,0,0,.35); background: #dfe6e4; overflow: hidden; }
.vp-photo img, .vp-photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-ph-bg { fill: #c9d3d1; } .vp-ph { fill: #8fa19f; }
.vp-who h1 { margin: 0; font: 600 34px/1.05 "Oswald", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.vp-title { margin: 4px 0 0; font: italic 600 19px "Playfair", serif; color: var(--signal); }
.vp-beat { margin: 2px 0 12px; color: var(--ink-2); }
.vp-who dl { margin: 0; display: grid; gap: 4px; font-size: 15px; }
.vp-who dl div { display: flex; gap: 10px; border-top: 1px solid var(--rule); padding-top: 4px; }
.vp-who dt { width: 64px; flex: none; font: italic 600 14px "Playfair", serif; color: var(--ink-2); } .vp-who dd { margin: 0; }
.vp-live { margin: 0; padding: 10px 18px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; gap: 8px; font: 12.5px "Mono", monospace; color: var(--ink-2); }
.vp-more { margin-top: 18px; font-size: 15px; color: var(--ink-2); text-align: center; }
@media (max-width: 520px) { .vp-body { grid-template-columns: 1fr; justify-items: center; text-align: center; } .vp-photo { width: 190px; } .vp-who dl div { justify-content: center; } }

/* ---------------------------------------------------------------- admin (/admin) and corrections form */
.adm { margin: 30px auto 10px; width: min(980px, 100%); }
.adm h1 { font: 800 40px/1.1 "Playfair", serif; margin: 10px 0 16px; } .adm h2 { font: 700 26px "Playfair", serif; margin: 34px 0 12px; }
.adm-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; padding: 8px 0; border-bottom: 3px double var(--rule-2); font: 600 15.5px "Playfair", serif; }
.adm-nav form { margin-left: auto; }
.adm-t { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.adm-t th { text-align: left; font: italic 600 14px "Playfair", serif; color: var(--ink-2); border-bottom: 1px solid var(--rule-2); padding: 6px 8px; }
.adm-t td { border-bottom: 1px solid var(--rule); padding: 9px 8px; vertical-align: top; }
.adm-act { display: flex; flex-wrap: wrap; gap: 4px 14px; } .adm-act form { display: inline; }
.adm-st { font: 600 13px "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; color: #fff; }
.adm-valid { background: #2f9e6b; } .adm-expired { background: #c98a2b; } .adm-revoked { background: var(--red); }
.adm-danger { color: var(--red) !important; }
.adm-issue select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: 17px "Source Serif", serif; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule-2); }
.adm-corr { padding: 12px 0; border-bottom: 1px solid var(--rule); } .adm-corr h3 { margin: 2px 0 6px; font: 700 20px "Playfair", serif; }
.adm-login { width: min(440px, 100%); }
.corr-wrap { margin-top: 0; } .corr-form { margin-top: 26px; padding-top: 16px; border-top: 3px double var(--rule-2); }
.corr-form h2 { font: 700 26px "Playfair", serif; margin: 0 0 6px; }
.corr-form select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: 17px "Source Serif", serif; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule-2); border-radius: 2px; }
@media (max-width: 700px) { .adm-t thead { display: none; } .adm-t tr { display: grid; border-bottom: 1px solid var(--rule-2); padding: 6px 0; } .adm-t td { border: 0; padding: 3px 4px; } }
.print-btn:disabled { opacity: .45; cursor: not-allowed; } .bf-save { margin-top: -4px; }
.bf-cut { margin: 4px 0 14px; } .bf-cut summary { cursor: pointer; font: 700 16px "Playfair", serif; }

/* photo cropper (cropper.js) */
.cropper { width: min(420px, calc(100vw - 24px)); padding: 18px; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); }
.cropper::backdrop { background: rgba(0, 0, 0, .65); }
.cropper h2 { margin: 0 0 4px; font: 700 24px "Playfair", serif; }
.cr-tip { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.cr-stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: #000; cursor: grab; touch-action: none; user-select: none; }
.cr-stage:active { cursor: grabbing; }
.cr-stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.cr-frame { position: absolute; inset: 0; border: 2px solid #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.4); pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) 33.33% 0 / 1px 100% no-repeat, linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) 66.66% 0 / 1px 100% no-repeat,
              linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) 0 33.33% / 100% 1px no-repeat, linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) 0 66.66% / 100% 1px no-repeat; }
.cr-zoom { display: flex; align-items: center; gap: 10px; margin: 12px 0; font: italic 600 15px "Playfair", serif; }
.cr-zoom input { flex: 1; accent-color: var(--signal); }
.cr-btns { display: flex; justify-content: flex-end; gap: 10px; }
.cr-btns button { font: 700 16px "Playfair", serif; padding: 10px 18px; border-radius: 2px; cursor: pointer; border: 1px solid var(--rule-2); background: none; color: var(--ink); }
.cr-btns .cr-ok { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.adm-preview { width: 120px; aspect-ratio: 1; object-fit: cover; display: block; margin-top: 8px; border: 4px solid #fbf8ef; }
.corr-form > .send-note { margin: 0 0 16px; }
.corr-which[hidden] { display: none !important; } .report-it { font-weight: 600; }
.corr-about { padding: 12px 14px; border-left: 4px solid var(--signal); background: var(--paper-2); } .corr-about p { margin: 0; } .corr-hl { font: 700 19px/1.3 "Playfair", serif; margin: 2px 0 6px !important; } .corr-hl a { text-decoration: none; } .corr-about p:last-of-type { font-size: 14.5px; } .corr-tip { margin-top: -8px !important; }

/* ---------------------------------------------------------------- weather, sky, rivers (2026-11-08) */
:root { --sun: #e3a447; --warn: #e0675d; --watch: #e3a447; --adv: #d9c46a; }
:root[data-theme="day"] { --sun: #b8731f; --warn: #a8332c; --watch: #a8661a; --adv: #7d6c12; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* icons */
.wx-ic { width: 44px; height: 44px; flex: none; overflow: visible; }
.wx-ic .wx-sun { fill: var(--sun); } .wx-ic .wx-ray { stroke: var(--sun); stroke-width: 2.6; stroke-linecap: round; }
.wx-ic .wx-moon { fill: var(--ink); opacity: .85; }
.wx-ic .wx-cloud { fill: var(--paper-2); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.wx-ic .wx-rain { stroke: var(--signal); stroke-width: 2.4; stroke-linecap: round; }
.wx-ic .wx-snow { fill: var(--ink); } .wx-ic .wx-bolt { fill: var(--sun); }
.wx-ic .wx-fog { stroke: var(--ink-2); stroke-width: 2.6; stroke-linecap: round; }
/* moon drawings */
.wx-moonart { width: 96px; height: 96px; flex: none; }
.wx-moonart .m-dark { fill: color-mix(in srgb, var(--ink) 12%, var(--paper-2)); }
.wx-moonart .m-lit { fill: #efe6c4; }
:root[data-theme="day"] .wx-moonart .m-lit { fill: #fffbea; }
.wx-moonart .m-rim { fill: none; stroke: var(--rule-2); stroke-width: 1.5; }
.wx-moon-sm { width: 30px; height: 30px; } .wx-moon-xs { width: 20px; height: 20px; vertical-align: -5px; }
/* alert bars above the masthead */
.wx-bars { display: grid; }
.wx-bar { display: block; padding: 8px max(16px, calc((100% - 1240px) / 2)); text-align: left; text-decoration: none; font: 500 15px/1.35 "Source Serif", serif; color: #fff; background: var(--warn); }
.wx-bar b { font: 600 14px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; margin-right: .5em; }
.wx-bar.wx-watch { background: var(--watch); color: #1d1606; } .wx-bar.wx-adv { background: var(--adv); color: #1d1a06; }
.wx-bar:hover span { text-decoration: underline; }
/* two different alerts of the same colour sit close together */
:is(.wx-warn:has(+ .wx-warn), .wx-watch:has(+ .wx-watch), .wx-adv:has(+ .wx-adv)) { padding-bottom: 2px; }
.wx-warn + .wx-warn, .wx-watch + .wx-watch, .wx-adv + .wx-adv { padding-top: 2px; }
/* masthead corner */
.ear-wx .ear-temp { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.ear-wx .ear-temp .mono { font: 600 30px/1 "Mono", monospace; color: var(--signal); }
.ear-ic { width: 36px; height: 36px; }
/* front page strip */
.wx-strip { margin-top: 36px; }
.wx-towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.wx-towns li { border-top: 1px solid var(--rule); }
.wx-towns li:nth-child(-n+4) { border-top: 0; }
.wx-towns li:not(:nth-child(4n+1)) { border-left: 1px solid var(--rule); }
.wx-towns a { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ic name temp" "ic sky sky"; column-gap: 10px; align-items: center; padding: 10px 14px; text-decoration: none; }
.wx-towns a:hover .wx-tn { text-decoration: underline; }
.wx-towns .wx-ic { grid-area: ic; width: 40px; height: 40px; }
.wx-tn { grid-area: name; font: 600 17px/1.2 "Playfair", serif; }
.wx-tt { grid-area: temp; font-size: 24px; color: var(--signal); line-height: 1; }
.wx-ts { grid-area: sky; font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
.wx-skyline { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 14.5px; }
.wx-skyline a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); }
.wx-skyline a:hover span { text-decoration: underline; }
/* weather page */
.wx-page { max-width: 1100px; margin: 0 auto; padding-bottom: 20px; }
.wx-page .sec-h { margin-top: 34px; }
.wx-tabs { display: flex; gap: 0; margin: 4px 0 18px; border-bottom: 1px solid var(--rule-2); }
.wx-tabs a { padding: 8px 16px 7px; text-decoration: none; font: 500 15px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.wx-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--signal); }
.wx-tabs a:hover { color: var(--ink); }
.wx-calm { margin: 0 0 16px; font-style: italic; color: var(--ink-2); }
.wx-alert { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--warn); border-left: 8px solid var(--warn); }
.wx-alert.wx-watch { border-color: var(--watch); } .wx-alert.wx-adv { border-color: var(--adv); }
.wx-alert h2 { margin: 0; font: 600 22px "Oswald", sans-serif; letter-spacing: .03em; }
.wx-alert p { margin: 6px 0; font-size: 16.5px; }
.wx-al-where { color: var(--ink-2); font-style: italic; }
.wx-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.wx-pick a { padding: 4px 12px; border: 1px solid var(--rule-2); text-decoration: none; font-size: 15px; }
.wx-pick a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wx-pick a:not([aria-current]):hover { border-color: var(--ink); }
.wx-now { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px 36px; align-items: start; padding: 20px 24px; border: 1px solid var(--rule-2); outline: 1px solid var(--rule); outline-offset: 4px; background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.wx-now-main { display: flex; gap: 18px; align-items: flex-start; }
.wx-big { width: 104px; height: 104px; margin-top: 8px; }
.wx-place { margin: 0; font: italic 600 18px "Playfair", serif; color: var(--ink-2); }
.wx-temp { margin: 0; font-size: 76px; line-height: 1; color: var(--signal); letter-spacing: -.03em; }
.wx-temp span { font-size: 24px; color: var(--ink-2); letter-spacing: 0; vertical-align: 32px; margin-left: 4px; }
.wx-cond { margin: 4px 0 0; font: 600 22px/1.2 "Playfair", serif; }
.wx-next { margin: 8px 0 0; font-size: 15.5px; color: var(--ink-2); }
.wx-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0 20px; }
.wx-facts div { border-bottom: 1px solid var(--rule); padding: 7px 0; }
.wx-facts dt { font: italic 500 13.5px "Playfair", serif; color: var(--ink-2); }
.wx-facts dd { margin: 0; font: 500 18px/1.3 "Mono", monospace; }
.wx-facts dd small { font: italic 14px "Source Serif", serif; color: var(--ink-2); }
.wx-stn { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13.5px; font-style: italic; color: var(--ink-2); }
.wx-hourly { margin: 26px 0 0; }
.wx-hourly svg { display: block; width: 100%; height: auto; overflow: visible; }
.wx-night { fill: var(--ink); opacity: .05; }
.wx-pop { fill: var(--signal); opacity: .45; }
.wx-area { fill: var(--signal); opacity: .09; }
.wx-line { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.wx-lt { font: 600 16px "Mono", monospace; fill: var(--ink); text-anchor: middle; }
.wx-lx { font: 14px "Mono", monospace; fill: var(--ink-2); text-anchor: middle; }
.wx-hourly figcaption, .wa-lake-chart figcaption { margin-top: 6px; font-size: 14px; font-style: italic; color: var(--ink-2); }
.wx-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); border-top: 1px solid var(--rule-2); }
.wx-day { padding: 12px 12px 10px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); text-align: center; }
.wx-day p { margin: 0; }
.wx-dn { font: 600 15px "Oswald", sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.wx-day .wx-ic { width: 52px; height: 52px; margin: 6px auto 2px; display: block; }
.wx-hl { font-size: 20px; } .wx-hl b { color: var(--signal); font-weight: 600; } .wx-hl span { color: var(--ink-2); }
.wx-sh { font-size: 14px; line-height: 1.3; min-height: 2.6em; margin-top: 4px !important; }
.wx-pp { font-size: 12.5px; color: var(--signal); margin-top: 4px !important; } .wx-pp.wx-dry { color: var(--ink-2); }
.wx-day details { margin-top: 6px; font-size: 14px; text-align: left; }
.wx-day summary { cursor: pointer; text-align: center; font-size: 13px; color: var(--ink-2); }
.wx-day details p { margin-top: 6px; line-height: 1.4; }
.wx-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 36px; align-items: start; }
.wx-radar figure { margin: 0; }

.wx-radar figcaption { margin-top: 6px; font-size: 14px; font-style: italic; color: var(--ink-2); }
.wx-notes ul { margin: 0; padding-left: 1.1em; } .wx-notes li { margin: 0 0 10px; font-size: 17px; }
.wx-notes li::marker { color: var(--signal); }
.sky-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 36px; }
.sun-arc { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 6px; overflow: visible; }
.arc-ground { stroke: var(--rule-2); stroke-width: 1.5; } .arc-path { fill: none; stroke: var(--rule-2); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; }
.arc-done { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; } .arc-sun { fill: var(--sun); }
.sky-note { margin: 10px 0 0; font-size: 15.5px; color: var(--ink-2); }
.sky-moon-top { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.sky-moon-top p { margin: 0; }
.sky-phase { font: 600 26px/1.15 "Playfair", serif; } .sky-lit { font-size: 20px; color: var(--signal); } .sky-age { font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.sky-phases { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.sky-phases li { display: grid; justify-items: center; gap: 3px; }
.sp-n { font-size: 13.5px; line-height: 1.2; } .sp-d { font-size: 12px; color: var(--ink-2); }
.wx-tablewrap { overflow-x: auto; margin-top: 18px; }
.wx-t { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.wx-t caption { text-align: left; font: italic 600 16px "Playfair", serif; padding-bottom: 6px; }
.wx-t th, .wx-t td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.wx-t thead th { font: italic 500 13.5px "Playfair", serif; color: var(--ink-2); border-bottom: 1px solid var(--rule-2); }
.wx-t tbody th { font-weight: 600; }
.wx-t tr.here { background: color-mix(in srgb, var(--signal) 9%, transparent); }
.wx-t td:nth-child(3) { white-space: normal; }
.sk-m { display: flex; align-items: center; gap: 8px; }
.al-sub { margin: 0; font-size: 15.5px; color: var(--ink-2); font-style: italic; }
.al-t td small { color: var(--ink-2); }
.al-rec { font: 600 11px "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.al-facts { margin: 14px 0 0; padding-left: 1.1em; } .al-facts li { margin-bottom: 6px; } .al-facts li::marker { color: var(--signal); }
.wx-src { margin-top: 30px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 14px; font-style: italic; color: var(--ink-2); }
/* rivers and the lake */
.wa-lake { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px 36px; align-items: start; padding: 20px 24px; border: 1px solid var(--rule-2); outline: 1px solid var(--rule); outline-offset: 4px; background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.wa-lake p { margin: 0; }
.wa-k { font: italic 600 18px "Playfair", serif; color: var(--ink-2); }
.wa-big { font-size: 34px; line-height: 1.1; color: var(--signal); margin: 2px 0 4px !important; }
.wa-big small { font-size: 14px; color: var(--ink-2); }
.wa-lake .wa-big { font-size: 54px; }
.wa-s { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.wa-s.mono { font-size: 12.5px; }
.wa-lake-chart { grid-column: 1 / -1; margin: 6px 0 0; }
.wa-lake-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.wa-line { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linejoin: round; }
.wa-fullline { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 5 5; }
.wa-lbl { font: 12.5px "Mono", monospace; fill: var(--ink-2); } .wa-end { text-anchor: end; }
.wa-lake-sec .wx-stn { margin-top: 12px; }
.wa-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 30px; }
.wa-g { padding: 12px 0 14px; border-bottom: 1px solid var(--rule); }
.wa-g p { margin: 0; }
.wa-g-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wa-g h3 { margin: 0; font: 600 19px/1.2 "Playfair", serif; } .wa-g h3 span { font-weight: 400; font-style: italic; font-size: 16px; color: var(--ink-2); }
.wa-tag { flex: none; font: 500 11.5px "Oswald", sans-serif; letter-spacing: .07em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--rule-2); color: var(--ink-2); }
.wa-tag.wa-low { color: var(--sun); border-color: var(--sun); } .wa-tag.wa-high { color: var(--signal); border-color: var(--signal); }
.wa-g-body { display: flex; align-items: center; gap: 16px; }
.wa-spark { flex: 1; height: 36px; min-width: 0; } .wa-spark path { fill: none; stroke: var(--signal); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.wa-g .wa-s + .wa-s { margin-top: 3px; }
.wa-src-l { margin-top: 4px !important; font-size: 12.5px; color: var(--ink-2); }
.wa-flood { border-left: 4px solid var(--warn); padding-left: 10px; }
.wa-front-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: start; }
.wa-lake-sm { grid-template-columns: 1fr; padding: 0; border: 0; outline: 0; background: none; }
.wa-lake-sm .wa-big { font-size: 40px; }
.wa-mini { list-style: none; margin: 0; padding: 0; }
.wa-mini a { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.wa-mini a:hover .wm-n { text-decoration: underline; }
.wm-n { font: 600 16px "Playfair", serif; } .wm-n small { font-weight: 400; font-style: italic; color: var(--ink-2); font-size: 14px; }
.wm-v { color: var(--signal); font-size: 16px; text-align: right; } .wm-t { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); }
.wa-more { margin: 12px 0 0; font-size: 15px; }
.wa-front { margin-top: 36px; }
@media (max-width: 980px) {
  .wx-towns { grid-template-columns: repeat(2, 1fr); }
  .wx-towns li:nth-child(-n+4) { border-top: 1px solid var(--rule); } .wx-towns li:nth-child(-n+2) { border-top: 0; }
  .wx-towns li:not(:nth-child(4n+1)) { border-left: 0; } .wx-towns li:nth-child(2n) { border-left: 1px solid var(--rule); }
  .wx-now, .wx-two, .sky-grid, .wa-lake, .wa-front-body { grid-template-columns: 1fr; }
  .sky-moon { margin-top: 24px; }
}
@media (max-width: 560px) {
  .wx-towns { grid-template-columns: 1fr; } .wx-towns li:nth-child(2) { border-top: 1px solid var(--rule); } .wx-towns li:nth-child(2n) { border-left: 0; }
  .wx-now, .wa-lake { padding: 16px 14px; }
  .wx-temp { font-size: 60px; } .wx-big { width: 80px; height: 80px; }
  .wx-days { grid-template-columns: repeat(2, 1fr); }
  .sky-phases { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .wa-lake .wa-big { font-size: 44px; }
}
.wa-plot { position: relative; height: 130px; padding-left: 74px; border-bottom: 1px solid var(--rule-2); background: repeating-linear-gradient(0deg, transparent 0 32px, var(--rule) 32px 33px); }
.wa-plot svg { display: block; width: 100%; height: 100%; }
.wa-plot .wa-line { vector-effect: non-scaling-stroke; }
.wa-ax { position: absolute; left: 0; font-size: 12px; color: var(--ink-2); } .wa-ax-hi { top: 0; } .wa-ax-lo { bottom: 2px; }
.wa-x { display: flex; justify-content: space-between; padding-left: 74px; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
/* radar: our map, the frames on top */
.rad { position: relative; aspect-ratio: 990 / 700; border: 1px solid var(--rule-2); overflow: hidden; }
.rad-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.rm-land { fill: var(--paper-2); }
.rm-county { fill: none; stroke: var(--rule-2); stroke-width: .9; } .rm-out { stroke: var(--rule); }
.rm-state { fill: none; stroke: var(--ink-2); stroke-width: 1.8; }
.rm-lake { fill: var(--signal); opacity: .55; }
.rm-road { fill: none; stroke: var(--sun); stroke-width: 1.6; opacity: .7; stroke-linecap: round; stroke-linejoin: round; }
.rm-towns text { font: 500 15px "Source Serif", serif; fill: var(--ink); paint-order: stroke; stroke: var(--paper-2); stroke-width: 4px; stroke-linejoin: round; }
.rm-towns .tw-big { font-weight: 700; font-size: 17px; }
.rm-towns .tw-dot, .rm-towns .tw-big-dot { fill: var(--ink); stroke: var(--paper-2); stroke-width: 1.5; }
.rad-frames img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; image-rendering: auto; }
.rad-frames img.on { opacity: .85; }
.rad-time { position: absolute; right: 8px; bottom: 8px; margin: 0; padding: 2px 8px; font-size: 14px; background: var(--paper); border: 1px solid var(--rule-2); }
.rad-ctl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.rad-play { font: 500 14px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; background: none; color: var(--ink); border: 1px solid var(--rule-2); cursor: pointer; }
.rad-play:hover { border-color: var(--ink); }
#rad-step { flex: 1; min-width: 120px; accent-color: var(--signal); }
.rad-key { display: inline-flex; } .rad-key i { width: 18px; height: 10px; }
.rad-key .k1 { background: #04e9e7; } .rad-key .k2 { background: #02fd02; } .rad-key .k3 { background: #fdf802; } .rad-key .k4 { background: #fd9500; } .rad-key .k5 { background: #fd0000; }
.rad-keyl { font-size: 13px; color: var(--ink-2); }
.rm-land { fill: color-mix(in srgb, var(--ink) 7%, var(--paper)); }
.rm-int { fill: none; stroke: var(--sun); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.rm-us { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.rm-shields text { font: 700 11.5px "Oswald", sans-serif; text-anchor: middle; }
.sh-i rect { fill: var(--sun); stroke: var(--paper-2); stroke-width: 1.5; } .sh-i text { fill: #1d1606; }
.sh-us rect { fill: var(--paper); stroke: var(--ink-2); stroke-width: 1.2; } .sh-us text { fill: var(--ink); }
.rm-ar { fill: none; stroke: var(--ink-2); stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.sh-ar rect { fill: var(--paper-2); stroke: var(--ink-2); stroke-width: .9; } .sh-ar text { fill: var(--ink-2); font-size: 10.5px; }
.rad-click { cursor: zoom-in; }
.rad-dlg[open] .rad { cursor: default; }
.rad-bigbtn { margin-left: auto; }
.rad-dlg { width: min(96vw, 1500px); max-width: none; max-height: 96vh; padding: 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule-2); }
.rad-dlg::backdrop { background: rgba(5, 15, 20, .78); }
.rad-dlg .rad { width: min(100%, calc((96vh - 110px) * 990 / 700)); margin: 0 auto; }
.rad-dlg .rad-ctl { width: min(100%, calc((96vh - 110px) * 990 / 700)); margin: 8px auto 0; }
.rad-dlg .rad-towns text, .rad-dlg .rm-towns text { font-size: 13px; }
.rad-close { display: block; margin: 0 0 10px auto; }
/* context boxes and "go deeper" on story pages */
.ctx { margin: 1.2em 0 1.4em; padding: 12px 16px 10px; border-left: 3px solid var(--signal); background: color-mix(in srgb, var(--paper-2) 75%, transparent); font-size: 16px; line-height: 1.5; }
.ctx-h { margin: 0 0 4px; font: 600 14px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--signal); }
.ctx p { margin: 0 0 6px; }
.ctx .ctx-src { font-size: 13.5px; color: var(--ink-2); font-style: italic; margin: 0; }
.story-body .ctx-h { margin: 0 0 4px; font: 600 14px/1.3 "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--signal); }
.deeper { margin: 28px 0 0; padding: 14px 0 4px; border-top: 3px double var(--rule-2); }
.deeper h2 { margin: 0 0 8px; font: italic 700 22px "Playfair", serif; }
.deeper ul { margin: 0; padding: 0; list-style: none; }
.deeper li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.deeper li a { display: block; font: 600 19px/1.3 "Playfair", serif; }
.deeper li span { display: block; font-size: 15px; color: var(--ink-2); margin-top: 2px; }
/* outdoors: seasons */
.od-lede { font-size: 18px; max-width: 70ch; margin: 0 0 6px; } .od-small { font-size: 15px; color: var(--ink-2); }
.od-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.od-sub { margin: 0 0 4px; font: 600 14px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.od-mini { list-style: none; margin: 0; padding: 0; }
.od-mini li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.om-n { font: 600 16px "Playfair", serif; } .om-v { color: var(--signal); font-size: 13.5px; white-space: nowrap; }
.om-more a { font-size: 14px; }
.od-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.od-card { padding: 12px 14px; border: 1px solid var(--rule-2); border-top: 4px solid var(--signal); }
.od-card p, .od-card h3 { margin: 0; }
.od-g { font: 500 12px "Oswald", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.od-card h3 { font: 600 19px/1.25 "Playfair", serif; margin: 2px 0 4px; }
.od-when { font-size: 13px; color: var(--signal); } .od-note { font-size: 14.5px; color: var(--ink-2); margin-top: 6px !important; line-height: 1.4; }
.od-yr { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; }
.od-soon { list-style: none; margin: 0; padding: 0; }
.od-soon li { display: grid; grid-template-columns: 9em 1fr; column-gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.os-d { color: var(--signal); font-size: 14px; grid-row: span 2; padding-top: 3px; } .os-n { font: 600 17px "Playfair", serif; } .os-in { font-size: 14px; color: var(--ink-2); }
.od-turkey { margin-top: 26px; }
.od-gh { margin: 22px 0 4px; font: 600 15px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.od-tl { position: relative; }
.od-axis { position: relative; height: 18px; margin-left: 38%; font-size: 11.5px; color: var(--ink-2); border-bottom: 1px solid var(--rule-2); }
.od-axis span { position: absolute; top: 0; }
.od-row { border-bottom: 1px solid var(--rule); }
.od-row summary { display: grid; grid-template-columns: 38% 1fr; grid-template-areas: "n bar" "d bar"; column-gap: 0; align-items: center; padding: 5px 0; cursor: pointer; list-style: none; }
.od-row summary::-webkit-details-marker { display: none; }
.od-rn { grid-area: n; font: 600 15.5px/1.25 "Playfair", serif; padding-right: 10px; } .od-rd { grid-area: d; font-size: 12px; color: var(--ink-2); padding-right: 10px; }
.od-svg { grid-area: bar; width: 100%; height: 22px; }
.od-bar { fill: var(--ink-2); opacity: .35; } .od-bar.od-now { fill: var(--signal); opacity: 1; } .od-bar.od-future { fill: var(--ink-2); opacity: .7; } .od-bar.od-all { fill: var(--signal); opacity: .45; }
.od-today { stroke: var(--red); stroke-width: .35; vector-effect: non-scaling-stroke; stroke-width: 2; }
.od-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); vertical-align: 2px; }
.od-row summary:hover .od-rn { text-decoration: underline; }
.od-more { padding: 4px 0 10px; font-size: 15px; } .od-more p { margin: 0 0 6px; }
.od-dl { margin: 0; } .od-dl div { padding: 8px 0; border-bottom: 1px solid var(--rule); } .od-dl dt { font: 600 16px "Playfair", serif; } .od-dl dd { margin: 2px 0 0; font-size: 15.5px; }
.od-panel { margin-top: 0; margin-bottom: 28px; }
@media (max-width: 700px) { .od-cols { grid-template-columns: 1fr; } .od-row summary { grid-template-columns: 1fr; grid-template-areas: "n" "d" "bar"; } .od-axis { margin-left: 0; } .od-soon li { grid-template-columns: 1fr; } .os-d { grid-row: auto; } }
.od-lic { margin: 18px 0 8px; padding: 14px 18px; border: 1px solid var(--rule-2); border-left: 6px solid var(--sun); }
.od-lic-h { margin: 0 0 6px; font: 600 16px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.od-lic p { margin: 0 0 8px; font-size: 16px; } .od-lic-go a { font: 700 19px "Playfair", serif; }
.od-lic-l { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
/* nine towns: 3 × 3 on wide screens */
@media (min-width: 981px) {
  .wx-towns { grid-template-columns: repeat(3, 1fr); }
  .wx-towns li { border-top: 1px solid var(--rule); border-left: 0; }
  .wx-towns li:nth-child(-n+3) { border-top: 0; }
  .wx-towns li:not(:nth-child(3n+1)) { border-left: 1px solid var(--rule); }
  .wx-towns li:nth-child(3n+1) { border-left: 0; }
  .wx-towns li:nth-child(n+4) { border-top: 1px solid var(--rule); }
}
/* live panels at the top of a section page: room before the story grid (outline sits 4px outside the box) */
.section-page > .desk { margin: 6px 0 40px; }
/* drought and fire */
.dr-f.d0, i.dr-f.d0 { fill: #f2e35a; background: #f2e35a; } .dr-f.d1, i.dr-f.d1 { fill: #f5c97a; background: #f5c97a; } .dr-f.d2, i.dr-f.d2 { fill: #f09a2a; background: #f09a2a; }
.dr-f.d3, i.dr-f.d3 { fill: #d8382f; background: #d8382f; } .dr-f.d4, i.dr-f.d4 { fill: #7a1a12; background: #7a1a12; } .dr-f.dnone { fill: var(--paper-2); }
.fr-low { fill: #5e9e6e; background: #5e9e6e; } .fr-moderate { fill: #e0c34a; background: #e0c34a; } .fr-high { fill: #e8892e; background: #e8892e; } .fr-extreme { fill: #c0392b; background: #c0392b; } .fr-none { fill: var(--paper-2); }
b.fr-low, b.fr-moderate, b.fr-high, b.fr-extreme { background: none; padding: 0; } b.fr-low { color: #5e9e6e; } b.fr-moderate { color: #c9a92c; } b.fr-high { color: #e8892e; } b.fr-extreme { color: var(--red); }
:root[data-theme="day"] b.fr-low { color: #2f7a45; } :root[data-theme="day"] b.fr-moderate { color: #8a7310; } :root[data-theme="day"] b.fr-high { color: #a85a10; }
.dr-map { display: block; width: 100%; height: auto; margin: 4px 0 8px; }
.dr-map path { stroke: var(--paper); stroke-width: .8; stroke-linejoin: round; }
.dr-map path.fr-ban { stroke: #111; stroke-width: 2.4; stroke-dasharray: 4 2.5; }
:root[data-theme="night"] .dr-map path.fr-ban, :root:not([data-theme="day"]) .dr-map path.fr-ban { stroke: #fff; }
.dr-map path.dr-home { stroke: var(--ink); stroke-width: 2.2; }
.dr-map path:hover { opacity: .8; }
.dr-key { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--ink-2); }
.dr-key li { display: inline-flex; align-items: center; gap: 6px; } .dr-key i { width: 14px; height: 14px; display: inline-block; border: 1px solid var(--rule); }
.dr-key i.fr-banbox { background: transparent; }
.dr-key small { font-family: "Mono", monospace; font-size: 12px; }
.dr-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dr-card { padding: 12px 14px; border: 1px solid var(--rule-2); border-top: 4px solid var(--rule-2); }
.dr-card.is-ban { border-top-color: var(--red); }
.dr-card h3 { margin: 0 0 4px; font: 600 19px "Playfair", serif; } .dr-card p { margin: 0 0 4px; font-size: 15.5px; }
.dr-ban { font: 600 13px "Oswald", sans-serif !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.dr-card.is-ban .dr-ban { color: var(--red); }
.dr-card small { color: var(--ink-2); font-size: 13.5px; }
.dr-maps { margin-top: 10px; }
.dr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin-bottom: 8px; }
.dr-hist { margin: 0; } .dr-hist figcaption { font-size: 15px; margin-bottom: 3px; } .dr-hist figcaption span { color: var(--ink-2); font-size: 13.5px; margin-left: 6px; }
.dr-hist svg { display: block; width: 100%; height: 110px; background: var(--paper-2); border-bottom: 1px solid var(--rule-2); }
.dr-yr { stroke: var(--ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .5; }
.dr-yt { font: 11px "Mono", monospace; fill: var(--ink-2); }
.dr-facts { margin-bottom: 6px; }
.fr-ban-t { color: var(--red); }
.dr-panel .om-v { color: var(--ink-2); font-size: 13.5px; text-align: right; }
@media (max-width: 760px) { .dr-cards { grid-template-columns: 1fr 1fr; } .dr-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .dr-cards { grid-template-columns: 1fr; } }
/* map fixes: plain county lines, red burn-ban outlines, our counties in near-black (both editions) */
.dr-map path { stroke: rgba(0, 0, 0, .28); stroke-width: .7; }
.dr-map path.fr-ban, :root[data-theme="night"] .dr-map path.fr-ban, :root:not([data-theme="day"]) .dr-map path.fr-ban { stroke: #c21f17; stroke-width: 2.2; stroke-dasharray: none; }
.dr-map path.dr-home { stroke: #0b1a20; stroke-width: 2.2; }
.dr-key i.fr-banbox { border: 2px solid #c21f17; }
.dr-panel .om-v { white-space: normal; }
/* map labels: Public Sans (open font, self-hosted) reads better small than the serif */
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans.woff2?v=1) format("woff2"); font-weight: 100 900; font-display: swap; }
.rm-towns text { font-family: "Public Sans", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .01em; }
.rm-towns .tw-big { font-weight: 800; font-size: 15.5px; }
.dr-map path.dr-home { stroke: #2fb3d6; stroke-width: 2.6; }
:root[data-theme="day"] .dr-map path.dr-home { stroke: #0a6fa8; }
.wx-drline { margin-top: 6px; padding-top: 6px; } .wx-drline a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); }
.dr-map path.dr-home-edge { fill: none; stroke: rgba(0, 0, 0, .55); stroke-width: 4.2; stroke-linejoin: round; pointer-events: none; }
.dr-map path.dr-home-line { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; pointer-events: none; }
.dr-map path.fr-ban, :root[data-theme="night"] .dr-map path.fr-ban, :root:not([data-theme="day"]) .dr-map path.fr-ban { stroke: #f0503f; stroke-width: 1.8; }
.dr-key i.fr-banbox { border-color: #f0503f; }
.dr-map path.dr-ban-hatch { fill: url(#ban-hatch); stroke: #f0503f; stroke-width: 1.8; stroke-linejoin: round; pointer-events: none; }
.dr-map .ban-stripe { fill: #d8382f; }
.dr-key i.fr-banbox { border: 1.5px solid #f0503f; background: repeating-linear-gradient(45deg, #d8382f 0 2px, transparent 2px 5px); }
.dr-tip { position: fixed; z-index: 50; max-width: 260px; padding: 8px 11px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule-2); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.35; pointer-events: none; }
.dr-tip b { display: block; font: 600 16px "Playfair", serif; margin-bottom: 2px; } .dr-tip span { display: block; }
.dr-map path[data-county] { cursor: pointer; } .dr-map path.is-tip { filter: brightness(1.12); }
/* history charts: three across, same order as the map (north row, then south row); white year labels with a dark edge */
.dr-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 22px; }
.dr-yt { fill: #fff; font-weight: 600; paint-order: stroke; stroke: rgba(0, 0, 0, .7); stroke-width: 2.6px; stroke-linejoin: round; }
@media (max-width: 980px) { .dr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dr-grid { grid-template-columns: 1fr; } }
/* county card */
.dr-tip { position: fixed; z-index: 50; max-width: 290px; padding: 8px 11px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule-2); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.35; pointer-events: none; }
.dr-tip b { display: block; font: 600 16px "Playfair", serif; margin-bottom: 2px; } .dr-tip span { display: block; }
.dr-tip hr { border: 0; border-top: 1px solid var(--rule); margin: 6px 0; }
.dr-tip .dt-fact { font-size: 13.5px; color: var(--ink-2); }
.dr-tip .dt-hint { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-2); font-style: italic; }
.dr-tip.is-pinned { pointer-events: auto; }
.dr-tip .dt-close { display: block; margin: 8px 0 0 auto; font: 500 12.5px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; background: none; color: var(--ink); border: 1px solid var(--rule-2); cursor: pointer; }
.dr-tip.is-sheet { left: 0 !important; right: 0; top: auto !important; bottom: 0; max-width: none; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-width: 2px 0 0; font-size: 15.5px; }
.dr-tip.is-sheet b { font-size: 19px; }
.dr-map path[data-county] { cursor: pointer; } .dr-map path.is-tip { filter: brightness(1.12); }
/* card: close button in the top-right corner, out of the text's way */
.dr-tip.is-pinned { padding-right: 40px; }
.dr-tip .dt-close { position: absolute; top: 6px; right: 6px; margin: 0; width: 28px; height: 28px; padding: 0; font: 400 22px/1 "Source Serif", serif; letter-spacing: 0; text-transform: none; display: grid; place-items: center; }
.dr-tip .dt-close:hover { border-color: var(--ink); }
.dr-key i.fr-banbox { background: repeating-linear-gradient(45deg, #d8382f 0 1.5px, transparent 1.5px 6px); }
/* "Follow it live" box on stories */
.live-box { margin: 26px 0 0; padding: 12px 16px; border: 1px solid var(--rule-2); border-left: 4px solid var(--signal); }
.live-box h2 { margin: 0 0 6px; font: 600 14px "Oswald", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--signal); display: flex; align-items: center; gap: 8px; }
.live-box ul { margin: 0; padding: 0; list-style: none; }
.live-box li { padding: 6px 0; border-top: 1px solid var(--rule); } .live-box li:first-child { border-top: 0; }
.live-box a { font: 600 18px "Playfair", serif; } .live-box span { display: block; font-size: 14.5px; color: var(--ink-2); }
.dr-grid { grid-template-columns: 1fr 1fr; gap: 14px 30px; }
@media (max-width: 600px) { .dr-grid { grid-template-columns: 1fr; } }

/* legend swatch: dense stripes running the same way as on the map (bottom-left to top-right) */
.dr-key i.fr-banbox { background: repeating-linear-gradient(-45deg, #d8382f 0 2px, transparent 2px 4.5px); }
/* even, slightly tighter spacing under the masthead and above the footer on every page (2026-11-08) */
.story { margin-top: 24px; margin-bottom: 0; }
.send { margin-top: 24px; margin-bottom: 0; }
.section-page { margin-top: 24px; }
.wx-page { padding-top: 24px; }
.front { margin-top: 24px; }
.foot { margin-top: 40px; }
@media (max-width: 760px) { .story, .send, .section-page, .front { margin-top: 18px; } .wx-page { padding-top: 18px; } .foot { margin-top: 32px; } }

/* county lines on the drought and fire maps: darker so they read on the light day edition too */
.dr-map path[data-county] { stroke: rgba(0, 0, 0, .5); stroke-width: .9; }
:root[data-theme="day"] .dr-map path[data-county] { stroke: rgba(0, 0, 0, .62); }

/* the moon on the sky arc */
.arc-moon-path { stroke-dasharray: 2 5; opacity: .8; }
.arc-moon-done { fill: none; stroke: #cfd8e6; stroke-width: 2; stroke-linecap: round; opacity: .7; }
:root[data-theme="day"] .arc-moon-done { stroke: #6b7c93; }
.arc-key { margin: 0 0 4px; text-align: center; font-size: 12.5px; color: var(--ink-2); }
.arc-key span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 4px 0 10px; vertical-align: -1px; }
.arc-key .ak-sun { background: var(--sun); } .arc-key .ak-moon { background: #cfd8e6; border: 1px solid var(--rule-2); }

/* the arc's sun, drawn like the logo's: disc and pointed rays */
.arc-ray { fill: var(--sun); }

/* photos inside a story */
.in-photo { margin: 1.4em 0 1.5em; }
.in-photo img { display: block; width: 100%; height: auto; }
.in-photo.tall img { width: auto; max-width: 100%; max-height: 80vh; margin: 0 auto; }
.in-photo figcaption { margin-top: 6px; font-size: 14.5px; line-height: 1.45; font-style: italic; color: var(--ink-2); }
.in-photo .credit { font-style: normal; font-size: 12.5px; letter-spacing: .02em; }

/* Buffalo River page */
.bf-gauges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.bf-g { padding: 10px 12px; border: 1px solid var(--rule-2); border-top: 6px solid var(--rule-2); }
.bf-g h3 { margin: 0; font: 600 17px/1.2 "Playfair", serif; } .bf-g p { margin: 0; }
.bf-lv { font: 600 13px "Oswald", sans-serif; letter-spacing: .07em; text-transform: uppercase; margin: 2px 0 0 !important; }
.bf-g .wa-big { font-size: 28px; } .bf-g .wa-spark { display: block; width: 100%; height: 30px; margin: 2px 0; }
.bf-cut { font-size: 12.5px; color: var(--ink-2); margin-top: 4px !important; }
.lv-vlow { --lv: #8a8f94; } .lv-low { --lv: #3c8fd6; } .lv-mod { --lv: #3aa35b; } .lv-high { --lv: #e8892e; } .lv-flood { --lv: #d8382f; } .lv-none { --lv: var(--rule-2); }
.bf-g[class*="lv-"] { border-top-color: var(--lv); } .bf-g .bf-lv { color: var(--lv); }
.bf-key { margin: 12px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bf-key div { border-left: 4px solid var(--lv); padding: 2px 0 2px 8px; } .bf-key dt { font: 600 13px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--lv); }
.bf-key dd { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.bf-mapfig { margin: 0 0 12px; } .bf-map { display: block; width: 100%; height: auto; border: 1px solid var(--rule-2); }
.bf-road { fill: none; stroke: var(--ink-2); stroke-width: 1.1; opacity: .55; stroke-linejoin: round; stroke-linecap: round; }
.bf-river-edge { fill: none; stroke: var(--paper); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; opacity: .6; }
.bf-river { fill: none; stroke: #3aa7d6; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.bf-towns text { font: 600 14px "Public Sans", sans-serif; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper-2); stroke-width: 4px; }
.bf-towns .bt-dot { fill: var(--ink-2); }
.bf-am circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; } .bf-am text { font: 700 11px "Public Sans", sans-serif; fill: var(--ink); text-anchor: middle; }
.bf-gm path { fill: var(--lv); stroke: var(--paper); stroke-width: 1.5; }
.bf-mapfig figcaption { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.bf-k1, .bf-k2 { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; margin: 0 5px 0 10px; }
.bf-k1 { border-radius: 50%; background: var(--paper); border: 1.6px solid var(--ink); } .bf-k2 { background: #3aa35b; transform: rotate(45deg) scale(.8); }
.bf-t td, .bf-t th { white-space: normal; } .bf-t td:first-child { width: 2.4em; color: var(--ink-2); }
.bf-dist th { padding-top: 14px !important; font: 600 13px "Oswald", sans-serif !important; letter-spacing: .07em; text-transform: uppercase; color: var(--signal); border-bottom: 1px solid var(--rule-2); }
.bf-links { font-size: 14px; white-space: nowrap !important; }
.bf-promo { margin: 18px 0 0; font-size: 16px; }
@media (max-width: 980px) { .bf-gauges { grid-template-columns: repeat(3, 1fr); } .bf-key { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bf-gauges { grid-template-columns: 1fr 1fr; } .bf-key { grid-template-columns: 1fr; } .bf-t td:nth-child(4) { display: none; } }
@media (max-width: 760px) { .bf-links { white-space: normal !important; } .bf-t th, .bf-t td { padding: 6px 6px; } .bf-t td:nth-child(3) { white-space: nowrap; } }
@media (max-width: 560px) { .bf-t thead th:nth-child(4) { display: none; } }
/* brand kit */
.bk-files { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bk-file { margin: 0; border: 1px solid var(--rule-2); }
.bk-swatch { display: grid; place-items: center; height: 220px; padding: 18px; }
.bk-dark .bk-swatch { background: #0f2a33; } .bk-light .bk-swatch { background: #f4f2ea; }
.bk-swatch img { max-width: 100%; max-height: 100%; }
.bk-file figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 12px; font-size: 14.5px; }
.bk-file figcaption b { font: 600 17px "Playfair", serif; } .bk-file figcaption span { color: var(--ink-2); }
.bk-dl { margin-left: auto; display: flex; gap: 10px; } .bk-dl a { font: 500 13px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--signal); }
.bk-uses { margin: 14px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .bk-uses dt { font: 600 16px "Playfair", serif; } .bk-uses dd { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.bk-colors { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bk-colors li { display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; align-items: center; }
.bk-chip { grid-row: span 3; width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: 50%; }
.bk-colors b { font: 600 15px "Playfair", serif; } .bk-colors .mono { font-size: 13px; } .bk-colors small { font-size: 12.5px; color: var(--ink-2); }
.bk-type { list-style: none; margin: 0; padding: 0; } .bk-type li { padding: 8px 0; border-bottom: 1px solid var(--rule); display: grid; }
.bk-t1 { font: 600 34px/1 "Oswald", sans-serif; letter-spacing: .05em; } .bk-t2 { font: 700 30px/1.15 "Playfair", serif; } .bk-t3 { font: 400 19px/1.5 "Source Serif", serif; }
.bk-type small { color: var(--ink-2); font-size: 13.5px; }
.bk-mocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bk-mock { margin: 0; } .bk-art { background: #d9d6cb; border: 1px solid var(--rule-2); padding: 14px; display: grid; place-items: center; aspect-ratio: 4 / 3; }
:root[data-theme="night"] .bk-art, :root:not([data-theme="day"]) .bk-art { background: #c9c5b8; }
.bk-art svg { width: 100%; height: 100%; }
.bk-mock figcaption { margin-top: 6px; font-size: 14px; color: var(--ink-2); } .bk-mock figcaption b { color: var(--ink); font: 600 16px "Playfair", serif; margin-right: 4px; }
.sh-navy { fill: #18343d; } .sh-cream { fill: #efe8d6; } .sh-neck { fill: none; stroke: #0d2027; stroke-width: 4; } .sh-neck-l { stroke: #d8cfb8; }
.pt-edge { fill: #13262d; } .pt-base { fill: #0f2a33; } .pt-line { fill: #13323a; } .pt-stitch { fill: none; stroke: #eadfb8; stroke-width: 1.6; stroke-dasharray: 3 2.5; }
.cap { fill: #18343d; } .cap-seam { fill: none; stroke: #0d2027; stroke-width: 1.4; } .cap-bill { fill: #12282f; } .cap-btn { fill: #12282f; } .cap-patch { fill: #0f2a33; stroke: #eadfb8; stroke-width: 1.2; stroke-dasharray: 2.5 2; }
.mug { fill: #fbfaf6; stroke: #cfcab9; } .mug-rim { fill: #e9e5da; stroke: #cfcab9; } .mug-handle { fill: none; stroke: #e9e5da; stroke-width: 14; }
.stk-back { fill: #fff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.tote { fill: #e6dcc3; } .tote-strap { fill: none; stroke: #cdbf9f; stroke-width: 10; }
.bc-front { fill: #0f2a33; } .bc-back { fill: #f4f2ea; filter: drop-shadow(0 3px 5px rgba(0,0,0,.25)); }
.bc-name { font: 700 15px "Playfair", serif; fill: #13262d; } .bc-role { font: italic 12px "Source Serif", serif; fill: #4b585a; } .bc-line { font: 11px "Mono", monospace; fill: #13262d; }
.soc-ring { fill: #e4e2d8; } .soc-bg { fill: #0f2a33; } .soc-hill { fill: #163640; }
@media (max-width: 900px) { .bk-mocks { grid-template-columns: 1fr 1fr; } .bk-colors { grid-template-columns: 1fr 1fr; } .bk-uses { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bk-files, .bk-mocks { grid-template-columns: 1fr; } }
.bk-swatch { height: 240px; overflow: hidden; } .bk-swatch img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.bk-lockup .bk-swatch img { height: auto; width: 86%; }
.ys-sign { fill: #0f2a33; } .ys-stake { stroke: #8a8576; stroke-width: 5; }
.ys-txt { font: 700 15px "Playfair", serif; fill: #eadfb8; text-anchor: middle; } .ys-url { font: 12px "Mono", monospace; fill: #4fc6b8; text-anchor: middle; }
.bk-swatch { display: flex; align-items: center; justify-content: center; } .bk-swatch img { height: 204px; width: auto; max-width: 100%; }
.bk-lockup .bk-swatch img { height: auto; width: 86%; }
@media (max-width: 560px) { .bk-swatch { height: 200px; } .bk-swatch img { height: 164px; } }

/* river access maps: click a number */
.ac-wide .ac-list { columns: 2; column-gap: 30px; }
.ac-tall { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 0 30px; align-items: start; }
.ac-tall .bf-mapfig { position: sticky; top: 10px; }
.ac-tall .bf-map { max-height: calc(100vh - 60px); width: auto; max-width: 100%; margin: 0 auto; }
.ac-list { list-style: none; margin: 12px 0 0; padding: 0; }
.ac-list li { break-inside: avoid; }
.ac-row { display: grid; grid-template-columns: 2.2em 1fr auto; grid-template-areas: "n nm mi" "n hs hs"; column-gap: 10px; width: 100%; padding: 8px 4px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); color: var(--ink); cursor: pointer; font: inherit; }
.ac-row:hover, .ac-row.on { background: color-mix(in srgb, var(--signal) 10%, transparent); }
.ac-n { grid-area: n; align-self: center; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 12.5px; }
.ac-row.on .ac-n { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.ac-nm { grid-area: nm; font: 600 17px "Playfair", serif; } .ac-mi { grid-area: mi; font-size: 12.5px; color: var(--ink-2); align-self: center; }
.ac-hs { grid-area: hs; font-size: 13.5px; color: var(--ink-2); } .ac-cam { color: var(--sun); font-size: 10px; margin-left: 4px; }
.ac-pt { cursor: pointer; } .ac-pt circle { transition: r .12s; } .ac-pt.hov circle, .ac-pt:focus-visible circle { stroke-width: 2.6; }
.ac-pt.on circle { fill: var(--signal); stroke: var(--paper); } .ac-pt.on text { fill: var(--paper); }
.ac-card { position: fixed; z-index: 60; width: 340px; max-width: calc(100vw - 20px); max-height: calc(100vh - 20px); overflow: auto; padding: 14px 16px 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule-2); box-shadow: 0 10px 28px rgba(0,0,0,.4); font-size: 15px; line-height: 1.45; }
.ac-card p { margin: 0 0 8px; }
.ac-top { display: flex; align-items: center; gap: 10px; margin: 0 30px 8px 0; } .ac-top b { font: 700 20px/1.2 "Playfair", serif; }
.ac-badge { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--signal); color: var(--paper); font: 700 13px "Public Sans", sans-serif; }
.ac-ph { margin: 0 0 8px; } .ac-ph img { display: block; width: 100%; height: auto; } .ac-ph figcaption { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.ac-meta { font: 13px "Mono", monospace; color: var(--ink-2); } .ac-has { font-weight: 600; color: var(--signal); font-size: 14px; }
.ac-links a { font-weight: 600; }
.ac-nav { display: flex; gap: 8px; margin-top: 4px; }
.ac-btn { flex: 1; padding: 7px 8px; font: 500 13px "Oswald", sans-serif; letter-spacing: .05em; text-transform: uppercase; background: none; color: var(--ink); border: 1px solid var(--rule-2); cursor: pointer; }
.ac-btn:disabled { opacity: .35; cursor: default; } .ac-btn:not(:disabled):hover { border-color: var(--ink); }
.ac-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 0; display: grid; place-items: center; font: 22px/1 "Source Serif", serif; background: none; color: var(--ink); border: 1px solid var(--rule-2); cursor: pointer; }
.ac-card.is-sheet { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; max-width: none; max-height: 70vh; border-width: 2px 0 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.kr-now { max-width: 360px; }
@media (max-width: 900px) { .ac-wide .ac-list { columns: 1; } .ac-tall { grid-template-columns: 1fr; } .ac-tall .bf-mapfig { position: static; } .ac-tall .bf-map { max-height: 70vh; } }
.ac-tall .bf-towns text { font-size: 30px; stroke-width: 7px; } .ac-tall .bf-towns .bt-dot { r: 7px; }
.ac-tall .rm-shields .sh { transform-box: fill-box; transform-origin: center; transform: scale(2.1); }
.ac-tall .bf-road { stroke-width: 2.4; } .ac-tall .bf-river { stroke-width: 6; } .ac-tall .bf-river-edge { stroke-width: 12; }
.ac-tall .ac-pt circle { stroke-width: 3.4; }
.ac-tall .bf-am text { font-size: 38px; } .ac-tall .ac-pt circle { stroke-width: 4.5; }
.ac-tall .bf-towns text { font-size: 34px; }
/* search: in the left corner box of the masthead, and big on /search */
.search { position: relative; display: flex; align-items: stretch; }
.search input { flex: 1; min-width: 0; padding: 5px 8px; font: 14px "Source Serif", serif; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule-2); border-right: 0; border-radius: 2px 0 0 2px; }
.search input::placeholder { color: var(--ink-2); font-style: italic; }
.search input:focus { outline: 2px solid var(--signal); outline-offset: 0; }
.search button { width: 32px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--rule-2); border-radius: 0 2px 2px 0; cursor: pointer; color: var(--ink); }
.search button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-ear { margin-top: 6px; }
.search .sg { position: absolute; z-index: 40; left: 0; top: calc(100% + 3px); width: max(100%, 320px); margin: 0; padding: 4px 0; list-style: none; background: var(--paper); border: 1px solid var(--rule-2); box-shadow: 0 8px 22px rgba(0,0,0,.35); text-align: left; }
.search .sg a { display: block; padding: 6px 12px; text-decoration: none; color: var(--ink); }
.search .sg b { display: block; font: 600 15px/1.3 "Playfair", serif; } .search .sg small { display: block; font-size: 12.5px; color: var(--ink-2); }
.search .sg [aria-selected="true"] a, .search .sg a:hover { background: color-mix(in srgb, var(--signal) 14%, transparent); }
.search .sg .sg-all a { font-size: 13.5px; font-style: italic; color: var(--signal); border-top: 1px solid var(--rule); margin-top: 4px; }
.search-big { max-width: 640px; margin: 0 0 14px; } .search-big input { font-size: 18px; padding: 10px 12px; } .search-big button { width: 46px; } .search-big button svg { width: 20px; height: 20px; }
.sr-count { color: var(--ink-2); font-style: italic; }
.sr-list { list-style: none; margin: 0; padding: 0; max-width: 760px; } .sr-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.sr-list b { font: 600 19px "Playfair", serif; } .sr-list small { display: block; font-size: 13px; color: var(--ink-2); } .sr-list p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .search .sg { width: calc(100vw - 32px); } .search-ear input { font-size: 16px; } }
@media (max-width: 760px) {
  .mast-top > .ear { min-width: 0; }
  .search-ear { width: 100%; } .search-ear input { width: 100%; }
  .search .sg { width: calc(100vw - 60px); }
}

.pt-ring { fill: none; stroke: #eadfb8; stroke-width: 1.2; opacity: .5; }
.pt-arc { font: 600 21px "Oswald", sans-serif; letter-spacing: .18em; fill: #eadfb8; text-anchor: middle; } .pt-arc-s { font-size: 14px; letter-spacing: .3em; }
.vest { fill: #18343d; } .vest-neck { fill: none; stroke: #0d2027; stroke-width: 4; } .vest-band { fill: #eadfb8; } .vest-press { font: 700 32px "Oswald", sans-serif; letter-spacing: .2em; fill: #13262d; text-anchor: middle; }
.hood { fill: #b9b8b1; } .hood-in { fill: #8f8e88; } .hood-pocket { fill: none; stroke: #9a9992; stroke-width: 2; } .hood-cord { stroke: #e9e7df; stroke-width: 3; stroke-linecap: round; }
.truck { fill: #f6f6f2; stroke: #c9c7bd; stroke-width: 2; } .truck-win { fill: #5d7480; } .truck-handle { fill: #b9b7ad; }
.glass { fill: #9fb6bf; } .glass-shine { fill: #fff; opacity: .18; } .decal-url { font: 600 16px "Oswald", sans-serif; letter-spacing: .2em; fill: #f4f2ea; text-anchor: middle; }
.lan { stroke: #18343d; stroke-width: 14; } .lan-t { font: 600 8px "Oswald", sans-serif; letter-spacing: .15em; fill: #eadfb8; }
.lan-clip { fill: #9a9992; } .lan-card { fill: #0f2a33; stroke: #eadfb8; stroke-width: 1.5; } .lan-press { font: 700 13px "Oswald", sans-serif; letter-spacing: .25em; fill: #e8953a; text-anchor: middle; } .lan-name { font: 600 10px "Oswald", sans-serif; letter-spacing: .15em; fill: #eadfb8; text-anchor: middle; }
.ban { fill: #0f2a33; } .ban-rope { stroke: #8a8576; stroke-width: 2; } .ban-gr { fill: #c9c5b8; }
/* editors' desk shortcuts */
.adm-short { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 24px; margin: 14px 0 26px; padding: 14px 16px; border: 1px solid var(--rule-2); }
.adm-short h2 { margin: 0 0 6px; font: 600 14px "Oswald", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--signal); }
.adm-short ul { margin: 0; padding: 0; list-style: none; } .adm-short li { padding: 3px 0; font-size: 15px; } .adm-short small { display: block; font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 900px) { .adm-short { grid-template-columns: 1fr 1fr; } }
.adm-top { margin-bottom: 0; padding-top: 4px; }
@media print { .adm-top, .adm-nav { display: none !important; } }
.foot-fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }
.ear-upd { margin-top: 1px !important; font-style: italic; }
/* the two corner boxes the same size; the weather box gets a strip that matches the search box */
@media (min-width: 761px) { .mast-top > .ear { width: 228px; max-width: none; } }
.ear-wx { text-align: left; }
.ear-wx .ear-k { justify-content: flex-start; }
.ew-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 0; }
.ew-row .ear-temp { margin: 0 !important; }
.ew-sky { text-align: right; line-height: 1.3; }
.ew-strip { display: flex; justify-content: space-between; gap: 6px; margin: 6px 0 0 !important; padding: 5px 8px; border: 1px solid var(--rule-2); background: var(--paper-2); font: 12.5px/1.3 "Source Serif", serif; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 760px) { .ew-strip { flex-direction: column; gap: 0; white-space: normal; } }
@media (min-width: 761px) {
  .mast-top > .ear { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
  .ear-l .search-ear, .ear-wx .ew-strip { margin-top: auto !important; }
}
.ew-strip { padding: 7px 8px; font-size: 12px; gap: 4px; }
.ew-strip span:last-child { text-align: right; }
.ear-upd2 { margin: 2px 0 0 !important; font: 600 17px/1.2 "Playfair", serif; }
@media (max-width: 760px) {
  .mast-top > .ear { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
  .ew-strip { display: none; }
  .ew-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .ew-sky { text-align: left; }
}
/* desktop: corner boxes a little shorter than the logo and centred on it, no empty band in the left one */
@media (min-width: 761px) {
  .mast-top > .ear { align-self: center; height: 106px; padding: 9px 12px; }
  .ear-l .search-ear { margin-top: auto !important; }
}
.ear-upd2 a { text-decoration: none; } .ear-upd2 a:hover { text-decoration: underline; }
.ed-clock { font: 500 13px "Mono", monospace; font-style: normal; color: var(--signal); margin-left: 6px; }
.ed-clock::before { content: "·"; color: var(--ink-2); margin-right: 6px; }
.ear-l .ear-k { gap: 0 6px; flex-wrap: wrap; } .ed-name, .ed-clock { white-space: nowrap; } .ed-clock { margin-left: 0; }
@media (max-width: 760px) { .ed-clock { font-size: 12px; } }
@media (max-width: 760px) { .ed-clock::before { display: none; } }
/* What's new */
.up-day { margin: 26px 0 6px; font: italic 700 22px "Playfair", serif; padding-bottom: 4px; border-bottom: 3px double var(--rule-2); }
.up-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.up-list li { display: grid; grid-template-columns: 5.5em 8.5em 1fr; grid-template-areas: "t k a" ". . n"; column-gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.up-t { grid-area: t; font-size: 13px; color: var(--ink-2); } .up-k { grid-area: k; font: 500 12px "Oswald", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--signal); }
.up-list a { grid-area: a; font: 600 17px/1.3 "Playfair", serif; } .up-n { grid-area: n; font-size: 14px; color: var(--ink-2); }
.up-correction .up-k, .up-alert .up-k, .up-fire .up-k { color: var(--red); } .up-season .up-k { color: var(--sun); }
.story-updates { margin: 22px 0 0; padding: 10px 14px; border-left: 3px solid var(--sun); background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.story-updates h2 { margin: 0 0 4px; font: 600 13px "Oswald", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--sun); }
.story-updates ul { margin: 0; padding: 0; list-style: none; font-size: 15px; } .story-updates time { font: 12.5px "Mono", monospace; color: var(--ink-2); margin-right: 6px; }
@media (max-width: 640px) { .up-list li { grid-template-columns: 4.6em 1fr; grid-template-areas: "t k" "a a" "n n"; } }
@media (min-width: 761px) { .mast-top > .ear { width: 100%; max-width: 228px; min-width: 0; } }
@media (min-width: 761px) and (max-width: 1060px) { .nameplate a { font-size: clamp(40px, 6.4vw, 78px); } .mast-top { gap: 14px; } .ew-strip { flex-direction: column; gap: 0; } .ew-strip span:last-child { text-align: left; } }
@media (min-width: 761px) and (max-width: 1060px) { .mast-top > .ear { height: auto; min-height: 106px; align-self: stretch; } }
.dl-where { font-size: 17px; letter-spacing: .05em; color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .dl-where { font-size: 14.5px; } }
.dl-where { font-size: 16.5px; font-weight: 400; letter-spacing: .06em; }
@media (min-width: 761px) { .dateline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; } .dateline .motto { text-align: right; } }
.foot-ed form { display: inline; } .foot-ed .bf-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--rule-2); cursor: pointer; }
/* editors' menu runs the full width of the page, Log out at the far right */
.adm-nav { width: calc(100vw - 40px); max-width: 1240px; position: relative; left: 50%; transform: translateX(-50%); }
@media (max-width: 760px) { .adm-nav { width: calc(100vw - 32px); } }
.adm-top { width: auto; margin: 6px 0 0; }
/* footer: Log out stays on the same line */
.foot-ed form { display: inline; margin: 0; } .foot-ed .bf-link { font: inherit; color: inherit; }
.foot-ed { margin: 0 0 4px; }
/* page titles sit evenly between the masthead rule and their own double rule; the footer rule is as far from the
   content as the content is from the masthead */
.section-page { margin-top: 12px; } .wx-page { padding-top: 12px; }
.sec-title { padding-bottom: 20px; margin-bottom: 18px; }
.foot { margin-top: 24px; }
@media (max-width: 760px) { .section-page { margin-top: 8px; } .wx-page { padding-top: 8px; } .sec-title { padding-bottom: 14px; } .foot { margin-top: 18px; } }
.story, .send { margin-top: 10px; } @media (max-width: 760px) { .story, .send { margin-top: 6px; } }
/* no hidden margin under the last thing on a page, so the footer gap is the same everywhere */
.section-page { display: flow-root; } .section-page > .grid:last-child { margin-bottom: -26px; }
.story-body > :last-child, .story > :last-child, .wx-page > :last-child, .send > :last-child { margin-bottom: 0; }
.ear-upd2 a { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: underline; text-decoration-color: var(--rule-2); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ear-upd2 a:hover { text-decoration-color: currentColor; } .upd-go { color: var(--signal); font-weight: 700; transition: transform .15s; } .ear-upd2 a:hover .upd-go { transform: translateX(2px); }
.ear-upd2 a { text-decoration: none; } .upd-t { text-decoration: underline; text-decoration-color: var(--rule-2); text-decoration-thickness: 1px; text-underline-offset: .2em; } .ear-upd2 a:hover .upd-t { text-decoration-color: currentColor; }
/* section names above headlines are links back to the section */
.kicker a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; transition: text-decoration-color .15s; }
.kicker a:hover, .kicker a:focus-visible { text-decoration-color: currentColor; }
.story-head .kicker a { text-decoration-color: color-mix(in srgb, var(--signal) 45%, transparent); }
.up-list .up-sec { font: inherit; color: var(--ink-2); text-decoration-color: var(--rule-2); }
/* story pages on wide screens: the story in a readable column on the left, sources / follow live / keep reading in a
   rail on the right (on narrower screens everything stacks in one column as before) */
@media (min-width: 1100px) {
  .story.story-2col { width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0, 740px) minmax(280px, 1fr); grid-template-areas: "head head" "photo side" "main side"; column-gap: 56px; align-items: start; }
  .story-2col .story-head { grid-area: head; max-width: 900px; }
  .story-2col .story-photo { grid-area: photo; margin-left: 0; margin-right: 0; }
  .story-2col .story-main { grid-area: main; min-width: 0; }
  .story-2col .story-side { grid-area: side; position: sticky; top: 16px; padding-left: 24px; border-left: 1px solid var(--rule); }
  .story-2col .story-side > :first-child { margin-top: 0; }
  .story-2col .story-side .sources, .story-2col .story-side .related, .story-2col .story-side .live-box { margin-top: 0; margin-bottom: 26px; }
  .story-2col .story-side ul { font-size: 15px; }
}
@media (min-width: 1100px) {
  .story.story-2col { width: 100%; grid-template-columns: minmax(0, 760px) minmax(300px, 1fr); }
  .story-2col .story-head { max-width: none; } .story-2col .story-head h1, .story-2col .story-head .deck { max-width: 920px; }
}

/* float gauges on the access maps: diamonds beside the river, clickable */
.ac-g { cursor: pointer; } .ac-g-d { fill: var(--lv); stroke: var(--paper); } .ac-g-line { stroke: var(--lv); }
.ac-g:hover .ac-g-d, .ac-g:focus-visible .ac-g-d { stroke: var(--ink); }
.ac-badge-g { background: var(--lv); border-radius: 3px; transform: rotate(45deg) scale(.78); } .ac-lv { color: var(--lv) !important; }
@media (min-width: 761px) { .foot-in { align-items: start; } .foot-motto { margin-top: 3px !important; } }
.more a { text-decoration: none; } .more a:hover .upd-go { display: inline-block; transform: translateX(2px); } .more .upd-go { color: var(--signal); font-weight: 700; }
/* search box: one outline around the whole box (input + button) when it's in use, not just the text part */
.search input:focus, .search input:focus-visible { outline: none; }
.search:focus-within input, .search:focus-within button { border-color: var(--signal); }
.search:focus-within { outline: 2px solid var(--signal); outline-offset: 1px; border-radius: 3px; }
.search button:focus-visible { outline: none; background: color-mix(in srgb, var(--signal) 18%, var(--paper-2)); }

/* search highlights */
mark, mark.hl { background: color-mix(in srgb, var(--sun) 45%, transparent); color: inherit; padding: 0 .08em; border-radius: 2px; }
mark.hl.on { background: var(--sun); color: #13262d; box-shadow: 0 0 0 2px var(--sun); }
.hl-bar { position: fixed; z-index: 70; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule-2); box-shadow: 0 8px 22px rgba(0,0,0,.4); font-size: 14.5px; max-width: calc(100vw - 20px); }
.hl-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 6px; }
.hl-bar button { width: 32px; height: 32px; display: grid; place-items: center; font: 20px/1 "Source Serif", serif; background: none; color: var(--ink); border: 1px solid var(--rule-2); cursor: pointer; }
.hl-bar button:hover { border-color: var(--ink); }
@media (max-width: 560px) { .hl-bar { bottom: calc(10px + env(safe-area-inset-bottom)); } }

/* footer, 2026-11-09: brand + Contact / Sections / Live / About columns; Editors link moved to the fine print */
.foot-in { grid-template-columns: minmax(0, auto) minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 18px 36px; align-items: start; }
.foot-h { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 4px; }
.foot-contact p { margin: 0 0 6px; }
.foot-fine .foot-ed { margin: 0; }
@media (max-width: 1100px) { .foot-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .foot-in { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .foot-contact { grid-column: 1 / -1; }
  .foot-fine { flex-direction: column; gap: 10px; }
}
.foot-contact ul + .foot-h { margin-top: 12px; }
.foot-in { grid-template-columns: minmax(0, auto) repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .foot-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-contact { grid-column: auto; } }

/* float guides (src/floats.php), 2026-11-09 */
.fl-status { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fl-status .wa-big { font-size: 24px; }
.fl-status .wa-s { margin-top: 6px !important; font-size: 14.5px; line-height: 1.4; }
.fl-status .wa-src-l { margin-top: 8px !important; }
.fl-note { margin: 14px 0 0; padding: 10px 14px; border-left: 4px solid var(--sun); background: color-mix(in srgb, var(--sun) 8%, transparent); font-size: 15px; line-height: 1.45; }
.fl-plan { margin-top: 28px; }
.fl-plan-dl { margin: 0; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 10px; }
.fl-plan-dl div { padding: 8px 12px; border: 1px solid var(--rule-2); }
.fl-plan-dl dt { font: 600 12.5px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.fl-plan-dl dd { margin: 2px 0 0; font-size: 19px; }
.fl-plan-dl .fl-big { border-color: var(--sun); } .fl-plan-dl .fl-big dd { font-size: 18px; font-weight: 600; }
.fl-fc { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fl-fc li { display: grid; gap: 2px; padding: 8px 12px; border-top: 2px solid var(--rule-2); font-size: 15px; }
.fl-fc .mono { font-size: 17px; }
.fl-checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15.5px; }
.fl-checks li { padding-left: 14px; border-left: 3px solid var(--rule-2); }
.fl-checks .fl-warn { border-left-color: #e8892e; }
.fl-know ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; max-width: 80ch; }
.fl-page section + section { margin-top: 28px; }
.fm-state { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-dasharray: 7 5; opacity: .7; }
.fm-side { fill: none; stroke: #3aa7d6; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; opacity: .8; }
@media (max-width: 760px) {
  .fl-plan-dl { grid-template-columns: 1fr 1fr; } .fl-plan-dl .fl-big { grid-column: 1 / -1; }
  .fl-fc { grid-template-columns: 1fr; }
}
/* wide river maps on phones: keep the map readable and let it swipe sideways inside its frame (2026-11-09) */
@media (max-width: 600px) {
  .ac-wide .bf-mapfig { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .ac-wide .bf-map { width: 900px; max-width: none; }
  .ac-wide .bf-mapfig figcaption { position: sticky; left: 0; width: calc(100vw - 32px); }
}
.ew-hl { white-space: nowrap; }
/* river guides hub + section panel (2026-11-09) */
.fl-hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fl-hub-list a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; grid-template-areas: "n s go" "w s go"; gap: 2px 20px; align-items: center; padding: 12px 16px; border: 1px solid var(--rule-2); border-left: 6px solid var(--lv); color: inherit; text-decoration: none; }
.fl-hub-list a:hover { border-color: var(--ink-2); border-left-color: var(--lv); }
.fh-n { grid-area: n; font: 600 21px/1.2 "Playfair", serif; } .fh-w { grid-area: w; font-size: 14.5px; color: var(--ink-2); }
.fh-s { grid-area: s; display: grid; gap: 2px; } .fh-s b { font: 600 14px "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--lv); } .fh-s .mono { font-size: 14px; color: var(--ink-2); }
.fh-go { grid-area: go; font-size: 26px; color: var(--ink-2); }
.fl-mini li a { border-left: 4px solid var(--lv); padding-left: 10px; }
.fl-pill { font: 600 12.5px "Oswald", sans-serif !important; letter-spacing: .06em; text-transform: uppercase; color: var(--lv); }
@media (max-width: 640px) { .fl-hub-list a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n go" "w go" "s go"; } .fh-s { margin-top: 6px; } }
/* Outdoors section: two doors side by side (2026-11-09) */
.od-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.od-doors .desk { margin: 0; display: flex; flex-direction: column; }
.od-door .dd-k { margin: 10px 0 2px; font: 600 12.5px "Oswald", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.od-door .dd-v { margin: 0; font-size: 16.5px; line-height: 1.45; } .od-door .dd-v .mono { font-size: 14px; color: var(--signal); margin-left: 4px; }
.od-door .dd-more { color: var(--ink-2); }
.od-door .fl-mini { margin-top: 4px; }
.od-door .dd-go { margin: auto 0 0; padding-top: 12px; font-weight: 600; }
@media (max-width: 760px) { .od-doors { grid-template-columns: 1fr; } }
/* left masthead corner, built like the weather corner (2026-11-09): edition icon, big clock, updated, search */
.ed-ic { width: 15px; height: 15px; flex: none; }
.ed-moon { fill: var(--paper-ink, #efe8d6); fill: var(--ink); } .ed-sun { fill: var(--sun); stroke: var(--sun); stroke-width: 2; stroke-linecap: round; }
:root:not([data-theme="day"]) .ed-sun, :root[data-theme="day"] .ed-moon { display: none; }
.el-row { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 4px 0 6px; }
.el-clock { margin: 0 !important; display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.el-clock .ed-hm { font: 600 30px/1 "Mono", monospace; color: var(--signal); }
.el-clock .ed-ap { font: 500 13px "Mono", monospace; color: var(--ink-2); }
.el-upd { margin: 0 !important; text-align: right; font-size: 13.5px; line-height: 1.25; }
.el-upd a { display: grid; justify-items: end; color: inherit; text-decoration: none; }
.el-upd .el-k { color: var(--ink-2); } .el-upd .el-v { white-space: nowrap; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: .2em; }
.el-upd a:hover .el-v { text-decoration-color: currentColor; } .el-upd .upd-go { color: var(--signal); font-weight: 700; }
@media (max-width: 760px) { .el-row { flex-wrap: wrap; } .el-clock .ed-hm { font-size: 26px; } .el-upd { text-align: left; } .el-upd a { justify-items: start; } }
@media (min-width: 761px) { .ear-ed .el-row { margin: 2px 0 0; } .ear-ed .search-ear { margin-top: auto !important; } }
/* What's new: live tiles at the top (2026-11-09) */
.up-quick ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.up-quick a { display: grid; gap: 3px; height: 100%; padding: 10px 12px; border: 1px solid var(--rule-2); border-top: 3px solid var(--signal); color: inherit; text-decoration: none; }
.up-quick a:hover { border-color: var(--ink-2); border-top-color: var(--signal); }
.uq-k { font: 600 16px "Playfair", serif; } .uq-k span { color: var(--signal); }
.uq-v { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.up-quick .uq-hot a { border-top-color: #e8892e; } .up-quick .uq-hot .uq-v { color: var(--ink); }
@media (max-width: 900px) { .up-quick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* front page: one paragraph under the top story, then "Also today" (2026-11-09) */
.lead-text.lead-one { columns: 1; max-width: 62ch; }
.also { margin-top: 28px; }
.grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid.grid-3 { grid-template-columns: 1fr; } }
.lead-text.lead-one { text-align: left; hyphens: manual; }
/* "Updated" in the left corner: plain like "Clear / Hi · Lo" on the right; underline only on hover; sits a little higher */
.el-upd .el-v { text-decoration: none; }
.el-upd a:hover .el-v, .el-upd a:focus-visible .el-v { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .2em; }
@media (min-width: 761px) { .ear-ed .el-row { align-items: flex-start; } .ear-ed .el-upd { margin-top: -2px !important; } }
@media (min-width: 761px) { .ear-ed .el-row { align-items: center; } .ear-ed .el-upd { margin-top: 0 !important; } }
@media (min-width: 761px) { .ear-ed .el-upd { font-size: 12.5px; line-height: 16.25px; } }
@media (min-width: 761px) { .ear-ed .el-row { margin-top: 3.7px; } }

/* ---- migration map and calendar in stories (src/migration.php) ---- */
.mig, .mig-cal { margin: 1.6em 0 1.7em; --m-mon: #f08a24; --m-hum: #3fbf7f; --m-gse: #8fc3ff; --m-eag: #d9b98a; --m-jun: #b9b3c9; --m-sng: #e3c95b;
  --m-sea: #0b2f3b; --m-land: #1d4450; --m-line: rgba(234, 223, 184, .22); --m-text: #eadfb8; --m-halo: #0f2a33; }
:root[data-theme="day"] .mig, :root[data-theme="day"] .mig-cal { --m-mon: #c9600a; --m-hum: #1c8a52; --m-gse: #2f6fb8; --m-eag: #7a5328; --m-jun: #6f6787; --m-sng: #9a7d0c;
  --m-sea: #c9dde0; --m-land: #f1eee3; --m-line: rgba(19, 38, 45, .25); --m-text: #13262d; --m-halo: #f1eee3; }
.mig-frame, .mig-cal-frame { border: 1px solid var(--rule); background: var(--m-sea); }
.mig-map, .mig-cal svg { display: block; width: 100%; height: auto; }
.mig figcaption, .mig-cal figcaption { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-top: 8px; }
.mig-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mig-chip { font: 600 14px/1 var(--sans, "Oswald", sans-serif); letter-spacing: .02em; color: var(--ink); background: transparent; border: 1px solid var(--rule-2); border-radius: 999px; padding: 7px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mig-chip i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.mig-chip.m-mon i { background: var(--m-mon); } .mig-chip.m-hum i { background: var(--m-hum); } .mig-chip.m-gse i { background: var(--m-gse); } .mig-chip.m-eag i { background: var(--m-eag); }
.mig-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mig-chip:focus-visible { outline: 2px solid var(--signal, var(--ink)); outline-offset: 2px; }
.mig-sea { fill: var(--m-sea); }
.mig-land { fill: var(--m-land); stroke: var(--m-line); stroke-width: 1; }
.mig-lakes { fill: var(--m-sea); stroke: var(--m-line); stroke-width: .6; }
.mig-states { fill: none; stroke: var(--m-line); stroke-width: .6; }
.mig-borders { fill: none; stroke: var(--m-line); stroke-width: 1.6; stroke-dasharray: 5 3; }
.mig-lbl { font: 600 21px/1 "Oswald", sans-serif; fill: var(--m-text); paint-order: stroke; stroke: var(--m-halo); stroke-width: 5px; stroke-linejoin: round; }
.mig-l2 { font-weight: 400; }
.mig-ctry { font-size: 22px; letter-spacing: .35em; opacity: .5; font-weight: 500; }
.mig-sea-lbl { font: italic 400 20px "Playfair Display", serif; opacity: .7; }
.mig-dist { font-weight: 500; }
.mig-sp { transition: opacity .25s; }
.mig-route { fill: none; stroke-width: 5; stroke-linecap: round; opacity: .38; }
.mig-alt { stroke-dasharray: 2 9; opacity: .75; stroke-width: 4; }
.mig-flow { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 14; animation: mig-flow 1.2s linear infinite; }
@keyframes mig-flow { to { stroke-dashoffset: -17; } }
.mig-dot { stroke: var(--m-halo); stroke-width: 2; }
.mig-end { fill: none; stroke-width: 3; stroke-dasharray: 3 3; }
.m-mon .mig-route, .m-mon .mig-flow, .m-mon .mig-end { stroke: var(--m-mon); } .m-mon .mig-dot, .m-mon .mig-l1 { fill: var(--m-mon); }
.m-hum .mig-route, .m-hum .mig-flow, .m-hum .mig-end { stroke: var(--m-hum); } .m-hum .mig-dot, .m-hum .mig-l1 { fill: var(--m-hum); }
.m-gse .mig-route, .m-gse .mig-flow, .m-gse .mig-end { stroke: var(--m-gse); } .m-gse .mig-dot, .m-gse .mig-l1 { fill: var(--m-gse); }
.m-eag .mig-route, .m-eag .mig-flow, .m-eag .mig-end { stroke: var(--m-eag); } .m-eag .mig-dot, .m-eag .mig-l1 { fill: var(--m-eag); }
.mig-sp .mig-l2 { fill: var(--m-text); }
.mig-sp.mig-off { opacity: .07; }
.mig-star { fill: var(--sun, #e3a447); stroke: var(--m-halo); stroke-width: 2.5; }
.mig-home-lbl .mig-l1, .mig-home-lbl .mig-l2 { fill: var(--m-text); font-weight: 700; }
.mig-still .mig-flow { animation: none; }
@media (prefers-reduced-motion: reduce) { .mig-flow { animation: none; } .mig-sp { transition: none; } }
@media (max-width: 600px) {
  .mig-lbl { font-size: 30px; stroke-width: 7px; } .mig-ctry { font-size: 26px; } .mig-sea-lbl { font-size: 26px; }
  .mig-dist .mig-l1 { font-size: 26px; }
}
.mc-grid { stroke: var(--m-line); stroke-width: 1; }
.mc-mo { font: 500 15px "Oswald", sans-serif; fill: var(--m-text); opacity: .75; }
.mc-lbl { font: 600 17px "Oswald", sans-serif; fill: var(--m-text); }
.mc-note { font-weight: 400; opacity: .7; }
.mc-bar { opacity: .45; } .mc-s2 { opacity: .75; } .mc-s3 { opacity: 1; }
.m-mon .mc-bar { fill: var(--m-mon); } .m-hum .mc-bar { fill: var(--m-hum); } .m-gse .mc-bar { fill: var(--m-gse); } .m-eag .mc-bar { fill: var(--m-eag); } .m-jun .mc-bar { fill: var(--m-jun); } .m-sng .mc-bar { fill: var(--m-sng); }
.mc-today { stroke: var(--sun, #e3a447); stroke-width: 2.5; stroke-dasharray: 6 4; }
.mc-today-lbl { font: 700 14px "Oswald", sans-serif; fill: var(--sun, #e3a447); letter-spacing: .06em; }
@media (max-width: 600px) { .mig-cal-frame { overflow-x: auto; } .mig-cal svg { width: 760px; max-width: none; } }
.preview-note { max-width: 1100px; margin: 12px auto; padding: 10px 14px; border: 1px dashed var(--rule-2); font: 500 15px "Oswald", sans-serif; letter-spacing: .03em; }
.ac-lead { stroke: var(--ink-2); fill: none; }
/* desk: stories waiting to publish (2026-11-10) */
.adm-drafts { margin: 18px 0 8px; padding: 14px 18px; border: 1px solid var(--rule); border-left: 4px solid var(--sun); border-radius: 6px; background: var(--paper-2); }
.adm-drafts h2 { margin: 0 0 8px; font: italic 700 21px "Playfair", serif; }
.adm-drafts ul { margin: 0; padding: 0; list-style: none; }
.adm-drafts li { padding: 7px 0; border-top: 1px solid var(--rule); } .adm-drafts li:first-child { border-top: 0; }
.adm-drafts a { font: 700 18px/1.3 "Playfair", serif; } .adm-drafts small { display: block; font: 500 13px "Public Sans", sans-serif; color: var(--ink-2); }
/* send form: how many photos are ready, and what was left out (2026-11-11) */
.sheet-note { margin: 8px 0 0; font: 600 14px/1.4 "Public Sans", sans-serif; color: var(--signal); } .sheet-note.warn { color: #e9a85c; }
:root[data-theme="day"] .sheet-note.warn { color: #8a4b00; }
/* fall color graphics: leaf guide, peak map + calendar, places (src/fallcolor.php, 2026-11-11) */
.fc-guide, .fc-map, .fc-cal, .fc-places { margin: 1.6em 0 1.7em; --m-sea: #0b2f3b; --m-land: #1d4450; --m-line: rgba(234, 223, 184, .22); --m-text: #eadfb8; --m-halo: #0f2a33;
  --fc9: #f2d27a; --fc10: #f39b3a; --fc11: #e2574c; --fc12: #c47a9a; }
:root[data-theme="day"] :is(.fc-guide, .fc-map, .fc-cal, .fc-places) { --m-sea: #c9dde0; --m-land: #f1eee3; --m-line: rgba(19, 38, 45, .25); --m-text: #13262d; --m-halo: #f1eee3;
  --fc9: #c99a12; --fc10: #d9700f; --fc11: #b8322a; --fc12: #6e2a4a; }
.fc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.fc-head b { font: italic 700 22px/1.2 "Playfair", serif; } .fc-head span { font: 500 13px "Public Sans", sans-serif; color: var(--ink-2); }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.fc-card { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--paper-2); display: flex; flex-direction: column; }
.fc-ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; } .fc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.fc-ph:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .fc-ph img { transition: none; } }
.fc-tx { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fc-tx h4 { margin: 0; font: 700 19px/1.2 "Playfair", serif; } .fc-tx h4 i { display: block; font: italic 400 13px "Public Sans", sans-serif; color: var(--ink-2); margin-top: 2px; }
.fc-sw { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font: 600 13px "Public Sans", sans-serif; }
.fc-sw li { display: inline-flex; align-items: center; gap: 5px; } .fc-dot { width: 16px; height: 16px; flex: none; } .fc-dot circle { stroke: var(--rule-2); stroke-width: 1; }
.fc-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; font: 600 12px/1.4 "Public Sans", sans-serif; letter-spacing: .02em; color: var(--signal, var(--ink-2)); text-transform: uppercase; }
.fc-tx p { margin: 0; font-size: 15px; line-height: 1.45; } .fc-tx small { margin-top: auto; font-size: 12px; color: var(--ink-2); }
.fc-guide figcaption, .fc-map figcaption, .fc-cal figcaption, .fc-places figcaption { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-top: 8px; }
.fc-frame { border: 1px solid var(--rule); background: var(--m-sea); } .fc-frame svg { display: block; width: 100%; height: auto; }
.fc-sea { fill: var(--m-sea); } .fc-land { fill: var(--m-land); stroke: var(--m-line); stroke-width: 1; } .fc-lakes { fill: var(--m-sea); stroke: var(--m-line); stroke-width: .6; }
.fc-states { fill: none; stroke: var(--m-line); stroke-width: .8; } .fc-borders { fill: none; stroke: var(--m-line); stroke-width: 1.6; stroke-dasharray: 5 3; }
.fc-pt circle { stroke: var(--m-halo); stroke-width: 3; } .fc-home circle { stroke: var(--m-text); stroke-width: 3.5; }
.fc-pt text { font: 600 19px/1 "Oswald", sans-serif; fill: var(--m-text); paint-order: stroke; stroke: var(--m-halo); stroke-width: 5px; stroke-linejoin: round; }
.fc-l2 { font-weight: 400; font-size: 16px; } .fc-home .fc-l1 { font-size: 21px; }
.fc-m9 circle, .fc-m9 .fc-bar, i.fc-m9 { fill: var(--fc9); background: var(--fc9); } .fc-m10 circle, .fc-m10 .fc-bar, i.fc-m10 { fill: var(--fc10); background: var(--fc10); }
.fc-m11 circle, .fc-m11 .fc-bar, i.fc-m11 { fill: var(--fc11); background: var(--fc11); } .fc-m12 circle, .fc-m12 .fc-bar, i.fc-m12 { fill: var(--fc12); background: var(--fc12); }
.fc-key { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 600 14px "Public Sans", sans-serif; }
.fc-key li { display: inline-flex; align-items: center; gap: 6px; } .fc-key i { width: 13px; height: 13px; border-radius: 50%; }
.fc-bar { opacity: .4; } .fc-bar.fc-pk { opacity: 1; } .fc-home .mc-lbl { font-weight: 700; }
@media (max-width: 600px) { .fc-pt text { font-size: 26px; } .fc-l2 { font-size: 22px; } .fc-cal .fc-frame { overflow-x: auto; } .fc-cal svg { width: 760px; max-width: none; } }
.fc-pl-h { font: italic 700 21px "Playfair", serif; margin: 14px 0 6px; } .fc-pl-h:first-child { margin-top: 0; }
.fc-pl { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 18px; counter-reset: fc; }
.fc-pl li { counter-increment: fc; position: relative; padding: 8px 0 8px 36px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.4; }
.fc-pl li::before { content: counter(fc); position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: var(--fc10); color: #1a1205; font: 700 14px/26px "Oswald", sans-serif; text-align: center; }
.fc-pl a b { font: 700 17px/1.25 "Playfair", serif; } .fc-pl-w { font: 600 12px "Public Sans", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); }
/* Leaf guide: "Where it grows" pop-ups (fc_where in src/fallcolor.php; browser popover, no script) */
.fc-more { align-self: flex-start; min-height: 36px; padding: 6px 14px; border: 1px solid var(--rule-2); border-radius: 999px; background: transparent; color: var(--ink); font: 600 14px "Public Sans", sans-serif; cursor: pointer; }
.fc-more:hover, .fc-more:focus-visible { border-color: var(--fc10); background: color-mix(in srgb, var(--fc10) 14%, transparent); }
.fc-pop { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; margin: auto; padding: 14px 18px 16px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.fc-pop::backdrop { background: rgba(0, 0, 0, .55); }
.fc-pop-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.fc-pop h5 { margin: 0; font: italic 700 23px/1.2 "Playfair", serif; }
.fc-x { flex: none; width: 40px; height: 40px; border: 1px solid var(--rule-2); border-radius: 50%; background: transparent; color: var(--ink); font: 400 24px/1 "Public Sans", sans-serif; cursor: pointer; }
.fc-pop-maps { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; align-items: start; }
.fc-pop-maps figure { margin: 0; } .fc-pop-maps svg { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; }
.fc-pop-maps figcaption { font: 600 12px "Public Sans", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); margin-top: 4px; }
g.fc-rng { opacity: .8; } .fc-rng path, rect.fc-rng { fill: var(--fc10); fill-rule: evenodd; } rect.fc-rng { opacity: .8; }
.fc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fc-ark { fill: none; stroke: var(--m-text); stroke-width: 2.2; }
.fc-town circle { fill: var(--m-text); stroke: var(--m-halo); stroke-width: 2; }
.fc-town text { font: 600 19px "Public Sans", sans-serif; fill: var(--m-text); paint-order: stroke; stroke: var(--m-halo); stroke-width: 5px; stroke-linejoin: round; }
.fc-pop-key { display: flex; align-items: center; gap: 6px; margin: 8px 0 4px; font: 600 13px "Public Sans", sans-serif; color: var(--ink-2); }
.fc-pop p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; } .fc-pop p.fc-pop-key { font-size: 13px; }
.fc-pop-src a { color: inherit; text-decoration-color: var(--fc10); } .fc-pop small { display: block; margin-top: 10px; font-size: 12px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 600px) { .fc-pop-maps { grid-template-columns: 1fr; } .fc-pop { padding: 12px 14px 14px; } }

/* Meteor stories (src/meteors.php): the graphics are night skies, so they stay dark in both themes */
.mt-fig { margin: 1.6em 0 1.7em; --sky: #0a1a24; --sky-2: #12303c; --sky-ink: #eadfb8; --sky-ink-2: #a9b4ad; --sky-line: rgba(234, 223, 184, .18);
  --mt-gold: #f2c45a; --mt-good: #8fd3a8; --mt-bad: #f08c7a; --mt-dust: #cfe3ff; }
.mt-frame { border: 1px solid var(--rule); background: radial-gradient(ellipse at 70% 0%, var(--sky-2), var(--sky) 70%); border-radius: 4px; }
.mt-frame svg { display: block; width: 100%; height: auto; }
.mt-fig figcaption { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-top: 8px; }
.mt-fig text { font-family: "Public Sans", sans-serif; fill: var(--sky-ink); }
.mt-grid, .mt-sep { stroke: var(--sky-line); stroke-width: 1; } .mt-sep { stroke-dasharray: 2 4; }
.mt-mo { font: 500 15px "Oswald", sans-serif !important; opacity: .75; letter-spacing: .04em; }
.mt-name { font: 700 19px "Playfair", serif !important; } .mt-sub { font-size: 14.5px; fill: var(--sky-ink-2) !important; } .mt-rate { font-style: italic; }
.mt-active { fill: var(--mt-gold); opacity: .35; } .mt-peak { fill: var(--mt-gold); } .mt-spark { stroke: var(--mt-gold); stroke-width: 2; stroke-linecap: round; opacity: .8; }
.mt-moon-dark { fill: #2a3a44; stroke: rgba(234, 223, 184, .35); stroke-width: 1; } .mt-moon-lit { fill: #f4efd9; }
.mt-mn { font-size: 15px; font-weight: 600; } .mt-verdict { font-size: 15px; font-weight: 700; fill: var(--mt-good) !important; }
.mt-poor .mt-verdict { fill: var(--mt-bad) !important; } .mt-poor .mt-active, .mt-poor .mt-peak { opacity: .25; } .mt-poor .mt-spark { opacity: .3; }
.mt-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; font: 600 13.5px/1.4 "Public Sans", sans-serif; color: var(--ink-2); }
.mt-key span { display: inline-flex; align-items: center; gap: 6px; } .mt-key i { display: inline-block; width: 22px; height: 10px; border-radius: 5px; }
.mt-k-act { background: color-mix(in srgb, #c9971f 45%, transparent); } .mt-k-peak { width: 12px !important; height: 12px !important; background: #c9971f; border-radius: 50% !important; }
.mt-k-find { width: 11px !important; height: 11px !important; border-radius: 50% !important; border: 2px solid var(--ink-2); }
.mt-k-star { width: 15px; height: 15px; fill: #c9971f; }
.mt-lbl { font: 700 19px "Playfair", serif !important; } .mt-small { font-size: 15px; fill: var(--sky-ink-2) !important; } .mt-strong { font-weight: 700; fill: var(--sky-ink) !important; }
.mt-c-good { fill: var(--mt-good) !important; } .mt-c-bad { fill: var(--mt-bad) !important; } .mt-c-sun { fill: var(--mt-gold) !important; }
.mt-sun { fill: var(--mt-gold); opacity: .9; } .mt-orbit { fill: none; stroke: var(--sky-line); stroke-width: 2; stroke-dasharray: 6 6; } .mt-arrow { fill: var(--sky-ink); }
.mt-dust { stroke: var(--mt-dust); stroke-width: 2; stroke-linecap: round; opacity: .75; } .mt-dust-few { opacity: .45; }
.mt-earth-night { fill: #17384a; stroke: rgba(234, 223, 184, .4); stroke-width: 1.5; } .mt-earth-day { fill: #3d7f8f; }
.mt-pole { fill: var(--sky-ink); } .mt-spin { fill: none; stroke: var(--sky-ink); stroke-width: 1.5; opacity: .5; }
.mt-in { fill: var(--sky-ink) !important; font-weight: 700; } .mt-times text { font: 600 16px "Oswald", sans-serif; fill: var(--sky-ink); }
.mt-corbit { fill: none; stroke: rgba(207, 227, 255, .35); stroke-width: 1.5; } .mt-grain { fill: var(--mt-dust); opacity: .55; }
.mt-eorbit { fill: none; stroke: #6fb3c4; stroke-width: 2; stroke-dasharray: 7 5; } .mt-sun2 { fill: var(--mt-gold); }
.mt-tail { fill: rgba(207, 227, 255, .35); } .mt-comet { fill: #fff; } .mt-hit { fill: none; stroke: var(--mt-good); stroke-width: 2.5; } .mt-earth2 { fill: #3d7f8f; stroke: #cfe3ff; stroke-width: 1.5; }
.mt-sbar { fill: var(--mt-gold); } .mt-air { fill: url(#none); fill: rgba(111, 179, 196, .08); } .mt-ground { stroke: var(--sky-ink); stroke-width: 2; }
.mt-tick { stroke: var(--sky-line); stroke-width: 1.5; stroke-dasharray: 4 4; } .mt-tick-main { stroke: var(--mt-gold); stroke-dasharray: none; }
.mt-streak { stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .85; } .mt-burst { fill: var(--mt-gold); }
.mt-cty path { fill: #16323d; stroke: rgba(234, 223, 184, .2); stroke-width: .8; } .mt-cty path.mt-cty-on { fill: #24505e; }
.mt-mtr circle:not(.mt-hitbox) { fill: none; stroke: var(--sky-ink); stroke-width: 2.2; } .mt-mtr path { fill: var(--mt-gold); }
.mt-mtr text { font: 600 13px "Public Sans", sans-serif; paint-order: stroke; stroke: var(--sky); stroke-width: 4px; stroke-linejoin: round; }
.mt-home text { font-weight: 800; font-size: 15px; fill: var(--mt-gold); }
.mt-frame-map { padding: 6px; }
.mt-big { font: 700 24px "Playfair", serif !important; paint-order: stroke; stroke: var(--sky); stroke-width: 5px; stroke-linejoin: round; } .mt-dim { fill: var(--sky-ink-2) !important; font-weight: 600 !important; font-family: "Public Sans", sans-serif !important; font-size: 19px !important; }
.mt-diagram .mt-frame svg { max-width: 760px; margin: 0 auto; } .mt-times text { font-size: 20px; }
.mt-notes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; font-size: 15.5px; line-height: 1.45; }
.mt-notes li { padding-left: 14px; border-left: 4px solid var(--rule-2); } .mt-n-good { border-left-color: #3f9e6a !important; } .mt-n-bad { border-left-color: #d0604c !important; } .mt-n-sun { border-left-color: #c9971f !important; }
.mt-pair { display: grid; grid-template-columns: 56fr 44fr; gap: 0 18px; padding: 6px 4px 0; }
.mt-mn-big { font-size: 20px !important; font-weight: 700; } .mt-speed .mt-name { font-size: 21px !important; } .mt-speed .mt-small { font-size: 16px; }
@media (max-width: 600px) { .mt-cal .mt-frame { overflow-x: auto; } .mt-cal svg { width: 820px; max-width: none; } .mt-mtr text { font-size: 17px; } .mt-home text { font-size: 19px; }
  .mt-pair { grid-template-columns: 1fr; gap: 10px; } }
.mt-mlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4px 24px; margin-top: 12px; }
.mt-mlist h4 { margin: 0 0 4px; font: italic 700 18px "Playfair", serif; }
.mt-mlist ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.4; }
.mt-mlist li { padding: 5px 0; border-top: 1px solid var(--rule); } .mt-mlist li span { display: block; color: var(--ink-2); font-size: 13.5px; }
@media (max-width: 600px) { .mt-find text { display: none; } .mt-mtr text { font-size: 20px !important; } .mt-home text { font-size: 22px !important; } }
.mt-mtr { cursor: pointer; outline: none; } .mt-mtr .mt-hitbox { fill: transparent; stroke: none; pointer-events: all; }
.mt-mtr:hover .mt-hitbox, .mt-mtr:focus-visible .mt-hitbox { fill: rgba(242, 196, 90, .22); stroke: var(--mt-gold); stroke-width: 2px; }
.mt-mtr:hover text, .mt-mtr:focus-visible text { fill: var(--mt-gold); }
.mt-pop { width: min(560px, calc(100vw - 24px)); }
.mt-pop-tag { margin: 0 !important; font: 700 13px "Public Sans", sans-serif !important; letter-spacing: .04em; text-transform: uppercase; } .mt-pop-fall { color: #b8860b; } :root:not([data-theme="day"]) .mt-pop-fall { color: #f2c45a; } .mt-pop-find { color: var(--ink-2); }
.mt-pop-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 28px; margin: 10px 0 0; }
.mt-pop-facts dt { font: 600 12px "Public Sans", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); } .mt-pop-facts dd { margin: 0; font-size: 16px; font-weight: 600; }
@media (max-width: 600px) { .mt-pop-facts { grid-template-columns: 1fr 1fr; } }
.mt-li { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 2px 4px; margin: 0 -4px; border-radius: 4px; cursor: pointer; }
.mt-li:hover, .mt-li:focus-visible { background: color-mix(in srgb, var(--ink) 8%, transparent); } .mt-li:focus-visible { outline: 2px solid var(--rule-2); }
.mt-li u { text-decoration-color: var(--rule-2); text-underline-offset: .15em; } .mt-li[aria-current] b { color: #b8860b; } :root:not([data-theme="day"]) .mt-li[aria-current] b { color: #f2c45a; }
.mt-mtr.mt-flash .mt-hitbox { fill: rgba(242, 196, 90, .35); stroke: var(--mt-gold); stroke-width: 3px; }
.mt-mtr.mt-flash text { display: block !important; fill: var(--mt-gold); font-weight: 800; }
@media (prefers-reduced-motion: no-preference) { .mt-mtr.mt-flash .mt-hitbox { animation: mt-pulse 1.1s ease-in-out 4; transform-box: fill-box; transform-origin: center; } }
@keyframes mt-pulse { 50% { transform: scale(1.7); opacity: .4; } }
/* Press badge: files for a card printer (src/badge.php badge_files_box) */
.bf-files .print-btn { margin-top: 6px; } .bf-files-note { margin-top: 10px; }
.bf-dl { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.bf-dl a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--rule-2); border-radius: 6px; text-decoration: none; }
.bf-dl a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); } .bf-dl span { color: var(--ink-2); font-size: 14px; }
.bf-stale { opacity: .35; filter: grayscale(1); } .bf-stale a { pointer-events: none; }
.bf-stale-note { margin: 8px 0; padding: 8px 12px; border-left: 4px solid #c9971f; background: color-mix(in srgb, #c9971f 14%, transparent); font-size: 15px; line-height: 1.45; }
/* verify page: the live dot takes the badge's status colour (green valid, amber expired, red revoked); text wraps as one block */
.vp-live .live { background: var(--vp-c); } .vp-live .live::after { border-color: var(--vp-c); }
.vp-live { text-align: center; line-height: 1.5; } .vp-live-t time { white-space: nowrap; } .vp-live-t time::before { content: "· "; }
@media (max-width: 480px) { .vp-live-t time { display: block; } .vp-live-t time::before { content: ""; } }
.vp-live { align-items: flex-start; } .vp-live .live { margin-top: calc((1.5em - 8px) / 2); }   /* dot sits on the first line ("Checked live on…") */

/* Cold-snap story (src/coldsnap.php): thermometers, week strip, first-freeze timeline. Follows the page theme. */
.cs-fig { margin: 1.6em 0 1.7em; --cs-ice: #5fa8d3; --cs-cold: #2f6f9f; --cs-warm: #c9822a; }
:root[data-theme="day"] .cs-fig { --cs-ice: #2a7bb0; --cs-cold: #1d5480; --cs-warm: #b06a1c; }
.cs-frame { border: 1px solid var(--rule); background: var(--paper-2); border-radius: 4px; padding: 14px 16px 12px; }
.cs-h { margin: 0 0 10px; font: 600 15px/1.2 "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cs-fig figcaption { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-top: 8px; }
.cs-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font: 600 13px/1.4 "Public Sans", sans-serif; color: var(--ink-2); }
.cs-key span { display: inline-flex; align-items: center; gap: 6px; }
.cs-key i { display: inline-block; width: 22px; height: 0; border-top: 2px dashed var(--cs-ice); }
.cs-key .cs-k-hard { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--cs-cold); }
.cs-key .cs-k-cold { width: 12px; height: 12px; border: 0; border-radius: 3px; background: linear-gradient(var(--cs-warm), var(--cs-ice)); }
.cs-key .cs-k-32 { width: 12px; height: 12px; border: 2px solid var(--cs-ice); border-radius: 50%; background: var(--paper-2); box-sizing: border-box; }
.cs-key .cs-k-28 { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--cs-cold); }
/* thermometers */
.cs-thermos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.cs-one { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.cs-deg { font: 600 30px/1 "Oswald", sans-serif; color: var(--ink); }
.cs-hard .cs-deg { color: var(--cs-ice); }
.cs-th { width: 100%; max-width: 74px; height: auto; margin: 4px 0 2px; }
.cs-tube { fill: var(--paper); stroke: var(--rule-2, var(--rule)); stroke-width: 1.5; }
.cs-merc { fill: var(--cs-warm); } .cs-hard .cs-merc { fill: var(--cs-cold); } .cs-one:not(.cs-hard) .cs-merc { fill: var(--cs-ice); }
.cs-tick { stroke: var(--ink-2); stroke-width: 1; opacity: .6; } .cs-tick-l { font: 500 10px "Public Sans", sans-serif; fill: var(--ink-2); }
.cs-freeze { stroke: var(--cs-ice); stroke-width: 2; stroke-dasharray: 4 3; }
.cs-town { font: 700 14px/1.2 "Public Sans", sans-serif; color: var(--ink); }
.cs-stn { font: 12px/1.25 "Public Sans", sans-serif; color: var(--ink-2); }
@media (max-width: 560px) { .cs-thermos { grid-template-columns: repeat(3, 1fr); gap: 14px 4px; } }
/* week strip + first-freeze timeline (SVG; the site's CSP allows no inline styles) */
.cs-svg { display: block; width: 100%; height: auto; }
.cs-svg text { font-family: "Public Sans", sans-serif; fill: var(--ink); }
.cs-below { fill: var(--cs-ice); opacity: .08; }
.cs-fz-l { font: 600 15px "Oswald", sans-serif !important; fill: var(--cs-ice) !important; }
.cs-dn { font: 600 21px "Oswald", sans-serif !important; letter-spacing: .05em; }
.cs-bar { fill: url(#cs-grad); }
.cs-g-warm { stop-color: var(--cs-warm); } .cs-g-ice { stop-color: var(--cs-ice); }
.cs-hi { font: 600 21px "Oswald", sans-serif !important; fill: var(--cs-warm) !important; }
.cs-lo { font: 600 21px "Oswald", sans-serif !important; fill: var(--cs-ice) !important; }
.cs-lo-bg { fill: var(--cs-cold); } .cs-cold .cs-lo { fill: #fff !important; }
.cs-rain { font-size: 17px; font-weight: 700; fill: var(--cs-ice) !important; }
.cs-grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 4; }
.cs-ax { font-size: 15px; fill: var(--ink-2) !important; font-weight: 600; }
.cs-yr { font: 600 20px "Oswald", sans-serif !important; }
.cs-norm .cs-yr { fill: var(--ink-2) !important; font-style: italic; } .cs-now .cs-yr { fill: var(--cs-ice) !important; }
.cs-now-bg { fill: var(--cs-ice); opacity: .1; }
.cs-ff-line { stroke: var(--cs-ice); stroke-width: 4; opacity: .5; stroke-linecap: round; }
.cs-ff-32 { fill: var(--paper-2); stroke: var(--cs-ice); stroke-width: 3; }
.cs-ff-28 { fill: var(--cs-cold); stroke: var(--paper-2); stroke-width: 2; }
.cs-norm .cs-ff-32, .cs-norm .cs-ff-28 { stroke-dasharray: 3 2; }

/* Editor's desk, part 2 (src/desk.php): desk front page, Ideas board, health, chores, notes */
.dk { width: min(1240px, 100%); }
.dk-head h1 { margin-bottom: 2px; } .dk-head .adm-lede { margin: 0 0 12px; color: var(--ink-2); font-style: italic; }
.mix .dk-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .mix .dk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mix .dk-tiles { grid-template-columns: 1fr 1fr; } }
.dk-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 4px; }
@media (max-width: 900px) { .dk-grid { grid-template-columns: 1fr; } }
.dk-main, .dk-side { display: grid; gap: 18px; }
.dk-panel { padding: 14px 18px 16px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper-2); }
.dk .dk-panel h2 { margin: 0 0 10px; font: italic 700 21px "Playfair", serif; }
.dk-panel h2 small { font: 500 13px "Public Sans", sans-serif; font-style: normal; color: var(--ink-2); margin-left: 6px; }
.dk-waiting { border-left: 4px solid var(--sun, #c9822a); }
.dk-list { margin: 0; padding: 0; list-style: none; }
.dk-list li { padding: 8px 0; border-top: 1px solid var(--rule); } .dk-list li:first-child { border-top: 0; }
.dk-list a { font: 700 17px/1.3 "Playfair", serif; }
.dk-list small, .dk-help, .dk-empty { display: block; font: 500 13px/1.4 "Public Sans", sans-serif; color: var(--ink-2); }
.dk-empty { padding: 6px 0; font-style: italic; } .dk-help { margin: 8px 0 0; }
.dk-adv { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 5px; }
.dk-adv code { font: 12.5px "JetBrains Mono", monospace; color: var(--ink-2); overflow-wrap: anywhere; }
.dk-mini { font: 600 12.5px "Public Sans", sans-serif; padding: 3px 9px; border: 1px solid var(--rule-2); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
.dk-mini:hover { border-color: var(--signal); color: var(--signal); }
.dk-mini.is-done { border-color: var(--signal); color: var(--signal); }
.dk-alert { margin: 10px 0 0; font: 700 14px "Public Sans", sans-serif; } .dk-alert a { color: var(--red); }
/* coming up */
.dk-day { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.dk-day:first-of-type { border-top: 0; }
.dk-date { margin: 0; display: grid; justify-items: center; align-content: start; line-height: 1; }
.dk-date b { font: 600 26px "Oswald", sans-serif; } .dk-date span { font: 600 12px "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dk-date em { margin-top: 3px; font: italic 600 12px "Playfair", serif; color: var(--signal); }
.dk-day ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.dk-day li { display: flex; gap: 8px; align-items: baseline; font-size: 15px; line-height: 1.35; }
.dk-day li > i { flex: none; width: 46px; font: 600 10.5px "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; font-style: normal; text-align: center; padding: 2px 0; border-radius: 3px; color: #fff; }
.dk-day li small { font-size: 12.5px; color: var(--ink-2); }
.dk-k-story > i { background: #2f9e6b; } .dk-k-idea > i { background: #6a5acd; } .dk-k-date > i { background: #4a7d95; } .dk-k-chore > i { background: #b8731f; }
.dk-x { display: inline; margin-left: 4px; } .dk-x .dk-mini { padding: 0 6px; border: 0; color: var(--ink-2); }
.dk-late { color: var(--red) !important; font-weight: 700; }
.dk-add-date, .dk-add { margin-top: 10px; } .dk-add-date summary, .dk-add summary, .dk-edit summary, .dk-shelf summary, .dk-ph summary { cursor: pointer; font: 600 14px "Public Sans", sans-serif; color: var(--signal); }
/* forms */
.dk-form { display: grid; gap: 10px; margin-top: 10px; }
.dk-form label { display: grid; gap: 4px; font: 600 13px "Public Sans", sans-serif; color: var(--ink-2); }
.dk-form input, .dk-form select, .dk-form textarea, .dk-notes textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; font: 15px/1.4 "Source Serif", serif; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-2); border-radius: 4px; }
.dk-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; } .dk-row label { flex: 1 1 150px; }
.dk-form .send-btn, .dk-notes .send-btn { justify-self: start; }
.dk-notes textarea { min-height: 170px; resize: vertical; }
.dk-notes-bar { display: flex; gap: 12px; align-items: center; margin: 8px 0 0; } .dk-notes-bar small { color: var(--ink-2); }
/* health */
.dk-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.dk-checks li { display: grid; grid-template-columns: 16px 1fr; column-gap: 8px; font-size: 14.5px; }
.dk-checks i { font-style: normal; grid-row: span 2; padding-top: 2px; } .dk-ok i { color: #2f9e6b; } .dk-bad i { color: var(--red); }
.dk-checks b { font: 700 14.5px "Public Sans", sans-serif; } .dk-checks span { font-size: 13px; color: var(--ink-2); } .dk-bad span { color: var(--red); font-weight: 600; }
.dk-ph { margin-top: 10px; } .dk-ph ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
/* chores */
.dk-chlist { margin: 0; padding: 0; list-style: none; }
.dk-chlist li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.35; } .dk-chlist li:first-child { border-top: 0; }
.dk-chlist li > span { flex: 1; } .dk-chlist small { display: block; font-size: 12.5px; color: var(--ink-2); }
.dk-check { width: 20px; height: 20px; padding: 0 !important; border-radius: 4px !important; line-height: 1; }
.dk-check.on { background: var(--signal); color: var(--paper) !important; border-color: var(--signal); }
.dk-done > span { text-decoration: line-through; color: var(--ink-2); }
.dk-chadd { margin-top: 12px; }
.dk-toolbox-h { margin-top: 30px !important; }
/* ideas board */
.dk-add { padding: 10px 14px; border: 1px dashed var(--rule-2); border-radius: 6px; margin-bottom: 16px; }
.dk-add[open] { background: var(--paper-2); } .dk-add summary { font-size: 16px; }
.dk-board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
@media (max-width: 760px) { .dk-board { grid-template-columns: 1fr; overflow: visible; } }
.dk-col { background: color-mix(in srgb, var(--paper-2) 70%, transparent); border: 1px solid var(--rule); border-radius: 6px; padding: 10px; min-height: 120px; }
.dk .dk-col h2 { margin: 2px 2px 10px; font: 600 14px "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; display: flex; justify-content: space-between; }
.dk-col h2 i { font-style: normal; color: var(--ink-2); }
.dk-col-idea h2 { color: #8f84e0; } .dk-col-research h2 { color: #4aa3c7; } .dk-col-drafted h2 { color: var(--sun, #c9822a); } .dk-col-scheduled h2 { color: #3fb27f; } .dk-col-live h2 { color: var(--ink-2); }
:root[data-theme="day"] .dk-col-idea h2 { color: #5b4cc4; } :root[data-theme="day"] .dk-col-research h2 { color: #2b7ea3; } :root[data-theme="day"] .dk-col-scheduled h2 { color: #23845a; }
.dk-card { background: var(--paper); border: 1px solid var(--rule-2); border-radius: 5px; padding: 10px 11px; margin-bottom: 9px; }
.dk-card:target { outline: 2px solid var(--signal); }
.dk-card h3 { margin: 0 0 5px; font: 700 16.5px/1.25 "Playfair", serif; }
.dk-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 5px; font: 600 12px "Public Sans", sans-serif; }
.dk-tag { padding: 1px 7px; border-radius: 10px; background: color-mix(in srgb, var(--signal) 18%, transparent); color: var(--ink); }
.dk-when { color: var(--ink-2); }
.dk-hook, .dk-linked { margin: 0 0 5px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); } .dk-hook b { color: var(--ink); }
.dk-linked a { font-weight: 700; }
.dk-card-act { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; } .dk-card-act form { display: inline; }
.dk-card-end { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rule); }
.dk-edit { margin-top: 6px; } .dk-edit summary { font-size: 13px; }
.dk-col-live .dk-card { opacity: .8; }
.dk-shelf { margin-top: 14px; } .dk-shelf-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
.dk-shelved { opacity: .75; }
.dk .send-btn { padding: 8px 18px; font-size: 16px; }
.mix .adm-tiles.dk-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .mix .adm-tiles.dk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mix .adm-tiles.dk-tiles { grid-template-columns: 1fr 1fr; } }
.mix .dk .dk-panel h2 { margin: 0 0 10px; font: italic 700 21px "Playfair", serif; }
.mix .dk .dk-col h2 { margin: 2px 2px 10px; font: 600 14px "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; font-style: normal; }

/* First-snow story graphics (src/snow.php); builds on the .cs-* chart styles */
.sn-fig { --sn: #9cc9e8; }
:root[data-theme="day"] .sn-fig { --sn: #2a7bb0; }
.sn-track { stroke: var(--rule); stroke-width: 1; }
.sn-norm-line { stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 5 4; opacity: .7; }
.sn-dot { fill: var(--sn); stroke: var(--paper-2); stroke-width: 2; }
.sn-dot-norm { fill: var(--paper-2); stroke: var(--ink-2); stroke-width: 3; stroke-dasharray: 3 2; }
.sn-yr { font-size: 17px !important; }
.sn-date { font-size: 14px; font-weight: 600; fill: var(--ink-2) !important; }
.sn-none { font-size: 14px; font-style: italic; fill: var(--ink-2) !important; }
.sn-base { stroke: var(--rule); stroke-width: 1.5; }
.sn-bar { fill: var(--sn); }
.sn-in { font: 600 22px "Oswald", sans-serif !important; fill: var(--sn) !important; }
.sn-odds { font-size: 15px; font-weight: 600; fill: var(--ink-2) !important; }
.cs-key .sn-k-dot { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--sn); }
.cs-key .sn-k-norm { width: 0; height: 14px; border: 0; border-left: 2px dashed var(--ink-2); }

/* Winter-outlook story graphics (src/winter.php) */
.wo-fig { --wo-wet: #5fb0d8; --wo-dry: #b8946a; --wo-warm: #d9894a; }
:root[data-theme="day"] .wo-fig { --wo-wet: #2a7bb0; --wo-dry: #9a7446; --wo-warm: #b4612a; }
.wo-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wo-tile { border: 1px solid var(--rule); border-top: 5px solid var(--wo-wet); border-radius: 4px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; background: var(--paper); }
.wo-warm { border-top-color: var(--wo-warm); }
.wo-what { font: 600 13px/1.3 "Public Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.wo-odds { font: 600 34px/1.05 "Oswald", sans-serif; color: var(--wo-wet); }
.wo-warm .wo-odds { color: var(--wo-warm); }
.wo-words { font: 15px/1.35 "Public Sans", sans-serif; color: var(--ink); }
.wo-base { margin: 10px 0 0; font: 14px/1.45 "Public Sans", sans-serif; color: var(--ink-2); }
@media (max-width: 520px) { .wo-tiles { grid-template-columns: 1fr; } }
.wo-bar { fill: var(--wo-dry); } .wo-bar.wo-wet { fill: var(--wo-wet); }
.wo-val { font: 600 16px "Oswald", sans-serif !important; }
.wo-oni { font-size: 14px; font-weight: 600; fill: var(--ink-2) !important; }
.wo-snow { font: 600 16px "Oswald", sans-serif !important; fill: var(--ink-2) !important; }
.wo-tick { font-size: 13px; fill: var(--ink-2) !important; }
.cs-key .wo-k-wet { width: 14px; height: 12px; border: 0; border-radius: 2px; background: var(--wo-wet); }
.cs-key .wo-k-dry { width: 14px; height: 12px; border: 0; border-radius: 2px; background: var(--wo-dry); }

/* Earliest-sunset story graphics (src/sun.php) */
.sd-fig { --sd-rise: #e9a64a; --sd-set: #d0647a; }
:root[data-theme="day"] .sd-fig { --sd-rise: #b8741a; --sd-set: #b0405a; }
.sd-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sd-tile { border: 1px solid var(--rule); border-top: 5px solid var(--sd-set); border-radius: 4px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; background: var(--paper); }
.sd-short { border-top-color: var(--ink-2); } .sd-rise { border-top-color: var(--sd-rise); }
.sd-what { font: 600 13px/1.3 "Public Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.sd-big { font: 600 28px/1.1 "Oswald", sans-serif; color: var(--ink); }
.sd-when { font: 15px/1.3 "Public Sans", sans-serif; color: var(--ink); }
@media (max-width: 520px) { .sd-tiles { grid-template-columns: 1fr; } }
.sd-hgrid { stroke: var(--rule); stroke-width: 1; opacity: .7; }
.sd-line { fill: none; stroke-width: 3.5; stroke-linejoin: round; }
.sd-rise.sd-line { stroke: var(--sd-rise); } .sd-set.sd-line { stroke: var(--sd-set); }
.sd-sol { stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 5 4; opacity: .8; }
.sd-sol-l { font-size: 13px; font-weight: 600; fill: var(--ink-2) !important; }
.sd-panel-l { font-size: 14px; font-weight: 600; fill: var(--ink-2) !important; }
.sd-mark { stroke: var(--paper-2); stroke-width: 2; } .sd-m-set { fill: var(--sd-set); } .sd-m-rise { fill: var(--sd-rise); }
.sd-note { font: 600 15px "Oswald", sans-serif !important; }
.cs-key .sd-k-rise { width: 22px; height: 0; border-top: 3px solid var(--sd-rise); } .cs-key .sd-k-set { width: 22px; height: 0; border-top: 3px solid var(--sd-set); }

/* Burn-ban story graphics (src/burn.php); the map reuses the /drought styles */
.bb-fig .dr-map { max-width: 520px; margin: 0 auto 8px; }
.bb-t { width: 100%; border-collapse: collapse; font: 15px/1.35 "Public Sans", sans-serif; }
.bb-t th, .bb-t td { padding: 7px 8px; border-bottom: 1px solid var(--rule); text-align: left; }
.bb-t thead th { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; vertical-align: bottom; }
.bb-t tbody th { font-weight: 700; }
.bb-t td:nth-child(4), .bb-t td:nth-child(5), .bb-t thead th:nth-child(4), .bb-t thead th:nth-child(5) { text-align: right; }
.bb-yes { color: var(--red); }
@media (max-width: 520px) { .bb-t { font-size: 14px; } .bb-t th, .bb-t td { padding: 6px 4px; } .bb-t thead th { font-size: 11px; } }

/* Holiday calendar (src/holiday.php) */
.hc-fig { --hc-light: #e9c46a; --hc-parade: #d0647a; --hc-market: #5fb0d8; --hc-tree: #6fb37f; }
:root[data-theme="day"] .hc-fig { --hc-light: #9a7a10; --hc-parade: #b0405a; --hc-market: #2a7bb0; --hc-tree: #2f7a45; }
.hc-list { list-style: none; margin: 0; padding: 0; }
.hc-day { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.hc-day:first-child { border-top: 0; padding-top: 2px; }
.hc-date { display: flex; flex-direction: column; font: 600 13px/1.2 "Public Sans", sans-serif; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.hc-date b { font: 600 21px/1.1 "Oswald", sans-serif; color: var(--ink); text-transform: none; letter-spacing: 0; }
.hc-day ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hc-ev { font: 15px/1.4 "Public Sans", sans-serif; color: var(--ink); border-left: 4px solid var(--hc-light); padding-left: 10px; }
.hc-parade { border-left-color: var(--hc-parade); } .hc-market { border-left-color: var(--hc-market); } .hc-tree { border-left-color: var(--hc-tree); }
.hc-kind { display: block; font: 600 11px/1.3 "Public Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.hc-ev small { display: block; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 520px) { .hc-day { grid-template-columns: 58px 1fr; gap: 8px; } .hc-date b { font-size: 18px; } }

/* Private submission page: each photo's own details (src/submit.php photo_info_html) */
.dv-info { font: 13px/1.45 "Public Sans", sans-serif; color: var(--ink-2); margin: 2px 0 6px; }

/* Send us news: "Add where I am now" and the per-photo location tag (send.js) */
/* div only: the Send us news location buttons. tr.here is the weather table's home-town row and must stay a table row. */
div.here:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: -4px 0 14px; }
.here-btn { font: 600 14px/1 "Public Sans", sans-serif; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper-2); color: var(--ink); cursor: pointer; }
.here-btn:hover { border-color: var(--ink-2); } .here-btn:disabled { opacity: .6; cursor: wait; }
.here-msg { font: 13.5px/1.4 "Public Sans", sans-serif; color: var(--ink-2); flex: 1 1 240px; }
.ph-gps { display: block; font: 600 11px/1.3 "Public Sans", sans-serif; color: #6b7577; text-align: center; min-height: 1.3em; }
.ph-gps.yes { color: #1d7a6e; }
/* Send us news: "Mark the spot on a map" (send.js) */
.spot:not([hidden]) { display: block; margin: -4px 0 16px; }
.spot-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-bottom: 8px; }
.spot-bar label { display: flex; flex-direction: column; gap: 3px; font: 600 13px "Public Sans", sans-serif; color: var(--ink-2); flex: 1 1 180px; }
.spot-bar select { font: 15px "Public Sans", sans-serif; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--ink); }
.spot-map { height: 380px; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.spot-note { font: 13.5px/1.45 "Public Sans", sans-serif; color: var(--ink-2); margin: 8px 0 0; }
@media (max-width: 560px) { .spot-map { height: 320px; } }
.spot-find span { display: flex; gap: 6px; }
.spot-find input { flex: 1; min-width: 0; font: 15px "Public Sans", sans-serif; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--ink); }
.spot-hits:not([hidden]) { list-style: none; margin: 0; padding: 4px; flex: 1 1 100%; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); max-height: 220px; overflow: auto; }
.spot-hits li { font: 14px/1.35 "Public Sans", sans-serif; color: var(--ink-2); padding: 4px 6px; }
.spot-hits button { all: unset; cursor: pointer; display: block; width: 100%; color: var(--ink); }
.spot-hits button:hover, .spot-hits button:focus-visible { text-decoration: underline; }

/* Desk inboxes: New tags, Archive / Delete buttons, Archived and Recently deleted lists (src/inbox.php, 2026-11-13) */
.ib-new { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 3px; background: var(--red); color: #fff; font: 700 11.5px "Public Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.adm-t tr.is-new td { font-weight: 600; }
.adm-card.is-new, .adm-corr.is-new { border-left: 4px solid var(--red); }
.ib-act, .ib-tools, .ib-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; }
.ib-act form, .ib-tools form, .ib-bar form, .ib-trash form { display: inline; margin: 0; }
.ib-act .bf-link, .ib-tools .bf-link, .ib-bar .bf-link, .ib-trash .bf-link { font-size: 15px; padding: 4px 0; }
.ib-reply { font-weight: 600; }
.ib-t .ib-note { max-width: 32ch; color: var(--ink-2); }
.ib-t td.ib-act { display: table-cell; white-space: nowrap; } .ib-t td.ib-act > * { margin-right: 14px; }
.ib-tools { margin: 0 0 16px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper-2); }
.ib-st { font: 700 12px "Public Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ib-more { margin: 22px 0 0; } .ib-more > summary { cursor: pointer; font: italic 700 18px "Playfair", serif; color: var(--ink-2); padding: 6px 0; }
.ib-more .adm-t, .ib-more .adm-card, .ib-more .adm-corr { opacity: .85; }
.ib-trash { list-style: none; margin: 0; padding: 0; }
.ib-trash li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.ib-trash li small { display: block; color: var(--ink-2); font-size: 13.5px; }
.ib-flash { margin: 0 0 14px; }
@media (max-width: 640px) {
  .ib-t thead { display: none; } .ib-t tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule); } .ib-t td { display: inline; border: 0; padding: 0 8px 0 0; }
  .ib-t td.ib-note { display: block; max-width: none; } .ib-t td.ib-n::after { content: " photos"; } .ib-t td.ib-act { display: flex; white-space: normal; }
}
/* Desk inboxes: page links, 20 to a page (2026-11-13) */
.ib-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 4px; font-size: 15px; }
.ib-pager .ib-nums { display: flex; gap: 4px; }
.ib-pager .ib-nums a, .ib-pager .ib-nums b { min-width: 30px; padding: 3px 8px; text-align: center; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; }
.ib-pager .ib-nums b { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.ib-pager .ib-off { opacity: .4; } .ib-pager .ib-gap { padding: 3px 2px; } .ib-pager small { color: var(--ink-2); margin-left: auto; }
/* winter outlook header: drawn Ozarks winter scene with NOAA's odds in its open sky (2026-11-13) */
.wo-scene { position: relative; border-radius: 3px; overflow: hidden; }
.wo-art { display: block; width: 100%; height: auto; }
.wo-hero .wo-tiles { position: absolute; left: 2.5%; top: 4%; width: 47%; gap: 8px; }
.wo-hero .wo-tile { background: rgba(250, 246, 236, .9); border-color: rgba(19, 38, 45, .18); padding: 8px 10px; gap: 2px; box-shadow: 0 1px 4px rgba(19, 38, 45, .12); }
.wo-hero .wo-what { font-size: 11px; color: #4a5a5f; }
.wo-hero .wo-odds { font-size: 26px; }
.wo-hero .wo-words { font-size: 13px; line-height: 1.3; color: #13262d; }
.wo-hero .wo-tile { --wo-wet: #2a7bb0; --wo-warm: #b4612a; }
.wo-hero .wo-tile { border-top: 5px solid var(--wo-wet); } .wo-hero .wo-tile.wo-warm { border-top-color: var(--wo-warm); }
@media (max-width: 640px) {
  .wo-hero .wo-tiles { position: static; width: auto; margin-top: 10px; gap: 10px; }
  .wo-hero .wo-tile { background: var(--paper); border-color: var(--rule); box-shadow: none; padding: 10px 12px; }
  .wo-hero .wo-tile { --wo-wet: inherit; --wo-warm: inherit; border-top-color: var(--wo-wet); }
  .wo-hero .wo-what { color: var(--ink-2); } .wo-hero .wo-words { color: var(--ink); } .wo-hero .wo-odds { font-size: 30px; }
}
/* /lab/art: pick header art (src/artlab.php, 2026-11-13) */
.al-set { margin: 0 0 30px; padding-top: 10px; border-top: 1px solid var(--rule); }
.al-set h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 6px; } .al-set h2 a { font: 400 14px "Public Sans", sans-serif; }
.al-done { font: 700 12px "Public Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; background: var(--signal); color: var(--paper); padding: 2px 8px; border-radius: 3px; }
.al-note { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.al-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.al-opt { margin: 0; border: 2px solid transparent; border-radius: 6px; padding: 4px; } .al-opt.is-on { border-color: var(--signal); }
.al-opt img { display: block; width: 100%; height: auto; border-radius: 4px; }
.al-opt figcaption { display: flex; align-items: center; gap: 12px; margin-top: 6px; } .al-opt figcaption b { font: 700 18px "Oswald", sans-serif; }
.al-opt form, .al-none form { margin: 0; } .al-none { margin-top: 6px; }
.al-group { margin: 26px 0 8px; font: italic 700 22px "Playfair", serif; color: var(--signal); }
.al-notes { margin-top: 10px; max-width: 640px; } .al-notes label { display: block; font-size: 14px; color: var(--ink-2); }
.al-notes textarea { display: block; width: 100%; margin: 4px 0 4px; font: 15px/1.4 "Public Sans", sans-serif; }
.al-saved { color: var(--signal); }
/* drawn header art on pages without photos (page_art() in src/app.php, picked on /lab/art, 2026-11-13) */
.pg-art { margin: 0 0 18px; }
.pg-art img { display: block; width: 100%; height: clamp(110px, 19vw, 230px); object-fit: cover; object-position: 50% 50%; border-radius: 4px; }   /* shorter banner for the strip-shaped art (user, 2026-11-13) */
/* the "ordinary year" note sits in the sky with the odds tiles (user, 2026-11-13) */
.wo-hero .wo-base { grid-column: 1 / -1; margin: 0; padding: 6px 10px; background: rgba(250, 246, 236, .9); border: 1px solid rgba(19, 38, 45, .18); border-radius: 4px; font-size: 12.5px; line-height: 1.35; color: #13262d; box-shadow: 0 1px 4px rgba(19, 38, 45, .12); }
@media (max-width: 640px) { .wo-hero .wo-base { background: none; box-shadow: none; border: 0; padding: 0; color: var(--ink-2); font-size: 14px; } }
/* site art (src/siteart.php, 2026-11-14): footer ridge, calendar months, place thumbnails, no-results critter */
.foot-ridge { line-height: 0; max-width: 1240px; margin: 28px auto 0; padding: 0 var(--gutter, 16px); box-sizing: content-box; }   /* the site's own width, slim (user, 2026-11-14) */
.foot-ridge-img { display: block; width: 100%; height: auto; aspect-ratio: 14 / 1; object-fit: cover; object-position: 50% 100%; border-radius: 3px 3px 0 0; }
.foot-ridge + .foot, .mix .foot-ridge + .foot { margin-top: 0; border-top: 0; padding-top: 10px; } .foot-ridge + .foot::before { display: none; }   /* footer sits right under the ridge */   /* no double line under the ridge */
.al-now .al-art { display: block; width: 100%; height: clamp(160px, 26vw, 300px); object-fit: cover; border-radius: 4px; margin: 0 0 12px; }
.al-thumb { width: 96px; height: 60px; object-fit: cover; border-radius: 3px; flex: none; }
.pl-card > summary { position: relative; padding-right: 92px; }
.pl-thumb { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 80px; height: 52px; object-fit: cover; border-radius: 3px; }
.sr-critter { margin: 8px 0 14px; } .sr-critter-img { display: block; width: 100%; height: clamp(110px, 19vw, 230px); object-fit: cover; border-radius: 4px; }
@media (max-width: 640px) { .al-thumb { width: 72px; height: 45px; } .pl-card > summary { padding-right: 72px; } .pl-thumb { width: 64px; height: 42px; } }
/* calendar month rows with a thumbnail: one more grid column in front (mix.css lays the row out as a grid) */
.al-rest summary:has(.al-thumb) { grid-template-columns: 96px 150px minmax(0, 1fr) 24px; align-items: center; }
.al-rest summary:has(.al-thumb)::after { grid-column: 4; }
@media (max-width: 700px) {
  .al-rest summary:has(.al-thumb) { grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 2px 12px; }
  .al-rest summary:has(.al-thumb) .al-thumb { grid-column: 1; grid-row: 1 / span 2; }
  .al-rest summary:has(.al-thumb) h2 { grid-column: 2; grid-row: 1; }
  .al-rest summary:has(.al-thumb) span { grid-column: 2; grid-row: 2; }
  .al-rest summary:has(.al-thumb)::after { grid-column: 3; grid-row: 1; }
}
/* search: the "Try" suggestions had no spacing (pre-existing) */
.sr-try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; }
.sr-try span { color: var(--ink-2); font-style: italic; }
.sr-try a { padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; text-decoration: none; }
/* the critter's own line on not-found and no-results pages (2026-11-14) */
.crit-line { margin: 0 0 12px; font: italic 600 19px/1.35 "Playfair", serif; color: var(--signal); }
.story-body .crit-line { margin-bottom: 14px; }
/* "Site by KEG Technologies", its own centered line under the fine print (user, 2026-11-14) */
.foot-credit { max-width: 1240px; margin: 2px auto 0; padding: 0; text-align: right; font: italic 13px/1.4 "Source Serif", serif; color: var(--ink-2); }
.foot-credit a { color: inherit; }
/* accessibility (Lighthouse, 2026-11-14): the red alert bar's white text needs 4.5:1 (was 3.35 on #e0675d); tags at least 24 px tall to tap */
.wx-bar.wx-warn { background: #c4473d; }
:root[data-theme="day"] .wx-bar.wx-warn { background: #a8332c; }
.b-tag a { display: inline-block; min-height: 24px; line-height: 24px; }
/* place cards: keep the title and the "near" line clear of the thumbnail (mix.css set 26px and won; user saw overlaps, 2026-11-14) */
.pl-list .pl-card > summary:has(.pl-thumb) { padding-right: 122px; min-height: 64px; }
.pl-list .pl-card > summary .pl-thumb { right: 24px; }   /* leave the open/close arrow (mix.css ::after at the far right) visible */
@media (max-width: 640px) { .pl-list .pl-card > summary:has(.pl-thumb) { padding-right: 100px; } .pl-list .pl-card > summary .pl-thumb { right: 22px; } }

/* Security page: two-step sign-in card (/admin/security, 2026-11-18). The QR rules are the kegtech portal's: square, solid modules so phones scan it. */
.tfa { max-width: 640px; display: grid; gap: 12px; }
.tfa h2 { margin: 0; }
.tfa p { margin: 0; }
.tfa details { margin-top: .4rem; }
.tfa details > summary { cursor: pointer; font-weight: 600; }
.tfa details .send-form { margin-top: 12px; }
.tfa-qr svg { width: 220px; height: 220px; background: #fff; padding: 6px; border-radius: 10px; display: block; }
.tfa-codes { columns: 2; font-size: 1.1rem; padding-left: 1.4em; margin: 0; }
.tfa-codes code { letter-spacing: .04em; }
.tfa-qr svg path { stroke: #000 !important; stroke-linecap: butt !important; stroke-linejoin: miter !important; fill: none !important; }
.tfa-qr svg rect { fill: #fff !important; stroke: none !important; }
/* winter outlook story: El Niño small multiples, rain gap, Beaver Lake winters (src/winter.php) */
.wr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
@media (max-width: 520px) { .wr-grid { grid-template-columns: 1fr; } }
.wr-t { margin: 0; font: 600 14px/1.2 "Public Sans", sans-serif; color: var(--ink-2); }
.wr-past { fill: none; stroke: var(--ink-2); stroke-width: 2; opacity: .75; }
.wr-now { fill: none; stroke: var(--wo-warm); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.wr-dot { fill: var(--wo-warm); stroke: var(--paper-2); stroke-width: 2; }
.wr-dot-past { fill: var(--paper-2); stroke: var(--ink-2); stroke-width: 2; }
.wr-strong { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 5 4; opacity: .6; }
.wr-hist { stroke: var(--wo-warm); stroke-width: 1.5; stroke-dasharray: 2 3; }
.cs-key .wr-k-now { width: 22px; height: 0; border-top: 4px solid var(--wo-warm); }
.cs-key .wr-k-past { width: 22px; height: 0; border-top: 2px solid var(--ink-2); }
.cs-key .wr-k-strong { width: 22px; height: 0; border-top: 2px dashed var(--ink-2); }
.cs-key .wr-k-hist { width: 22px; height: 0; border-top: 2px dotted var(--wo-warm); }
.wd-lbl { font-size: 16px; font-weight: 600; }
.wd-gap { fill: var(--wo-dry); } .wd-wet { fill: var(--wo-wet); }
.wd-line { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; opacity: .7; }
.wl-full { stroke: var(--wo-wet); stroke-width: 2; }
.wl-now { stroke: var(--wo-dry); stroke-width: 2; stroke-dasharray: 5 4; }
.wl-tag { font-size: 14px; font-weight: 600; fill: var(--ink-2) !important; }
.wl-span { stroke: var(--rule); stroke-width: 4; stroke-linecap: round; }
.wl-en .wl-span { stroke: var(--wo-wet); opacity: .55; }
.wl-d1 { fill: var(--paper-2); stroke: var(--ink-2); stroke-width: 2; }
.wl-a1 { fill: var(--wo-wet); stroke: var(--paper-2); stroke-width: 1.5; }
.wl-yr { font-size: 15px; }
.wl-en .wl-yr { font-weight: 700; }
.wl-ch { font: 600 15px "Oswald", sans-serif !important; fill: var(--ink-2) !important; }
.cs-key .wl-k-d1 { width: 12px; height: 12px; border: 2px solid var(--ink-2); border-radius: 50%; box-sizing: border-box; }
.cs-key .wl-k-a1 { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--wo-wet); }
