.report-actions {
  margin-bottom: 16px;
}

@page {
  size: A4 portrait;
  margin: 14mm 13mm 16mm;
  @bottom-left {
    content: "ReLiner · Haalbaarheidsonderzoek";
    color: #51617a;
    font: 8pt Arial, sans-serif;
  }
  @bottom-right {
    content: "Pagina " counter(page) " / " counter(pages);
    color: #51617a;
    font: 8pt Arial, sans-serif;
  }
}

@media print {
  #work-survey { display: none !important; }
  #internal-report .sub h3 { margin-bottom: 1mm; }
  html, body { background: #fff; }
  body { font: 10pt/1.38 Arial, sans-serif; padding-right: 10mm; }
  .wrap { width: 100%; }
  .report-sticky, .report-actions, .toolbar, .jump, .footer, .media-actions,
  figure .actions, video, .top #area { display: none !important; }
  .print-only { display: inline; }
  .report-print-icon, .report-print-first-page {
    top: 0;
    right: 0;
    width: 8mm;
    height: 8mm;
  }
  .report-print-icon { position: fixed; z-index: 1; }
  .report-print-first-page {
    position: absolute;
    z-index: 2;
    border-top: 8mm solid white;
  }

  .top, .hero { background: #fff; color: #021844; }
  .bar { min-height: 0; padding: 0 0 3mm; }
  .brand { color: #021844; }
  .hero { padding: 2mm 0 5mm; border-bottom: 1pt solid #ff8524; }
  .hero-inner { gap: 5mm; grid-template-columns: 1fr; }
  .hero-inner.has-cover { grid-template-columns: 1.4fr 1fr; }
  .hero h1 { font-size: 21pt; }
  .hero p { color: #132342; }
  .cover { max-height: 47mm; object-fit: contain; }
  .hero { break-inside: avoid; }

  .content { padding-block: 5mm 0; }
  .panel { border: 0; border-radius: 0; padding: 0; margin: 0 0 6mm; }
  .panel h2 {
    font-size: 14pt;
    color: #021844;
    border-top: 1pt solid #aabbd3;
    padding-top: 2mm;
    margin-bottom: 2mm;
  }
  .panel h3 { font-size: 11pt; color: #021844; }
  h1, h2, h3, dt, summary { break-after: avoid; }
  dd { orphans: 3; widows: 3; }
  dl.grid, .findings, .media-grid { display: block; }
  dl.grid > div { margin-bottom: 2mm; }
  dl.grid > div:not(.wide) { display: inline-block; width: 49%; vertical-align: top; }
  .sub { padding: 2.5mm 0; background: #fff; border: 0; margin: 1mm 0; }

  .table { overflow: visible; }
  table { width: 100%; table-layout: fixed; font-size: 8pt; margin-bottom: 3mm; }
  thead { display: table-header-group; }
  th, td { padding: 1.5mm 0.8mm; overflow-wrap: anywhere; }
  tr { break-inside: avoid; }
  .pipe-group > .table th:nth-child(1) { width: 7%; }
  .pipe-group > .table th:nth-child(2) { width: 14%; }
  .pipe-group > .table th:nth-child(3) { width: 18%; }
  .pipe-group > .table th:nth-child(4) { width: 11%; }
  .pipe-group > .table th:nth-child(5),
  .pipe-group > .table th:nth-child(7) { width: 6%; }
  .pipe-group > .table th:nth-child(6) { width: 14%; }
  .pipe-group > .table th:nth-child(8),
  .pipe-group > .table th:nth-child(9) { width: 12%; }
  table a { text-decoration: none; color: inherit; }

  .media-grid { margin-top: 2mm; }
  figure {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    margin: 0 1% 2mm 0;
    break-inside: avoid;
    border-radius: 2mm;
  }
  figure img { height: auto; max-height: 64mm; object-fit: contain; background: #fff; }
  figure figcaption { padding: 1.5mm; font-size: 8pt; }
  .video-attachment .video-link { display: block; }
}
@media print {
  .top { border: 0; }
  .brand img { width: 43mm; }
}

