/*
 * site.css: the SCMWX website's one stylesheet.
 *
 * Themes: the default is "night", a dark 1990s TV look. The reader can pick "cable" or "tv"
 * (the other 1990s looks) or the plain look: "auto" (follows the system), "dark" or "light".
 * theme.js sets data-site-theme, data-accent, data-size and data-hue on <html> before the page
 * is drawn, and the rules below key off those attributes. Colours are custom properties
 * (--name), so a theme only redefines them. No web fonts: the system's own faces.
 *
 * Contents
 *   1. Colour tokens, themes, accents and text size
 *   2. The page frame: header bar, Colors menu, quick keys
 *   3. Maps and the front page: storm stage, derecho panorama, video cut-in
 *   4. Reports, Credits and the front door
 *   5. Live boards: Operations, Situation, Synopsis, the 36-hour graph
 *   6. Report requests
 *   7. The Cable and TV screens (views.js)
 *   8. The 1990s themes: Cable, TV and Night
 *   9. The plain theme's headings and motion
 */

/* ==========================================================================
   1. Colour tokens, themes, accents and text size
   ========================================================================== */

:root {
  --bg: #0c1117;
  --panel: #10161d;
  --raise: #151d26;
  --line: #263241;
  --fg: #dce6f2;
  --strong: #f3f7fb;
  --muted: #8798ab;
  /* --faint keeps a contrast of 4.5:1 or better on every background it sits on, raised panels
     included. */
  --faint: #7b8c9f;
  --pop-shadow: rgba(0, 0, 0, 0.5);
  --accent: #68c2ff;
  --accent-bg: #17354b;
  --accent-ink: #f3f7fb;
  --amber: #f5b041;
  --good: #86e5aa;
  --good-bg: #10251a;
  --good-line: #255338;
  --code-bg: #091018;
  --warn: #ff8a7a;
  /* The 36-hour graph's lines and bars, matching SCMWX's own board graph
     (gui/situation_board.py). */
  --temp-line: #ff6b5a;
  --feels-line: #f29a2e;
  --dew-line: #5cc98a;
  --rain-bar: #4aa3ff;
  /* The report's weather icons (report_html.icon): the same in both themes, each part outlined
     so it reads on either. */
  --sun: #ffd84a;
  --sun-ray: #ffb21e;
  --sun-edge: #9c5200;
  --sun-shine: rgba(255, 246, 200, 0.8);
  --cloud: #f4f7ff;
  --cloud-edge: #6c7ba3;
  --cloud-dark: #a3aec8;
  --cloud-dark-edge: #4b5675;
  --drop: #58b4ff;
  --bolt: #ffd600;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-site-theme="dark"]) {
    --bg: #f4f6f9;
    --panel: #ffffff;
    --raise: #eaeff4;
    --line: #d3dbe4;
    --fg: #1b2530;
    --strong: #0a1017;
    --muted: #536273;
    --faint: #5d6b7c;
    --pop-shadow: color-mix(in srgb, var(--accent) 22%, transparent);
    --accent: #0a62a0;
    --accent-bg: #dcecf8;
    --accent-ink: #0a1017;
    --amber: #9a5a08;
    --good: #1c6b3e;
    --good-bg: #e2f3e8;
    --good-line: #a9d5b8;
    --code-bg: #eaeff4;
    --warn: #a12a1c;
    --temp-line: #d6453a;
    --feels-line: #b8650a;
    --dew-line: #1f8a52;
    --rain-bar: #2a7fd4;
    color-scheme: light;
  }
}
/* The light theme picked in Colors, whatever the system says: the same values as the light media
   query above (tests/test_website.py checks they match). */
:root[data-site-theme="light"] {
  --bg: #f4f6f9;
  --panel: #ffffff;
  --raise: #eaeff4;
  --line: #d3dbe4;
  --fg: #1b2530;
  --strong: #0a1017;
  --muted: #536273;
  --faint: #5d6b7c;
  --pop-shadow: color-mix(in srgb, var(--accent) 22%, transparent);
  --accent: #0a62a0;
  --accent-bg: #dcecf8;
  --accent-ink: #0a1017;
  --amber: #9a5a08;
  --good: #1c6b3e;
  --good-bg: #e2f3e8;
  --good-line: #a9d5b8;
  --code-bg: #eaeff4;
  --warn: #a12a1c;
  --temp-line: #d6453a;
  --feels-line: #b8650a;
  --dew-line: #1f8a52;
  --rain-bar: #2a7fd4;
  color-scheme: light;
}
/* Accents picked in Colors (blue is the default), each in the theme's own shade. */
:root[data-accent="amber"] { --accent: #f5b041; --accent-bg: #3d2c0e; }
:root[data-accent="green"] { --accent: #86e5aa; --accent-bg: #12301f; }
:root[data-accent="coral"] { --accent: #ff8a7a; --accent-bg: #3a1714; }
:root[data-accent="violet"] { --accent: #b9a2ff; --accent-bg: #2a2150; }
:root[data-accent="teal"] { --accent: #5fd4d0; --accent-bg: #0f3433; }
@media (prefers-color-scheme: light) {
  :root:not([data-site-theme="dark"])[data-accent="amber"] {
    --accent: #9a5b00;
    --accent-bg: #fbe9c8;
  }
  :root:not([data-site-theme="dark"])[data-accent="green"] {
    --accent: #1c6b3e;
    --accent-bg: #d9f0e1;
  }
  :root:not([data-site-theme="dark"])[data-accent="coral"] {
    --accent: #a12a1c;
    --accent-bg: #fbe0dc;
  }
  :root:not([data-site-theme="dark"])[data-accent="violet"] {
    --accent: #5b3cc4;
    --accent-bg: #e6e0fb;
  }
  :root:not([data-site-theme="dark"])[data-accent="teal"] {
    --accent: #0b6e6a;
    --accent-bg: #d6f0ef;
  }
}
:root[data-site-theme="light"][data-accent="amber"] { --accent: #9a5b00; --accent-bg: #fbe9c8; }
:root[data-site-theme="light"][data-accent="green"] { --accent: #1c6b3e; --accent-bg: #d9f0e1; }
:root[data-site-theme="light"][data-accent="coral"] { --accent: #a12a1c; --accent-bg: #fbe0dc; }
:root[data-site-theme="light"][data-accent="violet"] { --accent: #5b3cc4; --accent-bg: #e6e0fb; }
:root[data-site-theme="light"][data-accent="teal"] { --accent: #0b6e6a; --accent-bg: #d6f0ef; }
/* Large text picked in Colors: every size on the page is relative to the root's font size. */
:root[data-size="large"] { font-size: 112.5%; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
      Roboto, Arial, sans-serif;
}

img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

a { color: var(--accent); text-underline-offset: 0.15em; }

h1, h2, h3 { color: var(--strong); line-height: 1.2; text-wrap: balance; }
h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 650;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
h2 { font-size: 1.45rem; font-weight: 650; margin: 0 0 0.75rem; }
h3 { font-size: 1.05rem; font-weight: 650; margin: 0 0 0.35rem; }
p { margin: 0 0 0.9rem; }

code, pre { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 0.9em; }
code {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}
pre {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  overflow-x: auto;
}
pre code { background: none; border: 0; padding: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--panel);
  padding: 0.5rem 0.75rem;
  z-index: 2;
}

/* ==========================================================================
   2. The page frame: header bar, Colors menu, quick keys
   ========================================================================== */

/* The header bar. */
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.6rem max(16px, calc((100% - 1120px) / 2));
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--strong);
  min-width: 0;
}
.brand .word { font-weight: 750; font-size: 1.35rem; letter-spacing: 0.01em; }
.brand .what { color: var(--muted); font-size: 0.85rem; }
.brand .code { color: var(--faint); letter-spacing: 0.08em; font-size: 0.75rem; }
.bar nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.bar nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
}
.bar nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-bg); }
/* The Colors button at the end of the header bar, and its menu under it (site.js). */
.bar-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 0.5rem;
  margin-left: auto;
}
.prefs { position: relative; }
.prefs-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.prefs-button::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
}
.prefs-button[aria-expanded="true"] { color: var(--strong); border-color: var(--accent); }
.colors-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 20;
  width: 17rem;
  padding: 0.85rem 0.95rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.colors-label {
  margin: 0.65rem 0 0.3rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 650;
}
.colors-label:first-child { margin-top: 0; }
.seg { display: flex; gap: 0.25rem; }
.seg button {
  flex: 1;
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raise);
  color: var(--fg);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.seg button[aria-pressed="true"] {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.swatches { display: flex; gap: 0.45rem; }
/* Only the Colors menu's round swatches (the 36-hour graph's legend has its own line swatches). */
.swatches .swatch {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--panel);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--line);
}
.swatches .swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--strong); }
.sw-blue { background: #68c2ff; }
.sw-amber { background: #f5b041; }
.sw-green { background: #86e5aa; }
.sw-coral { background: #ff8a7a; }
.sw-violet { background: #b9a2ff; }
.sw-teal { background: #5fd4d0; }
/* The reader's own colour: the last swatch, showing a rainbow until a colour is picked and then
   that colour and its highlight; the two colour pickers sit under it. */
.swatches .sw-custom {
  background: conic-gradient(#ff4d4d, #ffd24d, #5cff5c, #4dffff, #4d6bff, #ff4dff, #ff4d4d);
}
.colors-own { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.55rem; }
.colors-own label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.colors-own input[type="color"] {
  width: 2.4rem;
  height: 1.7rem;
  padding: 0.1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raise);
  cursor: pointer;
}
.colors-panel .link {
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.colors-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}
.colors-foot small { color: var(--faint); }
.colors-note { display: block; margin-top: 0.4rem; color: var(--faint); font-size: 0.8rem; }
.colors-panel .reset {
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.seg button:focus-visible,
.swatches .swatch:focus-visible,
.prefs-button:focus-visible,
.colors-panel button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .colors-panel { position: fixed; left: 16px; right: 16px; top: 5rem; width: auto; }
}
/* The quick keys list (? or F1) and the "link copied" message (C). */
.key-sheet {
  width: min(30rem, calc(100vw - 2rem));
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--fg);
}
.key-sheet::backdrop { background: rgba(5, 9, 14, 0.6); }
.key-sheet h2 { margin: 0 0 0.3rem; }
.key-sheet ul { list-style: none; margin: 0.7rem 0 1rem; padding: 0; display: grid; gap: 0.35rem; }
.key-sheet li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
}
.key-sheet li.taken { color: var(--faint); }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.9rem;
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--raise);
  color: var(--strong);
  font: 650 0.85rem/1.4 "Cascadia Mono", Consolas, ui-monospace, monospace;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 30;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  background: var(--strong);
  color: var(--bg);
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
/* ==========================================================================
   3. Maps and the front page: storm stage, derecho panorama, video cut-in
   ========================================================================== */

/* The Situation map's base layer and city labels (website/situation_map.py), one image each for
   dark and light. As CSS backgrounds, only the active theme's image is downloaded. */
.radar-stack .basemap, .radar-stack .citymap {
  position: absolute;
  inset: 0;
  background: center / 100% 100% no-repeat;
}
.radar-stack .basemap { background-image: url("situation-base-dark.webp?v=36aaaa3d0a"); }
.radar-stack .citymap { background-image: url("situation-labels-dark.svg?v=d72b91ca49"); }
@media (prefers-color-scheme: light) {
  :root:not([data-site-theme="dark"]) .radar-stack .basemap {
    background-image: url("situation-base-light.webp?v=e6ad889a68");
  }
  :root:not([data-site-theme="dark"]) .radar-stack .citymap {
    background-image: url("situation-labels-light.svg?v=6b3045ee5e");
  }
}
:root[data-site-theme="light"] .radar-stack .basemap {
  background-image: url("situation-base-light.webp?v=e6ad889a68");
}
:root[data-site-theme="light"] .radar-stack .citymap {
  background-image: url("situation-labels-light.svg?v=6b3045ee5e");
}

main { max-width: 1120px; margin: 0 auto; padding-inline: 16px; padding-block: 1rem 3rem; }
main > section, main > article { padding-block: 2rem; }
main > section + section { border-top: 1px solid var(--line); }

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  font-weight: 650;
  margin: 0 0 0.4rem;
}
.lede { font-size: 1.15rem; color: var(--fg); }
.narrow { max-width: 68ch; }
.muted { color: var(--muted); }
.empty { color: var(--muted); font-style: italic; }

/* The storm on the front page: a dusk stage the full width of the window, the drawing in a 16:9
   box (so the still image and the live drawing line up), the headline over the sky at top left
   and the rest in a band below. It is night art in either theme, so it keeps its own colours. */
.storm {
  /* Inside the stage the dark theme's colours apply in every theme, so the video's surround and
     its controls match the night around them. */
  --bg: #0c1117;
  --panel: #10161d;
  --raise: #151d26;
  --line: #263241;
  --fg: #dce6f2;
  --strong: #f3f7fb;
  --muted: #8798ab;
  --faint: #7b8c9f;
  --accent: #68c2ff;
  --accent-bg: #17354b;
  --accent-ink: #f3f7fb;
  --amber: #f5b041;
  --good: #86e5aa;
  --good-bg: #10251a;
  --good-line: #255338;
  --code-bg: #091018;
  color-scheme: dark;
  position: relative;
  background: radial-gradient(ellipse 55% 85% at 6% 92%, rgba(104, 62, 52, 0.85) 0%,
      rgba(104, 62, 52, 0) 65%),
      radial-gradient(ellipse 90% 70% at 40% 100%, rgba(34, 36, 62, 0.9) 0%,
      rgba(34, 36, 62, 0) 75%), #0c1117;
  color: #e3eaf3;
  border-bottom: 1px solid #263241;
  overflow: hidden;
}
.stage {
  position: relative;
  width: min(100%, calc(80vh * 16 / 9));
  aspect-ratio: 16 / 9;
  margin-inline: auto;
}
.stage .still, .stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.stage .still { object-fit: cover; }
.stage canvas { --scene-frame: 0.03 0.13 0.99 0.99; opacity: 0; transition: opacity 0.6s ease; }
.stage canvas.ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .stage canvas { transition: none; }
}
.storm-title {
  position: absolute;
  z-index: 1;
  top: 2rem;
  left: max(16px, calc((100% - 1120px) / 2));
  width: min(36rem, 46%);
}
.storm .eyebrow { color: #68c2ff; }
.storm h1 {
  color: #f6f9fc;
  font-size: clamp(1.9rem, 0.9rem + 2.6vw, 3.4rem);
  margin: 0;
  text-shadow: 0 2px 28px rgba(12, 17, 23, 0.8);
}
.storm-caption {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: right;
  color: #8798ab;
  font-size: 0.8rem;
}
.parts-toggle {
  margin-left: 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 5px;
  border: 1px solid #34404c;
  background: rgba(21, 29, 38, 0.85);
  color: #dce6f2;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.parts-toggle[aria-pressed="true"] { background: #17354b; border-color: #68c2ff; }

/* The storm diagram: labels with leader lines over the picture, arrows for its motion and
   inflow, and a key below naming each part. */
.stage .parts {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.parts .leader { stroke: rgba(232, 238, 246, 0.8); stroke-width: 1.2; }
.parts .anchor { fill: #f6f9fc; stroke: #0c1117; stroke-width: 1.5; }
.parts .name {
  fill: #f6f9fc;
  font: 600 14px "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  paint-order: stroke;
  stroke: rgba(12, 17, 23, 0.85);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.parts.numbered .name { font-size: 12px; }
.parts .arrow { stroke: #68c2ff; stroke-width: 2.5; stroke-linecap: round; }
.parts .head { fill: #68c2ff; }
.parts .arrow-name { fill: #bfe4ff; font-size: 13px; }
.parts .place { fill: #ffd9a8; font-style: italic; font-weight: 500; font-size: 13px; }
.parts .place-leader { stroke: rgba(255, 217, 168, 0.6); stroke-dasharray: 3 3; }
.parts-key { max-width: 1120px; margin: 0 auto; padding: 1rem 16px 0.25rem; }
.parts-key ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: part;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.75rem;
}
.parts-key li {
  counter-increment: part;
  position: relative;
  padding-left: 2rem;
  color: #c3cedb;
  font-size: 0.9rem;
  min-width: 0;
}
.parts-key li::before {
  content: counter(part);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #17354b;
  color: #f6f9fc;
  font-size: 0.75rem;
  font-weight: 700;
}
.parts-key .part-name { display: block; color: #f6f9fc; font-weight: 650; }
.storm-text {
  max-width: 1120px;
  margin-inline: auto;
  padding: 0.5rem 16px 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0.5rem 2.5rem;
  align-items: start;
}
.storm-text .lede { color: #d5deea; font-size: 1.1rem; grid-row: span 3; margin: 0; }
.storm-text .actions { margin-top: 0; }
.storm .button { background: rgba(21, 29, 38, 0.85); border-color: #34404c; color: #f3f7fb; }
.storm .button.primary { background: #17354b; border-color: #68c2ff; }
.storm .chip { background: rgba(21, 29, 38, 0.85); border-color: #34404c; color: #9facbb; }
.storm .chip.live { color: #86e5aa; background: #10251a; border-color: #255338; }
.storm .latest { margin: 0; }
.storm .latest a { color: #68c2ff; }
.storm-title .latest {
  margin-top: 0.7rem;
  font-size: 1rem;
  text-shadow: 0 1px 12px rgba(12, 17, 23, 0.8);
}
.storm .muted { color: #9facbb; }

/* The derecho front page (site.json "front": "derecho"): a full-width ground-level panorama, a
   line honouring those the storm killed, the evening on radar, then the storm's parts and what
   SCMWX is. */
.derecho .stage.pano { width: 100%; aspect-ratio: 12 / 5; max-height: 78vh; margin: 0; }
.derecho .storm-title { top: 1.75rem; }
/* The 1990s TV cut-in (website/broadcast.py): 4:3 like an old TV, on the page's own colour
   either side, with the headline above it so nothing covers the picture's own graphics, and its
   controls below (cutin.js). */
.derecho.broadcast .storm-title {
  position: static;
  width: auto;
  padding: 1.5rem max(16px, calc((100% - 1120px) / 2)) 1rem;
}
.derecho .stage.pano.tv { aspect-ratio: 16 / 9; max-height: 82vh; background: var(--bg); }
.derecho .stage.tv video.still { cursor: pointer; }
.derecho .stage.tv .screen:focus { outline: none; }
.derecho .stage.tv .screen:fullscreen {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  background: #000;
}
/* On a phone the clip waits for a tap (cutin.js): a button over its still image that says how
   big the download is. */
.derecho .stage.tv .tv-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: auto;
  width: max-content;
  height: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem 0.65rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 247, 251, 0.4);
  background: rgba(8, 12, 18, 0.78);
  color: #f3f7fb;
  font: 650 0.95rem/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}
.derecho .stage.tv .tv-start[hidden] { display: none; }
.derecho .stage.tv .tv-start:focus-visible { border-color: #68c2ff; outline: none; }
.derecho .stage.tv .tv-start svg { width: 26px; height: 26px; fill: none; stroke: currentColor; }
.derecho .stage.tv .tv-start svg .fill { fill: currentColor; stroke: none; }
/* The narration's captions: white capitals in black boxes, in a typewriter face, like the closed
   captions of the time. */
.derecho video.still::cue {
  color: #fff;
  background: rgba(0, 0, 0, 0.92);
  font-family: "Courier New", Consolas, monospace;
  font-weight: 700;
}
/* The controls under the video, as wide as the picture: a thin progress line, then icon buttons. */
.derecho .tv-controls {
  width: min(100%, calc(min(100% * 0.5625, 82vh) * 4 / 3));
  margin: 0 auto;
  padding: 0.55rem 0 0;
}
.derecho .tv-controls[hidden], .derecho .tv-controls [hidden] { display: none; }
.derecho .tv-progress {
  position: relative;
  height: 3px;
  margin: 0 6px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.derecho .tv-progress::before { content: ""; position: absolute; inset: -9px 0; }
.derecho .tv-progress span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(0);
}
.derecho .tv-buttons { display: flex; align-items: center; gap: 2px; padding-top: 0.3rem; }
.derecho .tv-gap { flex: 1; }
.derecho .tv-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.derecho .tv-controls button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.derecho .tv-controls button[aria-pressed="true"] { color: var(--accent); }
.derecho .tv-controls svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.derecho .tv-controls svg .fill { fill: currentColor; stroke: none; }
.derecho .tv-controls button[data-on="true"] .when-off,
.derecho .tv-controls button:not([data-on="true"]) .when-on {
  display: none;
}
.derecho .stage.tv .screen {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.derecho .stage.tv .still { object-fit: contain; }
.derecho .stage.tv video.still img { width: 100%; height: 100%; object-fit: contain; }
/* The CRT effect over the cut-in: scan lines at the screen's own pixel size (baked into the
   video they caused moiré when scaled), static as a tile moved every frame, and a faint glass
   sheen. */
.derecho .crt {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
      radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.04), transparent 70%);
}
.derecho .crt::after {
  content: "";
  position: absolute;
  inset: -128px;
  background: url("crt-snow.png?v=ebf0c88fc6") 0 0 / 384px 384px;
  opacity: 0.32;
  mix-blend-mode: overlay;
  animation: crt-snow 0.4s steps(1) infinite;
}
@keyframes crt-snow {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-61px, 37px); }
  20% { transform: translate(43px, -89px); }
  30% { transform: translate(-97px, -23px); }
  40% { transform: translate(71px, 53px); }
  50% { transform: translate(-13px, 101px); }
  60% { transform: translate(89px, -47px); }
  70% { transform: translate(-41px, -113px); }
  80% { transform: translate(17px, 67px); }
  90% { transform: translate(-79px, 7px); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .derecho .crt::after { animation: none; }
}
/* The numbered parts on the still image while "Name the parts" is open (pure CSS, via :has). */
.derecho .stage .parts { display: none; }
.storm.derecho:has(#parts-key[open]) .stage .parts { display: block; }
.derecho .parts .mark circle { fill: rgba(9, 16, 24, 0.72); stroke: #68c2ff; stroke-width: 4; }
.derecho .parts .mark text {
  fill: #f6f9fc;
  font: 700 26px "Segoe UI", system-ui, sans-serif;
  text-anchor: middle;
  dominant-baseline: central;
}
.derecho .parts .toward {
  fill: none;
  stroke: #f5b041;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.memorial {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 16px 0.2rem;
  color: #c3cedb;
  font-size: 0.95rem;
}
.memorial .when { color: #f5b041; font-weight: 650; letter-spacing: 0.02em; margin-right: 0.35rem; }
.evening { max-width: 1120px; margin: 0 auto; padding: 1rem 16px 0.25rem; }
.evening ol {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.evening li { min-width: 0; }
.evening img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #263241;
  border-radius: 6px;
  background: #091018;
}
.evening .time {
  display: block;
  color: #f6f9fc;
  font-weight: 650;
  margin-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.evening .what { color: #9facbb; font-size: 0.85rem; }
.evening .storm-caption { text-align: left; padding: 0; margin-top: 0.6rem; }
.structure { max-width: 1120px; margin: 0 auto; padding: 1.25rem 16px 0.25rem; }
.structure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #263241;
  border-radius: 6px;
  margin-top: 0.5rem;
}
.structure figcaption { color: #8798ab; font-size: 0.8rem; margin-top: 0.5rem; }
.structure-key {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1.75rem;
}
.structure-key li { color: #c3cedb; font-size: 0.88rem; min-width: 0; }
.structure-key .part-name { display: block; color: #f6f9fc; font-weight: 650; }
.storm-notes { max-width: 1120px; margin: 0 auto; padding: 0.4rem 16px 0.9rem; }
.storm-notes .storm-caption { text-align: left; padding: 0; margin: 0 0 0.5rem; }
.storm-notes .storm-credit { margin: -0.3rem 0 0.5rem; color: var(--faint); font-size: 0.7rem; }
.storm-notes .storm-credit a { color: inherit; }
details.parts-key { max-width: none; margin: 0; padding: 0; }
details.parts-key > summary { display: inline-block; list-style: none; margin-left: 0; }
details.parts-key > summary::-webkit-details-marker { display: none; }
details.parts-key[open] > summary { background: #17354b; border-color: #68c2ff; }
details.parts-key > ol { margin-top: 1rem; }

/* Controls select as a whole: a double-click or long press selects the control, never its text
   or the page around it. Text meant for reading stays selectable. */
button,
summary,
[role="button"],
.button,
.chip,
.level,
.swatches,
.graph-legend,
.view-switch,
.site-crawl,
.air-clock,
nav[aria-label="Site"] a {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--raise);
  color: var(--strong);
  text-decoration: none;
  font-weight: 600;
}
.button.primary {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
a.chip { text-decoration: none; }
.chip {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--raise);
}
.chip.live { color: var(--good); background: var(--good-bg); border-color: var(--good-line); }
.latest { margin-top: 1rem; }
.latest .eyebrow { display: inline; margin-right: 0.4rem; }
/* The "SCMWX is offline" note under the headline (site.js), in amber like the boards, never a
   calm green. */
.status-note {
  margin: 0.6rem 0 0;
  padding: 0.45rem 0.8rem;
  max-width: 46rem;
  border-left: 4px solid var(--amber);
  background: var(--raise);
  border-radius: 0 8px 8px 0;
}
.storm-title .status-note {
  background: rgba(12, 17, 23, 0.82);
  color: #e6edf5;
  border-left-color: #f5b041;
}
.storm-title .status-note b { color: #f5b041; }
.storm-title .status-note a { color: #68c2ff; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.card h3 { color: var(--amber); }
.card p { color: var(--fg); font-size: 0.95rem; margin: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.split > * { min-width: 0; }
.scale { margin: 0; }
.dbz { width: 100%; max-width: 480px; display: block; }
.dbz text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.scale figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }

.page-head { padding-block: 2.5rem 1.5rem; }

/* ==========================================================================
   4. Reports, Credits and the front door
   ========================================================================== */

/* The reports list. */
.reports { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.reports > li { border-left: 3px solid var(--accent-bg); padding-left: 1rem; }
.reports > li > a { font-weight: 650; font-size: 1.1rem; }
/* Each report's days at a glance, under its title (report_html.mini_strip). */
.mini-strip {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.mini-strip li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.05rem;
  min-width: 3.3rem;
  padding: 0.3rem 0.4rem 0.35rem;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.mini-strip .dname {
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini-strip .strip-icon { width: 1.55rem; height: 1.55rem; }
.mini-strip .hi { font-weight: 700; color: var(--strong); }
.mini-strip .lo { font-size: 0.82rem; color: var(--muted); }
.mini-strip .rain { font-size: 0.72rem; color: var(--accent); }
.reports .meta {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.reports p { margin: 0.35rem 0 0; max-width: 68ch; }

.report { max-width: 72ch; }
/* A report on a wide screen: the text grows with the window (16 px at 1200 px wide up to 20 px
   at 2560), and At a Glance with the contents stays beside it as it scrolls, so the contents are
   always one click away. A narrow window keeps one column. */
@media (min-width: 1200px) {
  html:has(article.report) { font-size: clamp(16px, calc(9.6px + 0.52vw), 20px); }
  html[data-size="large"]:has(article.report) {
    font-size: clamp(18px, calc(10.8px + 0.585vw), 22.5px);
  }
  main:has(> article.report) { max-width: min(96vw, 110rem); }
  .report {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 76ch) minmax(18rem, 27rem);
    grid-template-areas: "head side" "body side";
    column-gap: clamp(2rem, 4vw, 5rem);
    justify-content: center;
    align-items: start;
  }
  .report-head { grid-area: head; }
  .report-body { grid-area: body; }
  .report-side {
    grid-area: side;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding-block: 0.25rem;
  }
  .report .report-side .glance { margin-top: 0; }
  .report .report-side .day-strip { grid-template-columns: repeat(auto-fit, minmax(4.4rem, 1fr)); }
  .report .report-side .glance-row { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .report .back { display: none; }
}
.report h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.report-header p { margin: 0; color: var(--muted); }
.report-header { margin-bottom: 1rem; }
.crumbs { font-size: 0.9rem; margin-bottom: 0.5rem; }
.crumbs a:first-child::before { content: "← "; }
.notice {
  background: var(--raise);
  border-left: 3px solid var(--amber);
  padding: 0.6rem 0.9rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
  color: var(--fg);
}
.contents {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.contents ol { margin: 0; padding-left: 1.25rem; }
.contents li { margin: 0.15rem 0; }
/* A report's contents: always open beside the report on a wide screen, folded under the opening
   on a narrower one. The same list appears twice, one shown at a time, so no script is needed. */
.contents-box { margin: 1.5rem 0; scroll-margin-top: 1rem; }
.contents-box .contents { margin: 0; }
.contents-narrow { display: none; padding-block: 0.75rem; }
.contents-narrow summary { cursor: pointer; font-weight: 650; color: var(--strong); }
.contents-narrow[open] summary { margin-bottom: 0.5rem; }
@media (max-width: 1199.98px) {
  .contents-wide { display: none; }
  .contents-narrow { display: block; }
}
.report-section { padding-top: 1.25rem; scroll-margin-top: 1rem; }
.report-section h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}
.report-section h3 { margin-top: 1rem; font-size: 1rem; }
.report-section p { overflow-wrap: anywhere; }
.back { font-size: 0.85rem; }

/* Credits. */
.credit-group { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.credits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.credits li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  min-width: 0;
}
.credits p { margin: 0 0 0.35rem; font-size: 0.93rem; }
.credits .credit { color: var(--muted); }
.credits .note { color: var(--muted); font-size: 0.88rem; }
.use-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.05rem 0.4rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.use-public, .use-open { color: var(--good); border-color: var(--good-line); }
.use-noncommercial, .use-check { color: var(--amber); }

.foot {
  border-top: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.88rem;
  padding: 1.25rem max(16px, calc((100% - 1120px) / 2));
}
.foot p { margin: 0 0 0.4rem; max-width: 90ch; }

/* Report pages (website/report_html.py): At a Glance with the day strip, labelled days, alerts
   as call-outs in their hazard colours, a link on each section, and links to the reports before
   and after. */
.report .glance {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.report .glance dl { margin: 0.75rem 0 0; display: grid; gap: 0.55rem; }
.report .glance-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.75rem; }
.report .glance dt { font-weight: 700; color: var(--strong); }
.report .glance dd { margin: 0; }
.report .glance .more { margin-left: 0.35rem; font-size: 0.85rem; white-space: nowrap; }
.report .day-strip {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
  gap: 0.5rem;
}
.report .day-strip li {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.6rem 0.4rem;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.report .day-strip .dname {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.report .day-strip .hi { font-size: 1.35rem; font-weight: 700; color: var(--strong); }
.report .day-strip .lo { color: var(--muted); }
.report .day-strip .rain { font-size: 0.8rem; color: var(--accent); }
.report .day-strip .rain.none { color: var(--faint); }
.report h2 .anchor {
  margin-left: 0.4rem;
  font-size: 0.8em;
  color: var(--faint);
  text-decoration: none;
  opacity: 0;
}
.report h2 .anchor:focus-visible { opacity: 1; }
.report h3.day { margin: 1.4rem 0 0.4rem; font-size: 1.05rem; color: var(--strong); }
.report h3.sub { margin: 1.1rem 0 0.3rem; font-size: 1rem; color: var(--fg); }
.report .day-sum { font-variant-numeric: tabular-nums; }
.report .callout {
  margin: 0.75rem 0;
  padding: 0.65rem 0.9rem;
  border-left: 5px solid var(--hazard, var(--line));
  background: var(--panel);
  border-radius: 0 8px 8px 0;
}
.report .callout p { margin: 0.2rem 0; }
.report .callout-name { font-weight: 700; color: var(--strong); }
.report .callout.clear { --hazard: var(--good-line); }
.report .callout.unseen { --hazard: var(--amber); border-left-style: dashed; }
.report .nothing { color: var(--muted); font-style: italic; }
.report .glance-row.unseen dd { color: var(--amber); }
.report .report-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin: 2.5rem 0 1rem;
}
.report .report-nav a {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
}
.report .report-nav a.newer { text-align: right; }
@media (max-width: 560px) {
  .report .glance-row { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
}
/* The Standard view (website/report_html.py): each day's sky as a small icon; the 5-day forecast
   as rows (numbers first, sentences together); a location's forecast and the conditions at a set
   hour as tables; the flag mast as chips when its days differ; the resources as short links. */
.wx-icon { display: block; flex: none; }
.wx-icon.none { visibility: hidden; }
.strip-icon { width: 2.1rem; height: 2.1rem; }
.day-icon { width: 2.6rem; height: 2.6rem; }
.icon-sun .ray { fill: var(--sun-ray); stroke: var(--sun-edge); stroke-width: 1.6; }
.icon-sun .disc { fill: var(--sun); stroke: var(--sun-edge); stroke-width: 2.4; }
.icon-sun .shine { fill: var(--sun-shine); }
.icon-cloud {
  fill: var(--cloud);
  stroke: var(--cloud-edge);
  stroke-width: 2.6;
  stroke-linejoin: round;
}
.icon-cloud.dark { fill: var(--cloud-dark); stroke: var(--cloud-dark-edge); }
.icon-drop { stroke: var(--drop); stroke-width: 5; stroke-linecap: round; fill: none; }
.icon-bolt { fill: var(--bolt); stroke: var(--sun-edge); stroke-width: 2; }
.icon-fog { stroke: var(--cloud-edge); stroke-width: 6; stroke-linecap: round; fill: none; }
.icon-moon { fill: var(--sun-shine); stroke: var(--sun-edge); stroke-width: 2.4; }
.report .day-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.report .day-row {
  display: grid;
  grid-template-columns: 9.75rem minmax(0, 1fr);
  gap: 0.4rem 1rem;
  align-items: start;
  padding: 0.75rem 0.9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.report .day-key { display: flex; gap: 0.6rem; align-items: center; }
.report .day-facts { display: grid; line-height: 1.25; font-variant-numeric: tabular-nums; }
.report .day-facts b { color: var(--strong); }
.report .day-facts .temps { display: flex; gap: 0.45rem; align-items: baseline; }
.report .day-facts .hi { font-size: 1.2rem; font-weight: 700; color: var(--strong); }
.report .day-facts .lo { color: var(--muted); }
.report .day-row .rain { font-size: 0.8rem; color: var(--accent); }
.report .day-row .rain.none { color: var(--faint); }
.report .day-text { margin: 0; }
/* One sentence per line, slightly spaced, so a run of sentences doesn't read as a block. */
.report .s { display: block; }
.report .s + .s { margin-top: 0.45rem; }
.report .day-text .s + .s { margin-top: 0.35rem; }
/* No word left alone on a sentence's last line, where the browser supports text-wrap: pretty. */
.report-section p, .report-head p, .report .s { text-wrap: pretty; }
@media (max-width: 560px) {
  .report .day-row { grid-template-columns: minmax(0, 1fr); }
  .report .day-strip { grid-template-columns: repeat(auto-fit, minmax(3.6rem, 1fr)); gap: 0.35rem; }
  /* five in a row */
  .report .day-strip li { padding: 0.5rem 0.15rem; }
}
.report .table-wrap { overflow-x: auto; margin: 0.5rem 0 0.9rem; }
.report .site-table {
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  min-width: min(22rem, 100%);
}
.report .site-table th, .report .site-table td {
  padding: 0.35rem 0.9rem 0.35rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.report .site-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 650;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.report .site-table tbody th { font-weight: 600; color: var(--fg); white-space: nowrap; }
.report .site-table td b { color: var(--strong); }
.report .site-table .compare {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.report .flag-line { font-variant-numeric: tabular-nums; }
.report .chips {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.report .chips li {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raise);
  font-size: 0.88rem;
}
.report .chips span { font-weight: 700; color: var(--strong); }
.report .resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: 0 1.5rem;
}
.report .resources ul { margin: 0; padding-left: 1.1rem; }
.report .resources > p { grid-column: 1 / -1; }
.foot strong { color: var(--fg); }

/* The front door: the site's pages in order on the front page, "Sign in" at the end of the
   header bar ("Members" inside the members' area), and the objectives at the top of Credits. */
.bar nav a.members { border: 1px solid var(--line); margin-left: 0.35rem; }
.site-order {
  list-style: none;
  margin: 0.5rem 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.6rem;
}
.site-order a {
  display: grid;
  gap: 0.1rem;
  height: 100%;
  padding: 0.75rem 0.9rem;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.site-order b { color: var(--strong); }
.site-order span { color: var(--muted); font-size: 0.9rem; }
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.two-col .card h2 { font-size: 1.2rem; }
.two-col .card h3 { color: var(--strong); margin-top: 1rem; }
.two-col .card ul, .two-col .card ol {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0;
  display: grid;
  gap: 0.4rem;
}
.two-col .card li { font-size: 0.95rem; }
.objectives strong { color: var(--strong); }
.sources-title { margin-top: 0.5rem; }
.credit-group h2 { font-size: 1.15rem; }

@media (max-width: 1100px) {
  .parts-key ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .storm-title { position: static; width: auto; padding: 1.5rem 16px 0; }
  .stage canvas { --scene-frame: 0.01 0.03 0.99 0.99; }
  /* the headline is above it here */
  .storm-caption { text-align: left; font-size: 0.75rem; }
  .storm-text { grid-template-columns: minmax(0, 1fr); }
  .derecho .stage.pano { aspect-ratio: 16 / 9; }
  .derecho .stage.pano.tv { aspect-ratio: 4 / 3; }
  .derecho .tv-controls { width: 100%; padding-inline: 10px; }
  .evening ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .structure-key { grid-template-columns: minmax(0, 1fr); }
  .parts-key ol { grid-template-columns: minmax(0, 1fr); }
  .storm-text .lede { grid-row: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .credits { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .brand .what { display: none; }
}

/* ==========================================================================
   5. Live boards: Operations, Situation, Synopsis, the 36-hour graph
   ========================================================================== */

/* A company's Operations board (build_site.company_board, board.js): each site now, with every
   reading's age; what changed today; and lines from the company's newest report. */
.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.board-clock {
  display: grid;
  justify-items: end;
  margin: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.board-clock b { font-size: 1.6rem; color: var(--strong); }
.board-clock small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 560px) {
  .board-clock { justify-items: start; }
}
.stale-banner {
  margin: 0 0 1rem;
  padding: 0.65rem 0.9rem;
  border-left: 4px solid var(--amber);
  background: var(--raise);
  border-radius: 0 8px 8px 0;
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
}
/* A card's parts stay at its top: cards in a row share a height, and opening an alert on one
   card would otherwise spread the other card's parts down. */
.site-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem 0.8rem;
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  align-content: start;
}
.site-card.main { border-color: var(--accent); }
.site-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.site-card h2 { margin: 0; font-size: 1.3rem; }
.site-card header .muted { margin: 0; font-size: 0.88rem; }
.level {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--amber);
  color: var(--amber);
  background: var(--raise);
  white-space: nowrap;
}
.level.level-quiet {
  border-color: var(--good-line);
  color: var(--good);
  background: var(--good-bg);
}
/* The level badge explains itself when pressed (board.js). */
button.level { font-family: inherit; line-height: 1.3; cursor: pointer; }
button.level[aria-expanded="true"] { box-shadow: inset 0 0 0 1px currentColor; }
.level-note { margin: -0.3rem 0 0; font-size: 0.88rem; color: var(--muted); }
.level.level-warning, .level.level-storm-over, .level.level-storm {
  border-color: var(--warn);
  color: var(--warn);
}
.now { display: flex; align-items: center; gap: 1rem; }
.now .temp {
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 750;
  color: var(--strong);
  font-variant-numeric: tabular-nums;
}
.now div { display: grid; line-height: 1.35; }
.now .sky { font-weight: 650; color: var(--strong); }
.now small, .site-alerts small, .ops-card small { color: var(--faint); font-size: 0.8rem; }
.cannot { color: var(--amber); margin: 0; font-weight: 650; }
.site-alerts {
  display: grid;
  gap: 0.1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border-left: 4px solid var(--good-line);
  background: var(--raise);
}
.site-alerts.some { border-left-color: var(--warn); }
.site-alerts.blind { border-left-color: var(--amber); }
.site-alerts p { margin: 0; }
/* An alert in full (board.js alertDetail): its line opens to the office's own text, its parts
   beside their labels, and what to do, edged in the alert's colour. */
.alert-detail > summary { cursor: pointer; }
.alert-detail[open] > summary { margin-bottom: 0.35rem; }
.alert-detail p { margin: 0 0 0.35rem; font-size: 0.9rem; line-height: 1.45; }
.alert-detail .alert-meta { color: var(--muted); font-size: 0.85rem; }
.alert-detail dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.25rem 0.75rem;
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.alert-detail dt { font-weight: 650; color: var(--strong); }
.alert-detail dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.alert-detail .alert-do {
  border-left: 3px solid var(--warn);
  padding-left: 0.6rem;
  margin: 0.4rem 0 0.2rem;
}
.alert-detail .alert-do p { margin: 0.15rem 0 0; }
@media (max-width: 30rem) {
  .alert-detail dl { grid-template-columns: minmax(0, 1fr); }
  .alert-detail dd { margin-bottom: 0.2rem; }
}
.site-card .watch { margin: 0; padding-left: 1.1rem; color: var(--amber); }
.periods { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.periods li {
  display: grid;
  grid-template-columns: 6.2rem 3rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.93rem;
}
.periods .t { font-weight: 700; color: var(--strong); font-variant-numeric: tabular-nums; }
.periods .short { color: var(--muted); }
/* A forecast period that opens to the Weather Service's full text (board.js): the same row, with
   a mark showing it opens. */
.periods li.has-detail { display: block; }
.period-detail > summary {
  display: grid;
  grid-template-columns: 6.2rem 3rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: baseline;
  cursor: pointer;
  list-style: none;
}
.period-detail > summary::-webkit-details-marker { display: none; }
.period-detail > summary .short::after { content: " ▸"; color: var(--faint); }
.period-detail[open] > summary .short::after { content: " ▾"; }
.period-detail > p {
  margin: 0.25rem 0 0.45rem 6.7rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 30rem) {
  .period-detail > p { margin-left: 0; }
}
/* Beyond the forecast (board.js aheadBlock): days 6 to 10 as five small rain-chance bars (a
   holiday edged in the accent), the long range's sentence, and the month ahead behind a tap. */
.ahead { display: grid; gap: 0.35rem; }
.ahead h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.ahead-days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}
.ahead-days li {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  padding: 0.3rem 0.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
  min-width: 0;
}
.ahead-days li.holiday { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ahead-days small { color: var(--muted); font-size: 0.74rem; white-space: nowrap; }
.ahead-bar {
  position: relative;
  width: 0.6rem;
  height: 2.2rem;
  border-radius: 3px;
  background: var(--raise);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.ahead-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--chance, 0%);
  background: var(--rain-bar);
}
.ahead-days .pct { font-weight: 700; color: var(--strong); font-variant-numeric: tabular-nums; }
.ahead > p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.ahead-month > summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--accent);
}
.ahead-month > p { margin: 0.3rem 0 0; font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.ahead-age { color: var(--muted); font-size: 0.75rem; }
/* The next 36 hours (board.js hourGraph): drawn at the width it's shown, so its labels are the
   page's text size; a legend whose dashed lines switch on and off; an hour in full where it's
   tapped. */
.hour-figure { margin: 0; }
.hour-figure figcaption { font-size: 0.78rem; color: var(--faint); margin-bottom: 0.15rem; }
.graph-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.graph-legend .key { display: inline-flex; align-items: center; gap: 0.4rem; }
.graph-legend button.key {
  background: none;
  border: 0;
  padding: 0.15rem 0.25rem;
  margin: 0 -0.25rem;
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-radius: 4px;
}
/* A line that's switched off: its label struck through and its swatch faded, still as readable
   as the rest. */
.graph-legend button.key[aria-pressed="false"] { text-decoration: line-through; }
.graph-legend button.key[aria-pressed="false"] .swatch { opacity: 0.35; }
.graph-legend .swatch {
  display: inline-block;
  width: 1.15rem;
  border-top: 3px solid var(--temp-line);
}
.graph-legend .swatch.feels { border-top: 2px dashed var(--feels-line); }
.graph-legend .swatch.dew { border-top: 2px dashed var(--dew-line); }
.graph-legend .swatch.rain {
  width: 0.55rem;
  height: 0.7rem;
  border: 0;
  background: var(--rain-bar);
  border-radius: 1px;
}
.graph-plot { position: relative; touch-action: pan-y; border-radius: 6px; }
.graph-plot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hour-graph { display: block; width: 100%; height: auto; overflow: visible; }
.hour-graph .grid { stroke: var(--line); stroke-width: 1; }
.hour-graph .axis { fill: var(--muted); font-size: 11px; }
.hour-graph .axis.day { fill: var(--fg); font-weight: 650; }
.hour-graph .rain-word, .hour-graph .rain-peak {
  fill: var(--rain-bar);
  font-weight: 700;
  font-size: 11px;
}
.hour-graph .pop { fill: var(--rain-bar); opacity: 0.85; }
.hour-graph .pop.dim { opacity: 0.45; }
.hour-graph .now { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.hour-graph .temp-line {
  fill: none;
  stroke: var(--temp-line);
  stroke-width: 2.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.hour-graph .feels-line {
  fill: none;
  stroke: var(--feels-line);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  stroke-linejoin: round;
}
.hour-graph .dew-line {
  fill: none;
  stroke: var(--dew-line);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  stroke-linejoin: round;
}
.hour-graph .extreme { fill: var(--temp-line); }
.hour-graph .extreme-label { fill: var(--strong); font-weight: 700; font-size: 11.5px; }
.hour-graph .cursor { stroke: var(--strong); stroke-width: 1; }
.hour-graph .cursor-dot { fill: var(--temp-line); stroke: var(--strong); stroke-width: 1.5; }
.graph-readout {
  position: absolute;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 0.1rem;
  min-width: 9.5rem;
  max-width: 15rem;
  padding: 0.45rem 0.65rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  font-size: 0.8rem;
  line-height: 1.35;
  pointer-events: none;
}
.graph-readout.below { position: static; max-width: none; margin-top: 0.4rem; box-shadow: none; }
.graph-readout b { color: var(--strong); }
.graph-readout .t { color: var(--temp-line); font-weight: 750; font-size: 0.95rem; }
.graph-readout .feels { color: var(--feels-line); font-weight: 650; }
.graph-readout .wx { color: var(--muted); }
.graph-readout .alert { color: var(--warn); font-weight: 650; }
.ages { margin: 0; color: var(--faint); font-size: 0.8rem; }
.board-changes { margin-top: 1.5rem; }
.board-changes h2 { font-size: 1.1rem; }
.board-changes ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.25rem; }
.board-changes ol:has(> li.muted:only-child), .board-changes ol:has(> li.cannot:only-child) {
  list-style: none;
  padding-left: 0;
}
.board-changes time { color: var(--muted); font-variant-numeric: tabular-nums; }
.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.ops-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  min-width: 0;
}
.ops-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.ops-card p { margin: 0 0 0.4rem; }
/* The Situation page: SCMWX's radar over its basemap of Greater Houston (light or dark with the
   theme; website/situation_map.py), then the lists. */
.radar-map { margin: 0 0 1rem; }
.radar-stack {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--raise);
}
.radar-stack img { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar-stack img.radar { opacity: 0.85; }
.radar-map figcaption { color: var(--faint); font-size: 0.82rem; margin-top: 0.35rem; }
.radar-map .map-credit { color: var(--faint); font-size: 0.72rem; margin: 0.1rem 0 0; }
.radar-map .map-credit a { color: inherit; }
.situation-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}
.situation-lists h2 { font-size: 1.1rem; }
.situation-lists ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; }
.situation-lists time { color: var(--muted); font-variant-numeric: tabular-nums; }
/* Says whose alerts these are while SCMWX's board can't be had (board.js areaLists). */
.situation-lists li.source {
  list-style: none;
  margin-left: -1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}
/* The Synopsis page. */
.training {
  background: var(--raise);
  border-left: 3px solid var(--amber);
  padding: 0.6rem 0.9rem;
  border-radius: 0 8px 8px 0;
}
.syn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.syn-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  min-width: 0;
}
.syn-card h2 { margin: 0; font-size: 1.25rem; }
.syn-card .dated { color: var(--muted); font-size: 0.88rem; margin: 0.15rem 0 0.8rem; }
.syn-card .headline {
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--strong);
  border-left: 3px solid var(--accent);
  padding-left: 0.7rem;
}
.syn-card dl { margin: 0; display: grid; gap: 0.45rem; }
.syn-card dl div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; }
.syn-card dt { font-weight: 700; color: var(--strong); }
.syn-card dd { margin: 0; }
@media (max-width: 560px) {
  .syn-card dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
/* ==========================================================================
   6. Report requests
   ========================================================================== */

/* Asking for a report (members/requests.html, requests.js): the form beside the reader's own
   requests; stacked on a phone. */
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
}
@media (max-width: 820px) {
  .request-layout { grid-template-columns: minmax(0, 1fr); }
}
.request-form {
  display: grid;
  gap: 0.9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  min-width: 0;
}
.request-form label { display: grid; gap: 0.3rem; font-weight: 650; color: var(--strong); }
.request-form label.check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  color: var(--fg);
}
.request-form input:not([type="checkbox"]), .request-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  width: 100%;
  min-width: 0;
}
.request-form input:focus-visible, .request-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.request-form input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  accent-color: var(--accent);
  flex: none;
}
.request-form textarea { resize: vertical; }
/* Placeholder text in empty fields, in the faint colour (the browser's own grey wasn't readable
   on either theme). */
.request-form ::placeholder { color: var(--faint); opacity: 1; }
.request-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.request-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.request-form legend { font-weight: 650; color: var(--strong); padding: 0; margin-bottom: 0.4rem; }
.request-worries { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.request-form .form-actions { margin: 0; }
.request-form button.button { font: inherit; font-weight: 600; cursor: pointer; }
.request-form :disabled { opacity: 0.55; cursor: not-allowed; }
.request-form #request-to { margin: 0; }
.form-problem { margin: 0; color: var(--amber); font-weight: 650; }
.request-mine h2 { margin-top: 0; font-size: 1.15rem; }
.my-requests { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.my-requests .request {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 0.7rem 0.9rem;
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.my-requests .request h3 { margin: 0; font-size: 1.02rem; }
.my-requests .request h3 .muted { font-weight: 500; }
.my-requests .request p { margin: 0; }
.my-requests .request-state b { color: var(--strong); }
.my-requests .request-sent { border-left-color: var(--good-line); }
.my-requests .request-declined, .my-requests .request-withdrawn {
  border-left-color: var(--line);
  color: var(--muted);
}
.my-requests button.link {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ==========================================================================
   7. The Cable and TV screens (views.js)
   ========================================================================== */

/* A report, or the Situation page, shown as a 1990s cable channel's local forecast or as a local
   weathercast. */
.view-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.4rem 0 0.9rem;
}
.view-switch .eyebrow { margin: 0 0.35rem 0 0; }
.view-switch button, .screen-controls button {
  font: inherit;
  font-size: 0.9rem;
  color: var(--fg);
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
}
.view-switch button[aria-pressed="true"] {
  color: var(--accent-ink);
  background: var(--accent-bg);
  border-color: var(--accent);
}
/* With a screen on: the report's head and the screen; the rest is hidden until "Read the full
   report". */
html[data-view] .report { display: block; max-width: 62rem; margin-inline: auto; }
html[data-view] .report-side,
html[data-view] .report-body,
html[data-view] .report-head > :not(.crumbs, h1, .view-switch, .report-header, .notice) {
  display: none;
}
/* The Situation page with a screen on: its head, any note that the board is late, and the
   screen; the board itself is hidden until "See the whole board". */
html[data-view] :is(.radar-map, #board-sites, .situation-lists, .board-changes) { display: none; }
/* ...but while SCMWX's board can't be seen, the National Weather Service's alerts for the area
   stay below it. */
html[data-view] body:has(#board-stale:not([hidden])) .situation-lists { display: grid; }
.board-head .view-switch { margin-top: 0.6rem; }
/* The screen and its controls fit the window's height where they can (e.g. a 768 px laptop),
   whatever its width. */
.report-screen { margin: 0.5rem auto 0; max-width: min(100%, calc((100vh - 6.5rem) * 4 / 3)); }
.bezel {
  background: #06080b;
  border: 1px solid #1d232b;
  border-radius: 18px;
  padding: clamp(6px, 1.3vw, 16px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.screen-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.45rem;
  margin-top: 0.8rem;
}
.screen-controls .read {
  margin-left: auto;
  color: var(--accent-ink);
  background: var(--accent-bg);
  border-color: var(--accent);
}
.screen-where {
  color: var(--muted);
  font-size: 0.88rem;
  padding-inline: 0.25rem;
  font-variant-numeric: tabular-nums;
}
/* Only the report's screen (the front page's cut-in has its own .screen, sized by its stage). */
.bezel > .screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px / 14px;
  container-type: inline-size;
  isolation: isolate;
  /* The broadcast's own colours, whatever the reader's accent: these screens are always on air.
     The same as the 1990s themes' (section 8), each text colour at 4.5:1 or better on the
     lightest blue behind it. */
  --air-navy: #0a1650;
  --air-gold: #ffd600;
  --air-rim: #c8dcff;
  --air-white: #ffffff;
  --air-ink: #04082a;
  --air-blue-top: #2352c8;
  --air-blue-bottom: #0a1c6e;
  --air-red-top: #f01e1e;
  --air-red-bottom: #960000;
  --air-sky-top: #081452;
  --air-sky-mid: #14318c;
  --air-sky-bottom: #2650b8;
  --air-soft: #d0dcf8;
  --air-panel-top: rgba(36, 78, 191, 0.92);
  --air-panel-bottom: rgba(14, 34, 124, 0.94);
  --air-tile: rgba(8, 20, 78, 0.9);
  --air-low: #a8dcff;
  --lvl-off: rgba(255, 255, 255, 0.13);
  --lvl-heavy: #f08a24;
  --sun: #ffd84a;
  --sun-ray: #ffb21e;
  --sun-edge: #9c5200;
  --sun-shine: rgba(255, 246, 200, 0.8);
  --cloud: #f4f7ff;
  --cloud-edge: #6c7ba3;
  --cloud-dark: #a3aec8;
  --cloud-dark-edge: #4b5675;
  --drop: #58b4ff;
  --bolt: #ffd600;
  --mark-light: #ffcf5c;
  --mark-dark: #ec8a1c;
  --scan: rgba(0, 0, 0, 0.2);
  --vignette: rgba(0, 0, 0, 0.5);
  --glass: rgba(255, 255, 255, 0.05);
}
.bezel .screen .mark-light { fill: var(--mark-light); }
.bezel .screen .mark-dark { fill: var(--mark-dark); }
.bezel .screen .wx-icon {
  display: block;
  filter: drop-shadow(0.3cqw 0.3cqw 0 rgba(0, 0, 30, 0.7));
}
.crawl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.3cqw;
  height: 5.2cqw;
  display: flex;
  z-index: 2;
  background: var(--air-navy);
  border-block: 0.3cqw solid var(--air-rim);
  font: 700 2.7cqw/1 Arial, Archivo, sans-serif;
}
.crawl-label {
  flex: none;
  display: grid;
  place-items: center;
  padding-inline: 1.8cqw;
  color: var(--air-white);
  background: linear-gradient(var(--air-red-top), var(--air-red-bottom));
  font-family: "Arial Black", "Archivo Black", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  border-right: 0.3cqw solid var(--air-rim);
}
.crawl-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  cursor: pointer;
}
/* Clicking a crawl pauses or resumes it; its SCMWX label links home (site.js, views.js). */
.crawl.paused .crawl-run, .site-crawl.paused .crawl-run { animation-play-state: paused; }
a.crawl-label { text-decoration: none; }
.crawl-run {
  display: flex;
  white-space: nowrap;
  color: var(--air-gold);
  animation: crawl 60s linear infinite;
}
.crawl-run span { padding-inline: 1.5cqw 5cqw; }
@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* The tube: scan lines, a vignette, a faint glass sheen. */
.bezel .crt {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
  background: repeating-linear-gradient(to bottom, var(--scan) 0 1px, transparent 1px 3px),
      radial-gradient(ellipse at 50% 42%, var(--glass), transparent 55%),
      radial-gradient(ellipse at 50% 50%, transparent 58%, var(--vignette) 100%);
}
.bezel .crt.soft { opacity: 0.7; }
/* Cable: the local forecast. */
.screen.cable {
  color: var(--air-white);
  font-family: Arial, Archivo, "Helvetica Neue", sans-serif;
  font-weight: 700;
  background: linear-gradient(180deg, var(--air-sky-top) 0%, var(--air-sky-mid) 58%,
      var(--air-sky-bottom) 100%);
  text-shadow: 0.22cqw 0.22cqw 0 var(--air-ink);
}
.cable-top {
  position: absolute;
  top: 2.8cqw;
  left: 4.2cqw;
  right: 4.2cqw;
  height: 8cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4cqw;
}
.cable-logo {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  height: 100%;
  padding: 0 1.6cqw 0 1cqw;
  background: linear-gradient(var(--air-blue-top), var(--air-blue-bottom));
  border: 0.3cqw solid var(--air-rim);
  border-radius: 0.6cqw;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.cable-logo svg {
  width: 5.4cqw;
  height: 5.4cqw;
  filter: drop-shadow(0.2cqw 0.2cqw 0 var(--air-ink));
}
.cable-logo div { display: grid; line-height: 1; }
.cable-logo b {
  font: italic 900 3.5cqw/1 "Arial Black", "Archivo Black", sans-serif;
  letter-spacing: 0.02em;
}
.cable-logo small {
  font-size: 1.4cqw;
  color: var(--air-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.5cqw;
}
.cable-title {
  position: absolute;
  top: 11.6cqw;
  left: 4.2cqw;
  right: 4.2cqw;
  height: 6cqw;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2cqw;
  min-width: 0;
  animation: title-in 0.45s ease-out;
}
@keyframes title-in {
  from { opacity: 0; transform: translateX(-2cqw); }
  to { opacity: 1; transform: none; }
}
.cable-title small {
  font-size: 2cqw;
  color: var(--air-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.cable-title h3 {
  margin: 0;
  padding-right: 0.6cqw;
  font: italic 900 4.8cqw/1.1 "Arial Black", "Archivo Black", sans-serif;
  color: var(--air-gold);
  text-shadow: 0.35cqw 0.35cqw 0 var(--air-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.cable-clock {
  display: grid;
  justify-items: end;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cable-clock b { font-size: 3.1cqw; }
.cable-clock small { font-size: 2cqw; color: var(--air-gold); text-transform: uppercase; }
.cable-panel {
  position: absolute;
  top: 18.6cqw;
  left: 4.2cqw;
  right: 4.2cqw;
  bottom: 10.8cqw;
  padding: 2.4cqw 3.4cqw 2cqw;
  background: linear-gradient(180deg, var(--air-panel-top), var(--air-panel-bottom));
  border: 0.35cqw solid var(--air-rim);
  border-radius: 0.8cqw;
  font-size: 3cqw;
  line-height: 1.3;
  overflow: hidden;
  box-shadow: inset 0 0 0 0.3cqw rgba(0, 0, 40, 0.35), 0 0.7cqw 0 rgba(0, 0, 20, 0.5);
  animation: page-in 0.45s ease-out;
}
@keyframes page-in {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
.cable-panel > div { height: 100%; display: flex; flex-direction: column; }
.cable-panel .cable-note {
  margin: auto 0 0;
  padding-top: 1.2cqw;
  font-size: 1.9cqw;
  line-height: 1.3;
  font-weight: 400;
  color: var(--air-soft);
}
.cable-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8.6cqw;
  display: flex;
  justify-content: center;
  gap: 1cqw;
}
/* Each page's dot goes to its page (views.js); the button is a larger target than the dot it
   shows. */
.cable-dots button {
  box-sizing: content-box;
  width: 1.2cqw;
  height: 1.2cqw;
  padding: 0.6cqw;
  border: 0;
  border-radius: 50%;
  background: rgba(200, 220, 255, 0.3);
  background-clip: content-box;
  cursor: pointer;
}
.cable-dots button.on {
  background-color: var(--air-gold);
  filter: drop-shadow(0 0 0.5cqw var(--air-gold));
}
.cable-glance { margin: 0; display: grid; gap: 1.6cqw; font-size: 2.9cqw; }
.cable-glance div { display: grid; grid-template-columns: 23cqw minmax(0, 1fr); gap: 2cqw; }
.cable-glance dt { color: var(--air-gold); }
.cable-glance dd { margin: 0; }
/* Rows held to their first lines when the whole won't fit; their full text follows on pages of
   its own. */
.cable-glance.short dd {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
/* A page measured before it's shown (views.js fitsPanel): laid out on the screen, never seen. */
.cable-panel.probe { visibility: hidden; animation: none; pointer-events: none; }
.cable-words p { margin: 0; font-size: 3.1cqw; line-height: 1.32; }
.cable-day p { margin: 0; font-size: 3.1cqw; line-height: 1.32; }
.cable-day-key { display: flex; align-items: center; gap: 3cqw; margin-bottom: 1.6cqw; }
.cable-day-icon { width: 12cqw; height: 12cqw; flex: none; }
.cable-day-key div { display: grid; line-height: 1.1; font-size: 2.6cqw; color: var(--air-soft); }
.cable-day-key .big {
  font: 900 9cqw/1 "Arial Black", "Archivo Black", sans-serif;
  color: var(--air-white);
  text-shadow: 0.45cqw 0.45cqw 0 var(--air-ink);
}
.cable-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 2.7cqw;
  font-variant-numeric: tabular-nums;
}
.cable-table th {
  text-align: left;
  color: var(--air-gold);
  font-size: 2.2cqw;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 0.6cqw;
  border-bottom: 0.25cqw solid var(--air-rim);
}
.cable-table td {
  padding-block: 0.45cqw;
  border-bottom: 0.15cqw solid rgba(200, 220, 255, 0.2);
  white-space: nowrap;
}
.cable-table td + td, .cable-table th + th { padding-left: 2cqw; }
.cable-table .num { text-align: right; }
.ext-days, .cable-panel > .ext-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6cqw;
  flex: 1;
  min-height: 0;
}
.ext-days.n1 { grid-template-columns: minmax(0, 0.4fr); justify-content: center; }
.ext-days.n2 { grid-template-columns: repeat(2, minmax(0, 0.4fr)); justify-content: center; }
.ext-day {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  padding: 1cqw 0.8cqw;
  background: rgba(4, 12, 60, 0.35);
  border: 0.2cqw solid rgba(200, 220, 255, 0.35);
  border-radius: 0.6cqw;
}
.ext-name {
  font: italic 900 3.8cqw/1 "Arial Black", "Archivo Black", sans-serif;
  color: var(--air-gold);
  text-transform: uppercase;
}
.ext-icon { width: 11.5cqw; height: 11.5cqw; margin-block: 0.4cqw; }
.ext-short { font-size: 2.3cqw; line-height: 1.15; min-height: 2.8cqw; }
.ext-temps { display: grid; gap: 0.2cqw; margin-top: 0.6cqw; }
.ext-temps .hi { font: 900 4.6cqw/1 "Arial Black", "Archivo Black", sans-serif; }
.ext-temps .lo { font-size: 3.2cqw; color: var(--air-low); }
.cable-tropics p { margin: 0 0 1.4cqw; font-size: 3cqw; line-height: 1.3; }
.cable-tropics .soft { color: var(--air-soft); font-size: 2.6cqw; }
.odds { display: flex; gap: 4cqw; margin: 1cqw 0 2cqw; }
.odds div { display: grid; }
.odds b { font: 900 7cqw/1 "Arial Black", "Archivo Black", sans-serif; color: var(--air-gold); }
.odds span {
  font-size: 2.2cqw;
  color: var(--air-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cable-flags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1.4cqw;
}
.cable-flags li {
  display: grid;
  justify-items: center;
  gap: 1cqw;
  padding: 2cqw 1cqw;
  background: rgba(4, 12, 60, 0.35);
  border: 0.2cqw solid rgba(200, 220, 255, 0.35);
  border-radius: 0.6cqw;
  text-align: center;
}
.cable-flags b {
  font: italic 900 3.6cqw/1 "Arial Black", "Archivo Black", sans-serif;
  color: var(--air-gold);
  text-transform: uppercase;
}
.cable-flags span { font-size: 2.6cqw; }
.cable-fact p { font-size: 3.4cqw; line-height: 1.35; margin: 0 0 1.6cqw; }
.cable-fact p + p { color: var(--air-soft); font-size: 2.9cqw; }
/* TV: the weathercast, over a 1990s-style map of the coast (website/tv_map.py). */
.screen.tv { background: #0a2463 url("tv-map.svg?v=d2d9f31e9f") center / 100% 100% no-repeat; }
.tv-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tv-svg text { font-family: Arial, Archivo, sans-serif; }
.tv-svg .stop-blue-top { stop-color: var(--air-blue-top); }
.tv-svg .stop-blue-bottom { stop-color: var(--air-blue-bottom); }
.tv-svg .box-blue { fill: url(#tvBlue); }
.tv-svg .box-navy { fill: var(--air-navy); }
.tv-svg .rim { stroke: var(--air-rim); stroke-width: 1.4; }
.tv-seg { animation: seg-in 0.5s ease-out; }
@keyframes seg-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tv-svg .bug, .tv-svg .bug-shadow {
  font: italic 900 28px "Arial Black", "Archivo Black", sans-serif;
}
.tv-svg .bug { fill: var(--air-white); }
.tv-svg .bug-shadow { fill: var(--air-ink); opacity: 0.9; }
.tv-svg .bug-sub {
  font: 700 10px Arial, Archivo, sans-serif;
  fill: var(--air-gold);
  letter-spacing: 0.12em;
}
.tv-svg .clock {
  font: 900 21px "Arial Black", "Archivo Black", sans-serif;
  fill: var(--air-white);
  stroke: var(--air-ink);
  stroke-width: 2px;
  paint-order: stroke;
}
.tv-svg .clock-date {
  font: 700 10px Arial, Archivo, sans-serif;
  fill: var(--air-gold);
  letter-spacing: 0.08em;
}
.tv-svg .lower-title, .tv-svg .lower-title-shadow {
  font: italic 900 20px "Arial Black", "Archivo Black", sans-serif;
}
.tv-svg .lower-title { fill: var(--air-white); }
.tv-svg .lower-title-shadow { fill: var(--air-ink); opacity: 0.9; }
.tv-svg .lower-line { font: 700 13px Arial, Archivo, sans-serif; fill: var(--air-white); }
.tv-svg .tile-body { fill: var(--air-tile); stroke: var(--air-rim); stroke-width: 1.4; }
.tv-svg .tile-day {
  font: italic 900 22px "Arial Black", "Archivo Black", sans-serif;
  fill: var(--air-white);
}
.tv-svg .tile-short { font: 700 14px Arial, Archivo, sans-serif; fill: var(--air-white); }
.tv-svg .tile-label {
  font: 700 10px Arial, Archivo, sans-serif;
  fill: var(--air-soft);
  letter-spacing: 0.14em;
}
.tv-svg .tile-hi {
  font: 900 34px "Arial Black", "Archivo Black", sans-serif;
  fill: var(--air-gold);
}
.tv-svg .tile-lo {
  font: 900 26px "Arial Black", "Archivo Black", sans-serif;
  fill: var(--air-low);
}
.tv-svg .tile-hi.small, .tv-svg .tile-lo.small { font-size: 24px; }
.tv-svg .tv-big {
  font: 900 92px "Arial Black", "Archivo Black", sans-serif;
  fill: var(--air-gold);
  stroke: var(--air-ink);
  stroke-width: 6px;
  paint-order: stroke;
}
.tv-svg .tv-storm {
  font: italic 900 46px "Arial Black", "Archivo Black", sans-serif;
  fill: var(--air-gold);
  stroke: var(--air-ink);
  stroke-width: 4px;
  paint-order: stroke;
}
.tv-svg .gauge-back { fill: var(--lvl-off); stroke: var(--air-rim); stroke-width: 1; }
.tv-svg .gauge-fill { fill: var(--lvl-heavy); }
.tv-svg .gauge-value {
  font: 900 22px "Arial Black", "Archivo Black", sans-serif;
  fill: var(--air-white);
}
.tv-svg .tv-fact { font: 700 20px Arial, Archivo, sans-serif; fill: var(--air-white); }
.tv-crawl { bottom: 2.6cqw; height: 4.4cqw; font-size: 2.3cqw; }
/* The live boards on the screens (views.js liveChannel): a site's name or alerts may wrap; a
   long period name in smaller type; days 6 to 10 as five tiles of rain bars, a holiday rimmed in
   gold; the radar copied from the page. */
.cable-table td.wrap { white-space: normal; }
.cable-wait { margin: auto 0; font-size: 3.4cqw; text-align: center; }
.cable-day .cable-level { color: var(--air-gold); margin-bottom: 0.6cqw; }
.ext-name.long { font-size: 2.6cqw; line-height: 1.05; }
.ext-rain { font-size: 2.3cqw; color: var(--air-soft); }
.ext-days.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); flex: 1; }
.ext-day.holiday { border-color: var(--air-gold); box-shadow: inset 0 0 0 0.25cqw var(--air-gold); }
.scr-bar {
  position: relative;
  width: 3cqw;
  height: 13cqw;
  margin-block: 0.8cqw;
  border-radius: 0.4cqw;
  background: rgba(4, 12, 60, 0.55);
  box-shadow: inset 0 0 0 0.2cqw var(--air-rim);
  overflow: hidden;
}
.scr-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--chance, 0%);
  background: linear-gradient(var(--drop), #1d6fd6);
}
.cable-radar { align-items: center; }
.cable-radar .radar-stack {
  flex: 1 1 0;
  min-height: 0;
  width: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.6cqw;
  box-shadow: 0 0 0 0.25cqw var(--air-rim);
}
.cable-radar .cable-note { align-self: stretch; }
.tv-svg .tile-day.long { font-size: 15px; }
.tv-svg .tile-body.holiday { stroke: var(--air-gold); stroke-width: 3; }
.tv-svg .gauge-rain { fill: var(--drop); stroke: var(--air-rim); stroke-width: 1; }
@media (prefers-reduced-motion: reduce) {
  .crawl-run { animation: none; white-space: normal; }
  .crawl-run span + span { display: none; }
  .crawl-run span { font-size: 0.85em; line-height: 1.1; }
  .cable-panel, .cable-title, .tv-seg { animation: none; }
}

/* ==========================================================================
   8. The 1990s themes: Cable, TV and Night
   ========================================================================== */

/* Every page styled as the cable channel's local forecast or as a local weathercast over the
   coast, in the broadcast's own colours whatever the accent, with subtle motion. These rules
   come last so they override the light theme's rules, which apply to any theme that isn't dark. */
:root[data-site-theme="cable"],
:root[data-site-theme="cable"][data-accent],
:root[data-site-theme="tv"],
:root[data-site-theme="tv"][data-accent] {
  /* Every text colour here has a contrast of 4.5:1 or better against the lightest blue behind
     it. */
  --air-navy: #0a1650;
  --air-gold: #ffd600;
  --air-rim: #c8dcff;
  --air-white: #ffffff;
  --air-ink: #04082a;
  --air-blue-top: #2352c8;
  --air-blue-bottom: #0a1c6e;
  --air-red-top: #d01c1c;
  --air-red-bottom: #960000;
  --air-sky-top: #081452;
  --air-sky-mid: #14318c;
  --air-sky-bottom: #2650b8;
  --air-soft: #d0dcf8;
  --air-bar-top: #0d1d66;
  --air-panel-top: rgba(36, 78, 191, 0.94);
  --air-panel-bottom: rgba(14, 34, 124, 0.95);
  --air-tile: rgba(8, 20, 78, 0.92);
  --bg: #0a1650;
  --panel: rgba(14, 34, 124, 0.95);
  --raise: rgba(4, 12, 60, 0.5);
  --line: rgba(200, 220, 255, 0.38);
  --fg: #ffffff;
  --strong: #ffffff;
  --muted: #d9e3fb;
  --faint: #c2cff2;
  --pop-shadow: #04082a;
  --accent: #ffd600;
  --accent-bg: #0a1c6e;
  --accent-ink: #ffd600;
  --amber: #ffd600;
  --good: #8fe39a;
  --good-bg: rgba(8, 60, 30, 0.55);
  --good-line: #4cc35a;
  --code-bg: #071040;
  --warn: #ff8a7a;
  --temp-line: #ff6b5a;
  --feels-line: #f29a2e;
  --dew-line: #5cc98a;
  --rain-bar: #4aa3ff;
  color-scheme: dark;
}

/* Night, the site's default: Cable's pages on a night background, in the reader's colour. Each
   colour is a full palette (background, panels, buttons, rims and highlight); every text colour
   has a contrast of 4.5:1 or better against the lightest background behind it, in every palette. */
:root[data-site-theme="night"] {
  --air-sky-top: #03061a;
  --air-sky-mid: #060d2e;
  --air-sky-bottom: #0a1640;
  --air-bar-top: #0b1850;
  --air-navy: #050c30;
  --air-ink: #03061a;
  --air-rim: #c8dcff;
  --air-gold: #ffd600;
  --air-soft: #d0dcf8;
  --air-blue-top: #2352c8;
  --air-blue-bottom: #0a1c6e;
  --air-panel-top: rgba(26, 52, 138, 0.92);
  --air-panel-bottom: rgba(8, 18, 64, 0.95);
  --air-tile: rgba(6, 14, 52, 0.92);
  --bg: #060d2e;
  --panel: rgba(8, 18, 64, 0.95);
  --line: rgba(200, 220, 255, 0.3);
  --muted: #d9e3fb;
  --faint: #c2cff2;
  --accent: #ffd600;
  --accent-bg: #0a1c6e;
  --accent-ink: #ffd600;
  --amber: #ffd600;
  --code-bg: #050c30;
  --air-white: #ffffff;
  --air-red-top: #d01c1c;
  --air-red-bottom: #960000;
  --raise: rgba(0, 0, 0, 0.3);
  --fg: #ffffff;
  --strong: #ffffff;
  --pop-shadow: #03061a;
  --good: #8fe39a;
  --good-bg: rgba(8, 60, 30, 0.55);
  --good-line: #4cc35a;
  --warn: #ff8a7a;
  --temp-line: #ff6b5a;
  --feels-line: #f29a2e;
  --dew-line: #5cc98a;
  --rain-bar: #4aa3ff;
  color-scheme: dark;
}
:root[data-site-theme="night"][data-accent="amber"] {
  --air-sky-top: #0c0702;
  --air-sky-mid: #1a0e04;
  --air-sky-bottom: #2a1708;
  --air-bar-top: #3a2108;
  --air-navy: #1c1004;
  --air-ink: #0c0702;
  --air-rim: #ffdcb0;
  --air-gold: #ffd27a;
  --air-soft: #f6dfc2;
  --air-blue-top: #8f4609;
  --air-blue-bottom: #3e1c04;
  --air-panel-top: rgba(98, 54, 12, 0.92);
  --air-panel-bottom: rgba(40, 20, 4, 0.95);
  --air-tile: rgba(34, 18, 4, 0.92);
  --bg: #1a0e04;
  --panel: rgba(40, 20, 4, 0.95);
  --line: rgba(255, 220, 176, 0.3);
  --muted: #fbe9d4;
  --faint: #ecd2b0;
  --accent: #ffd27a;
  --accent-bg: #3e1c04;
  --accent-ink: #ffd27a;
  --amber: #ffd27a;
  --code-bg: #1c1004;
}
:root[data-site-theme="night"][data-accent="green"] {
  --air-sky-top: #020c05;
  --air-sky-mid: #05170b;
  --air-sky-bottom: #0a2714;
  --air-bar-top: #0d3a1c;
  --air-navy: #04190b;
  --air-ink: #020c05;
  --air-rim: #c6f2d2;
  --air-gold: #a8f07c;
  --air-soft: #cdeed6;
  --air-blue-top: #1a6a32;
  --air-blue-bottom: #083216;
  --air-panel-top: rgba(20, 86, 44, 0.92);
  --air-panel-bottom: rgba(6, 36, 16, 0.95);
  --air-tile: rgba(4, 30, 14, 0.92);
  --bg: #05170b;
  --panel: rgba(6, 36, 16, 0.95);
  --line: rgba(198, 242, 210, 0.3);
  --muted: #dcf5e2;
  --faint: #c0e6ca;
  --accent: #a8f07c;
  --accent-bg: #083216;
  --accent-ink: #a8f07c;
  --amber: #a8f07c;
  --code-bg: #04190b;
}
:root[data-site-theme="night"][data-accent="coral"] {
  --air-sky-top: #120403;
  --air-sky-mid: #1f0806;
  --air-sky-bottom: #300d09;
  --air-bar-top: #47140d;
  --air-navy: #230806;
  --air-ink: #120403;
  --air-rim: #ffd2ca;
  --air-gold: #ffd166;
  --air-soft: #f6d3cc;
  --air-blue-top: #a32a1d;
  --air-blue-bottom: #560e07;
  --air-panel-top: rgba(120, 32, 22, 0.92);
  --air-panel-bottom: rgba(50, 10, 6, 0.95);
  --air-tile: rgba(44, 10, 6, 0.92);
  --bg: #1f0806;
  --panel: rgba(50, 10, 6, 0.95);
  --line: rgba(255, 210, 202, 0.3);
  --muted: #fbe2dd;
  --faint: #efc6be;
  --accent: #ffd166;
  --accent-bg: #560e07;
  --accent-ink: #ffd166;
  --amber: #ffd166;
  --code-bg: #230806;
}
:root[data-site-theme="night"][data-accent="violet"] {
  --air-sky-top: #08041a;
  --air-sky-mid: #110930;
  --air-sky-bottom: #1a0e48;
  --air-bar-top: #241263;
  --air-navy: #0f0732;
  --air-ink: #08041a;
  --air-rim: #ddd2ff;
  --air-gold: #ffd95e;
  --air-soft: #ddd3f8;
  --air-blue-top: #5b36c4;
  --air-blue-bottom: #26106a;
  --air-panel-top: rgba(62, 34, 140, 0.92);
  --air-panel-bottom: rgba(24, 12, 66, 0.95);
  --air-tile: rgba(20, 10, 58, 0.92);
  --bg: #110930;
  --panel: rgba(24, 12, 66, 0.95);
  --line: rgba(221, 210, 255, 0.3);
  --muted: #e8e1fb;
  --faint: #d2c6f4;
  --accent: #ffd95e;
  --accent-bg: #26106a;
  --accent-ink: #ffd95e;
  --amber: #ffd95e;
  --code-bg: #0f0732;
}
:root[data-site-theme="night"][data-accent="teal"] {
  --air-sky-top: #020c0c;
  --air-sky-mid: #051818;
  --air-sky-bottom: #082828;
  --air-bar-top: #0b3a3a;
  --air-navy: #041a1a;
  --air-ink: #020c0c;
  --air-rim: #c2f2ee;
  --air-gold: #8ff3e8;
  --air-soft: #c9ecea;
  --air-blue-top: #0e6b68;
  --air-blue-bottom: #053332;
  --air-panel-top: rgba(14, 84, 82, 0.92);
  --air-panel-bottom: rgba(4, 34, 34, 0.95);
  --air-tile: rgba(4, 30, 30, 0.92);
  --bg: #051818;
  --panel: rgba(4, 34, 34, 0.95);
  --line: rgba(194, 242, 238, 0.3);
  --muted: #d9f4f2;
  --faint: #bfe4e1;
  --accent: #8ff3e8;
  --accent-bg: #053332;
  --accent-ink: #8ff3e8;
  --amber: #8ff3e8;
  --code-bg: #041a1a;
}
:root[data-site-theme="night"] body {
  background: linear-gradient(180deg, var(--air-sky-top) 0%, var(--air-sky-mid) 55%,
      var(--air-sky-bottom) 100%) fixed;
}
/* The front page's cut-in on Night's own background, either side of the picture as around the
   rest of the page; Cable's sky and TV's map keep the stage's own night, since its text uses
   night colours. */
:root[data-site-theme="night"] .storm { background: transparent; border-bottom-color: var(--line); }
:root[data-site-theme="night"] .derecho .stage.pano.tv { background: transparent; }
:root[data-site-theme="night"] .storm .latest a { color: var(--air-gold); }
/* In every 1990s theme the stage's links, its offline note and the clip's progress line use the
   theme's highlight, whatever the reader's colour; the stage's own night stays around them. */
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .storm {
  --accent: var(--air-gold);
  --accent-bg: var(--air-blue-bottom);
  --accent-ink: var(--air-gold);
  --amber: var(--air-gold);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .storm
    .latest a,
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .storm-title
    .status-note :is(b, a) {
  color: var(--air-gold);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .storm-title
    .status-note {
  border-left-color: var(--air-gold);
}
/* A board page has its own big clock (for a wall display), so the header's clock moves there. */
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"])
    body:has(#board-clock) .air-clock {
  display: none;
}
/* Each colour's swatch shows its palette: the button colour and the highlight. */
:root[data-site-theme="night"] .sw-blue {
  background: linear-gradient(135deg, #2352c8 0 55%, #ffd600 55%);
}
:root[data-site-theme="night"] .sw-amber {
  background: linear-gradient(135deg, #8f4609 0 55%, #ffd27a 55%);
}
:root[data-site-theme="night"] .sw-green {
  background: linear-gradient(135deg, #1a6a32 0 55%, #a8f07c 55%);
}
:root[data-site-theme="night"] .sw-coral {
  background: linear-gradient(135deg, #a32a1d 0 55%, #ffd166 55%);
}
:root[data-site-theme="night"] .sw-violet {
  background: linear-gradient(135deg, #5b36c4 0 55%, #ffd95e 55%);
}
:root[data-site-theme="night"] .sw-teal {
  background: linear-gradient(135deg, #0e6b68 0 55%, #8ff3e8 55%);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  text-shadow: 0.05em 0.05em 0 rgba(4, 8, 42, 0.85);
  /* The footer and the crawl sit at the bottom of the screen even on a short page, as a
     channel's do. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) body > main {
  flex: 1 0 auto;
  width: 100%;
}
:root[data-site-theme="cable"] body {
  background: linear-gradient(180deg, var(--air-sky-top) 0%, var(--air-sky-mid) 55%,
      var(--air-sky-bottom) 100%) fixed;
}
:root[data-site-theme="tv"] body { background: #0a2463 url("tv-map.svg?v=d2d9f31e9f") center / cover fixed; }
/* The coast map tinted faintly toward the reader's colour; it still reads as the map. */
:root[data-site-theme="tv"][data-accent] body {
  background: linear-gradient(color-mix(in srgb, var(--air-sky-top) 38%, transparent),
      color-mix(in srgb, var(--air-sky-top) 38%, transparent)) fixed,
      #0a2463 url("tv-map.svg?v=d2d9f31e9f") center / cover fixed;
}
/* Scan lines over the whole page, text and pictures included, like a CRT: every third row darker
   and the next a touch lighter, so they show on Night's near-black as on Cable's blue. They
   never block a click, and text still reads at 4.5:1 (the rows dim text and background alike). */
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.14) 0 1px,
      rgba(255, 255, 255, 0.035) 1px 2px, transparent 2px 3px);
}
/* Headings: the cable channel's gold italics, or the weathercast's lower-third boxes. */
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"])
    :is(h1, h2):not(.screen *) {
  font-family: "Arial Black", "Archivo Black", Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.01em;
}
:root:is([data-site-theme="cable"], [data-site-theme="night"]) :is(h1, h2):not(.screen *) {
  color: var(--air-gold);
  text-shadow: 0.07em 0.07em 0 var(--air-ink);
}
:root[data-site-theme="tv"] :is(h1, h2):not(.screen *) {
  width: fit-content;
  max-width: 100%;
  padding: 0.12em 0.55em 0.16em;
  color: var(--air-white);
  text-transform: uppercase;
  background: linear-gradient(var(--air-blue-top), var(--air-blue-bottom));
  border: 2px solid var(--air-rim);
  text-shadow: 0.07em 0.07em 0 var(--air-ink);
  box-shadow: 0.25rem 0.25rem 0 rgba(4, 8, 42, 0.55);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"])
    h3:not(.screen *) {
  color: var(--air-white);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"])
    .eyebrow:not(.screen *) {
  color: var(--air-gold);
  letter-spacing: 0.12em;
}
/* The header bar: the station's logo box, the pages as its buttons, the time in Houston at its
   end. */
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .bar {
  background: linear-gradient(180deg, var(--air-bar-top), var(--air-navy));
  border-bottom: 3px solid var(--air-rim);
}
:root[data-site-theme="tv"] .bar {
  background: color-mix(in srgb, var(--air-navy) 90%, transparent);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .brand {
  padding: 0.25rem 0.8rem 0.3rem 0.45rem;
  background: linear-gradient(var(--air-blue-top), var(--air-blue-bottom));
  border: 2px solid var(--air-rim);
  border-radius: 6px;
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .brand .word
    {
  font: italic 900 1.45rem/1 "Arial Black", "Archivo Black", Arial, sans-serif;
  text-shadow: 0.07em 0.07em 0 var(--air-ink);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .brand .what
    {
  color: var(--air-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 700;
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .brand .code
    {
  color: var(--air-soft);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .bar nav a {
  color: var(--air-white);
  font-weight: 700;
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .bar nav
    a[aria-current="page"] {
  color: var(--air-gold);
  background: linear-gradient(var(--air-blue-top), var(--air-blue-bottom));
  box-shadow: inset 0 0 0 2px var(--air-rim);
}
.air-clock { display: none; }
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .air-clock {
  display: grid;
  justify-items: end;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  order: 3;
}
.air-clock b {
  font: 900 1.05rem/1.1 "Arial Black", "Archivo Black", Arial, sans-serif;
  color: var(--air-white);
}
.air-clock small {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--air-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
/* Panels: the cable channel's blue panes, or the weathercast's navy tiles, each rimmed. */
:root:is([data-site-theme="cable"], [data-site-theme="night"])
    :is(.card, .contents, .report .glance, .site-card, .syn-card, .request-form, .ops-card,
    .my-requests .request, .key-sheet, .colors-panel) {
  background: linear-gradient(180deg, var(--air-panel-top), var(--air-panel-bottom));
  border: 2px solid var(--air-rim);
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 40, 0.35), 0 0.35rem 0 rgba(0, 0, 20, 0.5);
}
:root[data-site-theme="tv"]
    :is(.card, .contents, .report .glance, .site-card, .syn-card, .request-form, .ops-card,
    .my-requests .request, .key-sheet, .colors-panel) {
  background: var(--air-tile);
  border: 2px solid var(--air-rim);
  border-radius: 4px;
  box-shadow: 0.3rem 0.3rem 0 rgba(4, 8, 42, 0.5);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .card h3 {
  color: var(--air-gold);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"])
    main > section + section {
  border-top-color: color-mix(in srgb, var(--air-rim) 25%, transparent);
}
/* Buttons: blue, rimmed; the active or leading one in gold. */
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"])
    :is(.button, .view-switch button, .screen-controls button, .seg button, .prefs-button,
    .colors-panel .reset) {
  background: linear-gradient(var(--air-blue-top), var(--air-blue-bottom));
  border: 2px solid var(--air-rim);
  color: var(--air-white);
  font-weight: 700;
  text-shadow: 0.07em 0.07em 0 var(--air-ink);
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"])
    :is(.button.primary, .view-switch button[aria-pressed="true"], .seg button[aria-pressed="true"],
    .screen-controls .read, .bar nav a[aria-current="page"]) {
  color: var(--air-gold);
  border-color: var(--air-gold);
}
/* The footer: the crawl's navy band, and the crawl itself along the bottom of the window
   (site.js). */
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .foot {
  background: var(--air-navy);
  border-top: 3px solid var(--air-rim);
  color: var(--air-soft);
}
.site-crawl { display: none; }
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .site-crawl {
  display: flex;
  position: sticky;
  bottom: 0;
  z-index: 40;
  height: 2.3rem;
  background: var(--air-navy);
  border-block: 3px solid var(--air-rim);
  font: 700 1rem/1 Arial, Archivo, sans-serif;
}
.site-crawl .crawl-label { padding-inline: 0.9rem; }
.site-crawl .crawl-run span { padding-inline: 1rem 3rem; }
/* The radar's map uses the night version in either theme. */
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .radar-stack
    .basemap {
  background-image: url("situation-base-dark.webp?v=36aaaa3d0a");
}
:root:is([data-site-theme="cable"], [data-site-theme="tv"], [data-site-theme="night"]) .radar-stack
    .citymap {
  background-image: url("situation-labels-dark.svg?v=d72b91ca49");
}
/* Each page arrives like a channel's pages: wiped in (Cable, Night) or faded up (TV), subtly. */
@media (prefers-reduced-motion: no-preference) {
  :root:is([data-site-theme="cable"], [data-site-theme="night"]) main {
    animation: page-in 0.45s ease-out;
  }
  :root[data-site-theme="tv"] main { animation: seg-in 0.5s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .site-crawl .crawl-run { animation: none; }
}

/* ==========================================================================
   9. The plain theme's headings and motion
   ========================================================================== */

/* The plain theme (Auto, Dark, Light) with some of the 1990s style: headings in the broadcast's
   heavy italics with a hard shadow (dark on the dark theme, a shade of the accent on the light),
   the brand's word with them. Body text stays in the system font, for reading. */
:root:is(:not([data-site-theme]), [data-site-theme="dark"], [data-site-theme="light"])
    :is(h1, h2):not(.screen *) {
  font-family: "Arial Black", "Archivo Black", Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0.06em 0.06em 0 var(--pop-shadow);
}
:root:is(:not([data-site-theme]), [data-site-theme="dark"], [data-site-theme="light"]) .brand .word
    {
  font: italic 900 1.3rem/1 "Arial Black", "Archivo Black", Arial, sans-serif;
  text-shadow: 0.06em 0.06em 0 var(--pop-shadow);
}
:root:is(:not([data-site-theme]), [data-site-theme="dark"], [data-site-theme="light"]) .eyebrow {
  font-weight: 800;
  letter-spacing: 0.12em;
}
/* Motion, subtly: each page rises in, its heading slides in from the left and its panels follow
   one after another, once, as the page arrives. site.js marks the page data-settled shortly
   after load, so a live board's cards, redrawn every minute, never animate again. Nothing
   changes under the pointer. All of it is off for readers whose system asks for less motion. */
@media (prefers-reduced-motion: no-preference) {
  :root:is(:not([data-site-theme]), [data-site-theme="dark"], [data-site-theme="light"]) main {
    animation: plain-in 0.4s ease-out;
  }
  :root:is(:not([data-site-theme]), [data-site-theme="dark"],
      [data-site-theme="light"]):not([data-settled]) main h1:not(.screen *) {
    animation: plain-title 0.5s ease-out;
  }
  :root:is(:not([data-site-theme]), [data-site-theme="dark"],
      [data-site-theme="light"]):not([data-settled]) :is(.site-card, .syn-card, .card, .report
      .glance, .contents, .request-form, .my-requests .request, .ops-card, .day-row) {
    animation-name: plain-rise;
    animation-duration: 0.45s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    /* no delay here: the panels get theirs below */
  }
  :root:not([data-settled])
      :is(.site-grid, .syn-grid, .cards, .day-rows, .ops-grid, .my-requests) > :nth-child(2) {
    animation-delay: 60ms;
  }
  :root:not([data-settled])
      :is(.site-grid, .syn-grid, .cards, .day-rows, .ops-grid, .my-requests) > :nth-child(3) {
    animation-delay: 120ms;
  }
  :root:not([data-settled])
      :is(.site-grid, .syn-grid, .cards, .day-rows, .ops-grid, .my-requests) > :nth-child(4) {
    animation-delay: 180ms;
  }
  :root:not([data-settled])
      :is(.site-grid, .syn-grid, .cards, .day-rows, .ops-grid, .my-requests) > :nth-child(n + 5) {
    animation-delay: 240ms;
  }
}
@keyframes plain-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes plain-title {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}
@keyframes plain-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* The alerts' callouts, in the National Weather Service's hazard colors (report_html.hazard_css). */
.callout.hz-911-telephone-outage { --hazard: rgb(192, 192, 192); }
.callout.hz-administrative-message { --hazard: rgb(192, 192, 192); }
.callout.hz-air-quality-alert { --hazard: rgb(128, 128, 128); }
.callout.hz-air-stagnation-advisory { --hazard: rgb(128, 128, 128); }
.callout.hz-ashfall-advisory { --hazard: rgb(105, 105, 105); }
.callout.hz-ashfall-warning { --hazard: rgb(169, 169, 169); }
.callout.hz-avalanche-advisory { --hazard: rgb(205, 133, 63); }
.callout.hz-avalanche-warning { --hazard: rgb(30, 144, 255); }
.callout.hz-avalanche-watch { --hazard: rgb(244, 164, 96); }
.callout.hz-beach-hazards-statement { --hazard: rgb(64, 224, 208); }
.callout.hz-blizzard-warning { --hazard: rgb(255, 69, 0); }
.callout.hz-blowing-dust-advisory { --hazard: rgb(189, 183, 107); }
.callout.hz-blowing-dust-warning { --hazard: rgb(255, 228, 196); }
.callout.hz-blue-alert { --hazard: rgb(255, 255, 255); }
.callout.hz-brisk-wind-advisory { --hazard: rgb(216, 191, 216); }
.callout.hz-child-abduction-emergency { --hazard: rgb(255, 255, 255); }
.callout.hz-civil-danger-warning { --hazard: rgb(255, 182, 193); }
.callout.hz-civil-emergency-message { --hazard: rgb(255, 182, 193); }
.callout.hz-coastal-flood-advisory { --hazard: rgb(124, 252, 0); }
.callout.hz-coastal-flood-statement { --hazard: rgb(107, 142, 35); }
.callout.hz-coastal-flood-warning { --hazard: rgb(34, 139, 34); }
.callout.hz-coastal-flood-watch { --hazard: rgb(102, 205, 170); }
.callout.hz-cold-weather-advisory { --hazard: rgb(175, 238, 238); }
.callout.hz-dense-fog-advisory { --hazard: rgb(112, 128, 144); }
.callout.hz-dense-smoke-advisory { --hazard: rgb(240, 230, 140); }
.callout.hz-dust-advisory { --hazard: rgb(189, 183, 107); }
.callout.hz-dust-storm-warning { --hazard: rgb(255, 228, 196); }
.callout.hz-earthquake-warning { --hazard: rgb(139, 69, 19); }
.callout.hz-evacuation-immediate { --hazard: rgb(127, 255, 0); }
.callout.hz-extreme-cold-warning { --hazard: rgb(0, 0, 255); }
.callout.hz-extreme-cold-watch { --hazard: rgb(95, 158, 160); }
.callout.hz-extreme-fire-danger { --hazard: rgb(233, 150, 122); }
.callout.hz-extreme-heat-warning { --hazard: rgb(199, 21, 133); }
.callout.hz-extreme-heat-watch { --hazard: rgb(128, 0, 0); }
.callout.hz-extreme-wind-warning { --hazard: rgb(255, 140, 0); }
.callout.hz-fire-warning { --hazard: rgb(160, 82, 45); }
.callout.hz-fire-weather-watch { --hazard: rgb(255, 222, 173); }
.callout.hz-flash-flood-statement { --hazard: rgb(139, 0, 0); }
.callout.hz-flash-flood-warning { --hazard: rgb(121, 255, 38); }
.callout.hz-flash-flood-watch { --hazard: rgb(46, 139, 87); }
.callout.hz-flood-advisory { --hazard: rgb(0, 255, 127); }
.callout.hz-flood-statement { --hazard: rgb(0, 255, 0); }
.callout.hz-flood-warning { --hazard: rgb(0, 255, 0); }
.callout.hz-flood-watch { --hazard: rgb(46, 139, 87); }
.callout.hz-freeze-warning { --hazard: rgb(72, 61, 139); }
.callout.hz-freeze-watch { --hazard: rgb(0, 255, 255); }
.callout.hz-freezing-fog-advisory { --hazard: rgb(0, 128, 128); }
.callout.hz-freezing-spray-advisory { --hazard: rgb(0, 191, 255); }
.callout.hz-frost-advisory { --hazard: rgb(100, 149, 237); }
.callout.hz-gale-warning { --hazard: rgb(221, 160, 221); }
.callout.hz-gale-watch { --hazard: rgb(255, 192, 203); }
.callout.hz-hazardous-materials-warning { --hazard: rgb(75, 0, 130); }
.callout.hz-hazardous-seas-warning { --hazard: rgb(216, 191, 216); }
.callout.hz-hazardous-seas-watch { --hazard: rgb(72, 61, 139); }
.callout.hz-hazardous-weather-outlook { --hazard: rgb(238, 232, 170); }
.callout.hz-heat-advisory { --hazard: rgb(255, 127, 80); }
.callout.hz-heavy-freezing-spray-warning { --hazard: rgb(0, 191, 255); }
.callout.hz-heavy-freezing-spray-watch { --hazard: rgb(188, 143, 143); }
.callout.hz-high-surf-advisory { --hazard: rgb(186, 85, 211); }
.callout.hz-high-surf-warning { --hazard: rgb(34, 139, 34); }
.callout.hz-high-wind-warning { --hazard: rgb(218, 165, 32); }
.callout.hz-high-wind-watch { --hazard: rgb(184, 134, 11); }
.callout.hz-hurricane-force-wind-warning { --hazard: rgb(205, 92, 92); }
.callout.hz-hurricane-force-wind-watch { --hazard: rgb(153, 50, 204); }
.callout.hz-hurricane-warning { --hazard: rgb(220, 20, 60); }
.callout.hz-hurricane-watch { --hazard: rgb(255, 0, 255); }
.callout.hz-hydrologic-outlook { --hazard: rgb(144, 238, 144); }
.callout.hz-ice-storm-warning { --hazard: rgb(139, 0, 139); }
.callout.hz-lake-effect-snow-warning { --hazard: rgb(0, 139, 139); }
.callout.hz-lake-wind-advisory { --hazard: rgb(210, 180, 140); }
.callout.hz-lakeshore-flood-advisory { --hazard: rgb(124, 252, 0); }
.callout.hz-lakeshore-flood-statement { --hazard: rgb(107, 142, 35); }
.callout.hz-lakeshore-flood-warning { --hazard: rgb(34, 139, 34); }
.callout.hz-lakeshore-flood-watch { --hazard: rgb(102, 205, 170); }
.callout.hz-law-enforcement-warning { --hazard: rgb(192, 192, 192); }
.callout.hz-local-area-emergency { --hazard: rgb(192, 192, 192); }
.callout.hz-low-water-advisory { --hazard: rgb(165, 42, 42); }
.callout.hz-marine-weather-statement { --hazard: rgb(255, 218, 185); }
.callout.hz-nuclear-power-plant-warning { --hazard: rgb(75, 0, 130); }
.callout.hz-radiological-hazard-warning { --hazard: rgb(75, 0, 130); }
.callout.hz-red-flag-warning { --hazard: rgb(255, 20, 147); }
.callout.hz-rip-current-statement { --hazard: rgb(64, 224, 208); }
.callout.hz-severe-thunderstorm-warning { --hazard: rgb(255, 165, 0); }
.callout.hz-severe-thunderstorm-watch { --hazard: rgb(219, 112, 147); }
.callout.hz-severe-weather-statement { --hazard: rgb(0, 255, 255); }
.callout.hz-shelter-in-place-warning { --hazard: rgb(250, 128, 114); }
.callout.hz-short-term-forecast { --hazard: rgb(152, 251, 152); }
.callout.hz-small-craft-advisory { --hazard: rgb(216, 191, 216); }
.callout.hz-snow-squall-warning { --hazard: rgb(199, 21, 133); }
.callout.hz-special-marine-warning { --hazard: rgb(115, 30, 86); }
.callout.hz-special-weather-statement { --hazard: rgb(0, 255, 255); }
.callout.hz-storm-surge-warning { --hazard: rgb(181, 36, 247); }
.callout.hz-storm-surge-watch { --hazard: rgb(219, 127, 247); }
.callout.hz-storm-warning { --hazard: rgb(148, 0, 211); }
.callout.hz-storm-watch { --hazard: rgb(255, 228, 181); }
.callout.hz-test { --hazard: rgb(240, 255, 255); }
.callout.hz-tornado-warning { --hazard: rgb(255, 0, 0); }
.callout.hz-tornado-watch { --hazard: rgb(255, 255, 0); }
.callout.hz-tropical-cyclone-local-statement { --hazard: rgb(255, 228, 181); }
.callout.hz-tropical-storm-warning { --hazard: rgb(178, 34, 34); }
.callout.hz-tropical-storm-watch { --hazard: rgb(240, 128, 128); }
.callout.hz-tsunami-advisory { --hazard: rgb(210, 105, 30); }
.callout.hz-tsunami-warning { --hazard: rgb(253, 99, 71); }
.callout.hz-tsunami-watch { --hazard: rgb(255, 0, 255); }
.callout.hz-typhoon-warning { --hazard: rgb(220, 20, 60); }
.callout.hz-typhoon-watch { --hazard: rgb(255, 0, 255); }
.callout.hz-volcano-warning { --hazard: rgb(47, 79, 79); }
.callout.hz-wind-advisory { --hazard: rgb(210, 180, 140); }
.callout.hz-winter-storm-warning { --hazard: rgb(255, 105, 180); }
.callout.hz-winter-storm-watch { --hazard: rgb(70, 130, 180); }
.callout.hz-winter-weather-advisory { --hazard: rgb(123, 104, 238); }
