/* Zero page margin leaves no room for the browser's URL and date header. */
@page { size: A4; margin: 0; }

@media print {
  body { background: #fff !important; }

  .page {
    max-width: none !important;
    padding: 14mm 15mm !important;
  }

  .jump-nav { display: none !important; }

  .card {
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* The step-through diagram would otherwise print frozen on whatever
     step the animation happened to reach. Show it complete instead. */
  .flow-ctl,
  .flow-cap { display: none !important; }
  .flow-fill { width: 100% !important; }
  .flow-anim .node {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .flow-anim .arrow {
    opacity: 1 !important;
    color: #0f766e !important;
  }

  /* The headline underline draws in on load and never runs when printing. */
  .swash path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  a[href]::after { content: none !important; }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
