.used-checklist { max-width: 1050px; margin-block: clamp(32px, 6vw, 76px); }
.checklist-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.checklist-hero h1 { font-size: clamp(40px, 7vw, 78px); margin: 0 0 14px; }
.checklist-hero p { max-width: 48ch; }
.checklist-hero figure { margin: 0; }
.checklist-hero img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 2px solid var(--ink); }
.checklist-hero figcaption { margin-top: 8px; font-size: .75rem; }
.checklist-actions, .checklist-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.checklist-actions[hidden], .checklist-progress[hidden], .checklist-print-details { display: none; }
.checklist-actions button, .checklist-progress button {
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  min-height: 44px;
  padding: 7px 14px;
  cursor: pointer;
}
.checklist-actions button:first-child { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.checklist-progress button:disabled { opacity: .55; cursor: default; }
.checklist-status { min-height: 1.5em; overflow-wrap: anywhere; }
.checklist-progress { justify-content: space-between; margin: 24px 0 14px; }
.checklist-progress p { margin: 0; font-weight: 750; }
.checklist-stages { display: grid; gap: 20px; margin-block: 24px; }
.checklist-stage { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--paper); }
.checklist-stage h2 { margin: 0; border-bottom: 2px solid var(--ink); background: var(--blue); padding: 12px 18px; font-size: 1.5rem; }
.checklist-stage:nth-child(2) h2 { background: var(--lilac); }
.checklist-stage:nth-child(3) h2 { background: var(--sage); }
.checklist-stage ul { list-style: none; margin: 0; padding: 0 18px; }
.checklist-stage li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 12px 0; }
.checklist-stage li + li { border-top: 1px solid currentColor; }
.checklist-stage input { width: 22px; height: 22px; accent-color: var(--ink); margin: 4px 0 0; cursor: pointer; }
.checklist-stage label { display: block; padding-block: 3px; font-weight: 750; cursor: pointer; }
.checklist-stage p { margin: 0; }
.checklist-sources h2 { font-size: 1.25rem; }
.checklist-sources ul { padding-left: 1.25em; }
.checklist-sources li { margin-bottom: .35em; }

@media (max-width: 680px) {
  .checklist-hero { grid-template-columns: 1fr; gap: 16px; }
  .checklist-hero img { aspect-ratio: 2 / 1; }
  .checklist-stage ul { padding-inline: 12px; }
}

@media print {
  @page { margin: 12mm; }
  .site-header, .site-footer, .skip, .checklist-hero figure, .checklist-hero > div > p,
  .checklist-actions, .checklist-progress, .checklist-sources { display: none !important; }
  .used-checklist { width: auto; max-width: none; margin: 0; color: black; font: 10pt / 1.25 Arial, sans-serif; }
  .checklist-hero { display: block; }
  .checklist-hero h1 { font-size: 24pt; margin-bottom: 4pt; }
  .checklist-print-details { display: block; margin-bottom: 4pt; }
  .checklist-print-details p { margin: 2pt 0; color: black; }
  .checklist-print-details h2 { font-size: 11pt; margin: 8pt 0 2pt; }
  .checklist-stages { display: block; margin: 6pt 0 0; }
  .checklist-stage { break-inside: avoid; border: 0; box-shadow: none; margin-bottom: 6pt; background: white; }
  .checklist-stage h2 { padding: 3pt 0; background: white !important; border-bottom: 1px solid black; font-size: 12pt; }
  .checklist-stage ul { padding: 0; }
  .checklist-stage li { grid-template-columns: 12pt minmax(0, 1fr); gap: 5pt; padding: 2pt 0; border: 0; }
  .checklist-stage label { padding: 0; }
  .checklist-stage input { appearance: none; display: grid; place-items: center; width: 10pt; height: 10pt; border: 1px solid black; margin: 1pt 0 0; }
  .checklist-stage input:checked::after { content: '✓'; font-size: 8pt; }
  .checklist-stage p { color: black; }
}
