/* Report presentation only; amounts and export calculations remain unchanged. */
.report-page .report-summary-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));
}
.report-page .report-stat { min-width:0; }
.report-page .report-stat.featured { grid-column:auto; }
.report-page .report-two-columns { grid-template-columns:1fr; }
.report-page .ui-table { table-layout:auto; }
.report-page .report-stat strong {
  max-width:100%;
  overflow-wrap:anywhere;
  font-variant-numeric:tabular-nums;
  line-height:1.25;
}
@media print {
  @page { size:A4 portrait; margin:12mm; }
  body.report-page { min-height:0; background:#fff; color:#171717; }
  .report-page .standalone-main { width:100%; max-width:none; margin:0; padding:0; }
  /* At paper width the screen heading becomes a column: its flex-basis must not reserve height. */
  .report-page .report-heading { display:block; margin:0 0 12px; }
  .report-page .report-heading > div:first-child { flex:none; }
  .report-page .report-heading h1 { font-size:22pt; }
  .report-page .report-heading p { font-size:10pt; }
  .report-page .report-reference,
  .report-page .agenda-reference { margin:8px 0; }
  .report-page main button,
  .report-page .report-actions,
  .report-page .ui-table-scroll-hint { display:none !important; }
  .report-page .report-summary-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .report-page .report-stat { min-height:0; padding:10px; border-radius:8px; }
  .report-page .report-stat strong { font-size:16pt; }
  .report-page .report-stat small { font-size:8pt; }
  .report-page .report-source-note,
  .report-page .finance-explainer { padding:9px 12px; margin:10px 0; font-size:9pt; line-height:1.45; }
  .report-page .report-two-columns { display:block; }
  .report-page .report-card { margin:12px 0; overflow:visible; break-inside:auto; box-shadow:none; }
  .report-page .standalone-main > .report-card:last-child { break-inside:avoid; }
  .report-page .report-card > h2 { margin:10px 12px; font-size:13pt; break-after:avoid; }
  .report-page .report-card > p { margin:8px 12px; font-size:9pt; line-height:1.45; break-after:avoid; }
  .report-page .report-card-heading { min-height:0; padding:10px 12px; break-after:avoid; }
  .report-page .report-card-heading > div:first-child { flex:initial; }
  .report-page .report-card-heading h2 { font-size:13pt; overflow-wrap:normal; }
  .report-page .report-table-wrap { overflow:visible; }
  .report-page .ui-table[data-layout="records"] { width:100%; table-layout:auto; }
  .report-page .ui-table th,
  .report-page .ui-table td {
    width:auto; max-width:none; padding:7px 8px; font-size:9pt;
    white-space:normal; overflow-wrap:normal; word-break:normal;
  }
  .report-page .ui-table th { font-size:8pt; }
  .report-page .ui-table tr { break-inside:avoid; }
  .report-page .ui-table td strong { font-size:inherit; white-space:normal; }
  .report-page .ui-table td small { font-size:8pt; }
  .report-page .ui-table .report-status { white-space:nowrap; font-size:8pt; padding:3px 6px; }
  .report-page .report-progress-card { padding:12px; }
  .report-page .report-progress-card h2 { font-size:13pt; }
  .report-page .comparison-row { break-inside:avoid; }
}
