/* Print stylesheet: A4 and US Letter, black and white legible, page breaks before major sections. */
@page { margin: 18mm 16mm; }
body { font-size: 11pt; color: #000; background: #fff; }
.masthead, .footer__links, .devbar, .noprint, .sitenav, .btn, .skip, .wsnav, .paid { display: none !important; }
a { color: #000; text-decoration: none; }
.card, .ladder__step { border: 1px solid #000; break-inside: avoid; }
.report section, .rpt section { break-inside: avoid-page; }
.rpt h2 { break-before: auto; }
.rpt .rpt__part { break-before: page; }
.ph { outline: 1px dashed #000; background: none; }
.sample-label { display: block !important; border: 1px solid #000; }

/* Decision report: one part per page block, black and white legible; fictional label repeats on every page */
.rp-page { break-inside: avoid-page; border-top: 1px solid #000; }
.rp-page + .rp-page { break-before: auto; }
.report-frame .banner--fict, .fict { border: 1px dashed #000 !important; background: none !important; }
.table-wrap { overflow: visible !important; }
.report table { font-size: 9pt; }

/* Workspace: print the content only */
.ws-nav, .ws-signout, .ws-save, .noprint { display: none !important; }
.ws-frame { display: block !important; }

/* LIB-1 Library: print resources as worksheets; the point-of-need panel stays on screen only */
.lib-panel, .lib-filter, .lib-field__form { display: none !important; }
.lib-tpl__text { background: none; border: 1px solid #000; }
.lib-box { border-color: #000; }
/* Printable pack (offer gap fix, 30 Nov 2026): one resource per block, buttons hidden, no split templates. */
.ws-lib-pack .btnrow { display: none !important; }
.lib-pack__sec { break-inside: avoid-page; page-break-inside: avoid; }
.ws-lib-pack .lib-tpl { break-inside: avoid; page-break-inside: avoid; }
