/* Zol Pharma — ONE print standard (A4, QuickBooks-style). Loaded last, media=print only. */
@page{size:A4 portrait;margin:12mm 10mm 14mm;
  @bottom-left{content:"Printed " attr(data-printed);font:8pt sans-serif;color:#555}
  @bottom-right{content:"Page " counter(page) " of " counter(pages);font:8pt sans-serif;color:#555}}
@page landscape{size:A4 landscape;margin:10mm 10mm 12mm}
.print-landscape,html.print-landscape body{page:landscape}
@media print{
  html,body{background:#fff!important;color:#000!important;height:auto!important;overflow:visible!important;font-size:10pt!important;font-family:"Inter","Segoe UI",Arial,sans-serif!important;
    -webkit-print-color-adjust:economy;print-color-adjust:economy}
  *{box-shadow:none!important;text-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;animation:none!important;transition:none!important}
  body::before,.qb-aurora,.qb-shell{display:none!important}
  .no-print,.noprint,.btn,button,.app-sidebar,.app-topbar,.app-footer,#qboSide,#qboTop,.report-tabs-bar,.pagination,.dropdown-menu,.modal,#shBtn,#shBar,.toolbar,.filter-bar,.qb-toasts,nav,form.filters{display:none!important}
  .app-wrapper,.app-main,.app-content,.container,.container-fluid{display:block!important;margin:0!important;padding:0!important;max-width:none!important;width:auto!important}
  .card,.panel,.table-responsive,[class*="glass"]{background:#fff!important;border:0!important;border-radius:0!important;max-height:none!important;overflow:visible!important}
  table{width:100%!important;table-layout:auto;border-collapse:collapse;font-size:9.5pt}
  thead{display:table-header-group}tfoot{display:table-footer-group}
  tr,td,th,img{break-inside:avoid;page-break-inside:avoid}
  th{background:#f0f0f0!important;color:#000!important;border-bottom:1.5px solid #000!important;text-align:left;position:static!important}
  td,th{padding:3pt 5pt!important;border-bottom:.5pt solid #ccc!important;color:#000!important;background:transparent!important;word-wrap:break-word}
  tbody tr:nth-child(even) td{background:#fafafa!important}
  td.num,th.num,.text-end,.qb-money{text-align:right!important;font-variant-numeric:tabular-nums}
  .qb-neg,.text-danger{color:#000!important}.qb-neg::before{content:"−"}
  tr.total td,tfoot td,.grand-total{font-weight:700;border-top:1.2pt solid #000!important}.grand-total td,tfoot tr:last-child td{border-bottom:3pt double #000!important}
  h1,h2,h3,h4,h5{break-after:avoid;page-break-after:avoid;color:#000!important}p,li{orphans:3;widows:3}
  a{color:#000!important;text-decoration:none!important}
  .badge{border:.5pt solid #777!important;background:#fff!important;color:#000!important}
  /* QuickBooks-style report header (use on any report): .qb-rephead > .co / .title / .period / .basis */
  .qb-rephead{text-align:center;margin-bottom:8pt}.qb-rephead .co{font-weight:700;font-size:13pt}.qb-rephead .title{font-size:15pt;font-weight:700}.qb-rephead .period,.qb-rephead .basis{font-size:9.5pt;color:#333}
  .print-only{display:block!important}
}
.print-only{display:none}
/* Print preview sheet (screen): white A4 on grey glass backdrop */
.qb-sheet{width:210mm;min-height:297mm;margin:16px auto;padding:12mm 10mm;background:#fff;color:#000;box-shadow:0 8px 30px rgba(0,0,0,.25)}.qb-sheet.landscape{width:297mm;min-height:210mm}
