/* Header extensions and shell overlays. */
.omni-header {
  --omni-header-bg: #46515e;
  --omni-text: #ffffff;
  --omni-muted: #e5e7eb;
  --omni-border: rgba(255, 255, 255, 0.22);
  --omni-header-separator: rgba(255, 255, 255, 0.24);
  --omni-active-soft: rgba(255, 255, 255, 0.14);
  --omni-surface: rgba(255, 255, 255, 0.10);
  --omni-ai-button-bg: rgba(255, 255, 255, 0.12);
  --omni-avatar-bg: rgba(255, 255, 255, 0.16);
  --omni-avatar-text: #ffffff;
  --omni-brand-exa: #ffffff;
  --omni-brand-omni-start: #d9f1ff;
  --omni-brand-omni-end: #9ff3dd;
  --omni-icon-theme: #f8fafc;
  --omni-icon-ios: #f8fafc;
  --omni-icon-favorite: #a7f3d0;
  --omni-icon-notification: #fde68a;
  --omni-icon-ai: #d9f1ff;
  --omni-icon-support: #e5e7eb;
}

.omni-breadcrumb-home {
  color: var(--omni-text);
  text-decoration: none;
}

.omni-breadcrumb-home:hover {
  color: #ffd142;
}

.omni-breadcrumb-current {
  color: #ffd142;
  font-weight: 400;
}

.omni-header-tool-mobile {
  color: #d9f1ff;
}

.omni-mobile-app-panel {
  width: 250px;
}

.omni-mobile-app-options {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.omni-mobile-app-options button {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 10px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  text-align: left;
}

.omni-mobile-app-options button:hover {
  border-color: #9fb8d2;
  background: #eef5fc;
}

.omni-mobile-app-options svg {
  width: 20px;
  height: 20px;
}

.omni-mobile-app-options small,
.omni-mobile-app-options strong {
  display: block;
}

.omni-mobile-app-options small { color: #64748b; font-size: 10px; }
.omni-mobile-app-options strong { margin-top: 2px; font-size: 12px; }

.omni-account-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}

.omni-account-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(2px);
}

.omni-account-dialog-card {
  position: relative;
  width: min(820px, calc(100vw - 56px));
  height: min(640px, calc(100vh - 76px));
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.omni-account-dialog-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 18px;
  border-bottom: 1px solid #dbe3ec;
  color: #172033;
  background: #f8fafc;
}

.omni-account-dialog-card header small { color: #64748b; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.omni-account-dialog-card header h2 { margin: 2px 0 0; font-size: 16px; }
.omni-account-dialog-card header button { width: 32px; height: 32px; border: 0; border-radius: 7px; background: transparent; color: #526173; font-size: 24px; }
.omni-account-dialog-card header button:hover { background: #e8eef5; color: #172033; }
.omni-account-dialog-card iframe { width: 100%; height: 100%; border: 0; background: #ffffff; }

.omni-menu-scroll {
  scrollbar-color: #b7c2cf transparent;
  scrollbar-width: thin;
}

.omni-menu-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.omni-menu-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.omni-menu-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #edf2f7;
  border-radius: 999px;
  background: #b7c2cf;
}

.omni-menu-scroll::-webkit-scrollbar-thumb:hover {
  background: #9aa7b6;
}
