/* Print rules for the sample AI disclosure report (/sample-report/ai-disclosure/), loaded with media="print".
   They keep every table row and every email on one page, and the small tables whole, so the PDF of the page
   (docs/samples/gotalt-sample-ai-disclosure-report.pdf, made by tools/sample-ai-report.mjs --pdf) has no cut row.
   The one tall table, the image files, may continue on the next page with its header row repeated.
   Nothing here changes how the page looks on a screen. */
@media print {
  .table-wrap { overflow: visible; }
  .rpt-section .table-wrap, .table-wrap:has(> table > tbody > tr:nth-child(-n+3):last-child) { break-inside: avoid; }
  .table-wrap > .data-table > caption { position: static; width: auto; max-width: none; break-after: avoid; }
  .data-table { font-size: 9pt; }
  .data-table th, .data-table td { padding: 4pt 6pt; }
  .data-table thead { display: table-header-group; }
  .data-table tr { break-inside: avoid; }
  figure.sample-email { break-inside: avoid; }
  pre.sample-email-text { white-space: pre-wrap; overflow-wrap: anywhere; }
  .prose :is(h2, h3, h4) { break-after: avoid; }
}
