:root {
  --bg: #e7eef3;
  --paper: #ffffff;
  --ink: #1b2430;
  --muted: #4e5d6c;
  --line: #d5dee8;
  --navy: #112a4c;
  --navy-deep: #0c213c;
  --teal: #2a7b84;
  --teal-ink: #145860;
  --orange: #e08a2e;
  --orange-ink: #7a3e0a;
  --orange-wash: #fdecd9;
  --danger: #8a2e2e;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 1px 0 rgba(17, 42, 76, 0.06);
  --shadow-card: 0 12px 32px rgba(17, 42, 76, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 280px at 100% -40px, rgba(42, 123, 132, 0.12), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-ink); }
a:hover { color: var(--navy); }
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.35rem, 5vw, 4.1rem); margin: 0 0 0.35em; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.45rem, 2vw, 1.85rem); margin: 0 0 0.45em; }
h3 { font-size: 1.15rem; margin: 1.1rem 0 0.35em; }
p { margin: 0 0 0.8em; }
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: white;
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; z-index: 5; }

.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(640px, calc(100% - 2rem)); }
.blog-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.blog-list li { margin: 0 0 1.6rem; }
.blog-list time, .byline { color: var(--muted); font-size: 0.95rem; }
.blog-title { display: block; font-size: 1.35rem; font-weight: 650; line-height: 1.25; margin: 0.2rem 0; }
.prose h2 { margin-top: 1.8rem; }
.prose p, .prose li { max-width: 40rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.site-header {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(17, 42, 76, 0.04);
}
.header-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.1rem 0 0.8rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark { width: 48px; height: 48px; display: block; flex: none; }
.brand-name {
  display: block;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--teal-ink); text-decoration: underline; }
.rule-strip {
  margin: 0;
  background: var(--navy);
  color: #e7eef6;
  font-size: 0.92rem;
  padding: 0.45rem 1rem;
  text-align: center;
}
.breaking-banner {
  background: #9b2c2c;
  color: #fff;
}
.breaking-banner-link {
  display: block;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.breaking-banner + .breaking-banner { border-top: 1px solid #7d2222; }
.breaking-banner-link:hover,
.breaking-banner-link:focus-visible {
  color: #fff;
  background: #7d2222;
}
.breaking-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0 0 1.15rem;
  padding: 1rem 1.1rem;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  border: 2px solid var(--navy);
  border-left: 8px solid #9b2c2c;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.breaking-card:hover { background: #f7fafc; }
.next-steps {
  margin: 1.15rem 0 1.4rem;
  padding: 1rem 1.05rem 1.15rem;
  background: #f4f7fb;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}
.next-steps h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.next-steps ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.next-steps a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 0.9rem 1rem;
  background: var(--paper);
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.next-steps a:hover,
.next-steps a:focus-visible { background: #f7fafc; }
.next-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.next-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.next-text { color: var(--ink); font-size: 0.98rem; line-height: 1.4; }
@media (min-width: 860px) {
  .next-steps ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.breaking-kicker {
  color: #9b2c2c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.breaking-card-text {
  color: var(--navy);
  font-size: 1.28rem;
  font-weight: 650;
  line-height: 1.3;
}
.sample-banner {
  background: var(--orange-wash);
  color: var(--orange-ink);
  border-bottom: 1px solid #f3d3ae;
}
.sample-banner .wrap { padding: 0.75rem 0; }
.sample-banner a { color: var(--orange-ink); font-weight: 700; }

main { padding: 1.5rem 0 3rem; }
.hero {
  margin: -1.5rem 0 0.4rem;
  padding: 2.4rem 0 1.5rem;
  background:
    radial-gradient(720px 280px at 100% 0%, rgba(224, 138, 46, 0.28), transparent 58%),
    radial-gradient(640px 320px at 0% 100%, rgba(42, 123, 132, 0.38), transparent 55%),
    var(--navy);
  color: #f4f7fb;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: 1.4rem 2rem;
  align-items: end;
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lede, .hero .summary, .hero .promise { color: #d7e3ef; max-width: 40rem; }
.hero .promise { font-size: 1.28rem; font-weight: 600; color: #fff; margin-bottom: 0.45em; }
.hero a { color: #f4f7fb; }
.hero .eyebrow { color: #f6c48a; }
.headline-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.headline-kicker, .headline-note {
  color: #d7e3ef;
  margin: 0;
}
.headline-kicker { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.headline-name { font-size: 1.55rem; font-weight: 650; margin: 0.2rem 0 0.35rem; line-height: 1.15; }
.headline-name a { text-decoration: none; }
.headline-name a:hover { text-decoration: underline; }
.headline-figure {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0.15rem 0;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.headline-skill { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.6rem; margin: 0.7rem 0 0; }
/* The hero card is pale type on navy. The comparison chip keeps its own
   light fill and dark text so both states stay readable on desktop and phone. */
.headline-card .skill-chip.skill-up { background: #e5f3f4; color: var(--teal-ink); }
.headline-card .skill-chip.skill-down { background: var(--orange-wash); color: var(--orange-ink); }
.headline-card .skill-chip.skill-even { background: #e7eef3; color: var(--navy); }
.headline-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
}
.headline-card .headline-actions a,
.headline-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.headline-actions a:hover { background: #f6c48a; color: var(--navy); }
.headline-actions a:focus-visible {
  outline: 2px solid #f6c48a;
  outline-offset: 3px;
}
@media (min-width: 640px) {
  .headline-actions { flex-direction: row; }
  .headline-actions a { flex: 1 1 0; }
}
.hero .chip-links a {
  color: #f4f7fb;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  background: rgba(255, 255, 255, 0.06);
}
.hero .chip-links a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.hero :focus-visible { outline-color: #f6c48a; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--teal-ink);
  margin-bottom: 0.4rem;
}
.lede { font-size: 1.15rem; max-width: 42rem; }
.answer { font-size: 1.25rem; font-weight: 600; max-width: 42rem; color: var(--navy); }
.faq { margin: 0 0 1.5rem; max-width: 42rem; }
.faq dt { font-weight: 600; margin-top: 0.9rem; }
.faq dd { margin: 0.25rem 0 0; }
.sub { color: var(--muted); font-weight: 400; font-size: 0.92rem; }
.section-lead { color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
  margin: 1.2rem 0 0;
}
.stats div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}
.hero .stats dt { color: #d7e3ef; }
.hero .stats dd { color: #fff; }
.stats dt { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.stats dd {
  margin: 0.15rem 0 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.7rem;
  font-variant-numeric: tabular-nums;
}

section { margin: 1.6rem 0; }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 0.55rem;
  box-shadow: var(--shadow-card);
}
.empty-panel { border-top: 4px solid var(--orange); }

.board, .cohort {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}
.board th, .cohort th {
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0.5rem;
  vertical-align: bottom;
}
.board td, .cohort td {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.5rem;
  vertical-align: top;
}
.num { text-align: right; font-variant-numeric: tabular-nums; }
.board th:nth-child(n+3), .board td.num { text-align: right; }
.station-link { font-weight: 700; text-decoration: none; }
.station-link:hover { text-decoration: underline; }
.sub { display: block; }
.note { color: var(--muted); font-size: 0.95rem; }
.tie {
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
}
.pill-established { color: var(--teal-ink); border-color: #b7d4d8; background: #e5f3f4; }
.pill-provisional { color: var(--orange-ink); border-color: #f3d3ae; background: var(--orange-wash); }
.pill-sample { color: var(--orange-ink); border-color: #f3d3ae; background: var(--orange-wash); }

.steps ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}
.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1rem 0.4rem;
  margin: 0;
  box-shadow: var(--shadow-card);
}
.steps ol { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: var(--navy);
  color: #f4f7fb;
  font-size: 0.85rem;
  vertical-align: middle;
}
.station-list, .source-list { list-style: none; padding: 0; }
.station-list li, .source-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  margin: 0 0 0.45rem;
}
.score-hero {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 1rem;
  align-items: end;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1rem;
}
.big-score {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 4rem;
  line-height: 0.9;
  margin: 0.1em 0;
  font-variant-numeric: tabular-nums;
}
.bars {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  align-items: end;
  padding: 0;
  min-height: 160px;
  overflow-x: auto;
}
.bars li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-width: 4.5rem;
  height: 180px;
}
.bar {
  display: block;
  width: 2rem;
  background: var(--teal);
  min-height: 4px;
}
.bar-value { font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.bar-label { font-size: 0.85rem; }
tr.extended { background: #f3f6f8; }

.methodology .lede { max-width: 40rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; margin: 1rem 0 1.5rem; }
.toc a { font-weight: 600; }
.methodology h2 { margin-top: 1.6rem; padding-top: 0.4rem; }

.review-form input[type="text"],
.review-form input[type="date"],
.review-form input[inputmode="decimal"],
.stack-form input {
  width: 100%;
  font: inherit;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}
.form-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.8rem 0; }
button {
  font: inherit;
  font-weight: 600;
  background: var(--navy);
  color: #f4f7fb;
  border: 0;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}
button:hover { background: var(--navy-deep); }
button.danger { background: var(--danger); }

button.metric {
  position: relative;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: inherit;
  line-height: inherit;
  cursor: help;
}
button.metric:hover,
button.metric:focus {
  background: transparent;
  color: var(--navy);
}
button.metric:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.metric-label {
  text-decoration: underline dotted;
  text-decoration-color: var(--teal);
  text-underline-offset: 0.18em;
}
.metric-wrap { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 11rem; gap: 0.08rem; }
.metric-tech { font-size: 0.72rem; font-weight: 500; color: var(--muted); line-height: 1.2; }
.how-to-read {
  background: #f4f7fb;
  border-left: 4px solid var(--teal);
  padding: 0.75rem 0.95rem;
  margin: 0.8rem 0 1rem;
}
.overall-line {
  background: #f4f7fb;
  border-left: 4px solid var(--navy);
  padding: 0.75rem 0.95rem;
  margin: 0.8rem 0 1rem;
  max-width: 42rem;
}
.tech-details {
  margin: 0.4rem 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem 0.9rem 0.15rem;
  background: #fff;
}
.tech-details summary { cursor: pointer; font-weight: 650; padding: 0.4rem 0; }
.tech-details p { margin: 0.35rem 0 0.75rem; }
.plain-summary {
  background: #f4f7fb;
  border-radius: 12px;
  padding: 0.2rem 1rem 0.5rem;
  margin: 0.4rem 0 1.2rem;
}
.metric-tip {
  position: absolute;
  z-index: 30;
  left: 0;
  top: calc(100% + 0.3rem);
  box-sizing: border-box;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--navy);
  color: #f4f7fb;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  line-height: 1.4;
}
th:hover .metric-tip,
th:focus-within .metric-tip {
  clip: auto;
  clip-path: none;
  width: max-content;
  max-width: min(18rem, 70vw);
  height: auto;
  margin: 0;
  padding: 0.55rem 0.7rem;
  overflow: visible;
  white-space: normal;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 42, 76, 0.28);
}
.board th:nth-last-child(-n+2) .metric-tip,
.cohort th:nth-last-child(-n+2) .metric-tip {
  left: auto;
  right: 0;
}
.form-error {
  background: #f8e8e4;
  border: 1px solid #e2b2a8;
  padding: 0.6rem 0.8rem;
}
.stack, .stack-form label { display: grid; gap: 0.3rem; font-weight: 600; }
.evidence { margin: 1rem 0; background: var(--paper); border: 1px solid var(--line); padding: 0.6rem; }
.evidence figcaption { color: var(--muted); font-size: 0.9rem; }

.crumbs { padding-top: 1rem; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--muted);
}
.crumbs a { text-decoration: none; font-weight: 600; }
.summary { max-width: 42rem; }
.grade-link { margin: 0.35rem 0 0.9rem; }
.updated { color: var(--muted); font-size: 0.92rem; margin: 0.2rem 0 0.6rem; }
.updated time { font-weight: 600; }
.live-now { list-style: none; padding: 0; margin: 0.4rem 0 0.8rem; display: grid; gap: 0.75rem; }
.live-now li { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.right-now {
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin: 0.6rem 0 1rem;
  background: var(--paper);
}
.right-now h2 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.right-now p { margin: 0.3rem 0 0; }
.live-name { font-weight: 600; font-size: 1.15rem; margin: 0; }
.live-name a { text-decoration: none; }
.live-when, .live-links { margin: 0.15rem 0 0; color: var(--muted); }
.live-status { font-weight: 650; margin: 0.2rem 0 0; }
.live-takeaway { margin: 0.35rem 0 0; }
.live-go { margin: 0.45rem 0 0; font-weight: 650; color: var(--teal-ink); }
.live-links a { font-weight: 600; }
.tap-card { position: relative; }
.tap-card:hover { border-color: var(--navy); }
.tap-card-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: inherit;
  text-decoration: none;
}
.tap-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
}
.tap-card:has(.tap-card-side) { padding-bottom: 3.6rem; }
.tap-card-side {
  position: absolute;
  z-index: 1;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}
.tap-card-side:hover { background: var(--orange-wash); color: var(--navy); }
.tap-card:has(.tap-card-link:focus-visible) {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.tap-card-link:focus-visible { outline: none; }
.tap-card-side:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
#new-storms .blog-list { display: grid; gap: 0.75rem; margin: 0.4rem 0 0.8rem; }
#new-storms .blog-list li.tap-card { margin: 0; }
.chip-links, .related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.chip-links a, .related-list a { font-weight: 600; }

.site-footer {
  background: var(--navy);
  color: #d7e3ef;
  font-size: 0.95rem;
  padding: 2rem 0 2.4rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 1.2rem 2rem;
}
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.footer-brand p { margin: 0; flex: 1 1 12rem; }
.footer-name { font-weight: 650; color: #fff; font-size: 1.05rem; flex: 1 1 auto; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0;
  align-content: start;
}
.footer-nav a { color: #f4f7fb; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: #f6c48a; }
.footer-notes { grid-column: 1 / -1; }
.footer-notes p { margin: 0 0 0.7rem; }
.footer-warn { color: #f6c48a; }
.site-footer a { color: #f4f7fb; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.search-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.market-search {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.city-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.city-search-row .market-search { flex: 1 1 16rem; width: auto; }
.city-results {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}
.city-results li { margin: 0.35rem 0; }
.city-results a { font-weight: 650; }
.city-browse { margin-bottom: 0; }
.risk-markets { list-style: none; padding: 0; margin: 0.3rem 0 0.6rem; }
.risk-markets li { margin: 0.25rem 0; }
#todays-risk h4 { margin: 0.9rem 0 0.2rem; }
.state-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 1rem 0 0.5rem;
}
.region-block { margin-top: 1.6rem; }
.market-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.35rem 1rem;
}
.market-list a { text-decoration: none; font-weight: 600; }
.market-list [hidden], [data-state][hidden], .region-block[hidden] { display: none; }

.rank-chip, .skill-chip {
  display: inline-grid;
  place-items: center;
  min-width: 1.7rem;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.rank-chip { background: #e7eef3; color: var(--navy); }
.rank-cell { white-space: nowrap; }
.rank-1 { background: var(--orange); color: #112a4c; }
.rank-2 { background: var(--teal); color: #f4f7fb; }
.rank-3 { background: var(--navy); color: #f4f7fb; }
.skill-chip {
  display: inline-block;
  max-width: 16rem;
  background: #e7eef3;
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
.skill-up { background: #e5f3f4; color: var(--teal-ink); }
.skill-down { background: var(--orange-wash); color: var(--orange-ink); }
.skill-even { background: #e7eef3; color: var(--navy); }

.podium {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}
.podium-place { flex: 1; display: flex; }
.podium-place a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 0.95rem 1rem;
  box-shadow: var(--shadow-card);
}
.podium-place a:hover { border-color: var(--teal); }
.podium-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; }
.podium-error { font-variant-numeric: tabular-nums; font-weight: 650; }
.podium-meta { color: var(--muted); font-size: 0.9rem; }
.podium-1 { order: 2; }
.podium-1 a {
  border-top: 4px solid var(--orange);
  background: linear-gradient(180deg, #fff7ee, #fff 42%);
}
.podium-2 { order: 1; }
.podium-2 a { border-top: 4px solid var(--teal); margin-top: 1.15rem; }
.podium-3 { order: 3; }
.podium-3 a { border-top: 4px solid var(--navy); margin-top: 1.8rem; }

.error-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: min(100%, 13rem);
  margin-left: auto;
}
.error-bar svg { flex: 1; display: block; }
.error-track { fill: #e4ebf1; }
.error-fill { fill: var(--teal); }
.error-num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }

.market-map-wrap { margin: 0.4rem 0 1.2rem; }
.market-map { width: 100%; height: auto; display: block; }
.map-panel, .map-inset { fill: #f7fafc; stroke: #d5dee8; }
.map-label { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.market-map a circle { fill: var(--teal); }
.market-map a:hover circle, .market-map a:focus circle { fill: var(--orange); }
.market-map-wrap figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.opt-in label { display: block; font-weight: 600; margin-top: 0.85rem; }
.opt-in input[type="text"],
.opt-in input[type="email"],
.opt-in input[type="url"] {
  display: block;
  width: min(100%, 36rem);
  margin-top: 0.3rem;
  font: inherit;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.opt-in .check { font-weight: 450; }
.opt-in .check input { margin-right: 0.4rem; }
.opt-in button {
  margin-top: 1rem;
  font: inherit;
  font-weight: 650;
  background: var(--navy);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.prelim {
  border-left: 4px solid var(--orange);
  background: var(--orange-wash);
  color: var(--orange-ink);
  padding: 0.55rem 0.8rem;
}
.track-map-wrap { margin: 0.4rem 0 1rem; }
.track-map, .track-chart { width: 100%; height: auto; display: block; }
.track-map polyline { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.track-map circle { stroke: none; }
.track-halo { stroke: #ffffff; stroke-width: 7; fill: #ffffff; }
.track-grid { stroke: #d5dee8; stroke-width: 1; }
.track-map .track-coast,
.track-map .track-state,
.track-map .track-border {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.track-coast { stroke: #6d8498; stroke-width: 1.35; }
.track-state { stroke: #b4c3d0; stroke-width: 1; }
.track-border { stroke: #5c7386; stroke-width: 1.25; }
.track-label { fill: var(--muted); font-size: 12px; font-family: var(--sans); }
.track-chart text { text-anchor: middle; }
.track-best { stroke: var(--navy); stroke-width: 2.75; fill: var(--navy); }
.track-ofcl-0 { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 7 4; fill: var(--orange); }
.track-ofcl-1 { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 7 4; fill: var(--teal); }
.track-ofcl-2 { stroke: var(--orange-ink); stroke-width: 2; stroke-dasharray: 2 3; fill: var(--orange-ink); }
.track-ofcl-3 { stroke: var(--teal-ink); stroke-width: 2; stroke-dasharray: 2 3; fill: var(--teal-ink); }
.track-map .track-model-0, .track-map .track-model-1, .track-map .track-model-2,
.track-map .track-model-3, .track-map .track-model-4, .track-map .track-model-5,
.track-map .track-model-6, .track-map .track-model-7, .track-map .track-model-8,
.track-map .track-model-9 {
  stroke-width: 1.15;
  stroke-opacity: 0.45;
  fill: none;
}
.track-map .track-model-10, .track-map .track-model-11 {
  stroke-width: 2.2;
  stroke-opacity: 0.95;
  fill: none;
}
.track-map .track-model-12, .track-map .track-model-13,
.track-map .track-model-14, .track-map .track-model-15 {
  stroke-width: 1.6;
  stroke-opacity: 0.9;
  fill: none;
}
.track-model-0 { stroke: #8aa0b5; stroke-dasharray: 2 3; fill: #8aa0b5; }
.track-model-1 { stroke: #6d7f93; stroke-dasharray: 6 3; fill: #6d7f93; }
.track-model-2 { stroke: #9aa58a; stroke-dasharray: 2 3; fill: #9aa58a; }
.track-model-3 { stroke: #7d8f9a; stroke-dasharray: 4 2; fill: #7d8f9a; }
.track-model-4 { stroke: #a08b78; stroke-dasharray: 1 3; fill: #a08b78; }
.track-model-5 { stroke: #7f93a8; stroke-dasharray: 8 3; fill: #7f93a8; }
.track-model-6 { stroke: #8d8494; stroke-dasharray: 3 3; fill: #8d8494; }
.track-model-7 { stroke: #6e8f88; stroke-dasharray: 5 2; fill: #6e8f88; }
.track-model-8 { stroke: #90867a; stroke-dasharray: 2 2; fill: #90867a; }
.track-model-9 { stroke: #7a8794; stroke-dasharray: 4 3; fill: #7a8794; }
.track-model-10 { stroke: #5b2d8e; stroke-dasharray: 7 3; fill: #5b2d8e; }
.track-model-11 { stroke: #0b6e8a; stroke-dasharray: 2 2; fill: #0b6e8a; }
.track-model-12 { stroke: #2c4fa3; stroke-dasharray: 6 3; fill: #2c4fa3; }
.track-model-13 { stroke: #1e7a46; stroke-dasharray: 4 2; fill: #1e7a46; }
.track-model-14 { stroke: #6b4c9a; stroke-dasharray: 2 2; fill: #6b4c9a; }
.track-model-15 { stroke: #b4532a; stroke-dasharray: 8 3; fill: #b4532a; }
.track-map polyline.track-model-0,
.track-map polyline.track-model-1,
.track-map polyline.track-model-2,
.track-map polyline.track-model-3,
.track-map polyline.track-model-4,
.track-map polyline.track-model-5,
.track-map polyline.track-model-6,
.track-map polyline.track-model-7,
.track-map polyline.track-model-8,
.track-map polyline.track-model-9,
.track-map polyline.track-model-10,
.track-map polyline.track-model-11,
.track-map polyline.track-model-12,
.track-map polyline.track-model-13,
.track-map polyline.track-model-14,
.track-map polyline.track-model-15 { fill: none; }
.chart-bar { fill: var(--teal); }
.chart-forecast { fill: var(--orange); }
.chart-actual { fill: var(--navy); }
.track-legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.track-legend li { font-size: 0.92rem; }
.swatch {
  display: inline-block;
  width: 1.5rem;
  height: 0.35rem;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.swatch.track-best, .swatch.chart-actual { background: var(--navy); }
.swatch.track-ofcl-0, .swatch.chart-forecast { background: var(--orange); }
.swatch.track-ofcl-1 { background: var(--teal); }
.swatch.track-ofcl-2 { background: var(--orange-ink); }
.swatch.track-ofcl-3 { background: var(--teal-ink); }
.swatch.track-model-0 { background: #8aa0b5; }
.swatch.track-model-1 { background: #6d7f93; }
.swatch.track-model-2 { background: #9aa58a; }
.swatch.track-model-3 { background: #7d8f9a; }
.swatch.track-model-4 { background: #a08b78; }
.swatch.track-model-5 { background: #7f93a8; }
.swatch.track-model-6 { background: #8d8494; }
.swatch.track-model-7 { background: #6e8f88; }
.swatch.track-model-8 { background: #90867a; }
.swatch.track-model-9 { background: #7a8794; }
.swatch.track-model-10 { background: #5b2d8e; }
.swatch.track-model-11 { background: #0b6e8a; }
.swatch.track-model-12 { background: #2c4fa3; }
.swatch.track-model-13 { background: #1e7a46; }
.swatch.track-model-14 { background: #6b4c9a; }
.swatch.track-model-15 { background: #b4532a; }
.market-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
}
.state-jump a {
  text-decoration: none;
  font-weight: 650;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

@media (max-width: 760px) {
  .breaking-banner-link { font-size: 1.05rem; padding: 0.95rem 0; text-align: left; }
  .breaking-card-text { font-size: 1.2rem; }
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 1.6rem; }
  .hero h1 { max-width: none; }
  .podium { flex-direction: column; }
  .podium-1 { order: 1; }
  .podium-2 { order: 2; }
  .podium-3 { order: 3; }
  .podium-2 a, .podium-3 a { margin-top: 0; }
  .score-hero { grid-template-columns: 1fr; }
  .board, .cohort,
  .board thead, .cohort thead,
  .board tbody, .cohort tbody { display: block; }
  .board thead tr, .cohort thead tr {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border: 0;
    margin: 0 0 0.7rem;
    padding: 0;
    background: transparent;
  }
  .board th, .cohort th {
    display: block;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    background: var(--paper);
    text-align: left;
  }
  button.metric { min-height: 2rem; display: inline-flex; align-items: center; }
  .board tbody tr, .cohort tbody tr {
    display: block;
    border: 1px solid var(--line);
    margin: 0 0 0.7rem;
    background: var(--paper);
    padding: 0.3rem 0.6rem 0.5rem;
  }
  .board td, .cohort td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    padding: 0.28rem 0;
    text-align: right;
  }
  .board td::before, .cohort td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.82rem;
    text-align: left;
  }
  .board td.num { text-align: right; }
  .board td.rank-cell {
    justify-content: flex-start;
    align-items: center;
    font-size: 1.05rem;
  }
  .board td.rank-cell .rank-chip {
    min-width: 2.1rem;
    min-height: 2.1rem;
    font-size: 1.05rem;
  }
  .sub { display: inline; }
}

.low-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding: 0; margin: 0.6rem 0 1rem; }
.low-legend li { display: flex; align-items: center; gap: 0.4rem; }
.low-swatch { width: 0.85rem; height: 0.85rem; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--navy); }
.low-swatch-analyzed { border-radius: 2px; }
.low-swatch-faint { opacity: 0.45; }

.damage-map {
  height: min(70vh, 36rem);
  min-height: 18rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #e7eef3;
}
.damage-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  border: 0;
  margin: 0 0 0.7rem;
  padding: 0;
}
.damage-filter legend {
  font-weight: 700;
  padding: 0;
}
.damage-filter label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.damage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}
.damage-legend li { display: flex; align-items: center; gap: 0.4rem; }
.damage-swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.swatch-wind_gust { background: #2a7b84; }
.swatch-damage { background: #e08a2e; }
.swatch-flood { background: #112a4c; }
.swatch-surge { background: #3d6ea8; }
.swatch-tornado { background: #9b2c2c; }
.swatch-hail { background: #c45c26; }
.swatch-heavy_rain { background: #1d4e89; }
.swatch-flash_flood_warning { background: transparent; box-shadow: inset 0 0 0 3px #0b3a66; }
.swatch-coastal_alert { background: transparent; box-shadow: inset 0 0 0 3px #0b3a66; }
.swatch-tropical_storm { background: #7a3e9d; }
.swatch-snow { background: #6d8eae; }
.swatch-ice { background: #3f6f8f; }
.swatch-post { background: #fff; box-shadow: 0 0 0 3px #112a4c; }
.damage-note { margin-top: 0.8rem; }
.post-count {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #112a4c;
  font-weight: 700;
  font-size: 0.75rem;
}
.post-group { max-height: 320px; overflow-y: auto; }
.leaflet-container .leaflet-control-zoom a { background-image: none; }
@media (max-width: 720px) {
  .damage-map { height: 65vh; max-height: 70vh; min-height: 16rem; }
}
