/* Public report reading view. All colours follow the existing C4P theme. */
.report-page { width: min(960px, 92%); margin-inline: auto; padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.report-page article { min-width: 0; }
.report-kicker { color: var(--deep); font-size: .88rem; font-weight: 600; margin-bottom: .8rem; }
.report-page h1 { max-width: 21ch; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; }
.report-deck { max-width: 65ch; font-size: 1.12rem; margin-top: 1.2rem; }
.report-meta { color: var(--ink-2); font-size: .88rem; margin-top: 1.2rem; }
.report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.5rem; }
.report-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 2rem; }
.report-stats > div { min-width: 0; padding: 1.2rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--mist); }
.report-stats dt { font-size: 1.8rem; font-weight: 600; line-height: 1.2; color: var(--deep); }
.report-stats dd { margin-top: .4rem; font-size: .94rem; }
.report-page section { margin-top: 2.6rem; scroll-margin-top: 1rem; }
.report-page h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.25; margin-bottom: 1rem; font-weight: 600; }
.report-page section p + p { margin-top: 1rem; }
.report-page section > p { max-width: 74ch; }
.report-source { color: var(--ink-2); font-size: .88rem; margin-top: .85rem; }
.report-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding-block: 1.2rem; border-block: 1px solid var(--rule); }
.report-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; }
.report-table-wrap:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; }
.report-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.report-table caption { text-align: left; padding: 1rem; font-weight: 600; background: var(--mist); }
.report-table th, .report-table td { padding: .8rem 1rem; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.report-table thead th { background: var(--mist); font-weight: 600; }
.report-table tbody th { font-weight: 500; }
.report-table .numeric { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.report-method { padding: 1.4rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--mist); }
.report-method ul { padding-left: 1.2rem; }
.report-method li + li { margin-top: .7rem; }
.report-next { padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.report-next .btn { margin-top: 1rem; }
html[data-theme="dark"] .report-page h1, html[data-theme="dark"] .report-page h2 { color: var(--ink); }
@media (max-width: 600px) {
  .report-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .report-stats > div { padding: .9rem; }
  .report-stats dt { font-size: 1.5rem; }
  .report-table th, .report-table td { padding: .7rem; }
}
@media print {
  .report-page { width: 100%; padding-top: 0; }
  .report-nav, .report-actions { display: none; }
  .report-table-wrap { overflow: visible; }
  .report-page section, .report-stats > div { break-inside: avoid; }
}
