/* Print-to-PDF for the MOR workbook (mor.js printMor). #printRoot is built on
   demand, printed, then removed; it never shows on screen. */
#printRoot { display: none; }

@media print {
  body.print-mor #app,
  body.print-mor .toast,
  body.print-mor #authGate { display: none !important; }
  body.print-mor #printRoot { display: block; }
  body.print-mor { zoom: 1 !important; background: #fff; }

  .print-page { page-break-after: always; }
  .print-head {
    font-size: 13px; color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 4px; margin-bottom: 8px;
  }
  .print-sign { float: right; font-size: 10px; }

  #printRoot table { border-collapse: collapse; width: 100%; font-size: 8.5px; color: #000; }
  #printRoot th, #printRoot td { border: 1px solid #999; padding: 2px 4px; }
  #printRoot .wb-pane__head { margin-bottom: 4px; }
  #printRoot .wb-pane__title { font-size: 12px; font-weight: 600; color: #000; }
  #printRoot .wb-pane__formula { font-size: 9px; color: #333; }
  #printRoot .tiles { display: flex; gap: 8px; }
  #printRoot .tile { border: 1px solid #999; padding: 4px 8px; font-size: 9px; }
  #printRoot .tile__big { font-size: 14px; font-weight: 700; }

  /* app-chrome affordances that mean nothing on paper */
  #printRoot .scroll-hint,
  #printRoot .scroll-fade,
  #printRoot .gate-banner,
  #printRoot .wb-legend,
  #printRoot #flagSlot,
  #printRoot button { display: none !important; }
  #printRoot .wb-scroll, #printRoot .wb-scrollwrap { overflow: visible !important; }
}
