/* Owner-selected "Your night, on paper": one list from the guide's own data.
   Auto paper size preserves the reader's Letter/A4 choice. */
@page { size: auto; margin: 11.3mm; }

@media print {
  html, body[data-guide-slug] { background: white; }
  body[data-guide-slug] { color: #18322f; margin: 0; padding: 0 !important; }
  body[data-guide-slug] > :not(main),
  body[data-guide-slug] main > :not(.checklist-print) { display: none !important; }
  body[data-guide-slug] main { display: block; margin: 0; max-width: none; padding: 0; width: auto; }
  .checklist-print { display: block; font: 8.3pt/10.1pt "DM Sans", sans-serif; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .checklist-print [hidden] { display: none !important; }
  .checklist-print-header { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 12pt; }
  .checklist-print-brand { align-items: center; display: flex; gap: 9pt; }
  .checklist-print-brand img { height: 28pt; width: 28pt; }
  .checklist-print-brand strong { display: block; font: 700 13pt/16pt "Space Grotesk", sans-serif; }
  .checklist-print-brand span { display: block; font-size: 5.6pt; font-weight: 700; line-height: 8pt; }
  .checklist-print-date { background: #d8f35b; font: 700 9pt/19pt "Space Grotesk", sans-serif; min-width: 57pt; text-align: center; }
  .checklist-print h2 { font: 700 18pt/21pt "Space Grotesk", sans-serif; letter-spacing: 0; margin: 0 0 7pt; text-transform: uppercase; }
  .checklist-print-lead { color: #5c6967; font-size: 8.5pt; line-height: 11pt; margin: 0 0 12pt; }
  .checklist-print-step { border-bottom: .35pt solid #cad0cb; break-inside: avoid; display: grid; gap: 12pt; grid-template-columns: 137pt minmax(0, 1fr); padding: 0 0 3pt; }
  .checklist-print-step h3 { font: 700 9.3pt/11.5pt "Space Grotesk", sans-serif; letter-spacing: 0; margin: 0; padding-right: 6pt; }
  .checklist-print-step h3 span { color: #1f6f67; }
  .checklist-print-step ul { list-style: none; margin: 0; padding: 0; }
  .checklist-print-step li { margin: 0 0 .8pt; padding-left: 13pt; position: relative; }
  .checklist-print-step li::before { border: .65pt solid #18322f; content: ""; height: 6pt; left: 0; position: absolute; top: 1.5pt; width: 6pt; }
  .checklist-print-timeline { break-inside: avoid; margin-top: 8pt; }
  .checklist-print-timeline h3 { color: #1f6f67; font: 700 8.5pt/11pt "Space Grotesk", sans-serif; margin: 0 0 9pt; text-transform: uppercase; }
  .checklist-print-timeline dl { margin: 0; }
  .checklist-print-timeline dl > div { border-top: .45pt solid #cad0cb; display: grid; gap: 8pt; grid-template-columns: 112pt minmax(0, 1fr); padding: 3pt 0 5pt; }
  .checklist-print-timeline dt, .checklist-print-timeline dd { font-size: 7.8pt; line-height: 9.5pt; margin: 0; }
  .checklist-print-timeline dt { font-weight: 700; }
  /* Keep the source in normal page flow, not anchored to the screen viewport.
     The interactive print preview must include it even from a scrolled guide. */
  .checklist-print-footer { border-top: .55pt solid #18322f; break-inside: avoid; display: flex; flex-wrap: wrap; font-size: 7.2pt; gap: 4pt; line-height: 10pt; margin-top: 8pt; padding-top: 6pt; position: static; }
  .checklist-print-footer a { color: #1f6f67; font-weight: 700; text-decoration: none; }
}
