/* print.css ----------------------------------------------------------------
   Print rules for the standing test report. Linked from a live page
   (<link rel="stylesheet" media="print">) so printing the on site report
   gets the same page break behaviour as the standalone downloadable
   file. The standalone file (docs/assets/report/template.js) inlines an
   identical copy of this text, since it must carry no external
   stylesheet; keep the two in sync by hand, this project has no build
   step to share them. */

@media print {
  .report-figure,
  .report-table,
  .report-meta {
    break-inside: avoid;
  }

  .report .report-heading-main,
  .report .report-heading-section,
  .report-file-section-heading {
    break-after: avoid;
  }

  /* The horizontal scroll wrapper is a small phone screen workaround;
     on paper the chart can simply shrink to the page width instead of
     being clipped to whatever fit inside the scroll container. */
  .report-figure-scroll,
  .report-table-scroll {
    overflow: visible;
    border: none;
  }

  .report-chart,
  .report-table {
    min-width: 0;
  }

  /* Paper has more usable width than a phone screen, so print always
     gets the table, never the card layout report.css swaps in below
     640px on screen. */
  .stats-block .stats-cards {
    display: none;
  }

  .stats-block .report-table-scroll {
    display: block;
  }

  .site-header,
  .site-footer,
  .draft-notice {
    display: none;
  }

  .report-file-section {
    break-before: page;
  }

  .report-file-section:first-child {
    break-before: avoid;
  }
}
