/* IT310_PWA_STANDALONE_SCROLL_PASS3R — corrige rolagem com 1 dedo no app instalado sem afetar menu Tools. */
@media (display-mode: standalone){
  html.it-dr-mode-pwa,
  html.infotech-pwa-standalone,
  html.it310-pwa-scroll-pass3r{
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y pinch-zoom!important;
  }
  html.it-dr-mode-pwa body,
  html.infotech-pwa-standalone body,
  html.it310-pwa-scroll-pass3r body{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y pinch-zoom!important;
    -webkit-overflow-scrolling:touch!important;
    min-height:100dvh!important;
  }
  html.it310-pwa-scroll-pass3r main,
  html.it310-pwa-scroll-pass3r .page-shell,
  html.it310-pwa-scroll-pass3r .tool-page,
  html.it310-pwa-scroll-pass3r .it-page,
  html.it310-pwa-scroll-pass3r .simple-led-shell,
  html.it310-pwa-scroll-pass3r .led-slices-shell,
  html.it310-pwa-scroll-pass3r .led-master-layout-shell,
  html.it310-pwa-scroll-pass3r .card,
  html.it310-pwa-scroll-pass3r section{
    touch-action:pan-y pinch-zoom!important;
    overscroll-behavior-y:auto!important;
  }
  html.it310-pwa-scroll-pass3r button,
  html.it310-pwa-scroll-pass3r a,
  html.it310-pwa-scroll-pass3r input,
  html.it310-pwa-scroll-pass3r textarea,
  html.it310-pwa-scroll-pass3r select,
  html.it310-pwa-scroll-pass3r label,
  html.it310-pwa-scroll-pass3r summary{
    touch-action:manipulation!important;
  }
  html.it310-pwa-scroll-pass3r input[type="range"]{
    touch-action:pan-y!important;
  }
  html.it310-pwa-scroll-pass3r .led-master-layout-stage,
  html.it310-pwa-scroll-pass3r .led-master-layout-plane,
  html.it310-pwa-scroll-pass3r .led-pixel-preview-wrap,
  html.it310-pwa-scroll-pass3r .led-pixel-preview,
  html.it310-pwa-scroll-pass3r #grid,
  html.it310-pwa-scroll-pass3r .mapper-grid,
  html.it310-pwa-scroll-pass3r .simple-draw,
  html.it310-pwa-scroll-pass3r .led-special-canvas-wrap{
    touch-action:pan-y!important;
    overscroll-behavior-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html.it310-pwa-scroll-pass3r .led-master-screen,
  html.it310-pwa-scroll-pass3r .led-pixel-screen-box,
  html.it310-pwa-scroll-pass3r .assign-cell{
    touch-action:manipulation!important;
  }
  html.it310-pwa-scroll-pass3r body.it-sidebar-open,
  html.it310-pwa-scroll-pass3r body.it-sidebar-mobile.it-sidebar-open{
    overflow:hidden!important;
    touch-action:none!important;
    overscroll-behavior:none!important;
  }
  html.it310-pwa-scroll-pass3r .led-special-shell.it310-mobile-canvas-edit .led-special-canvas-wrap,
  html.it310-pwa-scroll-pass3r .led-special-shell.it310-mobile-canvas-edit .led-free-block,
  html.it310-pwa-scroll-pass3r .led-free-block.is-dragging{
    touch-action:none!important;
  }
}

/* PASS4D — exceções de edição: PWA instalado não pode transformar drag em rolagem */
@media (display-mode: standalone){
  html.it310-pwa-scroll-pass3r .led-master-screen,
  html.it310-pwa-scroll-pass3r .led-master-screen *,
  html.it310-pwa-scroll-pass3r .led-free-block,
  html.it310-pwa-scroll-pass3r .led-free-block *,
  html.it310-pwa-scroll-pass3r body.infotech-led-master-dragging,
  html.it310-pwa-scroll-pass3r body.infotech-led-special-touch-dragging{
    touch-action:none!important;
    -ms-touch-action:none!important;
  }
}
