/* Unlayered on purpose: print must beat every layer.
   It works by redefining tokens rather than restyling components. */

@media print {
  :root {
    --border: 1px solid var(--color-ink);
    --color-border: black;
    --color-border-strong: black;
    --color-canvas: white;
    --color-ink: black;
    --color-ink-muted: black;
    --color-ink-subtle: black;
    --color-link: black;
    --color-surface: white;
    --color-surface-subtle: white;
    --shadow: none;
    --shadow-large: none;
    --shadow-small: none;
  }

  @page {
    margin: 0.5in;
  }

  html {
    font-size: 10pt;
  }

  main {
    orphans: 3;
    widows: 2;
  }

  .main-content {
    max-inline-size: none;
    min-block-size: 0;
    padding: 0;
  }

  .card {
    break-inside: avoid;
  }

  .table__cell--actions,
  .table__header--actions,
  .pagination {
    display: none;
  }
}
