/* Screen-only paging. Reports and receipts print every matching record. */
.recordPage { width:100%; min-width:0; margin:10px 0 16px; color:#000; }
.recordTableViewport { width:100%; max-height:58vh; overflow:auto; border:1px solid #c9d8cf; border-radius:8px; }
.recordTableViewport table { margin:0; }
.recordPage tr.record-page-hidden { display:none!important; }
.recordPager { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:10px 0; font-size:13px; font-weight:750; color:#000; }
.recordRange { font-variant-numeric:tabular-nums; }
.recordPageControls { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.recordPageControls label { display:flex; align-items:center; gap:5px; margin:0; white-space:nowrap; color:#000; }
.recordPageControls input,.recordPageControls select { width:auto; min-height:36px; height:36px; margin:0; padding:5px 7px; border:1px solid #9bab9f; border-radius:7px; background:#fff; color:#000; font-size:13px; }
.recordPageControls input { width:62px; text-align:center; }
.recordPageControls button { min-height:36px; padding:7px 11px; border:1px solid #096637; background:#096637; color:#fff; font-size:12px; font-weight:800; }
.recordPageControls button:disabled { background:#edf1ee; border-color:#c4cdc7; color:#46554b; opacity:1; cursor:default; }
.recordPager .recordPageJump { font-size:13px; }
.ledgerPager { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; margin:12px 0; }
.ledgerPager button { min-height:40px; }
.ledgerPager span { color:#000; font-size:14px; font-weight:800; }
.purchaseItemsMore { display:block; margin-top:5px; font-size:12px; font-weight:800; color:#000; }
.purchaseHistoryTable .purchaseProductLine:nth-child(n+3) { display:none; }
.purchaseHistoryTable td:has(> .purchaseProductLine:nth-child(3))::after { content:"VIEW for all products"; display:block; margin-top:4px; font-size:11px; font-weight:800; color:#000; }
@media(max-width:680px) {
  .recordPageControls { width:100%; justify-content:space-between; gap:5px; }
  .recordPageControls button { padding:7px; font-size:10px; }
  .recordPageControls label { font-size:11px; }
  .recordPageControls input { width:45px; }
  .recordPager { font-size:12px; }
  .recordTableViewport { max-height:52vh; }
}
@media print {
  .recordPager,.ledgerPager { display:none!important; }
  .recordPage,.recordTableViewport { display:block!important; height:auto!important; max-height:none!important; overflow:visible!important; border:0!important; margin:0!important; }
  .recordPage tr.record-page-hidden { display:table-row!important; }
  .recordPage table,.recordPage tbody,.recordPage tr { content-visibility:visible!important; contain:none!important; }
  .purchaseHistoryTable .purchaseProductLine:nth-child(n+3) { display:flex!important; }
  .purchaseHistoryTable td:has(> .purchaseProductLine:nth-child(3))::after { display:none; }
}
