/* Print booklet: black on white, no nav, one module per page. */
@page { margin: 14mm; }
html { font-size: 12pt; }
body { background: #fff !important; color: #000 !important; display: block; }
.no-print, .site-header, .site-footer, .breadcrumbs, .pager, .btn, .skip-link { display: none !important; }
.print-only { display: block !important; }
main { width: auto; padding: 0; }
* { color: #000 !important; background: transparent !important; box-shadow: none !important; filter: none !important; }
.brick { margin-top: 0; padding: .5rem 0; }
.brick::before, .btn::before { display: none !important; }
.print-module { break-after: page; page-break-after: always; }
.print-module:last-child { break-after: auto; page-break-after: auto; }
.step { break-inside: avoid; grid-template-columns: 1fr 1fr; }
.img-slot { border: 2px dashed #000 !important; min-height: 120px; }
.evidence-box { border: 2px solid #000 !important; padding: .5rem; }
.evidence-lines { background: repeating-linear-gradient(#fff 0 28px, #000 28px 29px) !important; }
a { text-decoration: none; }
h1, h2, h3 { break-after: avoid; }
/* compact so one module fits one A4 page */
.booklet { padding: 0 !important; margin: 0 !important; border: 0 !important; }
.booklet .brick { padding: .4rem .7rem !important; margin: .5rem 0 0 !important; border: 1.5px solid #000 !important; }
.booklet .print-module + .print-module { border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
.steps { gap: .5rem; }
.img-slot { min-height: 105px !important; padding: .4rem; }
.img-slot .ico { display: none; }
h1 { font-size: 18pt; } h2 { font-size: 14pt; margin: .1em 0 .3em; }
.step .step-text { font-size: 11pt; }
.evidence-lines { height: 70px; }
/* v5: tighter so a typical module fits one A4 page; keep the closing boxes together */
html { font-size: 10.5pt; }
.module-head .goal { font-size: 11pt; }
.step { grid-template-columns: 3fr 2fr; gap: .6rem; }
.step .step-text { font-size: 10.5pt; }
.step .step-text::before { font-size: 10.5pt; }
.steps { gap: .35rem; }
.img-slot { min-height: 70px !important; }
.step figure img { max-height: 62mm; width: auto; max-width: 100%; }
.booklet .brick { padding: .3rem .6rem !important; margin: .35rem 0 0 !important; }
.booklet .brick h3, .booklet .brick h2 { margin: .1em 0 .2em; }
.evidence-lines { height: 58px; }
.evidence-box, .brick.green, .brick.orange { break-inside: avoid; page-break-inside: avoid; }
.booklet .brick > :last-child, .booklet .brick p:last-child, .booklet .brick ul:last-child { margin-bottom: 0 !important; }
.booklet .brick p { margin: .2em 0 .3em; }
.booklet .brick ul { margin: .2em 0; }
