@media print {
  @page { margin: 18mm; }
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; text-shadow: none !important; }
  body { font: 10.5pt/1.45 Georgia, serif; }
  #ez-nav, #ez-footer, .announcement, .search-dialog, .cookie-banner, .cookie-dialog, .reading-progress, .filter-bar, .lens-controls, .newsletter, button { display: none !important; }
  .section, .article-hero { padding-block: 8mm; border-color: #aaa !important; }
  h1 { font-size: 30pt; max-width: none; }
  h2 { font-size: 22pt; max-width: none; break-after: avoid; }
  h3 { break-after: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; word-break: break-all; }
  img, figure, table, .source-card, .key-takeaways { break-inside: avoid; }
  .story { display: block; }
  .story-visual { position: static; }
  .story-step { min-height: 0; }
  .reading-shell { display: block; }
  .reading-shell > .prose { width: 100%; }
  table { min-width: 0; font-size: 8.5pt; }
  .table-wrap { overflow: visible; }
  body::after { content: "Habitat Index — general information only; not a substitute for professional inspection or advice."; display: block; margin-top: 10mm; padding-top: 4mm; border-top: 1px solid #000; font-size: 8pt; }
}
