/* Print / Save as PDF layout for the sample audit report (work-audit.html).
   Only the report itself is printed: site navigation, hero, CTA and footer are hidden. */
@media print {
  @page {
    size: A4;
    margin: 14mm 14mm 16mm;
  }

  html,
  body {
    background: #ffffff !important;
    font-size: 10pt;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .page,
  .disclosure,
  .report__aside,
  .project-nav,
  .section--tight,
  .cta,
  .footer,
  .mobile-menu {
    display: none !important;
  }

  .content,
  .section--report {
    padding: 0 !important;
    background: #ffffff !important;
  }

  .report {
    display: block !important;
  }

  .report__doc {
    border: none !important;
    padding: 0 !important;
  }

  .js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .report__cover {
    padding-bottom: 16pt;
  }

  .report__kicker {
    margin-top: 18pt;
  }

  .report__title {
    font-size: 24pt;
  }

  .report__meta {
    grid-template-columns: repeat(3, 1fr) !important;
    margin-top: 12pt;
  }

  .report__section {
    padding-top: 18pt;
    break-inside: auto;
  }

  .report__h2 {
    font-size: 15pt;
    margin-bottom: 8pt;
    break-after: avoid;
  }

  .report__h2 span {
    width: 22pt;
    height: 22pt;
    font-size: 10pt;
  }

  .report__h3 {
    break-after: avoid;
  }

  .report__section > p {
    max-width: none;
    margin-bottom: 8pt;
  }

  .table-wrap {
    overflow: visible !important;
    border-color: #cfd6de !important;
  }

  .data-table,
  .data-table--wide {
    min-width: 0 !important;
    font-size: 8.5pt;
  }

  .data-table th,
  .data-table td {
    padding: 5pt 6pt;
  }

  .data-table thead {
    display: table-header-group;
  }

  .data-table thead th {
    white-space: normal !important;
    letter-spacing: 0.02em;
    font-size: 7pt;
  }

  .data-table--wide {
    table-layout: fixed;
    font-size: 7.5pt;
  }

  .data-table--wide th,
  .data-table--wide td {
    padding: 4pt 4pt;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .pill,
  .evidence {
    white-space: normal !important;
    padding: 1pt 4pt;
    font-size: 7pt;
  }

  .data-table tr {
    break-inside: avoid;
  }

  .sum-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6pt;
  }

  .sum-card,
  .phase,
  .quad,
  .mini-flow,
  .matrix {
    break-inside: avoid;
  }

  .sum-card {
    padding: 8pt;
  }

  .two-col {
    grid-template-columns: 1fr 1fr !important;
  }

  .matrix__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .quad {
    min-height: 0;
    padding: 9pt;
  }

  .phases {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6pt;
  }

  .phase {
    padding: 9pt;
  }

  .report__end {
    margin-top: 18pt;
  }

  a {
    text-decoration: none !important;
  }
}
