/* GODIMENTO UI 887.2: stable iOS bottom navigation by architecture, not scroll offsets.
   On phones only, page scrolling is isolated to .app and nav is a non-scrolling sibling.
   Desktop display, modal overlays and existing 5-tab role navigation are preserved. */
@media(max-width:759px){
 html,body{height:100%!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none!important}
 html body #gd8872Shell{
  position:fixed!important;inset:0!important;z-index:1!important;
  width:100%!important;height:100%!important;max-height:100%!important;
  display:flex!important;flex-direction:column!important;
  overflow:hidden!important;transform:none!important;contain:layout!important;
 }
 html body #gd8872Shell > .app{
  position:relative!important;flex:1 1 auto!important;min-height:0!important;
  height:auto!important;width:100%!important;max-width:540px!important;
  margin:0 auto!important;overflow-x:hidden!important;overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;overscroll-behavior-y:contain!important;
  scroll-behavior:auto!important;
  padding-bottom:16px!important;
 }
 html body #gd8872Shell > nav.bottom.bottom{
  position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  display:block;flex:0 0 auto!important;align-self:stretch!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;transform:none!important;-webkit-transform:none!important;
  will-change:auto!important;transition:none!important;animation:none!important;
  z-index:2!important;
 }
 /* The bar includes iOS safe-area padding from UI 886.5, not a floating gap. */
 html body #gd8872Shell > nav.bottom.bottom .tabs{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 }
 /* nav children render above the Home Indicator; all items retain a 48px target. */
 html body #gd8872Shell > nav.bottom.bottom .tabs > .tab{transform:none!important}
 /* Explicitly disable scroll-driven viewport position variables retained in older styles. */
 :root{--gd8866-visual-lift:0px!important;--gd-nav-vv-shift:0px!important}
}
@media(prefers-reduced-motion:reduce){#gd8872Shell > nav.bottom .tab{transition:none!important}}
