/* Team-area navigation isolation: keep only team toolbar while team mode is active. */
html body.gvtm-mode #gvMenuStack,
html body.gvtm-mode #gvfdToggle,
html body.gvtm-mode #gvfdSubnav,
html body.gvtm-mode #gvfdDrawer,
html body.gvtm-mode nav.bottom-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* The team-specific toolbar stays available, including its "back to farm" button. */
html body.gvtm-mode .gvtm-toolbar {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Do not reserve space for the hidden personal navigation inside team pages. */
html body.gvtm-mode #app-shell,
html body.gvtm-mode.gv-menu-2-open #app-shell {
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
}