/* A dedicated planner, with a separate two-sheet layout for paper. */
.checklist-intro { padding: 28px 0 42px; background: linear-gradient(110deg,#fff8f1 0%,#f8f8f4 65%,#eef2ed 100%); border-bottom: 1px solid var(--line); }
.checklist-intro .breadcrumb { margin-bottom: 28px; }
.checklist-intro-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,1fr); gap: 70px; align-items: center; }
.checklist-intro h1 { font-size: clamp(42px,5.3vw,68px); line-height: 1.08; }
.checklist-intro .page-lead { max-width: 620px; margin-top: 20px; font-size: 18px; line-height: 1.65; }
.checklist-intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.checklist-print-button { gap: 12px; }
.checklist-print-button .icon { width: 21px; height: 21px; }
.checklist-format-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.checklist-summary { position: relative; padding: 28px; background: #fff; border: 1px solid #d9e0da; border-top: 4px solid var(--orange); border-radius: 12px; box-shadow: 0 12px 35px rgba(30,42,32,.05); }
.checklist-summary-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; background: #fbe7d7; color: var(--orange-dark); border-radius: 50%; }
.checklist-summary .kicker { font-size: 10px; margin-bottom: 11px; }
.checklist-summary-count { display: flex; flex-direction: column; gap: 7px; }
.checklist-summary-count strong { font-size: clamp(22px,2.4vw,30px); line-height: 1.2; letter-spacing: -.04em; }
.checklist-summary-count > span { color: var(--muted); font-size: 12px; }
#checklist-progress { display: block; appearance: none; width: 100%; height: 9px; border: 0; border-radius: 10px; overflow: hidden; margin-top: 20px; background: #e9ede8; accent-color: var(--orange-dark); }
#checklist-progress::-webkit-progress-bar { background: #e9ede8; border-radius: 10px; }
#checklist-progress::-webkit-progress-value { background: var(--orange-dark); border-radius: 10px; }
#checklist-progress::-moz-progress-bar { background: var(--orange-dark); border-radius: 10px; }
.checklist-summary #checklist-note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; min-height: 2.8em; }
.checklist-reset-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 5px; }
.checklist-reset-actions .text-button { padding: 6px 0; font-size: 12px; color: var(--muted); }
#undo-checklist-reset { color: var(--orange-dark); font-weight: 700; }
.checklist-workspace { padding-top: 28px; padding-bottom: 60px; }
.checklist-stage-nav { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-bottom: 28px; }
.checklist-stage-nav a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 9px; min-height: 48px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; font-weight: 750; line-height: 1.35; text-align: center; }
.checklist-stage-nav a > span { color: var(--orange-dark); font-size: 10px; }
.checklist-stage-nav a:hover { border-color: var(--orange); background: #fff8f1; }
.checklist-sheets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
.checklist-sheet { display: contents; }
.checklist-card { min-width: 0; padding: 25px 27px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: calc(var(--header-height) + 20px); }
.checklist-card-heading { display: flex; align-items: flex-start; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.checklist-step { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; background: #fae8d9; border-radius: 9px; color: var(--orange-dark); font-size: 13px; font-weight: 800; }
.checklist-card-heading > div { min-width: 0; padding-top: 1px; }
.checklist-card .kicker { font-size: 10px; margin-bottom: 7px; letter-spacing: .1em; }
.checklist-card h2 { font-size: 25px; line-height: 1.18; }
.checklist-group-count { flex: 0 0 auto; margin-left: auto; padding-top: 4px; color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.checklist-item { position: relative; display: flex; align-items: flex-start; gap: 13px; min-height: 52px; padding: 15px 0; cursor: pointer; }
.checklist-item + .checklist-item { border-top: 1px solid #edf0ec; }
.checklist-item input { position: absolute; left: 0; top: 17px; width: 22px; height: 22px; margin: 0; opacity: 0; }
.checklist-box { position: relative; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border: 1.5px solid #7c8880; border-radius: 5px; background: #fff; }
.checklist-item-text { color: #454e49; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.checklist-item input:checked + .checklist-box { background: var(--orange-dark); border-color: var(--orange-dark); }
.checklist-item input:checked + .checklist-box::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checklist-item input:checked ~ .checklist-item-text { color: #596166; text-decoration: line-through; text-decoration-color: #a4b0a6; }
.checklist-item input:focus-visible + .checklist-box { outline: 3px solid #195ea4; outline-offset: 4px; }
.checklist-item:hover .checklist-box { border-color: var(--orange-dark); }
.checklist-bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 32px; padding: 30px; background: #f3f5f1; border-radius: 12px; }
.checklist-bottom > div { max-width: 710px; }
.checklist-bottom h2 { font-size: 30px; }
.checklist-bottom p { margin-top: 13px; font-size: 14px; }
.checklist-bottom .button { flex: 0 0 auto; }
.checklist-bottom-links { display: flex; flex-wrap: wrap; gap: 5px 25px; margin-top: 12px; }
.checklist-bottom-links .text-link { font-size: 13px; min-height: 44px; }
.checklist-print-brand, .checklist-print-details, .checklist-print-continuation, .checklist-print-notes, .checklist-print-footer { display: none; }
.no-js .checklist-print-button, .no-js .checklist-summary, .no-js .checklist-group-count { display: none; }
.checklist-noscript { margin-top: 18px; font-size: 14px; }

@media (max-width: 1050px) {
  .checklist-intro-grid { gap: 35px; grid-template-columns: minmax(0,1.3fr) minmax(270px,1fr); }
  .checklist-stage-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .checklist-card { padding-inline: 22px; }
  .checklist-card h2 { font-size: 23px; }
  .checklist-group-count { font-size: 10px; }
}
@media (max-width: 720px) {
  .checklist-intro { padding: 22px 0 28px; }
  .checklist-intro .breadcrumb { margin-bottom: 24px; }
  .checklist-intro-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .checklist-intro h1 { font-size: clamp(38px,8.5vw,52px); }
  .checklist-intro .page-lead { font-size: 16px; margin-top: 17px; }
  .checklist-intro-actions { margin-top: 20px; gap: 14px; }
  .checklist-intro-actions .button { padding-inline: 18px; }
  .checklist-format-note { font-size: 11px; }
  .checklist-summary { padding: 20px; }
  .checklist-summary-icon { float: right; width: 34px; height: 34px; margin: 0 0 0 15px; }
  .checklist-summary-count strong { font-size: 25px; }
  .checklist-summary #checklist-note { min-height: 0; }
  .checklist-reset-actions { margin-top: 2px; }
  .checklist-workspace { padding-top: 20px; padding-bottom: 32px; }
  .checklist-stage-nav { gap: 8px; margin-bottom: 20px; }
  .checklist-stage-nav a { flex-direction: column; gap: 3px; font-size: 11px; padding: 10px 5px; }
  .checklist-sheets { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .checklist-card { padding: 22px 20px 8px; }
  .checklist-card h2 { font-size: 25px; }
  .checklist-item { gap: 13px; padding-block: 16px; }
  .checklist-item-text { font-size: 15px; }
  .checklist-bottom { display: block; padding: 25px 22px; margin-top: 22px; }
  .checklist-bottom h2 { font-size: 28px; }
  .checklist-bottom > .button { margin-top: 20px; width: 100%; }
}
@media (max-width: 370px) {
  .checklist-card { padding-inline: 16px; }
  .checklist-card-heading { gap: 10px; }
  .checklist-step { width: 34px; height: 34px; }
  .checklist-card h2 { font-size: 23px; }
  .checklist-group-count { font-size: 10px; }
}

@page { size: auto; margin: 12mm 14mm; }
@media print {
  html, body { background: #fff !important; color: #111 !important; font-size: 11pt; line-height: 1.35; }
  body { margin: 0 !important; padding: 0 !important; }
  .utility-bar, .site-header, .site-footer, .mobile-actions, .skip-link, .checklist-screen-only, .checklist-noscript { display: none !important; }
  .wrap { width: 100% !important; max-width: none !important; margin: 0 !important; padding-inline: 0 !important; }
  .checklist-intro { padding: 0 0 4mm; background: none; border: 0; }
  .checklist-print-brand { display: flex; justify-content: space-between; align-items: baseline; gap: 5mm; padding-bottom: 3mm; margin-bottom: 4mm; border-bottom: 1.5pt solid #222; font-size: 8.5pt; }
  .checklist-print-brand strong { font-size: 10pt; }
  .checklist-intro-grid { display: block; }
  .checklist-intro .kicker { display: none; }
  .checklist-intro h1 { font-size: 25pt; line-height: 1.1; }
  .checklist-intro .page-lead { margin-top: 2.5mm; max-width: none; font-size: 10pt; line-height: 1.4; color: #333; }
  .checklist-print-details { display: flex; gap: 8mm; margin-top: 4mm; font-size: 9pt; }
  .checklist-print-details > span { display: block; width: 36%; white-space: nowrap; }
  .checklist-print-details > span + span { width: 64%; }
  .checklist-print-details i { display: inline-block; width: 58%; margin-left: 2mm; border-bottom: .5pt solid #777; height: 4mm; }
  .checklist-workspace { padding: 0; }
  .checklist-sheets, .checklist-sheet { display: block; }
  .checklist-sheet + .checklist-sheet { break-before: page; page-break-before: always; }
  .checklist-card { padding: 0; margin: 0 0 4mm; border: 0; border-radius: 0; break-inside: avoid; page-break-inside: avoid; }
  .checklist-card-heading { gap: 3mm; align-items: center; padding-bottom: 2mm; border-bottom: .75pt solid #777; }
  .checklist-step { display: flex; align-items: center; justify-content: center; width: 8mm; height: 8mm; background: none; border: .75pt solid #555; border-radius: 2mm; color: #111; font-size: 10pt; }
  .checklist-card-heading > div { display: block; flex: 1; padding: 0; }
  .checklist-card .kicker { display: inline; margin: 0 3mm 0 0; color: #333; font-size: 9pt; letter-spacing: 0; }
  .checklist-card h2 { display: inline; font-size: 13pt; letter-spacing: -.02em; }
  .checklist-group-count { display: none; }
  .checklist-item { gap: 3mm; min-height: 0; padding: 1.8mm 0; break-inside: avoid; page-break-inside: avoid; }
  .checklist-item + .checklist-item { border: 0; }
  .checklist-item input { top: 2mm; width: 3.5mm; height: 3.5mm; }
  .checklist-box { width: 3.5mm; height: 3.5mm; margin-top: .5mm; border: .75pt solid #111; border-radius: .5mm; background: none !important; }
  .checklist-item-text, .checklist-item input:checked ~ .checklist-item-text { font-size: 10.5pt; line-height: 1.35; color: #111; text-decoration: none; overflow-wrap: normal; }
  .checklist-item input:checked + .checklist-box { border-color: #111; }
  .checklist-item input:checked + .checklist-box::after { left: 1mm; top: .1mm; width: 1mm; height: 2.2mm; border-color: #111; border-width: 0 1.1pt 1.1pt 0; }
  .checklist-print-continuation { display: flex; justify-content: space-between; gap: 5mm; margin-bottom: 5mm; padding-bottom: 3mm; border-bottom: 1.5pt solid #222; font-size: 9pt; }
  .checklist-print-notes { display: block; margin-top: 5mm; break-inside: avoid; page-break-inside: avoid; }
  .checklist-print-notes h2 { font-size: 11pt; }
  .checklist-print-notes > div { height: 8mm; border-bottom: .5pt solid #999; }
  .checklist-print-footer { display: block; padding-top: 5mm; font-size: 8pt; text-align: center; color: #444; }
}
