/* Mahan Taraz v0.6.2.5 — production scroll hotfix.
   This file intentionally mirrors the final override in resources/css/app.css so cPanel deployments
   can receive the fix without requiring a Vite build on the server. */


/* v0.6.2.5 — scroll chaining fix for inventory, trade tables and invoice editor */
.table-scroll{
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  overscroll-behavior-y:auto;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
  scrollbar-gutter:stable;
}
.ledger-view .table-scroll{overflow-y:auto;overscroll-behavior-y:auto}
.line-scroll,.document-types,.trade-tabs,.account-tabs{
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  overscroll-behavior-y:auto;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
}
.document-modal{min-height:0}
.modal-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-x:auto;
  overscroll-behavior-y:auto;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
}
.document-drawer{overflow-y:auto;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch}
.account-list,.journal-modal-body,.journal-lines,.price-modal-body,.price-items,.sidebar{overscroll-behavior-y:auto}
.page-wrap>section,.page-wrap>.dashboard-layout,.page-wrap>.metric-grid{
  content-visibility:visible;
  contain-intrinsic-size:none;
}
@media (max-width:760px){
  .table-scroll,.line-scroll,.document-types,.trade-tabs,.account-tabs{scrollbar-width:thin}
}
