/* GB mobile layout: desktop rules remain untouched. */
@media(max-width:800px){
html:has(body.gb-real-admin){height:auto!important;overflow-y:auto!important}
body.gb-real-admin{height:auto!important;min-height:100dvh;overflow:visible!important}
body.gb-real-admin>.gb-visible-scrollbar{display:none!important}
body.gb-real-admin #gb-gestao[open]{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important}
body.gb-real-admin #gb-gestao[open]>.j-header{order:0;position:relative!important;inset:auto!important;display:flex!important;flex-wrap:wrap!important;gap:12px!important;width:100%!important;height:auto!important;min-height:64px!important;padding:12px!important;box-sizing:border-box!important;overflow:visible!important}
body.gb-real-admin #gb-gestao[open]>.j-header>div{position:static!important;min-width:0!important;max-width:100%!important;height:auto!important;flex-wrap:wrap!important;gap:8px!important}
body.gb-real-admin #gb-gestao .gb-sidebar-header-start{flex:1 1 100%!important}
body.gb-real-admin #gb-gestao .gb-sidebar-heading-copy{position:static!important;line-height:1.35!important}
body.gb-real-admin #gb-gestao .gb-sidebar-heading-copy :is(h1,h2,h3,p,small){position:static!important;margin:0!important;white-space:normal!important}
body.gb-real-admin #gb-gestao[open]>.j-sidebar{order:1;position:static!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:16px!important;box-sizing:border-box!important;scrollbar-gutter:auto!important}
body.gb-real-admin #gb-gestao[open]>.j-sidebar[hidden]{display:none!important}
body.gb-real-admin #gb-gestao .j-submenu{position:static!important;width:100%!important;min-width:0!important;max-height:none!important;box-sizing:border-box!important}
body.gb-real-admin #gb-gestao[open]>.j-body{order:2;position:static!important;width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:14px!important;box-sizing:border-box!important;scrollbar-gutter:auto!important}
#gb-gestao .gb-sidebar-toggle,#gb-pilot-portal .gb-sidebar-toggle{min-width:44px!important;min-height:44px!important}
#gb-pilot-portal>.g-shell{display:block!important;height:auto!important;overflow:visible!important}
#gb-pilot-portal .g-side{position:static!important;width:100%!important;height:auto!important;max-height:none!important;box-sizing:border-box!important}
#gb-pilot-portal .g-top{height:auto!important;display:flex!important;flex-wrap:wrap!important;gap:12px!important;padding:14px!important}
#gb-pilot-portal .g-account{display:flex!important;flex-wrap:wrap!important;gap:8px!important;position:static!important}
#gb-pilot-portal .g-work,#gb-pilot-portal .g-main{min-width:0!important;width:100%!important;box-sizing:border-box!important;height:auto!important}
#gb-pilot-portal .g-main{padding:14px!important}
}
