@media print {
  .site-header, .site-footer, .search-widget, .provider-actions, .skip-link,
  .nav-toggle, .cluster-section, .related-section, .faq-section, .author-bio,
  .page-toc, .print-checklist-cta, .cost-estimator, .provider-directory-section {
    display: none !important;
  }
  body { font-size: 12pt; color: #000; background: #fff; }
  main { max-width: none; padding: 0; margin: 0; }
  h2 { page-break-after: avoid; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #333; }
  table, .checklist { page-break-inside: avoid; }
  .checklist input[type="checkbox"] { -webkit-appearance: checkbox; appearance: checkbox; }

  /* Only the checklist itself prints when triggered from the discharge guide;
     everything outside #checklist-print-area is hidden via the generic rules
     above so printing this page doesn't dump the whole 1,200+ word article. */
  body:has(#checklist-print-area) .page-body,
  body:has(#checklist-print-area) h1 + .quick-answer-box {
    display: none !important;
  }
}
