/* Printing: answer sheets and worked solutions.
   The site chrome bar injected at deploy time is hidden here, per house rule. */

@media print {
  .chrome, .app-header, .module-bar, .af-keypad, .af-submit, .btn { display: none !important; }

  html, body {
    height: auto;
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  #app, .module-view, .module-body, .stage, .panel {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    border: 0;
    padding: 0;
  }

  .module-body { grid-template-columns: 1fr; }

  .stage svg { max-width: 16cm; height: auto; page-break-inside: avoid; }

  .print-sheet { page-break-after: always; }
  .print-sheet:last-child { page-break-after: auto; }
  .question { page-break-inside: avoid; margin-bottom: 1.2em; }

  .af-input {
    border: 0;
    border-bottom: 1px solid #000;
    border-radius: 0;
    width: 6ch;
  }

  a[href]::after { content: ""; }
}
