/* shared/handout-out.css — a handout on paper (shared/handout-out.js).
   The container is made for the print sheet and only shows there. */
.fv-print-sheet {
  display: none;
}
@page {
  margin: 8mm;
}
@media print {
  body.fv-printing > *:not(.fv-print-sheet) {
    display: none !important;
  }
  body.fv-printing {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.fv-printing > .fv-print-sheet {
    display: block !important;
  }
  .fv-print-sheet .fv-print-page {
    display: block;
    max-width: 100%;
    max-height: 98vh;
    margin: 0 auto;
    object-fit: contain;
    break-after: page;
    page-break-after: always;
  }
  .fv-print-sheet .fv-print-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }
}
