/* Printable worksheets (/print/<id>/). Designed for A4 and US Letter with restrained ink. */
.print-body { background: #e9e4d8; }
.sheet { max-width: 780px; margin: 24px auto; padding: 36px 40px; background: #fff; color: #1b2a22; box-shadow: var(--shadow-2); font-size: 11pt; line-height: 1.45; }
.sheet__head { border-bottom: 1.5px solid #1e4434; padding-bottom: 10px; margin-bottom: 14px; }
.sheet__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 10pt; color: #1e4434; }
.sheet__brand svg { width: 20px; height: 20px; }
.sheet h1, .sheet .h1 { font-size: 21pt; margin-top: 6px; line-height: 1.15; }
.sheet__desc { margin-top: 4px; color: #4a564e; font-size: 10pt; }
.sheet__fields { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 6px 0 14px; }
.sheet__fields span { flex: 1 1 200px; border-bottom: 1px solid #8b8f86; padding-bottom: 2px; font-size: 9.5pt; color: #4a564e; min-height: 24px; }
.sheet h2 { font-family: var(--font-text); font-weight: 750; font-size: 10.5pt; letter-spacing: .02em; color: #1e4434; }
.hint { font-size: 9pt; color: #6b7369; margin-top: 2px; }
.line { height: 26px; border-bottom: 1px solid #b9b2a3; }
.write-block { margin-bottom: 12px; break-inside: avoid; }
.write-block.filled p { padding: 6px 0 8px; border-bottom: 1px solid #b9b2a3; font-family: var(--font-text); font-style: italic; }
.sheet__box { margin: 12px 0; padding: 10px 12px; border: 1px solid #c9bba3; border-radius: 8px; break-inside: avoid; }
.sheet__box.small { font-size: 9.5pt; }
.sheet__box p { margin-top: 4px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; border-bottom: 1px dotted #c9bba3; }
.box { flex: none; display: inline-block; width: 13px; height: 13px; margin-top: 3px; border: 1.3px solid #1b2a22; border-radius: 2px; vertical-align: -2px; }
.choices-row .box { margin: 0 4px 0 12px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.sheet th { text-align: start; font-size: 8.5pt; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: #1e4434; border-bottom: 1.5px solid #1e4434; padding: 6px 6px; }
.sheet td { border-bottom: 1px solid #b9b2a3; padding: 6px; vertical-align: top; height: 34px; }
.track7 td { height: 54px; }
.track7 td.n { width: 34px; font-family: var(--font-display); font-size: 14pt; color: #1e4434; }
.track7 td.task { width: 34%; color: #4a564e; font-size: 9pt; }
.track7 td.status { width: 80px; }
.opts { font-size: 8pt; color: #8b8f86; letter-spacing: .06em; }
.key { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 8.5pt; color: #4a564e; }
.key b { color: #1e4434; }
.grid30 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.grid30 .cell { position: relative; height: 70px; border: 1px solid #b9b2a3; border-radius: 6px; padding: 4px 6px; display: flex; flex-direction: column; justify-content: space-between; }
.grid30 .d { font-family: var(--font-display); font-size: 13pt; color: #1e4434; }
.grid30 .date { position: absolute; top: 6px; right: 6px; font-size: 7pt; color: #b9b2a3; }
.checkins { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin-top: 6px; }
.monthgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 8px; }
.monthgrid .wd { text-align: center; font-size: 8.5pt; font-weight: 750; color: #1e4434; text-transform: uppercase; letter-spacing: .06em; }
.mcell { height: 66px; border: 1px solid #b9b2a3; border-radius: 6px; padding: 4px 5px; display: flex; flex-direction: column; justify-content: space-between; }
.dateline { display: block; width: 26px; border-bottom: 1px solid #8b8f86; height: 16px; }
.q4 { margin: 6px 0 0; padding-inline-start: 1.2em; }
.pz-table td.opts { font-size: 7.5pt; line-height: 1.25; width: 30%; }
.inv-table tr.ex td { color: #6b7369; font-style: italic; background: #faf6ec; }
.weeks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.wk .q { font-size: 9pt; color: #4a564e; margin-top: 4px; }
.wk .line { height: 22px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
ul.pre { margin: 4px 0; padding-inline-start: 1.1em; font-size: 9pt; color: #4a564e; }
.trig { margin: 6px 0 12px; }
.trig td { height: 40px; }
.trig td:first-child { width: 90px; font-weight: 650; }
.sheet__head--example { margin-top: 0; }
.ex-tag { display: inline-block; padding: 2px 8px; border: 1px solid #c79a3b; border-radius: 999px; font-size: 8pt; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: #7f5a12; }
.page-break { break-after: page; height: 0; }
.sheet__foot { margin-top: 18px; padding-top: 8px; border-top: 1px solid #ddd2bf; font-size: 8pt; color: #6b7369; }

@media screen and (max-width: 40rem) {
  .sheet { margin: 0; padding: 20px 16px; box-shadow: none; }
  .grid30 { grid-template-columns: repeat(3, 1fr); }
  .weeks, .two-col, .checkins { grid-template-columns: 1fr; }
  .monthgrid { gap: 2px; } .mcell { height: 56px; }
  .sheet table { font-size: 8.5pt; }
}
@media print {
  @page { margin: 13mm 12mm 16mm; }
  html, body, .print-body { background: #fff !important; }
  .sheet { margin: 0; padding: 0; box-shadow: none; max-width: none; }
  .sheet__foot { display: none; }
  .page-break { break-after: page; }
}
