@media print {
  @page { size: A4 landscape; margin: 6mm; }

  html, body, *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    forced-color-adjust: none !important;
  }

  html, body { width: auto; height: auto; overflow: visible; background: #fff; }
  .sidebar, .topbar, .page-head, .toolbar, .screen-only { display: none !important; }
  .app, .main { display: block; height: auto; overflow: visible; }
  .view { display: block; overflow: visible; padding: 0; max-width: none; }
  .standard-report { box-shadow: none; border: 0; overflow: visible; width: 100%; }
  .standard-institution { margin: 0 0 1.5mm; font-size: 7.2pt; padding: .7mm; background: #d9d9d9 !important; }
  .standard-title { margin: 0 0 4mm; font-size: 8.2pt; padding: .8mm; background: #2f75b5 !important; color: #111 !important; }
  .standard-meta { grid-template-columns: 1fr .75fr 1.25fr; gap: 5mm; margin: 0 0 3mm; }
  .standard-meta b { padding: 1mm; font-size: 6.2pt; background: #0b78b8 !important; color: #fff !important; }
  .standard-meta span { padding: .8mm; font-size: 5.7pt; }
  .standard-meta .meta-notes { padding: .5mm; background: #ddd !important; }
  .standard-meta .meta-notes span { padding: .25mm; }
  .standard-table-wrap { overflow: visible; margin: 0; }
  .standard-table { min-width: 0; width: 100%; font-size: 5.7pt; table-layout: fixed; }
  .standard-table th, .standard-table td { padding: .65mm .5mm; line-height: 1.05; }
  .standard-table thead th { background: #0879bd !important; color: #fff !important; }
  .standard-table .vertical-head { height: 23mm; padding: .5mm .2mm; font-size: 5pt; }
  .standard-table .interval-title { height: 4.5mm; background: #f5e6cf !important; color: #111 !important; }
  .standard-table .col-code { width: 6%; }
  .standard-table .col-professor { width: 21%; }
  .standard-table .col-subject { width: 17%; }
  .standard-table .col-extra { width: 18%; }
  .standard-table .col-date { width: 7%; }
  .standard-table .col-notes { width: 15%; }
  .standard-table thead { display: table-header-group; }
  .standard-table tr { break-inside: avoid; page-break-inside: avoid; }
  .standard-signatures { grid-template-columns: repeat(3, 1fr); column-gap: 12mm; row-gap: 9mm; padding: 10mm 0 0; font-size: 5.6pt; break-inside: avoid; page-break-inside: avoid; }
  .standard-signatures > div { padding-top: 1mm; }
}
