/* XtremeX Billing R6.6.90-C29 — Mobile Web client/bill scroll optimization.
   Scope ONLY to small/coarse pointer view and to the two list pages.
   Preserve row actions, popovers, invoice/payment APIs, desktop themes. */
@media screen and (max-width:900px), screen and (hover:none) and (pointer:coarse){
  html.xtx-c28-mobile-lite body .client-reference-mode .client-reference-table-card,
  html.xtx-c28-mobile-lite body .billing-view-container .ispd-billing-table-card{
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    filter:none!important;box-shadow:none!important;
    transform:none!important;animation:none!important;
  }
  html.xtx-c28-mobile-lite body .client-reference-mode #table-clients tbody tr,
  html.xtx-c28-mobile-lite body .billing-view-container .ispd-billing-table tbody tr,
  html.xtx-c28-mobile-lite body .client-reference-mode #table-clients tbody td,
  html.xtx-c28-mobile-lite body .billing-view-container .ispd-billing-table tbody td{
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    filter:none!important;text-shadow:none!important;
    box-shadow:none!important;animation:none!important;transition:none!important;
    will-change:auto!important;
  }
  /* Avoid costly per-row GPU layers while retaining the table and click targets. */
  html.xtx-c28-mobile-lite body .client-reference-mode #table-clients tbody :is(button,span,b,i),
  html.xtx-c28-mobile-lite body .billing-view-container .ispd-billing-table tbody :is(button,span,b,i){
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    animation:none!important;will-change:auto!important;
  }
  .billing-view-container .ispd-billing-table-card .table-responsive,
  .client-reference-mode .client-reference-table-card .table-responsive{
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  .billing-view-container .ispd-billing-table-card .ispd-billing-table-toolbar{
    scroll-margin-top:80px;
  }
  #xtx-c29-bill-pager:not([hidden]){
    display:flex!important;gap:8px;justify-content:space-between;align-items:center;
    padding:10px 8px 6px;margin:0 0 8px;flex-wrap:wrap;
    font-size:12px;color:inherit;
  }
  #xtx-c29-bill-pager .xtx-c29-page-button{
    min-height:40px;min-width:94px;padding:7px 9px;border-radius:9px;
    border:1px solid #9ac0de;background:#173e5f;color:#fff;
    font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer;touch-action:manipulation;
  }
  #xtx-c29-bill-pager .xtx-c29-page-button:disabled{opacity:.45;cursor:default;}
  #xtx-c29-bill-pager .xtx-c29-page-label{text-align:center;flex:1 1 105px;}
}
/* Never show mobile pager on desktop, even on Browser Back transitions. */
@media screen and (min-width:901px) and (hover:hover) and (pointer:fine){
  #xtx-c29-bill-pager{display:none!important;}
}
@media print{#xtx-c29-bill-pager{display:none!important;}}
