@media print {
  /* * SPA PRINT FIX: 
   * Single Page Applications (SPAs) typically use 'height: 100vh' or '100%' 
   * on the body to handle scrolling internally. 
   *
   * This confuses print engines, causing them to capture only the current 
   * viewport (the first page) and cut off the rest. 
   *
   * The rules below override these locks, forcing the browser to calculate 
   * the full document height so content spills over to multiple pages.
   */
  html,
  body {
    height: auto;
    overflow: visible;
    position: static;
  }
}
