/* The static report and methodology pages (scripts/export_static.py --stats).
 * Tokens, the page shell and the article/table styles come from tokens.css and base.css;
 * this file only sets the reading size, the findings, the two SVG charts and the page footer.
 * No external resources: system fonts, inline SVG, no scripts. */

.report-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-body-lg);
}

.report-nav a {
  text-decoration: none;
}

.report-nav a[aria-current="page"] {
  color: var(--text-primary);
  font-weight: 600;
}

.report {
  max-width: 44rem;
  font-size: var(--text-body-lg);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.report h1 {
  font-size: var(--text-display);
  line-height: 1.2;
  margin: var(--space-md) 0 var(--space-sm);
}

.report h2 {
  font-size: 1.25rem;
  margin: var(--space-xl) 0 var(--space-xs);
  scroll-margin-top: var(--space-md);
}

.report h3 {
  font-size: 1rem;
  margin: var(--space-lg) 0 var(--space-2xs);
  color: var(--text-primary);
  scroll-margin-top: var(--space-md);
}

.report .lede {
  font-size: 1.0625rem;
  color: var(--text-primary);
}

.report .finding {
  margin: var(--space-sm) 0;
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-surface);
  border-left: 3px solid var(--lamp-glow);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  scroll-margin-top: var(--space-md);
}

.report .finding:target {
  background: var(--bg-surface-elevated);
}

.report .anchor {
  margin-left: var(--space-2xs);
  color: var(--text-muted);
  text-decoration: none;
}

.report .anchor:hover,
.report .anchor:focus-visible {
  color: var(--accent-cyan);
}

.report .chart {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin: var(--space-md) 0;
}

.report .chart text {
  font-family: var(--font-ui);
}

.report .chart-label {
  font-size: 14px;
  fill: var(--text-primary);
}

.report .chart-n {
  font-size: 12px;
  fill: var(--text-secondary);
}

.report .chart-value {
  font-size: 14px;
  font-weight: 600;
  fill: var(--text-primary);
}

.report .chart-bar {
  fill: var(--spec-bar);
}

.report details {
  margin: var(--space-sm) 0;
}

.report summary {
  cursor: pointer;
  color: var(--accent-cyan);
  margin-bottom: var(--space-xs);
}

.report .note {
  font-size: var(--text-body-md);
  color: var(--text-secondary);
}

.report table caption {
  padding: var(--space-xs) var(--space-sm);
  text-align: left;
  color: var(--text-secondary);
}

.report th,
.report td {
  white-space: normal;
  vertical-align: top;
}

.report tbody th[scope="row"] {
  color: var(--text-primary);
  font-weight: 500;
}

.report code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.report pre.reproduce {
  margin: var(--space-xs) 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.report .cite {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-surface);
  border-left: 3px solid var(--border-strong);
}

.report ul.hashes {
  padding-left: var(--space-lg);
}

.report-footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 767px) {
  /* The parameter table stacks: each row becomes a block of labelled lines instead of a 590 px-wide table. */
  .report table.wrap-cells thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .report table.wrap-cells,
  .report table.wrap-cells tbody,
  .report table.wrap-cells tr,
  .report table.wrap-cells th,
  .report table.wrap-cells td {
    display: block;
  }

  .report table.wrap-cells tr {
    padding: var(--space-xs) var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
  }

  .report table.wrap-cells th,
  .report table.wrap-cells td {
    padding: 2px 0;
    border: 0;
  }

  .report table.wrap-cells td::before {
    content: attr(data-label) ": ";
    color: var(--text-secondary);
  }

  .report h1 {
    font-size: 1.625rem;
  }

  .report .finding {
    padding: var(--space-xs) var(--space-sm);
  }
}
