/*
 * Browser print for Relevé and Quitus (inventory, Platform differences: web only, no PDF export).
 * The page keeps the transcript or the discharge certificate; controls and navigation stay off
 * the paper, and a section is never split across two sheets.
 */
@media print {
  :root {
    color: #000;
    background: #fff;
  }

  body {
    margin: 0;
    background: #fff;
    color: #000;
  }

  [data-print-hide],
  nav,
  button,
  select {
    display: none !important;
  }

  [data-print] {
    margin: 0;
  }

  [data-print] section,
  [data-print] li,
  [data-print] dl {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  [data-print] h2 {
    break-after: avoid;
    page-break-after: avoid;
  }

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