/* Normal browser print: keep the report document, never redirect to a PDF tab. */
@media print {
  @page { size: A4 portrait; margin: 8mm; }
  @page reportLandscape { size: A4 landscape; margin: 8mm; }
  body.report-landscape { page:reportLandscape; }
  body.report-print-mode { background:#fff!important; color:#102a43!important; }
  body.report-print-mode > header,
  body.report-print-mode > footer,
  body.report-print-mode .subscription-reminder,
  body.report-print-mode .share-toolbox,
  body.report-print-mode .no-print,
  body.report-print-mode .btn,
  body.report-print-mode .inventory-actions,
  body.report-print-mode .flow-actions,
  body.report-print-mode .expense-entry,
  body.report-print-mode .invoice-period,
  body.report-print-mode .inventory-filter,
  body.report-print-mode .ledger-filter,
  body.report-print-mode .master-report-filter,
  body.report-print-mode .report-filter,
  body.report-print-mode .daily-date-card,
  body.report-print-mode .daily-stock-tools { display:none!important; }

  body.report-print-mode .app-container,
  body.report-print-mode main { display:block!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
  body.report-print-mode .product-heading { display:block!important; margin:0 0 5mm!important; padding:0 0 4mm!important; border-bottom:1.2pt solid #0b746c!important; }
  body.report-print-mode .product-heading .eyebrow { color:#08756c!important; font-size:8pt!important; font-weight:800!important; letter-spacing:.08em!important; }
  body.report-print-mode .product-heading h1 { margin:1mm 0!important; font-size:20pt!important; color:#102a43!important; }
  body.report-print-mode .product-heading p { margin:0!important; font-size:9pt!important; color:#52677a!important; }
  body.report-print-mode .setup-card,
  body.report-print-mode .product-table-wrap,
  body.report-print-mode .flow-table-wrap,
  body.report-print-mode .ledger-table-wrap { box-shadow:none!important; border-color:#cbd9d6!important; overflow:visible!important; }
  body.report-print-mode table { width:100%!important; min-width:0!important; border-collapse:collapse!important; font-size:8pt!important; }
  body.report-print-mode th { background:#dff2ee!important; color:#102a43!important; font-weight:800!important; }
  body.report-print-mode th,
  body.report-print-mode td { padding:1.7mm 2mm!important; border-bottom:.35pt solid #d7e4e1!important; }
  body.report-print-mode .number { text-align:right!important; font-variant-numeric:tabular-nums!important; }
  body.report-print-mode tr { break-inside:avoid!important; page-break-inside:avoid!important; }
}

.global-report-print-header{display:none}.report-document-footer{display:flex;justify-content:space-between;gap:1rem;max-width:1180px;margin:.8rem auto 0;padding:.45rem .2rem 0;border-top:1px solid #bfd7d2;color:#60758a;font-size:.68rem}
@media print{body.report-print-mode .global-report-print-header,body.bulk-sales-page .global-report-print-header{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:end;gap:8mm;margin:0 0 4mm;padding:0 0 3mm;border-bottom:1.2pt solid #0b746c}.global-report-print-header div{display:grid}.global-report-print-header span,.global-report-print-header b{font-size:8pt}.global-report-print-header h1{margin:0;text-align:center;font-size:16pt}.global-report-print-header>b{text-align:right}.report-document-footer{display:flex!important;position:fixed;left:8mm;right:8mm;bottom:2mm;max-width:none;margin:0;padding-top:1.5mm;font-size:7pt;background:#fff}}
