/*
 * Print (plan R9, U4). window.print() is the only zero-library route to a PDF.
 *
 * Ctrl+P prints the page with the learner's answers written out in full.
 * The artifact's own Print button adds body.avi-print-artifact, which prints the
 * record sheet alone.
 */
@media print {
  .md-header,
  .md-tabs,
  .md-sidebar,
  .md-footer,
  .md-content__button,
  .md-source-file,
  .avi-widget,
  .avi-module-foot,
  .avi-artifact__actions,
  .avi-artifact__status,
  .avi-artifact__privacy,
  .avi-artifact__field {
    display: none !important;
  }

  .avi-artifact__print {
    display: block !important;
  }

  .md-typeset .avi-artifact {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .avi-print-text {
    white-space: pre-wrap;
  }

  body.avi-print-artifact .md-content__inner > *:not(.avi-artifact) {
    display: none !important;
  }
}
