@page {
  size: A4 landscape;
  margin: 0;
}

@media print {
  html,
  body {
    width: 297mm;
    min-height: 210mm;
    background: #FFFFFF;
  }

  .sheet {
    width: 297mm;
    min-height: 210mm;
    margin: 0;
    break-after: page;
  }

  .sheet:last-child {
    break-after: auto;
  }

  .page-header,
  .page-footer,
  .callout,
  .number-block,
  .timeline-step,
  .signature-block,
  tr {
    break-inside: avoid;
  }
}
