/* public/assets/print.css
 * Print styles for the whole-work view (/story/whole/{slug}): that page IS
 * the print view (the recorded ruling folded the separate print route into
 * it). Loaded via <link media="print"> so screen rendering never touches it;
 * the affordance is the browser print command, no JavaScript anywhere.
 */
@media print {
  /* Site chrome and engagement controls never reach paper. */
  .site-head, .site-foot, .engagement-bar, .chapter-nav, .print-hint { display: none; }
  /* Reader chrome from the redesign never prints either: the sticky reader
   * header, the bottom control bar, the focus dock, and every sheet. The
   * sheet rules carry !important because .sheet:target's display:flex (and
   * the body:has() scrim sibling) outrank a plain .sheet rule, and a sheet
   * left open at print time must not ride along onto paper. The boundary
   * caption stays: end-of-chapter markers are part of a long work; only
   * their action buttons and the next-chapter link go. */
  .reader-head, .reader-bar, .reader-dock, .chapter-end-actions, .next-chapter,
  .sheet, .sheet:target, .scrim { display: none !important; }
  /* Paper fidelity: black on white, full width, no screen typography. The
   * pages-mode column deck is neutralized too: a member reading in pages
   * mode must still get a linear document on paper, not 70vh column boxes
   * that clip everything past the first column. */
  body { background: #fff; color: #000; }
  .site-main { max-width: none; padding: 0; }
  .prose { max-width: none; font-size: 12pt; line-height: 1.5; columns: auto !important; height: auto !important; }
  a { color: inherit; text-decoration: none; }
  .whole-toc { break-after: page; }
}
