/* FIX171 — canonical mobile viewport dock and modal/explicit-workflow safety. */
html body #profileBottomNav.gcAppBottomNav.gcViewportDock167R4{
  position:fixed!important;top:auto!important;
  bottom:max(8px,calc(env(safe-area-inset-bottom,0px) + 8px))!important;
  z-index:2147481000!important;
}
@media(max-width:640px){
  html body #profileBottomNav.gcAppBottomNav.gcViewportDock167R4{
    left:max(8px,env(safe-area-inset-left,0px))!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    width:auto!important;max-width:none!important;
    margin:0!important;transform:none!important;
  }
}
@media(min-width:641px){
  html body #profileBottomNav.gcAppBottomNav.gcViewportDock167R4{
    left:50%!important;right:auto!important;width:min(620px,calc(100vw - 32px))!important;
    max-width:620px!important;margin:0!important;transform:translateX(-50%)!important;
  }
}
/* Any modal/full-screen workflow owns the viewport. The dock must never sit on top
   of its close/actions/footer controls. The Purchase Poll list itself now keeps the dock. */
html body.gcFloatingNavSuppressed167R4 :is(#profileBottomNav,#gcAdminUnifiedNav,.gcAdminFloatingNav,.gcAwardsBottomNav,#gcGoldSimpleNav,.gcGoldSimpleNav,.gcGoldBottomNav,[data-gc-floating-nav]){
  visibility:hidden!important;opacity:0!important;pointer-events:none!important;
}
html body.gcFloatingNavSuppressed167R4 :is(.gcAppBottomNavSpacer,.gcAwardsNavSpacer){min-height:0!important;height:0!important;}
