/* Astro public/ copy of the shared print stylesheet.
 *
 * The Base layout links <link rel="stylesheet" media="print" href="/print.css">.
 * On `pnpm build`, this file should be regenerated/copied from
 * ../../packages/styles/src/print.css. Wire that copy into astro.config.mjs's
 * `vite.plugins` or a small prebuild script when convenient.
 *
 * Until then, the file is a manual snapshot to keep the link working.
 */

@page {
  size: Letter;
  margin: 0.75in 0.6in 0.85in 0.6in;
}

@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  html, body { background: #fff; color: #000; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 11pt; line-height: 1.45; }
  header[role="banner"], nav, footer[role="contentinfo"], aside, .skip-link { display: none !important; }
  main, article { width: 100% !important; max-width: 100% !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 90%; word-break: break-all; }
  a[href^="#"]::after, a[href^="mailto:"]::after, a[href^="javascript:"]::after { content: ""; }
  h1, h2, h3, h4, h5, h6, figure, blockquote, table, pre { break-inside: avoid; break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
