/* CTR SUITE V67: reduce expensive mobile paint operations without changing
   navigation, data, form, print state or confirmation/transaction animations. */
@media screen and (max-width: 992px), screen and (hover: none) and (pointer: coarse) {
  /* Cross-document snapshots duplicate the full POS paint when opening routes. */
  @view-transition { navigation: none; }
  html::view-transition, html::view-transition-group(root){display:none!important}
  /* Blurring a screen-sized moving overlay requires extra GPU layers per scroll. */
  body :is(.sidebar-overlay,.chat-overlay,.logout-confirm-overlay,
    .ctr-dialog-backdrop,.posx-modal-backdrop,.pmx-modal-backdrop,
    .pb-modal-overlay,.att-modal,.team-modal,.ctr-editor-overlay,
    .sale-void-overlay,.overlay,.topbar,.panel-dd){
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  /* Keep functional spinners, success feedback and printer state intact. */
  body :is(.product-card,.cart-row,.notification-item,.notif-row,
    .stat-card,.table-card,.posx-toast,.ctr-toast,.posx-skel){
    animation:none!important;transition:background-color .12s ease,border-color .12s ease!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  body :is(.product-card,.cart-row,.stat-card,.table-card){
    will-change:auto!important;filter:none!important;
  }
  body .posx-skel{background:var(--bg,#edf1f7)!important}
  body :is(.product-grid,.table-wrap,.m-table-wrap,.sales-table-wrap,
    .pmx-table-scroll,.pb-table-wrap,.posx-modal-body,.pmx-modal-body,
    .modal-body,#cartItems){scroll-behavior:auto!important}
  body :is(.main,.content,.topbar){will-change:auto!important}
}
@media screen and (prefers-reduced-motion:reduce){
  @view-transition { navigation:none; }
}
