/* v4.7.10.5 — iPhone Home Screen dock recovery.
 * Standalone mode must anchor the five-tab dock to the visible viewport.
 * Business pages, forms and data behavior are intentionally unchanged.
 */
@media (max-width:759px){
  html.mocui-standalone-dock,
  html.mocui-standalone-dock body{
    width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
  }

  html.mocui-standalone-dock body #app{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
  }

  html.mocui-standalone-dock body #app>#main.main{
    padding-bottom:var(--mocui-shell-dock-clearance,104px)!important;
    scroll-padding-bottom:var(--mocui-shell-dock-clearance,104px)!important;
  }

  html.mocui-standalone-dock body #app>.bottom-nav,
  html.mocui-standalone-dock body.dock-js-fixed #app>.bottom-nav{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    width:var(--mocui-shell-dock-width,min(86vw,540px))!important;
    max-width:540px!important;
    z-index:1000!important;
    transform:translate3d(-50%,0,0)!important;
  }

  html.mocui-standalone-dock:not(.ios-keyboard-open)
    body:not(.keyboard-open):not(.v443-modal-open):not([data-mocui-route="sale-new"]):not([data-mocui-route="pass-deal-new"])
    #app>.bottom-nav{
    display:grid!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}

