/* The printable log, printed from the browser: the sheet alone, across a landscape page, on US Letter or A4 (each
   fits sixteen rows with 10 mm margins). Loaded with media="print" on /glp-1-tracker-template only, so no other page
   prints in landscape. The PDFs (website/src/medicines/log.mjs) draw the same sheet. */

@page { size: landscape; margin: 10mm; }

html, body { background: #FFFFFF; }
body > :not(main), main > :not(.log-stage) { display: none; }
.log-stage { padding: 0; }
.log-stage .wrap { max-width: none; padding: 0; }
.log-paper { overflow: visible; padding: 0; border-radius: 0; background: none; }
.sheet { min-width: 0; width: 100%; padding: 0; border-radius: 0; box-shadow: none; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sheet-title { font-size: 18pt; }
.sheet-field { font-size: 9pt; }
.sheet-hint { margin: 2.5mm 0 3mm; font-size: 7.5pt; }
.sheet-table th { padding: 1.6mm 1.6mm; font-size: 8.5pt; }
.sheet-table th span { font-size: 7pt; }
.sheet-table td { height: 9.4mm; }
.sheet-foot { margin-top: 2.5mm; font-size: 7.5pt; }
.log-swipe { display: none; }
