@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/CormorantGaramond-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/CormorantGaramond-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/CormorantGaramond-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/IBMPlexMono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/IBMPlexMono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/IBMPlexMono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #181A1B;
  --ground: #EFEEEA;
  --accent: #8A6D3B;
  --rule: color-mix(in srgb, var(--ink) 18%, var(--ground));
  --muted: color-mix(in srgb, var(--ink) 55%, var(--ground));
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ground);
  color: var(--ink);
}

body {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  max-width: 1040px;
  margin: 0 auto;
  padding: 96px 64px 120px;
}

h1, h2, h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding: 16px 0 24px;
  margin: -16px 0 56px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ground);
}

.masthead .brand {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.masthead .brand:hover { color: var(--accent); }

.masthead .right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.masthead .date {
  font-size: 12px;
  color: var(--muted);
}

.masthead .pdf-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 5px 10px;
  white-space: nowrap;
}
.masthead .pdf-link:hover { color: var(--ink); border-color: var(--ink); }

.report-title {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.report-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 64px;
}

section {
  margin-bottom: 72px;
}

section > h2 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

p { margin: 0 0 16px; }

.stat-row {
  display: flex;
  gap: 48px;
  margin-bottom: 8px;
}

.stat {
  flex: 1;
}

.stat .value {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 28px;
  display: block;
}

.coverage-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.stat .label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

th {
  text-align: left;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
  padding: 0 12px 10px 0;
}

td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

td.numeric, th.numeric { text-align: right; font-variant-numeric: tabular-nums; }

tr:last-child td { border-bottom: 1px solid var(--ink); }

td a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
td a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.chart-block { margin: 32px 0; }
.chart-block svg { width: 100%; height: auto; display: block; }
.chart-point { cursor: pointer; }
.chart-point:hover { opacity: 1; }

.chart-tooltip {
  position: fixed;
  pointer-events: none;
  background: var(--ink);
  color: var(--ground);
  font-family: 'Satoshi', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  max-width: 240px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  z-index: 1000;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 120ms ease, transform 120ms ease;
}
.chart-tooltip.visible { opacity: 1; transform: translateY(0); }
.chart-tooltip .tt-name { display: block; font-weight: 700; margin-bottom: 3px; }
.chart-tooltip .tt-meta { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: color-mix(in srgb, var(--ground) 68%, var(--ink)); }
.chart-caption {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px;
}

.flag-list { list-style: none; margin: 0; padding: 0; }
.flag-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.flag-list .status {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.clean-state {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}

footer p { margin: 0 0 8px; }

.print-only { display: none; }

@media (max-width: 640px) {
  body { padding: 24px 20px 80px; font-size: 13px; }

  .masthead { flex-wrap: wrap; row-gap: 10px; padding: 12px 0 16px; margin: -12px 0 40px; }
  .masthead .right { gap: 10px; }
  .masthead .date { font-size: 11px; }

  .report-title { font-size: 25px; }
  .report-subtitle { font-size: 16px; margin-bottom: 40px; }

  section { margin-bottom: 48px; }

  .stat-row { flex-wrap: wrap; gap: 24px 32px; }
  .stat { flex: 1 1 40%; }
  .stat .value { font-size: 22px; }

  table { display: block; overflow-x: auto; white-space: nowrap; }

  .flag-list li { flex-direction: column; gap: 6px; }
}

@media print {
  body { padding: 0 48px; max-width: none; }
  section { break-inside: avoid; margin-bottom: 40px; }
  .masthead { margin-bottom: 40px; }
  /* Chromium's print-to-PDF embeds a clickable link annotation for any <a>
     that's actually laid out and painted — changing its color/underline
     alone (a prior attempt here) leaves the annotation intact. The tower
     index's comparable links (item 2) are duplicated as plain text
     (.print-only) and the real <a> is removed from layout via display:none
     so no annotation is generated at all. See DECISIONS.md (2026-09-08,
     Brief 2 item 2 — this fixes a gap an audit caught in the first version). */
  .screen-link { display: none; }
  .print-only { display: inline; }
}