/* Print stylesheet: clean black-on-white checklist, organized by tier then category. */
@page { margin: 14mm; }
html, body { background: #fff !important; color: #000 !important; font-size: 11pt; }
header.site, footer.site, .skip, .noprint, .actions, .tabs, .navtoggle, .side, .planlayout .side { display: none !important; }
main.wrap { max-width: none; padding: 0; min-height: 0; }
.sheet { border: 0 !important; padding: 0 !important; margin: 0 !important; max-width: none !important; columns: 1 !important; page-break-after: always; break-after: page; }
.sheet:last-of-type { page-break-after: auto; break-after: auto; }
.pcat { break-inside: avoid; page-break-inside: avoid; margin-bottom: 8pt; }
.pitems li { break-inside: avoid; page-break-inside: avoid; }
.pitems .box { border-color: #000 !important; }
h1, h2, h3 { color: #000 !important; text-transform: none !important; letter-spacing: 0 !important; }
h3 { border-bottom: 1.5px solid #000; padding-bottom: 2pt; }
a { color: #000 !important; text-decoration: none; }
/* Shopping list print */
.shoptable { display: block; } .shopsec { break-inside: avoid; } .shopcat { break-inside: avoid; margin-bottom: 8pt; }
.shoplist li { border-bottom: 1px dotted #888; } .shoplist input { width: 12pt; height: 12pt; }
.btn { display: none !important; } .meta { color: #333 !important; } .notice { box-shadow: none !important; border: 1px solid #000 !important; }
/* What to do when */
.printonly { display: block !important; }
.scensheet { break-after: page; page-break-after: always; }
.scensheet:last-child { break-after: auto; page-break-after: auto; }
.scenlayout { display: block !important; }
.steplist li { border: 0 !important; padding: 2pt 0 !important; display: flex; gap: 8pt; font-size: 12pt; break-inside: avoid; }
.steplist .box { width: 12pt; height: 12pt; border: 1.5px solid #000; flex: none; margin-top: 2pt; display: inline-block; }
.steplist input { width: 12pt; height: 12pt; }
.phase { break-inside: avoid; } .phase h3 { border-color: #000 !important; }
.calm { font-size: 12pt; font-style: italic; }
.sheetfoot { font-size: 9pt; border-top: 1px solid #999; margin-top: 10pt; padding-top: 4pt; }
.pamt { font-size: .9em; }
/* Household plan: full sheet by default, wallet cards when that button was used */
.hhwallet { display: none; }
body.print-wallet .hhsheet { display: none; }
body.print-wallet .hhwallet { display: block; }
.hhsheet h2 { font-size: 18pt; margin-bottom: 2pt; }
.hhp { break-inside: avoid; margin-bottom: 9pt; }
.hhp h3 { font-size: 12pt; margin: 6pt 0 3pt; }
.hhp table { border-collapse: collapse; width: 100%; font-size: 10.5pt; }
.hhp th, .hhp td { border: 1px solid #000; padding: 3pt 5pt; text-align: left; vertical-align: top; }
.hhp dl { display: grid; grid-template-columns: max-content 1fr; gap: 2pt 10pt; margin: 0; font-size: 10.5pt; }
.hhp dt { font-weight: 700; } .hhp dd { margin: 0; }
.wnote { font-size: 9pt; font-style: italic; }
.wpair { display: flex; break-inside: avoid; margin: 0 0 6mm; }
.wcard { width: 85mm; height: 54mm; border: 1px dashed #000; padding: 3mm 3.5mm; overflow: hidden; font-size: 7.5pt; line-height: 1.25; font-family: Arial, Helvetica, sans-serif; }
.wcard h4 { font-size: 8pt; margin: 0 0 1mm; text-transform: uppercase; letter-spacing: .04em; border-bottom: .5pt solid #000; }
.wcard h4 + p { margin-top: 0; } .wcard p { margin: 0 0 .6mm; } .wcard h4:not(:first-child) { margin-top: 1.5mm; }
.wfoot { font-weight: 700; margin-top: 1mm !important; }
