:root { --kweja-account-bar-height: 32px; }
body { padding-top: var(--kweja-account-bar-height) !important; }
/* Reserve space only in the app shell, never in full-screen overlays. */
body > :is(.h-screen, .h-dvh):not(.fixed) { height: calc(100dvh - var(--kweja-account-bar-height)) !important; }
body > :is(.min-h-screen, .min-h-dvh):not(.fixed) { min-height: calc(100dvh - var(--kweja-account-bar-height)) !important; }
@media (width < 1024px) {
  body > .h-dvh:not(.fixed) .max-lg\:fixed { top: var(--kweja-account-bar-height); }
}
#kweja-account-navigation {
  position: fixed; inset: 0 0 auto; height: var(--kweja-account-bar-height);
  /* Native drawers and dialogs must remain above this navigation. */
  z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; gap: 12px; box-sizing: border-box;
  background: #f1f5f9; color: #0f172a; border-bottom: 1px solid #cbd5e1;
  font: 12px/1.2 system-ui, sans-serif;
}
.dark #kweja-account-navigation { background: #0f172a; color: #e2e8f0; border-color: #334155; }
#kweja-account-navigation a { color: inherit; text-decoration: underline; padding: 6px 0; }
#kweja-account-navigation a:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }
