/* print.css: the wide Paper layout, one packed page per printed page
 * (docs/LAYOUT.md 3). The sheet view re-packs at the page's content width
 * when printing starts; this sheet drops the app chrome, unscales the page
 * stack and prints light whatever the scheme. */
@page { size: letter; margin: 0.25in; }
@page a4 { size: A4; margin: 0.25in; }

@media print {
  :root[data-theme][data-scheme] {
    color-scheme: light;
    --bg: #fff; --surface: #fff; --surface-alt: #f2f2f7; --surface-raised: #fff;
    --text: #1c1c1e; --text-muted: #55555a; --text-faint: #76767b;
    --border: #d1d1d6; --border-alt: #c6c6c8;
    --accent: #0056d6; --accent-text: #fff; --accent-soft: #e8f0fe; --accent-soft-text: #0b4ea2; --link: #0056d6;
    --success: #1f8a3e; --danger: #d70015;
    --shadow-1: none; --shadow-2: none; --shadow-3: none;
  }
  body { background: #fff; }
  #wp-site-nav, .cs-appbar, .cs-toolbar, .cs-vitals, .cs-banner, .cs-tray, .cs-tabbar, .cs-tools,
  .cs-live, .cs-empty, .cs-page-label, .cs-placeholder, .cs-warnings { display: none !important; }
  #main { max-width: none; padding: 0; }
  .cs-sheet { padding: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cs-board { height: auto; overflow: visible; }
  .cs-sheet.is-paged .cs-stack { transform: none !important; width: auto; margin: 0; box-shadow: none; border-radius: 0; background: none; }
  .cs-sheet.is-paged .cs-page { width: auto; height: auto; padding: 0; break-after: page; }
  /* exactly the content width the engine laid out at, whatever the window */
  .cs-sheet.is-paged .cs-page-body { width: 768px; }
  .cs-sheet.is-paged.is-a4 .cs-page-body { width: 746px; }
  .cs-sheet.is-paged .cs-page:last-child { break-after: auto; }
  .cs-sheet.is-a4 .cs-page { page: a4; }
  .cs-sheet.is-paged .cs-page + .cs-page::before { display: none; }
}
