@media print {
  @page { size: A4 landscape; margin: 8mm; }
  body { background: #fff; color: #000; font-size: 9pt; }
  .topbar, .side, .tabbar, .toasts, .legend, .violations, .seg, .mobile-only, .pills, .no-print { display: none !important; }
  .app { display: block; }
  .content { display: block; padding: 0; }
  .gridwrap { overflow: visible; max-height: none; border: 0; border-radius: 0; }
  .print-head { display: block; margin-bottom: 6mm; font-family: Arial, sans-serif; }
  .print-head .h1 { font-weight: 700; font-size: 11pt; }
  .print-head .h2 { text-align: center; font-weight: 700; font-size: 12pt; letter-spacing: 0.3em; }
  .print-head .h3 { text-align: center; font-size: 10pt; }
  .print-head .norms { float: right; font-size: 8pt; text-align: right; }
  table.g { font-family: Arial, sans-serif; width: 100%; }
  table.g th, table.g td { border: 0.5pt solid #000 !important; color: #000 !important; }
  table.g td.c { width: auto; min-width: 0; height: 15pt; font-size: 8.5pt; background-color: transparent !important; text-decoration: none !important; }
  table.g td.c.locked::after { display: none; }
  table.g .name { min-width: 0; max-width: none; position: static; font-size: 8.5pt; box-shadow: none !important; }
  table.g thead th { position: static; font-size: 8pt; }
  table.g th.off, table.g td.off { background: #ffc000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  table.g th.hol, table.g td.hol { background: #ffc0cf !important; }
  table.g td.t, table.g th.t { display: table-cell !important; font-size: 8pt; padding: 0 3pt; }
  table.g tr { break-inside: avoid; }
}
