/* An outbreak bulletin: a dark alert masthead, epidemic red for cases, amber for caution, quiet paper for reading. */
:root {
  color-scheme: light;
  --paper: #f6f2ef;
  --paper-raised: #fffdfc;
  --ink: #221a1c;
  --muted: #655a5c;
  --accent: #b8212b;
  --accent-dark: #8c141d;
  --accent-soft: #fbe9e7;
  --accent-line: #f0c6c2;
  --warn: #e3a008;
  --warn-ink: #875800;
  --warn-soft: #fcf1d6;
  --ok: #2f6b45;
  --ok-soft: #e4f0e7;
  --night: #1a0f11;
  --night-ink: #fbf1ef;
  --night-muted: #cdb7b5;
  --night-accent: #ff9ca2;
  --alarm: #ff4d57;
  --night-line: rgba(255, 255, 255, 0.12);
  --hazard: repeating-linear-gradient(-45deg, var(--warn) 0 9px, var(--night) 9px 18px);
  --focus: var(--accent);
  --line: #e6dcd8;
  --line-dark: #cdbfbb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --container: 1100px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-size: 14px; line-height: 1.6; }
body, button, input, select { font-family: var(--sans); }
button, input, select { font-size: inherit; }
button, input, select, summary, a { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
input, select { min-width: 0; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
button, a, input, select, summary { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
svg { display: block; flex-shrink: 0; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: #f6cfcb; color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  color: white;
  background: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); color: white; }

/* Masthead */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--night-ink);
  background: var(--night);
  border-bottom: 1px solid var(--night-line);
}
/* Caution tape: the one persistent reminder that this is an active outbreak. */
.site-header::before, .site-footer::before { display: block; height: 3px; background: var(--hazard); content: ""; }
.site-header, .hero, .site-footer { --focus: #ffc247; }
.header-inner { min-height: 54px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--night-ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--night-ink); }
.brand-mark { display: block; width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(255, 77, 87, 0.35)); }
.main-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 27px; }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; color: var(--night-ink); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.main-nav a::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; border-radius: 1px; background: var(--alarm); content: ""; transform: scaleX(0); transition: transform 160ms ease; }
.main-nav a:hover, .main-nav a[aria-current] { color: white; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.nav-count { display: inline-block; margin-left: 4px; padding: 1px 5px; border-radius: 3px; color: var(--accent); background: var(--accent-soft); font-size: 9px; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.header-date { padding-left: 24px; border-left: 1px solid var(--night-line); color: var(--night-muted); font-size: 11px; line-height: 1.5; white-space: nowrap; }
.header-date strong, .header-date time { display: block; color: var(--night-ink); font-size: 12px; font-weight: 650; }


/* Current status and a concise front page. */
.eyebrow { display:flex; align-items:center; gap:7px; margin-bottom:10px; color:var(--accent); font-size:9px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
/* The status hero sits on the dark masthead: a faint microscope field and a red glow behind the case counts. */
.hero {
  color:var(--night-ink);
  background:
    radial-gradient(110% 70% at 100% 0%, rgba(214,40,52,.42), transparent 62%),
    radial-gradient(80% 55% at 0% 100%, rgba(227,160,8,.07), transparent 65%),
    url("/pattern-bacteria.svg") 0 0 / 220px 220px,
    var(--night);
}
.status-section { padding-block:20px 20px; }
.page-heading { margin-bottom:14px; }
.page-heading h1 { margin:0; font:400 28px/1.18 var(--serif); letter-spacing:-.035em; }
.page-heading .location { display:inline-flex; align-items:center; gap:8px; margin:0 0 8px; padding:3px 10px 3px 8px; border:1px solid rgba(255,108,116,.4); border-radius:999px; color:#ffc2c5; background:rgba(214,40,52,.16); font-size:10px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.alert-dot { position:relative; width:7px; height:7px; border-radius:50%; background:var(--alarm); box-shadow:0 0 8px var(--alarm); }
.alert-dot::after { position:absolute; inset:-5px; border:2px solid var(--alarm); border-radius:50%; content:""; opacity:0; animation:alert-pulse 2.4s ease-out infinite; }
@keyframes alert-pulse { from { opacity:.85; transform:scale(.4); } to { opacity:0; transform:scale(1.6); } }
.status-grid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:12px; }
.stat-card { position:relative; display:flex; flex-direction:column; justify-content:center; min-width:0; padding:13px 18px; border:1px solid var(--night-line); border-radius:var(--radius); background:rgba(40,24,27,.88); }
.stat-card.primary-stat { border-color:rgba(255,120,128,.45); background:linear-gradient(140deg,#d42f3a 0%,#a3161f 58%,#7c0f17 100%); box-shadow:0 18px 40px -18px rgba(255,60,70,.75); }
.stat-label { display:flex; align-items:center; gap:8px; margin:0; color:var(--night-muted); font:650 12px/1.5 var(--sans); }
.stat-label::before { width:8px; height:8px; flex-shrink:0; border-radius:50%; background:var(--stat-color,var(--alarm)); content:""; }
.stat-card.ill-stat { --stat-color:var(--warn); }
.stat-card.hospital-stat { --stat-color:#ff6b74; }
.primary-stat .stat-label { color:white; }
.primary-stat .stat-label::before { background:white; box-shadow:0 0 0 3px rgba(255,255,255,.22); }
.stat-value { display:block; margin-block:4px; color:white; font:400 40px/1 var(--serif); letter-spacing:-.055em; font-variant-numeric:lining-nums tabular-nums; }
.primary-stat .stat-value { font-size:60px; text-shadow:0 2px 18px rgba(80,0,8,.35); }
.stat-caption { margin:0; color:var(--night-muted); font-size:12px; line-height:1.6; }
.primary-stat .stat-caption { color:rgba(255,255,255,.9); }
.status-source { margin:10px 0 0; color:var(--night-muted); font-size:12px; line-height:1.7; }
.status-source time { color:var(--night-ink); font-weight:650; }
.status-source a { color:var(--night-accent); font-weight:600; }
.status-source a:hover { color:white; }
.independence-note { margin:6px 0 0; color:var(--night-muted); font-size:11px; line-height:1.6; }
.site-update { margin:6px 0 0; color:var(--night-muted); font-size:11px; line-height:1.6; }
.site-update time { color:var(--night-ink); font-weight:650; white-space:nowrap; }
.compact-section { padding-top:29px; }
.updates-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.update-card { position:relative; display:flex; flex-direction:column; min-width:0; padding:15px 17px 15px 20px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper-raised); box-shadow:0 1px 2px rgba(34,26,28,.05); }
.update-card::before { position:absolute; top:0; bottom:0; left:0; width:4px; background:var(--accent); content:""; }
.update-card > time { display:inline-flex; align-items:center; gap:7px; color:var(--accent); font-size:10px; font-weight:700; letter-spacing:.03em; font-variant-numeric:tabular-nums; }
.update-card h3 { margin:6px 0 7px; font:400 19px/1.27 var(--serif); letter-spacing:-.02em; }
.update-card p { margin-bottom:10px; color:var(--muted); font-size:12px; line-height:1.65; overflow-wrap:anywhere; }
.update-reference { margin-top:auto; }
.update-source { width:fit-content; max-width:100%; font-size:10px; font-weight:650; line-height:1.7; overflow-wrap:anywhere; }
.publication-time { display:block; margin-top:3px; color:var(--muted); font-size:10px; font-weight:400; line-height:1.6; font-variant-numeric:tabular-nums; }
.publication-time strong { color:var(--accent-dark); font-weight:700; }
.time-estimate { margin-left:4px; color:var(--muted); font-size:9px; font-weight:600; letter-spacing:.02em; text-decoration:none; border-bottom:1px dotted var(--line-dark); cursor:help; }
.source-topline .time-estimate, .article-item .time-estimate { display:inline; }
.article-list { margin:0; padding:0; border-top:1px solid var(--line); list-style:none; }
.article-item { display:grid; grid-template-columns:88px minmax(0,1fr); align-items:baseline; gap:18px; padding-block:12px; border-bottom:1px solid var(--line); }
.article-item > time { color:var(--accent-dark); font-size:10px; font-weight:650; line-height:1.7; font-variant-numeric:tabular-nums; }
.article-item > time span { display:block; color:var(--accent-dark); font-size:12px; font-weight:700; }
.article-main { min-width:0; }
.article-title { color:var(--ink); font:400 18px/1.35 var(--serif); letter-spacing:-.015em; text-decoration:none; overflow-wrap:anywhere; }
.article-title:hover { color:var(--accent); text-decoration:underline; }
.article-outlet { display:block; margin-top:3px; color:var(--muted); font-size:10px; font-weight:600; letter-spacing:.02em; }
.link-label-note { margin:0 0 12px; color:var(--muted); font-size:11px; line-height:1.7; }
.article-context { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
/* Changes are personal to this browser; the directory counts the public catalog. */
.change-badge { display:inline-flex; align-self:flex-start; width:fit-content; margin:4px 6px 4px 0; padding:2px 7px; border:1px solid #bbd5c3; border-radius:4px; color:var(--ok); background:var(--ok-soft); font-size:10px; font-weight:750; line-height:1.5; vertical-align:middle; }
.event-meta .change-badge { margin:0; }
.visit-notice { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 18px; margin-top:18px; padding:10px 16px; border:1px solid #bbd5c3; border-radius:var(--radius); color:var(--ok); background:var(--ok-soft); }
.visit-notice p { margin:0; font-size:12px; }
.visit-notice button { flex-shrink:1; min-height:44px; padding:4px 0; border:0; color:var(--ok); background:transparent; text-align:left; text-decoration:underline; text-underline-offset:3px; }
.publisher-directory { border:1px solid var(--line); border-radius:var(--radius); background:var(--paper-raised); }
.publisher-directory > summary { min-height:48px; padding:12px 16px; color:var(--muted); font-size:12px; font-weight:600; }
.publisher-directory > summary:hover { color:var(--accent); }
.publisher-table { width:100%; border-collapse:collapse; font-size:12px; }
.publisher-table caption { padding:4px 16px 12px; color:var(--muted); text-align:left; font-size:11px; }
.publisher-table th, .publisher-table td { padding:10px 16px; border-top:1px solid var(--line); text-align:right; font-variant-numeric:tabular-nums; }
.publisher-table th:first-child { width:60%; text-align:left; overflow-wrap:anywhere; }
.publisher-table thead th { color:var(--muted); font-size:10px; font-weight:600; }
.publisher-table tbody th { font-weight:600; }
.publisher-host { display:block; margin-top:2px; color:var(--muted); font-size:10px; font-weight:400; }
.archive-panel { margin-top:28px; overflow:hidden; border:1px solid var(--line-dark); border-radius:var(--radius); background:var(--paper-raised); }
.archive-panel > summary { display:flex; align-items:center; gap:12px; min-height:58px; padding:14px 20px; color:var(--ink); font-size:14px; font-weight:650; list-style:none; }
.archive-panel > summary::-webkit-details-marker, .archive-note > summary::-webkit-details-marker { display:none; }
.archive-panel > summary::before { content:'+'; display:grid; place-items:center; width:26px; height:26px; flex-shrink:0; border-radius:50%; color:white; background:var(--accent); font:400 20px/1 var(--sans); }
.archive-panel[open] > summary::before { content:'−'; }
.archive-panel > summary:hover { background:var(--accent-soft); }
.archive-count { margin-left:auto; color:var(--muted); font-size:10px; font-weight:400; text-align:right; }
.archive-content { min-width:0; padding:22px 22px 4px; border-top:1px solid var(--line); }
.archive-content .container { width:100%; }
noscript p, .noscript-note { padding:12px 16px; border:1px solid var(--line); border-radius:4px; color:var(--muted); background:var(--paper-raised); font-size:12px; }

/* Shared section titles and controls */
.content-section { padding-block: 0 22px; scroll-margin-top: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-heading > div { min-width: 0; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { display: flex; align-items: center; gap: 11px; margin-bottom: 0; font: 400 25px/1.2 var(--serif); letter-spacing: -0.045em; }
.section-heading h2::before { width: 5px; height: 0.9em; flex-shrink: 0; border-radius: 2px; background: var(--accent); content: ""; }
.section-description { max-width: 660px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.section-index { flex-shrink: 0; padding-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding-block: 4px; font-size: 11px; font-weight: 650; }
.view-tabs { display: flex; gap: 25px; margin-bottom: 21px; border-bottom: 1px solid var(--line); }
.view-tabs button { position: relative; min-height: 44px; padding: 0 0 12px; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 650; }
.view-tabs button:hover { color: var(--accent); }
.view-tabs button[aria-selected="true"], .view-tabs button[aria-pressed="true"], .view-tabs button.active, .view-tabs button.is-active { color: var(--accent); }
.view-tabs button[aria-selected="true"]::after, .view-tabs button[aria-pressed="true"]::after, .view-tabs button.active::after, .view-tabs button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); content: ""; }
.timeline-controls { margin-bottom: 20px; }
.filter-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.filter-chips button { min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.45; }
.filter-chips button:hover { color: var(--accent); border-color: var(--accent); }
.filter-chips button[aria-pressed="true"], .filter-chips button.active { color: white; background: var(--accent); border-color: var(--accent); }

/* Timeline: the vertical rule lives beside each event, not behind its text. */
.timeline-layout { display: grid; grid-template-columns: 93px minmax(0, 1fr); align-items: start; gap: 22px; }
.date-nav { position: sticky; top: 76px; display: flex; flex-direction: column; align-items: flex-start; padding-top: 5px; }
.date-nav > .eyebrow { margin-bottom: 12px; font-size: 8px; }
.date-nav a { display: block; min-height: 36px; padding: 7px 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.7; text-decoration: none; }
.date-nav a:hover, .date-nav a[aria-current], .date-nav a.is-active { color: var(--accent); background: var(--accent-soft); border-left-color: var(--accent); }
.timeline-list { min-width: 0; }
.timeline-event { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 14px; scroll-margin-top: 0; }
.event-date { padding-top: 1px; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.event-day { display: block; font: 400 31px/1.1 var(--serif); letter-spacing: -0.055em; }
.event-month { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; }
.event-content { position: relative; min-width: 0; padding: 0 0 24px 20px; border-left: 1px solid var(--line-dark); }
.event-content::before { position: absolute; top: 7px; left: -5px; width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; background: var(--paper-raised); content: ""; }
.timeline-event:first-child .event-content::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline-event:last-child .event-content { padding-bottom: 7px; }
.event-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.event-category { display: inline-block; padding: 3px 6px; border: 1px solid var(--accent-line); border-radius: 3px; color: var(--accent); background: var(--accent-soft); font-size: 9px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.timeline-event[data-category="context"] .event-category { color: var(--muted); background: #efe9e6; border-color: var(--line); }
.timeline-event[data-category="operations"] .event-category { color: var(--warn-ink); background: var(--warn-soft); border-color: #f0d9a0; }
.timeline-event[data-category="support"] .event-category { color: var(--ok); background: var(--ok-soft); border-color: #c3dcca; }
.event-label { color: var(--muted); font-size: 10px; }
.event-content h3 { margin-bottom: 9px; font: 400 21px/1.25 var(--serif); letter-spacing: -0.03em; }
.event-content > p { max-width: 830px; margin-bottom: 11px; color: var(--muted); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.event-content strong { color: var(--ink); font-weight: 650; }
.event-links { display: flex; flex-wrap: wrap; column-gap: 15px; row-gap: 6px; margin-top: 13px; }
.event-source { min-width:0; max-width:100%; }
.event-links a { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; font-size: 11px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
.event-links svg { width: 12px; height: 12px; }

/* Searchable source archive */
#zdroje { margin-top: 7px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources-controls { display: grid; grid-template-columns: minmax(230px, 1.9fr) minmax(150px, 1fr) minmax(150px, 1fr); align-items: end; gap: 14px; margin-bottom: 19px; }
.search-field, .select-field { min-width: 0; }
.search-field label, .select-field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 650; }
.search-input-wrap { position: relative; }
.search-input-wrap > svg { position: absolute; top: 50%; left: 13px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; transform: translateY(-50%); }
.search-input-wrap input, .select-field select { width: 100%; min-height: 44px; padding: 11px 13px; border: 1px solid var(--line-dark); border-radius: 4px; color: var(--ink); background-color: var(--paper-raised); font-size: 12px; line-height: 1.5; }
.search-input-wrap input { padding-left: 39px; }
.search-input-wrap input::placeholder { color: #7a6e70; opacity: 1; }
.select-field select { padding-right: 25px; }
.search-input-wrap input:hover, .select-field select:hover { border-color: var(--accent); }
.source-results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-height: 28px; margin-bottom: 14px; }
.result-count { color: var(--muted); font-size: 11px; }
.result-count strong { color: var(--ink); font-weight: 700; }
.new-only-control { display:flex; align-items:center; gap:8px; min-height:44px; color:var(--muted); font-size:11px; cursor:pointer; }
.new-only-control input { width:16px; height:16px; margin:0; accent-color:var(--accent); }
.clear-filters, button.clear-filters, .clear-filters button { min-height: 44px; padding: 4px 0; border: 0; color: var(--accent); background: transparent; font-size: 11px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.clear-filters:hover, .clear-filters button:hover { color: var(--accent-dark); }
.sources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.source-card { display: flex; flex-direction: column; min-width: 0; padding: 17px 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); }
.source-card:hover { border-color: var(--line-dark); }
.source-topline { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 7px 16px; margin-bottom: 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.source-topline .outlet, .source-outlet, .source-topline > strong { color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: 0.025em; }
.source-topline time { font-variant-numeric: tabular-nums; }
.source-card h3 { margin-bottom: 11px; font: 400 20px/1.27 var(--serif); letter-spacing: -0.025em; overflow-wrap: anywhere; }
.source-card h3 a { color: var(--ink); text-decoration: none; }
.source-card h3 a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.source-summary { margin-bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.source-summary:has(+ .source-context) { margin-bottom:10px; }
.source-context { margin:0 0 16px; padding:8px 10px; border-left:2px solid var(--warn); color:var(--ink); background:var(--warn-soft); font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.source-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 9px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); font-size: 9px; line-height: 1.5; }
.source-kind { color: var(--muted); }
.verification { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 3px; font-size: 9px; font-weight: 650; }
.verification.is-verified { color: var(--ok); background: var(--ok-soft); }
.verification.is-partial { color: var(--warn-ink); background: var(--warn-soft); }
.verification svg { width: 11px; height: 11px; }
.source-id { margin-left: auto; color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.source-details { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.source-details summary { width: fit-content; padding-block: 3px; color: var(--muted); font-size: 10px; }
.source-details summary:hover { color: var(--accent); }
.source-details[open] summary { margin-bottom: 8px; color: var(--accent); }
.source-details p, .source-details a { overflow-wrap: anywhere; }
.source-details p { margin-bottom: 9px; }
.load-more-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; }
.load-more-wrap > p { margin: 0; color: var(--muted); font-size: 10px; }
.load-more-wrap .button { min-width: 200px; }
.empty-state { grid-column: 1 / -1; padding: 40px 24px; border: 1px dashed var(--line-dark); border-radius: var(--radius); color: var(--muted); background: transparent; text-align: center; }
.empty-state h3 { margin-bottom: 8px; color: var(--ink); font: 400 25px/1.3 var(--serif); }
.empty-state p { font-size: 13px; }


/* Brief source note, downloads, and the fallback page. */
.archive-note { margin-top:12px; }
.archive-note > summary { display:flex; align-items:center; gap:8px; min-height:44px; color:var(--muted); font-size:11px; font-weight:600; list-style:none; }
.archive-note > summary::before { content:'+'; color:var(--accent); font-size:16px; }
.archive-note[open] > summary::before { content:'−'; }
.archive-note > p { max-width:880px; margin:0 0 18px; color:var(--muted); font-size:11px; line-height:1.8; }
.site-footer { margin-top:32px; color:var(--night-muted); background:var(--night); }
.footer-bottom { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 22px; padding-block:20px; color:var(--night-muted); font-size:10px; }
.footer-bottom p { margin:0; }
.footer-bottom a { color:var(--night-ink); }
.footer-bottom a:hover { color:var(--night-accent); }
.not-found { max-width:760px; padding-block:clamp(60px,12vh,140px); }
.not-found h1 { margin-bottom:22px; font:400 clamp(38px,5vw,60px)/1.08 var(--serif); letter-spacing:-.045em; }
.not-found p { max-width:560px; color:var(--muted); line-height:1.8; }
.privacy-page { max-width:760px; padding-block:32px; }
.privacy-page h1 { margin:20px 0 24px; font:400 clamp(28px,4vw,40px)/1.2 var(--serif); letter-spacing:-.035em; }
.privacy-page h2 { margin:28px 0 10px; font:400 24px/1.3 var(--serif); }
.privacy-page p, .privacy-page li { color:var(--muted); line-height:1.8; overflow-wrap:anywhere; }
.privacy-page address { font-style:normal; }
.privacy-page ul { padding-left:20px; }

@media (max-width:850px) {
  .container { width:calc(100% - 48px); }
  .header-inner { gap:18px; }
  .main-nav { gap:20px; }
  .header-date { padding-left:15px; }
  .stat-card { padding-inline:17px; }
  .updates-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .timeline-layout { grid-template-columns:80px minmax(0,1fr); gap:14px; }
  .sources-controls { grid-template-columns:1fr 1fr; }
  .search-field { grid-column:1 / -1; }
  .source-card { padding-inline:15px; }
}
@media (max-width:640px) {
  /* Phones: the masthead scrolls away with the page instead of staying pinned. */
  html { scroll-padding-top:12px; }
  .site-header { position:static; }
  .container { width:calc(100% - 40px); }
  .site-header::before { height:2px; }
  .header-inner { min-height:44px; gap:14px; }
  .brand-mark { width:28px; height:28px; }
  .main-nav { justify-content:space-between; gap:12px; }
  .main-nav a { font-size:11px; }
  .header-date { display:none; }
  /* Phones: one row of three tiles — number first, label under it; captions stay for screen readers. */
  .status-section { padding-block:12px; }
  .page-heading { margin-bottom:10px; }
  .page-heading h1 { font-size:19px; letter-spacing:-.03em; }
  .page-heading .location { margin-bottom:3px; padding:0; border:0; background:none; font-size:9px; }
  .status-grid { grid-template-columns:1.15fr 1fr 1fr; gap:6px; }
  .stat-card, .stat-card.primary-stat { justify-content:flex-start; padding:7px 10px 8px; box-shadow:inset 0 2px 0 var(--stat-color,var(--alarm)); }
  .stat-card.primary-stat { box-shadow:0 10px 24px -14px rgba(255,60,70,.8); }
  .stat-value, .primary-stat .stat-value { order:-1; margin:0 0 2px; font-size:30px; }
  .stat-label { font-size:10px; line-height:1.3; }
  .stat-label::before { display:none; }
  .stat-caption { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  .status-source { margin-top:8px; font-size:11px; line-height:1.55; }
  .compact-section { padding-top:24px; }
  .visit-notice { gap:0; padding:10px 12px; }
  .publisher-table th, .publisher-table td { padding:9px 10px; }
  .publisher-table th:first-child { width:54%; }
  .publisher-table { font-size:11px; }
  .section-heading { flex-wrap:wrap; gap:8px 15px; margin-bottom:12px; }
  .section-heading h2 { font-size:23px; }
  .section-description { font-size:11px; }
  .updates-grid { gap:10px; }
  .update-card { padding:13px 14px 13px 18px; }
  .update-card h3 { font-size:18px; }
  .update-card p { font-size:11px; }
  .article-item { grid-template-columns:65px minmax(0,1fr); gap:13px; padding-block:11px; }
  .article-title { font-size:17px; }
  .article-item > time { font-size:9px; }
  .archive-panel { margin-top:23px; }
  .archive-panel > summary { gap:8px; padding-inline:14px; font-size:12px; }
  .archive-count { max-width:90px; font-size:9px; }
  .archive-content { padding:18px 14px 0; }
  .timeline-layout { display:block; }
  .date-nav { position:static; flex-direction:row; flex-wrap:wrap; gap:5px; margin-bottom:19px; }
  .date-nav > .eyebrow { flex-basis:100%; margin-bottom:3px; }
  .date-nav a { min-height:34px; padding:6px 8px; border:1px solid var(--line); border-radius:3px; font-size:9px; }
  .date-nav a:hover, .date-nav a.is-active { border-color:var(--accent); }
  .timeline-event { grid-template-columns:31px minmax(0,1fr); gap:11px; }
  .event-day { font-size:25px; }
  .event-month { font-size:7px; }
  .event-content { padding-left:14px; }
  .event-content h3 { font-size:20px; }
  .event-content > p { font-size:11px; }
  .event-links { gap:7px 11px; }
  .event-links a { font-size:9px; }
  .sources-grid { grid-template-columns:1fr; }
  .sources-controls { gap:10px; }
  .search-input-wrap input { font-size:16px; }
  .select-field select { padding-inline:9px 20px; font-size:12px; }
  .source-summary { font-size:12px; }
  .footer-bottom { gap:8px 17px; padding-block:15px; }
}
@media (max-width:440px) {
  .updates-grid { grid-template-columns:1fr; }
  .update-card { padding:12px 15px; }
  .update-card h3 { margin-block:4px 6px; }
  .update-card p { margin-bottom:7px; font-size:12px; }
  .sources-controls { grid-template-columns:1fr; }
  .search-field { grid-column:1; }
  .archive-panel > summary { flex-wrap:wrap; }
  .archive-count { max-width:none; font-size:9px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation:none !important; transition:none !important; }
}
@media print {
  :root { --paper:white; --paper-raised:white; --ink:#111; --muted:#444; --line:#bbb; --line-dark:#999; --night:white; --night-ink:#111; --night-muted:#444; --night-accent:#111; --night-line:#bbb; }
  .hero { background:none; }
  .site-header, .site-footer { border-bottom:1px solid var(--line); }
  .site-header::before, .site-footer::before, .alert-dot { display:none; }
  .page-heading .location { padding:0; border:0; color:var(--ink); background:none; }
  .brand-mark { filter:none; }
  .stat-card.primary-stat { border-color:var(--line-dark); background:none; box-shadow:none; }
  .stat-value, .primary-stat .stat-label, .primary-stat .stat-caption { color:var(--ink); text-shadow:none; }
  @page { margin:15mm; }
  body { font-size:10pt; }
  .container { width:100%; max-width:none; }
  .site-header { position:static; }
  .header-inner { min-height:48px; }
  .brand-mark { width:38px; height:38px; }
  .header-date { display:block; margin-left:auto; }
  .main-nav, .skip-link, .date-nav, .view-tabs, .timeline-controls, .sources-controls, .clear-filters, .load-more-wrap, .visit-notice, .new-only-control, .change-badge { display:none !important; }
  .status-section { padding-top:17px; }
  .page-heading h1 { font-size:21pt; }
  .status-grid { grid-template-columns:1.2fr 1fr 1fr; }
  .stat-card, .stat-card.primary-stat { display:block; grid-column:auto; padding:12px; }
  .stat-value { font-size:32pt; }
  .primary-stat .stat-value { margin-block:4px; font-size:50pt; }
  .compact-section { padding-top:21px; }
  .updates-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
  .update-card { padding:10px; break-inside:avoid; }
  .update-card h3 { font-size:13pt; }
  .update-card p { font-size:8pt; }
  .article-item { grid-template-columns:65px minmax(0,1fr); padding-block:9px; break-inside:avoid; }
  .article-title { font-size:12pt; }
  .archive-panel { margin-top:20px; }
  .archive-content { padding:17px; }
  .timeline-layout { display:block; }
  .timeline-event { break-inside:avoid; }
  .event-content h3 { font-size:14pt; }
  .event-content > p, .source-summary { font-size:8pt; }
  .sources-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .source-card { padding:12px; break-inside:avoid; }
  .source-card h3 { font-size:13pt; }
  .site-footer { margin-top:20px; }
  a { color:inherit; }
  h1, h2, h3 { break-after:avoid; }
  p { orphans:3; widows:3; }
}
