#gfImpersonationBar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2147483000;
  box-sizing: border-box;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
  border: 0;
  border-bottom: 1px solid #c9dceb;
  background: #edf5fc;
  color: #234b6f;
  font: 500 12px/1.3 Manrope, system-ui, sans-serif;
  color-scheme: light;
}
#gfImpersonationBar .gf-impersonation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  max-width: 1480px;
  margin: auto;
}
#gfImpersonationBar .gf-impersonation-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#gfImpersonationBar .gf-impersonation-name { font-weight: 750; }
#gfImpersonationBar .gf-impersonation-role { color: #476882; }
#gfImpersonationBar button {
  flex: 0 0 auto;
  min-height: 27px;
  padding: 3px 10px;
  border: 1px solid #b8d1e6;
  border-radius: 7px;
  background: #fff;
  color: #165d99;
  font: 750 12px/1.3 Manrope, system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
#gfImpersonationBar button:hover { background: #dfedf9; }
#gfImpersonationBar button:focus-visible { outline: 3px solid #0a78ce; outline-offset: 1px; }
#gfImpersonationBar button:disabled { opacity: .6; cursor: wait; }
#gfImpersonationBar .gf-impersonation-status:empty { display: none; }
#gfImpersonationSpacer { display: block; height: var(--gf-impersonation-height, 33px); flex: 0 0 var(--gf-impersonation-height, 33px); }
html.gf-impersonation-shell #gfImpersonationSpacer { display: none; }
html.gf-impersonation-shell .beta-app {
  top: calc(var(--beta-viewport-offset-top, 0px) + var(--gf-impersonation-height, 33px));
  height: calc(var(--beta-app-height, 100dvh) - var(--gf-impersonation-height, 33px));
}
html.gf-has-impersonation-bar [data-gf-impersonation-header] {
  top: calc(var(--gf-impersonation-original-top, 0px) + var(--gf-impersonation-height, 33px)) !important;
}
html.gf-impersonation-shell .beta-overlay,
html.gf-impersonation-shell .beta-confirm-layer { top: var(--gf-impersonation-height, 33px); }
@media (max-width: 600px) {
  #gfImpersonationBar { font-size: 11px; }
  #gfImpersonationBar .gf-impersonation-inner { min-height: 38px; gap: 6px; }
  #gfImpersonationBar button { min-height: 32px; padding-inline: 8px; font-size: 11px; }
  #gfImpersonationBar .gf-impersonation-prefix { display: none; }
}
