/* Print → one slide per landscape page (Save as PDF for LMS upload).
   Only meaningful on the slides route where <body> gets .printing-deck. */
@media print {
  @page { size: 1280px 720px; margin: 0; }

  .topbar, .sitefoot, .deck-header, .deck-footer, .deck-controls,
  .tap-zone, .skip-link { display: none !important; }

  body.printing-deck { background: #fff; }
  body.printing-deck .app-main, body.printing-deck .deck { height: auto; display: block; }
  body.printing-deck .deck-stage { position: static; overflow: visible; background: #fff; display: block; }

  /* Un-scale: print each slide at true 1280×720, one per page, all fragments shown */
  body.printing-deck .deck-canvas {
    position: static; transform: none !important;
    width: 1280px; height: auto;
  }
  body.printing-deck .slide {
    position: static; display: flex !important;
    width: 1280px; height: 720px;
    page-break-after: always; break-after: page;
    box-shadow: none; border: 0;
  }
  body.printing-deck .slide:last-child { page-break-after: auto; break-after: auto; }
  body.printing-deck .slide .fragment { opacity: 1 !important; }

  /* keep colors/backgrounds in the PDF */
  body.printing-deck, body.printing-deck * {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
}
