/* Print stylesheet — ink-friendly, readable output when a page is printed or
   saved as PDF. Loaded via <link media="print"> so it has ZERO effect on screen.
   Strips site chrome (header/nav/footer, particle canvas, cookie banner) and
   forces high-contrast black-on-white text. */
@media print {
  :root {
    color-scheme: light;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  /* Decorative / interactive chrome that doesn't belong on paper */
  header,
  nav,
  footer,
  canvas,
  video,
  .no-print {
    display: none !important;
  }

  main {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Save ink: drop backgrounds, shadows and forced dark surfaces */
  * {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Keep headings with their content and avoid splitting blocks */
  h1,
  h2,
  h3 {
    break-after: avoid;
    page-break-after: avoid;
  }

  section,
  article {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
