/* iOS home-screen mode can retain a stale fixed-bottom viewport after a keyboard.
   Anchor to the dynamic full app height instead; existing dock safe-area padding
   is already part of the measured height and must not be added a second time. */
@media screen and (max-width:1023px){
 html.boInstalledMobile body #boMainDock[data-installed-dock],
 html.boInstalledMobile body.boItControls #itMobileDock[data-installed-dock],
 html.boInstalledMobile body.riskPage.mobileUnified #riskNav[data-installed-dock],
 html.boInstalledMobile body.economyPage .ecDock[data-installed-dock]{
  position:fixed!important;
  inset:auto 0 auto 0!important;
  top:calc(100vh - var(--installed-dock-height,90px))!important;
  top:calc(100dvh - var(--installed-dock-height,90px))!important;
  bottom:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin-block:0!important;
  box-sizing:border-box;
 }
}
/* No display/visibility overrides: riskKeyboardOpen must continue to hide its dock. */
