@media print {
  @page { margin: 14mm 12mm; }

  /* The screen report is a dark, animated "brand experience" — the PDF a client
     receives needs to stay a plain, ink-light, formal document, so every themed
     token gets reset back to light values and all motion/decoration is stripped. */
  :root {
    --page-plane: #ffffff;
    --surface-1: #ffffff;
    --surface-2: #ffffff;
    --text-primary: #1e1b2c;
    --text-secondary: #52514e;
    --text-muted: #898781;
    --gridline: #e5e3da;
    --border: rgba(30, 27, 44, 0.12);
    --good: #006300;
    --critical: #b3261e;
  }

  body::before,
  .deco-bg,
  .topbar,
  .actions-bar,
  .no-print {
    display: none !important;
  }

  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    box-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  body, .container { background: #ffffff !important; color: #1e1b2c !important; }

  .card, .stat-tile, .report-header {
    border-radius: 10px !important;
    border-color: #ddd !important;
  }
  .card, table, tr, .stat-tile { break-inside: avoid; }
  tbody tr:nth-child(even) { background: #f7f7f5 !important; }

  .report-header { break-after: avoid; }
  h2.section-title { break-after: avoid; }

  a { color: inherit; text-decoration: none; }

  .container { max-width: 100%; padding: 0; }
}
