/* Touch navigation keeps one horizontal dock in either orientation. */
html body.staff-quick-nav-active #app > #nav.staff-quick-nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
@media screen and (max-width:900px), screen and (pointer:coarse) {
  html.staff-bottom-nav-ready body[data-duo-page],
  html.staff-bottom-nav-ready.vg-duo body[data-duo-page=staff] {
    --duo-reserve: 0px !important;
  }
  html.staff-bottom-nav-ready body #app > #nav {
    position: fixed !important;
    top: var(--staff-nav-top) !important;
    bottom: auto !important;
    left: var(--staff-nav-left, 0px) !important;
    right: auto !important;
    width: var(--staff-nav-width, 100%) !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px) !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    overflow: visible !important;
    gap: 0 !important;
    z-index: 150;
  }
  html.staff-bottom-nav-ready.vg-duo body[data-duo-page=staff] #app > #nav,
  html.staff-bottom-nav-ready body #app > #nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: 18px 18px 0 0;
  }
  html.staff-bottom-nav-ready body #app > #nav > button {
    width: 100%; min-width: 0; min-height: 48px;
    margin: 0; padding: 8px 3px; font-size: 11px; line-height: 1.3;
  }
  html.staff-bottom-nav-ready body:not(.staff-mobile-menu) #app > main,
  html.staff-bottom-nav-ready body.staff-quick-nav-active #app > main {
    padding-bottom: calc(var(--staff-nav-height, 60px) + 24px) !important;
  }
}
