:root {
  --ink: #132d3e;
  --muted: #526875;
  --teal: #0c6868;
  --navy: #102837;
  --line: #d7e0df;
  --paper: #f3f6f5;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color-scheme: light;
  font: 16px/1.55 "Segoe UI", "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--teal); text-underline-offset: 3px; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
button:disabled { opacity: .7; cursor: progress; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #c07811; outline-offset: 3px; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 5; padding: 10px 16px; background: #fff; }
.skip:focus { top: 12px; }
.shell { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.masthead { color: #f2f8f7; background: var(--navy); border-bottom: 3px solid #75c9b9; }
.top-row, .top-nav, .network-link, .intro, .refresh, .section-head, .filters, .group-heading, .card-head, .source, .footer-inner { display: flex; align-items: center; }
.top-row { min-height: 64px; gap: 24px; justify-content: space-between; border-bottom: 1px solid #38505e; }
.network-link { gap: 10px; color: #f4f8f7; font-weight: 620; text-decoration: none; font-size: .90rem; }
.network-link img { flex: none; }
.top-nav { gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.top-nav a { color: #d5e6e7; font-size: .85rem; text-decoration: none; }
.top-nav a:hover, .network-link:hover { text-decoration: underline; }
.intro { justify-content: space-between; padding-block: clamp(28px, 4.5vw, 58px); gap: 32px; }
.eyebrow, .refresh-label, .chart-unit, .feed-scope { font-family: var(--mono); }
.eyebrow { color: #9cdecf; font-size: .73rem; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 8px; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 4.35rem); line-height: 1.06; letter-spacing: -.052em; font-weight: 650; }
.description { max-width: 660px; color: #c1d4d9; margin-top: 15px; line-height: 1.55; font-size: clamp(.93rem, 2vw, 1.06rem); }
.refresh-panel { padding-left: 26px; border-left: 1px solid #42606c; min-width: 205px; }
.refresh-label { display: block; font-size: .67rem; color: #b0c6ce; letter-spacing: .05em; text-transform: uppercase; }
#checked-at { display: block; margin: 3px 0 12px; font-size: .90rem; font-weight: 550; }
.refresh { border-radius: 6px; background: #1e414e; border: 1px solid #54908f; padding: 7px 12px; gap: 8px; color: #e2f6f2; font-size: .82rem; }
.refresh:hover { background: #285561; }
main { padding-block: 35px 46px; }
.section-head { justify-content: space-between; gap: 20px; flex-wrap: wrap; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.24; letter-spacing: -.045em; font-weight: 650; }
#summary, .section-note { font-size: .86rem; color: var(--muted); margin-top: 3px; }
.filters { border: 1px solid #cdd8d7; padding: 4px; gap: 2px; border-radius: 8px; background: #e8eeed; max-width: 100%; flex-wrap: wrap; }
.filters button { border: 0; padding: 7px 13px; border-radius: 5px; background: transparent; font-weight: 600; font-size: .82rem; }
.filters button:hover { background: #d7e3e1; }
.filters button[aria-pressed="true"] { background: #17434b; color: #fff; }
.warning { margin-top: 16px; padding: 10px 14px; border-left: 3px solid #af7b1c; background: #fff3dc; color: #664811; font-size: .88rem; }
.feed-group { margin-top: 30px; }
.group-heading { gap: 12px; margin: 0 0 11px; }
.group-heading h3 { font-size: 1.06rem; letter-spacing: -.015em; font-weight: 650; }
.group-heading::after { content: ""; flex: 1; height: 1px; background: #cfdad9; }
.feed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.feed { min-width: 0; overflow-wrap: anywhere; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(16px, 2vw, 24px); }
.card-head { gap: 10px; align-items: flex-start; justify-content: space-between; }
h4 { font-size: 1.11rem; line-height: 1.35; font-weight: 650; letter-spacing: -.024em; }
.feed-scope { color: var(--muted); font-size: .71rem; line-height: 1.45; margin-top: 4px; }
.status { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; color: #435866; background: #edf1f3; border-radius: 100px; font-size: .68rem; font-weight: 630; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 100%; background: currentColor; }
.status.current { color: #106353; background: #e3f3ec; }
.status.stale { color: #815009; background: #fff0ce; }
.status.unavailable { color: #85423c; background: #faece8; }
.status.reference { color: #365d79; background: #eaf1f6; }
.feed-description { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.message { background: #f3f6f5; border-radius: 6px; margin-top: 11px; padding: 8px 11px; font-size: .82rem; color: #425b65; }
.series { margin-top: 16px; }
.chart-value { font-size: 1.55rem; font-weight: 650; line-height: 1.2; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.chart-unit { font-size: .71rem; font-weight: 450; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.series svg { display: block; width: 100%; height: auto; margin-top: 7px; overflow: visible; }
.series svg line { stroke: #d9e4e2; stroke-width: 1; }
.series svg text { fill: #4f6973; font-family: var(--mono); font-size: 10px; }
.series svg path { fill: none; stroke: #188173; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.series svg circle { fill: #188173; }
.feed details, .research details { font-size: .84rem; }
summary { color: var(--teal); font-weight: 600; text-underline-offset: 3px; padding: 4px 0; }
summary:hover { text-decoration: underline; }
.data-table { max-height: 220px; overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: .77rem; font-variant-numeric: tabular-nums; text-align: left; }
th, td { padding: 5px 7px; border-bottom: 1px solid var(--line); }
th { position: sticky; top: 0; background: #edf4f2; }
.story-list { padding: 0; margin: 12px 0 3px; list-style: none; }
.story-list li { padding: 8px 0; border-top: 1px solid #e3ebe9; }
.story-list a, .story-title { font-size: .89rem; font-weight: 600; }
.story-list p { font-size: .8rem; color: var(--muted); margin-top: 2px; white-space: pre-line; }
.story-list time { display: block; color: var(--muted); font-size: .72rem; margin-top: 3px; }
.source { flex-wrap: wrap; gap: 3px 10px; border-top: 1px solid var(--line); padding-top: 11px; margin-top: 15px; }
.source a, .source span { font-size: .73rem; font-weight: 600; }
.source .stamp { font-size: .71rem; color: var(--muted); font-weight: 400; }
.project-section { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.project-section h2 { font-size: 1.5rem; }
.bulletin { margin-top: 14px; padding: 20px; border-left: 3px solid #368e82; background: #fff; }
.bulletin time { display: block; color: var(--muted); font-size: .75rem; }
.bulletin h3 { margin: 4px 0; font-size: 1.05rem; }
.bulletin p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; }
.bulletin a { display: inline-block; margin-top: 8px; overflow-wrap: anywhere; }
.research .eyebrow { color: var(--teal); }
.research p:not(.eyebrow) { margin-block: 8px; max-width: 80ch; color: var(--muted); font-size: .91rem; }
footer { background: #e8efed; border-top: 1px solid var(--line); }
.footer-inner { justify-content: space-between; gap: 12px; padding-block: 18px; font-size: .8rem; flex-wrap: wrap; }
@media (max-width: 820px) {
  .shell { width: calc(100% - 40px); }
  .intro { align-items: flex-start; }
  .intro .refresh-panel { min-width: 165px; padding-left: 15px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .top-row { gap: 8px; flex-wrap: wrap; padding-block: 12px; }
  .top-nav { gap: 12px; justify-content: flex-start; }
  .top-nav a { font-size: .77rem; }
  .network-link { font-size: .83rem; }
  .network-link img { width: 26px; height: 26px; }
  .intro { display: block; }
  .intro .refresh-panel { border-left: 0; padding: 0; margin-top: 18px; min-width: 0; display: flex; align-items: center; gap: 5px 8px; flex-wrap: wrap; }
  #checked-at { margin: 0; font-size: .78rem; }
  .refresh { padding: 5px 9px; font-size: .76rem; }
  main { padding-top: 24px; }
  .section-head { gap: 12px; }
  .feed-group { margin-top: 23px; }
  .feed-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .filters button { padding: 6px 10px; }
}
@media (max-width: 420px) {
  .series svg text { font-size: 15px; }
}
