/* MYXA SmartBooks V2.7.1 — rolagem vertical natural com um dedo em todo o App (exceto o leitor, que tem gestos próprios).
   Uma rolagem principal: a da página. Menus e janelas só rolam por dentro quando passam da altura da tela. */
html{-webkit-text-size-adjust:100%;scroll-behavior:auto}
html,body{height:auto;min-height:100%}
body.myxa-native-app,body:not(.reader-body){overflow-y:auto;-webkit-overflow-scrolling:touch}
body.myxa-native-app{touch-action:manipulation}
/* conteúdo nunca fica atrás do cabeçalho, da barra inferior ou de botões flutuantes */
.app-v2-main{padding-bottom:calc(24px + var(--bottom,86px) + env(safe-area-inset-bottom,0px))!important}
.app-v2-workspace{padding-bottom:0!important;min-height:100vh;min-height:100dvh}
.app-v2-topbar{z-index:60}
/* menu lateral: se tiver mais itens que a tela, rola por dentro */
.app-v2-drawer{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:100vh;max-height:100dvh}
.drawer-nav{min-height:0;flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.drawer-nav a{min-height:46px}
/* janelas e painéis: rolam por dentro quando passam da tela */
.notice-panel{max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px)}
.notice-list{min-height:0;flex:1 1 auto}
.ach-sheet,.mt-viewer-box,.sb-music-panel{-webkit-overflow-scrolling:touch}
.ach-sheet{max-height:88dvh;touch-action:pan-y}
.mt-viewer{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
/* tabelas largas rolam para o lado sem travar a rolagem vertical da página */
.table-v2-wrap,.table-wrap{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
/* tela de login e páginas sem cabeçalho */
.app-login-screen{min-height:100vh;min-height:100dvh;height:auto;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}
