/* V8.7.5 — correção definitiva do gesto vertical nas seções do sistema. */
@media(max-width:900px){
 html.avs-system-mobile-root,html.avs-system-mobile-root body.system-page{width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;overflow:hidden!important;overscroll-behavior:none!important;touch-action:pan-y!important}
 .system-page .os-app.avs-system-app{position:fixed!important;inset:0!important;z-index:1!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:100%!important;height:100vh!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important;touch-action:pan-y!important;background:#eef4f5!important}
 .system-page .os-sidebar{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:74px!important;max-height:116px!important;overflow:hidden!important;touch-action:manipulation!important}
 .system-page .os-main,.system-page .avs-sectioned-main{position:relative!important;flex:1 1 auto!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:12px 10px calc(104px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important;overflow-y:scroll!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;scroll-behavior:smooth!important;touch-action:pan-y!important;transform:translateZ(0)!important;will-change:scroll-position!important}
 .system-page .os-main>*,.system-page .avs-system-section,.system-page .avs-system-section>*{touch-action:pan-y!important}
 .system-page .os-main input,.system-page .os-main select,.system-page .os-main textarea,.system-page .os-main button,.system-page .os-main a{touch-action:manipulation!important}
 .system-page .avs-system-section,.system-page .avs-system-section.is-active{position:relative!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 .system-page .os-grid,.system-page .os-table-card,.system-page .table-wrap,.system-page #avsOsTable,.system-page #avsOsTable tbody{height:auto!important;max-height:none!important;overflow:visible!important}
 .system-page .os-sidebar>nav{touch-action:pan-x!important}
 /* O editor de OS continua sendo o único painel que bloqueia o conteúdo de trás. */
 body.system-page.avs-modal-open .os-main{overflow:hidden!important;touch-action:none!important}
 .system-page .avs-os-modal{touch-action:pan-y!important}
 .system-page .avs-os-modal form{touch-action:pan-y!important}
}
