/* print.css — clean print / Save-as-PDF for the readiness report.
   Screen chrome is hidden; only #report prints. Loaded with media="print"
   so it never affects the on-screen layout. */

@page { margin: 16mm 14mm; }

@media print {
  /* Hide everything not part of the report */
  .no-print,
  .site-header,
  .site-footer,
  .report-toolbar,
  .stepbar,
  .results-actions,
  #import-file { display: none !important; }

  html, body { background: #fff !important; color: #000; font-size: 11pt; }

  /* Report fills the page, no card chrome */
  .report {
    max-width: none; margin: 0; border: 0; box-shadow: none; border-radius: 0;
    padding: 0; font-size: 10.5pt;
  }
  .report-ribbon.demo-ribbon {
    background: #C9A227 !important; color: #40340a !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    margin: 0 0 10px; border-radius: 0;
  }

  /* Keep sections and table rows from splitting awkwardly */
  .report-sec { break-inside: avoid; page-break-inside: avoid; }
  .report-title { break-after: avoid; }
  .report-sec h2 { break-after: avoid; }
  table { break-inside: auto; }
  tr, li { break-inside: avoid; page-break-inside: avoid; }
  thead { display: table-header-group; }
  .report-scorestrip { break-inside: avoid; }

  /* Ensure color fills (bands, chips, framing) render in print */
  .report-framing,
  .report-scorestrip,
  .milestone-status,
  .chip-pri,
  .rs-band,
  .report-brand .star-mark circle,
  .report-brand .star-mark path {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }

  .report-table { min-width: 0; font-size: 9.5pt; }
  .table-scroll { overflow: visible !important; }

  a { color: #000; text-decoration: none; }

  /* Section 1 (exec summary) should not orphan its heading */
  #report-narrative { orphans: 3; widows: 3; }
}
