/* Normal browser print: keep the report document, never redirect to a PDF tab. */
@media print {
  @page { size: A4 portrait; margin:8mm 8mm 14mm; @bottom-right { content:"Page " counter(page) "|" counter(pages); color:#60758a; font-size:7pt; } }
  @page reportLandscape { size: A4 landscape; margin:8mm 8mm 14mm; @bottom-right { content:"Page " counter(page) "|" counter(pages); color:#60758a; font-size:7pt; } }
  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:none!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; max-width:100%!important; min-width:0!important; table-layout:fixed!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; overflow-wrap:anywhere!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;align-items:center;gap:1rem;max-width:1180px;margin:.8rem auto 0;padding:.45rem .2rem 0;border-top:1px solid #bfd7d2;color:#60758a;font-size:.68rem}.report-page-number{white-space:nowrap}.global-report-context{margin:0;display:flex;justify-content:flex-end;gap:5mm}.global-report-context div{display:grid}.global-report-context dt{text-transform:uppercase;font-size:6.5pt;color:#53706c}.global-report-context dd{margin:0;font-size:8pt;font-weight:800;white-space:nowrap}
@media print{body.report-print-mode .global-report-print-header,body.bulk-sales-page .global-report-print-header{display:grid!important;grid-template-columns:minmax(42mm,1fr) 2fr minmax(42mm,1fr);align-items:end;gap:6mm;margin:0 0 4mm;padding:0 0 3mm;border-bottom:1.2pt solid #0b746c}.global-report-print-header>div{display:grid;min-width:0}.global-report-company strong{font-size:11pt}.global-report-company span,.global-report-title span{font-size:8pt}.global-report-title{text-align:center}.global-report-title h1{margin:0;text-align:center;font-size:16pt}.report-document-footer{display:flex!important;position:fixed;left:8mm;right:29mm;bottom:3.5mm;max-width:none;margin:0;padding-top:1.5mm;font-size:7pt;background:#fff}.report-page-number{display:none!important}body.bulk-sales-page .bulk-report-header{display:none!important}body.report-print-mode .table-responsive,body.report-print-mode .bulk-table-wrap{max-width:100%!important;overflow:visible!important}body.report-print-mode th:last-child,body.report-print-mode td:last-child{padding-right:2.5mm!important}}
