/* Keep account actions reachable above the mobile tab bar and safe area. */
.mobile-menu-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: calc(100vh - 172px - env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - 172px - env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  padding: 8px;
}
.mobile-menu-links {
  display: grid;
  gap: 3px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-links a { min-height: 44px; flex-shrink: 0; }
.mobile-menu-session {
  flex-shrink: 0;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid var(--line, #e3dfef);
  background: #fff;
}
.mobile-menu-session form { margin: 0; }
.mobile-sign-out {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 0;
  border-radius: 8px;
  background: #f1eeff;
  color: var(--crew-blue, #6150e8);
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.mobile-sign-out:hover { background: #e8e2ff; }
.mobile-sign-out .crew-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; }
[data-krewflight-sign-out]:disabled, #settingsSignOut:disabled { cursor: wait; opacity: .65; }
.menu-session-status {
  margin: 8px 10px 4px;
  color: var(--muted, #526074);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.menu-session-status[data-state="error"] { color: #a83246; }
.menu-session-status[hidden] { display: none; }
