/* GAINVO v4.9.198 — allow account dropdown to paint above the fixed header.
   Previous shell uses contain:layout paint, which clips positioned menus.
   Preserve the header's layout containment and all scroll ownership. */
body.app-body .topbar {
  contain: layout !important;
  overflow: visible !important;
  isolation: auto !important;
}
body.app-body .topbar:has(.gainvo-profile-menu[open]) {
  z-index: 1100 !important;
}
body.app-body .topbar-actions {
  overflow: visible !important;
}
body.app-body .gainvo-profile-menu {
  position: relative;
}
body.app-body .gainvo-profile-menu[open] {
  z-index: 1101 !important;
}
body.app-body .gainvo-profile-popup {
  z-index: 1102 !important;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  min-width: 220px;
  max-width: min(300px, calc(100vw - 24px));
}
body.app-body .gainvo-profile-popup a:focus-visible,
body.app-body .gainvo-profile-menu > summary:focus-visible {
  outline: 2px solid var(--brand, #69447b);
  outline-offset: 2px;
}
@media (max-width: 420px) {
  body.app-body .gainvo-profile-popup {
    min-width: 200px;
    max-width: calc(100vw - 16px);
  }
}
