/* Navrin - Combustible: impresión / PDF en negro sobre blanco (tema oscuro o claro).
   Se carga con media="print": no afecta a la pantalla. */
@page { size: A4 portrait; margin: 12mm; }
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html, body { background: #fff !important; background-image: none !important; color: #111 !important; }
  body::before, body::after { display: none !important; }
  header, .sidebar, .sidebar-backdrop, button, .btn-outline, .btn-primary, #btnAddFuel, .filter-bar, .row-actions, .mobile-menu-btn { display: none !important; }
  main { margin: 0 !important; padding: 0 !important; }
  .card, .stat-card, .card-header, .summary-card, table, thead, tbody, tr, td, th {
    background: #fff !important; background-image: none !important; box-shadow: none !important; backdrop-filter: none !important;
  }
  .card, .stat-card { border: 1px solid #bbb !important; border-radius: 6px !important; break-inside: avoid; }
  .card-header { border-bottom: 1px solid #ddd !important; }
  *, *::before, *::after { color: #111 !important; text-shadow: none !important; }
  .stat-label, .stat-sub, .page-sub, th, small, .muted { color: #555 !important; }
  th { background: #e9ecef !important; border-bottom: 1.5px solid #777 !important; }
  td, th { border-color: #ccc !important; }
  img { filter: none !important; }
  /* logo en negro (mismo filtro que usa la página en tema claro) */
  .print-header img, .logo-icon img { filter: brightness(0) saturate(100%) !important; height: 38px; width: auto; }
  .print-header .print-meta { color: #666 !important; }
}
