/* print.css — the preview's Print (download.js): only #printout goes on
   paper, each page at its own size, edge to edge as a PDF viewer prints
   "actual size". Only index.html links it, so the Terms and other pages
   print with normal margins. Without html.printing (Ctrl+P on the app)
   the app prints as it is, but without margins. */
@page { margin: 0; }
@page land { size: landscape; margin: 0; }
html.printing, html.printing body { height: auto !important; overflow: visible !important;
  display: block !important; position: static !important; background: #fff !important; }
html.printing body > :not(#printout) { display: none !important; }
html.printing #printout { display: block; }
.printpage { break-after: page; break-inside: avoid; }
.printpage:last-child { break-after: auto; }
.printpage.land { page: land; }
/* a hair under the sheet, so rounding can't spill onto a blank one */
.printpage img { display: block; margin: 0 auto; height: auto;
  max-width: 100%; max-height: 99.5vh; object-fit: contain; }
