/* Normal browser print: keep the report document, never redirect to a PDF tab. */
@media print {
  @page { size: A4 portrait; margin:8mm 8mm 14mm; @bottom-left { content:"User: User"; color:#333; font-size:7pt; } @bottom-center { content:"TenderoMax.com"; color:#333; font-size:7pt; } @bottom-right { content:"Page " counter(page) "|" counter(pages); color:#333; font-size:7pt; } }
  body.report-landscape { page:auto; }
  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:#eee!important; color:#111!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,.report-document-footer{display:none}
.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:#444}
.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:1fr;justify-items:center;gap:1mm;margin:0 0 4mm;padding:0 0 2.5mm;border-bottom:1pt solid #555}
 .global-report-print-header>div{min-width:0}
 .global-report-company{display:grid;text-align:center}
 .global-report-company strong{font-size:15pt}
 .global-report-title span{font-size:7.5pt;color:#444}
 .global-report-title{text-align:center}
 .global-report-title h1{margin:0;text-align:center;font-size:12pt}
 .global-report-context{width:100%;justify-content:space-between;margin-top:2mm}
 .global-report-parameters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:7mm;row-gap:1mm;width:100%;border-top:.5pt solid #aaa;padding-top:1.5mm;color:#333;font-size:8pt;line-height:1.3;overflow-wrap:anywhere;text-align:left}
 .global-report-parameters>span:nth-child(even){text-align:right}
 .report-document-footer{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}
 body.report-standard-page.report-print-mode .global-report-print-header{position:relative;min-height:23mm;align-content:start;border-bottom:1pt solid #555;padding:0 0 2mm;margin:0 0 3mm}
 body.report-standard-page.report-print-mode .global-report-company,
 body.report-standard-page.report-print-mode .global-report-title{max-width:40%;position:relative;z-index:1}
 body.report-standard-page.report-print-mode .global-report-context{display:none!important}
 body.report-standard-page.report-print-mode .global-report-parameters{position:absolute;top:1mm;left:0;right:0;display:grid;grid-template-columns:30% 30%;justify-content:space-between;gap:1mm;width:100%;margin:0;padding:0;border:0;font-size:7.5pt}
 body.report-standard-page.report-print-mode main table{border:1px solid #777!important;color:#111!important}
 body.report-standard-page.report-print-mode main table th,
 body.report-standard-page.report-print-mode main table td{border:.45pt solid #777!important;padding:1.25mm 1.3mm!important;color:#111!important;vertical-align:top!important}
 body.report-standard-page.report-print-mode main table thead th{background:#eee!important;color:#111!important;font-weight:800!important}
 body.report-standard-page.report-print-mode main table tfoot th,
 body.report-standard-page.report-print-mode main table tfoot td,
 body.report-standard-page.report-print-mode main table tr.total th,
 body.report-standard-page.report-print-mode main table tr.total td{background:#e9e9e9!important;font-weight:800!important}
 body.report-standard-page.report-print-mode main table .number,
 body.report-standard-page.report-print-mode main table .num{text-align:right!important;font-variant-numeric:tabular-nums!important}
 body.report-standard-page.report-print-mode main .report-kpis{gap:1.5mm!important;margin:0 0 2.5mm!important}
 body.report-standard-page.report-print-mode main .report-kpis article{border:1px solid #aaa!important;border-radius:0!important;padding:1mm 1.5mm!important;background:#fff!important;color:#111!important}
 body.report-standard-page.report-print-mode main .setup-card-title{margin-bottom:1.5mm!important}
 body.report-standard-page.report-print-mode main .setup-card-title>span{display:none!important}
}
