@media print {
  /* Hide interactive elements */
  [data-global-nav], .global-nav, nav,
  .recall-btn, .recall-rating, .recall-summary,
  .search-overlay, .search-box,
  button, .theme-toggle { display: none !important; }

  /* Show all recall answers (no hidden content when printing) */
  .recall-a { display: block !important; opacity: 1 !important; }

  /* Clean layout */
  body { font-size: 12pt; line-height: 1.6; color: #000; background: #fff; }
  article { max-width: 100%; margin: 0; padding: 0; }

  /* Code blocks */
  pre { border: 1px solid #ccc; padding: 8px; font-size: 10pt; white-space: pre-wrap; }
  code { color: #000; }

  /* Page breaks */
  h2 { page-break-before: always; }
  h2:first-of-type { page-break-before: avoid; }
  pre, table { page-break-inside: avoid; }

  /* Show URLs for links */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}
