/* Print and save-as-PDF layout, used mainly for the Monthly Value Report. */
@layer print {
  @media print {
    :root {
      color-scheme: light;
    }

    body {
      background: var(--neutral-0);
      color: var(--neutral-900);
      font-size: 11pt;
    }

    .topbar,
    .sidenav,
    .demo-banner,
    .page-header__actions,
    .filter-bar,
    .chart__toggle,
    .info-btn,
    .toast-region,
    .no-print,
    .skip-link {
      display: none !important;
    }

    .print-only {
      display: block;
    }

    .app {
      display: block;
    }

    .main {
      padding: 0;
    }

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

    .section {
      break-inside: avoid-page;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    @page {
      margin: 16mm;
    }
  }
}
