/* Print-only overrides: keep responsive screen styles out of paper tables. */
@media print {
  @page { size: A4; margin: 13mm; }
  html { font-size: 10pt; }
  body { color: #000; background: #fff; font-size: 10pt; line-height: 1.5; }
  .container { width: 100%; max-width: none; }
  button, .button, .report-toolbar, .result-actions { display: none !important; }
  h1 { font-size: 19pt !important; }
  h2 { font-size: 14pt !important; }
  h3 { font-size: 11pt !important; }
  h1, h2, h3, .fee-total { break-after: avoid-page; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  p { margin: 5pt 0; }
  .hero { padding: 0 0 8pt; }
  .section { padding: 10pt 0; }
  .section h2 { margin-bottom: 6pt; }
  .calculator-shell { margin: 8pt 0 12pt; padding: 0; }
  .results { margin: 10pt 0; }
  .result-card, .total-card { margin: 8pt 0; padding: 10pt; border-radius: 0; break-inside: auto; }
  .result-amount { font-size: 22pt; }
  .article-card, .notice, .legal-inline { padding: 6pt; margin: 6pt 0; box-shadow: none; }
  .detail-panel, .table-wrap, .table-scroll { overflow: visible !important; }
  table { display: table !important; width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9pt; }
  thead { display: table-header-group !important; position: static !important; left: auto !important; }
  tbody { display: table-row-group !important; }
  tr { display: table-row !important; margin: 0; padding: 0; border: 0; border-radius: 0; break-inside: avoid-page; page-break-inside: avoid; }
  th, td { display: table-cell !important; padding: 5pt; border: 1px solid #999 !important; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
  th { color: #000; background: #eee; font-weight: 700; }
  td::before { display: none !important; content: none !important; }
  .report-paper { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .report-header { margin-bottom: 8pt; break-inside: avoid-page; }
  .report-header h2 { margin: 4pt 0 6pt; font-size: 18pt !important; }
  .report-block { padding: 6pt 0; margin: 0; }
  .report-block h3 { margin: 4pt 0 6pt; }
  .report-summary dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6pt; margin: 6pt 0; }
  .report-summary dl div { break-inside: avoid-page; }
  .report-summary dt { font-weight: 700; }
  .report-summary dd { margin: 3pt 0 0; }
  .report-note { font-size: 9pt; margin: 5pt 0; }
  .report-disclaimer { break-inside: avoid-page; font-size: 9pt; }
  .evidence-table { font-size: 8pt; }
  .evidence-table th:nth-child(1) { width: 6%; }
  .evidence-table th:nth-child(2) { width: 16%; }
  .evidence-table th:nth-child(3) { width: 12%; }
  .evidence-table th:nth-child(4) { width: 10%; }
  .evidence-table th:nth-child(5) { width: 16%; }
  .evidence-table th:nth-child(6) { width: 30%; }
  .evidence-table th:nth-child(7) { width: 10%; }
}
