/* EXAWin shell design tokens and base surfaces. */
:root {
  --exawin-bg: #eef3f7;
  --exawin-surface: #fbfcfe;
  --exawin-header-bg: #46515e;
  --exawin-header-fg: #f8fafc;
  --exawin-header-muted: #e8edf3;
  --exawin-header-border: rgba(255, 255, 255, 0.18);
  --exawin-header-hover: rgba(255, 255, 255, 0.12);
  --exawin-rail-bg: #eef3f8;
  --exawin-menu-bg: #f8fafc;
  --exawin-menu-head-bg: #f3f7fb;
  --exawin-tabbar-bg: #dfe8f2;
  --exawin-active-soft: #dceafa;
  --exawin-border: #cfd8e3;
  --exawin-text: #162033;
  --exawin-muted: #5f6d7f;
  --exawin-accent: #0b66b2;
}

body,
.exa-decision-field,
#home-base {
  background: var(--exawin-bg) !important;
  color: var(--exawin-text) !important;
}

.exa-white-header {
  height: 48px !important;
  min-height: 48px !important;
  padding-left: 3px !important;
  padding-right: 10px !important;
  border-bottom: 1px solid var(--exawin-header-border) !important;
  background: var(--exawin-header-bg) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.exa-white-header::after,
.exa-white-rail::before {
  display: none !important;
}

.exa-brand-ribbon {
  border-right: 0 !important;
}

.exa-header-toggle,
.exa-white-header-icon {
  border-radius: 8px !important;
  color: var(--exawin-header-muted) !important;
}

.exa-header-toggle:hover,
.exa-white-header-icon:hover {
  background: var(--exawin-header-hover) !important;
  color: var(--exawin-header-fg) !important;
}

/* Ontology AI Agent: a compact product-capability badge, distinct from utility actions. */
html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger {
  position: relative;
  width: 116px !important;
  height: 34px !important;
  min-height: 34px !important;
  justify-content: flex-start;
  gap: 8px !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(142, 162, 255, 0.42) !important;
  border-radius: 8px !important;
  background: rgba(15, 23, 42, 0.18) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  overflow: hidden !important;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease !important;
}

html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger > i,
html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger > svg {
  flex: 0 0 auto;
  width: 17px !important;
  height: 17px !important;
  color: #8ea2ff !important;
  stroke: #8ea2ff !important;
  stroke-width: 2.1 !important;
  transition: color 140ms ease, stroke 140ms ease;
}

html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger .exa-ontology-ai-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-align: left;
}

html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger .exa-ontology-ai-eyebrow {
  color: #a7b4ff !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger .exa-ontology-ai-label {
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap;
}

html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger .exa-ontology-ai-status {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #63d7d8;
  box-shadow: 0 0 0 2px rgba(99, 215, 216, 0.11);
}

html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger:hover,
html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger:focus-visible {
  border-color: rgba(167, 180, 255, 0.78) !important;
  background: rgba(142, 162, 255, 0.11) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 3px 10px rgba(15, 23, 42, 0.12) !important;
}

html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger:hover > i,
html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger:hover > svg,
html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger:focus-visible > i,
html body header.exa-white-header button.exa-white-header-icon.exa-ontology-ai-trigger:focus-visible > svg {
  color: #a7b4ff !important;
  stroke: #a7b4ff !important;
}

.exa-story-time {
  height: 28px !important;
  border: 1px solid var(--exawin-header-border) !important;
  background: transparent !important;
  color: var(--exawin-header-muted) !important;
  font-size: 11px !important;
}

.exa-white-header-sep { background: var(--exawin-header-border) !important; }

.exa-white-rail {
  background: var(--exawin-rail-bg) !important;
  border-right: 1px solid var(--exawin-border) !important;
}

.exa-white-menu,
.exa-menu-scroll-shell {
  border-right-color: var(--exawin-border) !important;
  background: var(--exawin-menu-bg) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Keep the rail separator, but leave the menu open to the workspace. */
html body #menu-panel.exa-white-menu {
  border-right: 1px solid var(--exawin-border) !important;
}

.exa-white-menu > div:first-child,
.exa-white-menu > div:nth-child(2) {
  border-bottom-color: var(--exawin-border) !important;
  background: var(--exawin-menu-head-bg) !important;
}

.exa-white-menu-search {
  height: 30px !important;
  border: 1px solid #d8e2ee !important;
  border-radius: 6px !important;
  background: #fbfdff !important;
  box-shadow: none !important;
  color: #334155 !important;
  font-size: 11px !important;
}

.exa-white-menu-section:hover,
.exa-white-menu a:not(.exa-white-menu-active):hover {
  background: var(--exawin-active-soft) !important;
  color: var(--exawin-accent) !important;
  box-shadow: none !important;
}

.exa-white-menu a { border-radius: 6px !important; }

.exa-white-menu-active,
.exa-white-menu-active:hover {
  border: 1px solid #c7dbef !important;
  background: #edf5ff !important;
  color: var(--exawin-accent) !important;
  box-shadow: inset 0 0 0 1px rgba(11, 102, 178, 0.04) !important;
}

html.dark .exa-white-menu-active,
html.dark .exa-white-menu-active:hover {
  border-color: #2c5f91 !important;
  background: #17304a !important;
}

.exa-white-tabbar {
  height: 32px !important;
  min-height: 32px !important;
  border-bottom: 1px solid var(--exawin-border) !important;
  background: var(--exawin-tabbar-bg) !important;
  box-shadow: none !important;
}

#multi-tabs-container > div {
  height: 28px !important;
  border-color: var(--exawin-border) !important;
  border-radius: 6px 6px 0 0 !important;
  background: #f1f5f9 !important;
  color: var(--exawin-muted) !important;
  box-shadow: none !important;
}

#multi-tabs-container > .z-10 {
  background: var(--exawin-surface) !important;
  color: var(--exawin-accent) !important;
}

#multi-tabs-container > .z-10 > div.absolute {
  height: 3px !important;
  background: var(--exawin-accent) !important;
}

.exa-white-action-soft,
.exa-white-action-primary,
.exa-white-action-danger {
  height: 25px !important;
  min-height: 25px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.exa-white-action-primary { background: #0891b2 !important; }
.exa-white-action-soft { background: #718096 !important; color: #fff !important; }
.exa-white-action-danger { background: #e05252 !important; color: #fff !important; }

/* Header specificity guards keep the shell chrome stable across theme utilities. */
html.dark body header.exa-white-header,
html body header.exa-white-header,
html.dark body .exa-white-header.dark\:bg-gray-800,
html body .exa-white-header.bg-white {
  height: 48px !important;
  min-height: 48px !important;
  background: var(--exawin-header-bg) !important;
  background-color: var(--exawin-header-bg) !important;
  border-bottom-color: var(--exawin-header-border) !important;
  box-shadow: none !important;
  color: var(--exawin-header-fg) !important;
}

html.dark body header.exa-white-header::after,
html body header.exa-white-header::after {
  display: none !important;
}

html.dark body header.exa-white-header .exa-white-header-sep,
html body header.exa-white-header .exa-white-header-sep {
  background: var(--exawin-header-border) !important;
}

html.dark body header.exa-white-header .exa-white-header-icon,
html.dark body header.exa-white-header .exa-header-toggle,
html.dark body header.exa-white-header .exa-story-time,
html.dark body header.exa-white-header .exa-story-link,
html body header.exa-white-header .exa-white-header-icon,
html body header.exa-white-header .exa-header-toggle,
html body header.exa-white-header .exa-story-time,
html body header.exa-white-header .exa-story-link {
  background: transparent !important;
  border-color: var(--exawin-header-border) !important;
  color: var(--exawin-header-muted) !important;
  box-shadow: none !important;
}

html.dark body header.exa-white-header .exa-white-header-icon:hover,
html.dark body header.exa-white-header .exa-header-toggle:hover,
html.dark body header.exa-white-header .exa-story-link:hover,
html body header.exa-white-header .exa-white-header-icon:hover,
html body header.exa-white-header .exa-header-toggle:hover,
html body header.exa-white-header .exa-story-link:hover {
  background: var(--exawin-header-hover) !important;
  color: var(--exawin-header-fg) !important;
}

html.dark body #menu-panel .exa-white-menu-search,
html body #menu-panel .exa-white-menu-search {
  border-color: #d8e2ee !important;
  background: #fbfdff !important;
  color: #334155 !important;
}

html.dark body #menu-panel .exa-white-menu-active,
html.dark body #menu-panel .exa-white-menu-active:hover,
html body #menu-panel .exa-white-menu-active,
html body #menu-panel .exa-white-menu-active:hover {
  border-color: #c7dbef !important;
  background: #edf5ff !important;
  color: #0b66b2 !important;
}

/* Compact rail and navigation typography. */
html body header.exa-white-header .exa-header-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  margin-right: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html body header.exa-white-header .exa-header-toggle:hover {
  background: var(--exawin-header-hover) !important;
}

html body header.exa-white-header .exa-header-toggle-frame {
  position: static !important;
  display: inline-flex !important;
  align-items: stretch !important;
  width: 16px !important;
  height: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  gap: 0 !important;
  overflow: hidden !important;
}

html body header.exa-white-header .exa-header-toggle-frame::before {
  content: none !important;
  display: none !important;
}

html body header.exa-white-header .exa-header-toggle-rail {
  display: block !important;
  flex: 0 0 auto !important;
  width: 4px !important;
  background: var(--exawin-header-muted) !important;
  border-radius: 2px 0 0 2px !important;
}

html body header.exa-white-header .exa-header-toggle.is-closed .exa-header-toggle-rail {
  width: 8px !important;
}

html body header.exa-white-header .exa-header-toggle-core {
  display: block !important;
  flex: 1 1 auto !important;
  background: transparent !important;
  transform: none !important;
}

html body .exa-white-rail {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  padding-top: 22px !important;
  padding-bottom: 14px !important;
  gap: 12px !important;
  border-right: 1px solid #cfd8e3 !important;
  background: #eef3f8 !important;
  overflow: visible !important;
  scrollbar-width: none !important;
}

html body .exa-white-rail::-webkit-scrollbar {
  display: none !important;
}

html body .exa-white-rail > div:first-child {
  gap: 18px !important;
}

html body .exa-rail-button {
  flex: 0 0 34px !important;
  width: 38px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #617083 !important;
}

/* One consistent, app-owned tooltip for every module rail icon. */
html body .exa-rail-tooltip {
  position: absolute !important;
  left: calc(100% + 10px) !important;
  top: 50% !important;
  z-index: 100 !important;
  padding: 7px 10px !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #172033 !important;
  box-shadow: 0 8px 20px rgba(30, 48, 72, 0.14), 0 2px 5px rgba(30, 48, 72, 0.08) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-50%) translateX(-4px) !important;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease !important;
}

html body .exa-rail-tooltip::before {
  content: "" !important;
  position: absolute !important;
  left: -5px !important;
  top: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border-left: 1px solid #d9e2ec !important;
  border-bottom: 1px solid #d9e2ec !important;
  background: #ffffff !important;
  transform: translateY(-50%) rotate(45deg) !important;
}

html body .exa-rail-button:hover .exa-rail-tooltip,
html body .exa-rail-button:focus-visible .exa-rail-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) translateX(0) !important;
}

html body .exa-rail-button svg,
html body .exa-rail-button i {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2 !important;
}

html body .exa-rail-button:hover,
html body .exa-rail-button-active,
html body .exa-rail-button-active:hover {
  background: #dceafa !important;
  color: #0b66b2 !important;
}

html body .exa-rail-button-active::after {
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  border-radius: 0 !important;
  background: #0b66b2 !important;
}

html body #menu-panel > div:first-child {
  height: 44px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

html body #menu-panel .exa-menu-group-icon {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  margin-right: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  border-color: #cfe0ef !important;
  background: #edf5fb !important;
  box-shadow: none !important;
}

html body #menu-panel .exa-menu-group-icon svg,
html body #menu-panel .exa-menu-group-icon i {
  width: 17px !important;
  height: 17px !important;
  color: #8ba0b6 !important;
  stroke: #8ba0b6 !important;
  stroke-width: 1.8 !important;
}

html body #menu-panel .exa-menu-search-row {
  height: 56px !important;
  border-bottom: 1px solid #cfdae6 !important;
  background: #f8fafc !important;
}

html.dark body #menu-panel .exa-menu-search-row,
.dark body #menu-panel .exa-menu-search-row {
  border-bottom-color: #33465a !important;
  background: rgba(23, 36, 52, 0.96) !important;
}

html body #menu-panel .exa-menu-search-row > div {
  transform: translateY(-5px) !important;
}

html body #menu-panel .exa-menu-search-clear {
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-flex;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8a9aad;
  cursor: pointer;
}

html body #menu-panel .exa-menu-search-clear.hidden {
  display: none;
}

html body #menu-panel .exa-menu-search-clear:hover,
html body #menu-panel .exa-menu-search-clear:focus-visible {
  background: #e7f0f8;
  color: #315d86;
  outline: none;
}

html body #menu-panel .exa-menu-search-clear svg,
html body #menu-panel .exa-menu-search-clear i {
  width: 13px;
  height: 13px;
  stroke-width: 1.9;
}

html body #menu-panel .exa-menu-account-footer {
  flex: 0 0 auto;
  padding: 10px 16px 11px;
  border-top: 1px solid #cfdae6;
  background: #f4f8fc;
}

html body #menu-panel .exa-menu-account-card {
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html body #menu-panel .exa-menu-account-product,
html body #menu-panel .exa-menu-license-usage,
html body #menu-panel .exa-menu-plan-action,
html body #menu-panel .exa-menu-enterprise-status {
  display: flex;
  align-items: center;
}

html body #menu-panel .exa-menu-account-product {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

html body #menu-panel .exa-menu-account-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

html body #menu-panel .exa-menu-account-product strong {
  display: block;
  color: #172033;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}

html body #menu-panel .exa-menu-account-version {
  display: block;
  color: #8392a5;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
}

html body #menu-panel .exa-menu-plan-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 3px 6px;
  border: 1px solid #cfd9e5;
  border-radius: 4px;
  background: #f2f5f8;
  color: #59697c;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

html body #menu-panel .exa-menu-plan-badge svg,
html body #menu-panel .exa-menu-plan-badge i {
  width: 11px;
  height: 11px;
  stroke-width: 2;
}

html body #menu-panel .exa-menu-plan-badge--professional {
  border-color: #c9d3f2;
  background: #eef1ff;
  color: #5366a8;
}

html body #menu-panel .exa-menu-plan-badge--enterprise {
  border-color: #e5d1a1;
  background: #fff8e7;
  color: #8a6514;
}

html body #menu-panel .exa-menu-license-usage {
  justify-content: flex-start;
  gap: 7px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 0;
  color: #738398;
  font-size: 9px;
  font-weight: 700;
}

html body #menu-panel .exa-menu-license-usage strong {
  color: #33465a;
  font-size: 10px;
  font-weight: 800;
}

html body #menu-panel .exa-menu-license-usage strong span {
  padding: 0 2px;
  color: #a0adbb;
}

html body #menu-panel .exa-menu-plan-action,
html body #menu-panel .exa-menu-enterprise-status {
  min-height: 22px;
  margin-top: 8px;
  padding: 8px 0 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

html body #menu-panel .exa-menu-plan-action {
  justify-content: flex-start;
  gap: 5px;
  border: 0;
  border-top: 0;
  background: transparent;
  color: #315d86;
  transition: color 140ms ease;
}

html body #menu-panel .exa-menu-plan-action:hover,
html body #menu-panel .exa-menu-plan-action:focus-visible {
  border-top: 0;
  background: transparent;
  color: #174d79;
  outline: none;
}

html body #menu-panel .exa-menu-plan-action svg,
html body #menu-panel .exa-menu-plan-action i,
html body #menu-panel .exa-menu-enterprise-status svg,
html body #menu-panel .exa-menu-enterprise-status i {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

html body #menu-panel .exa-menu-enterprise-status {
  justify-content: flex-start;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid #e5d1a1;
  border-radius: 5px;
  background: #fff8e7;
  color: #8a6514;
}

html.dark body #menu-panel .exa-menu-account-footer,
.dark body #menu-panel .exa-menu-account-footer {
  border-top-color: #33465a;
  background: #111c2a;
}

html.dark body #menu-panel .exa-menu-account-card,
.dark body #menu-panel .exa-menu-account-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html.dark body #menu-panel .exa-menu-account-product strong,
.dark body #menu-panel .exa-menu-account-product strong {
  color: #f1f5f9;
}

html.dark body #menu-panel .exa-menu-account-version,
.dark body #menu-panel .exa-menu-account-version,
html.dark body #menu-panel .exa-menu-license-usage,
.dark body #menu-panel .exa-menu-license-usage {
  color: #8fa0b5;
}

html.dark body #menu-panel .exa-menu-license-usage,
.dark body #menu-panel .exa-menu-license-usage {
  border-top: 0;
}

html.dark body #menu-panel .exa-menu-plan-action,
.dark body #menu-panel .exa-menu-plan-action {
  border-top: 0;
  background: transparent;
}

html.dark body #menu-panel .exa-menu-plan-action:hover,
html.dark body #menu-panel .exa-menu-plan-action:focus-visible,
.dark body #menu-panel .exa-menu-plan-action:hover,
.dark body #menu-panel .exa-menu-plan-action:focus-visible {
  border-top: 0;
  background: transparent;
}

html.dark body #menu-panel .exa-menu-license-usage strong,
.dark body #menu-panel .exa-menu-license-usage strong {
  color: #d9e4ef;
}

html.dark body #menu-panel .exa-menu-plan-badge,
.dark body #menu-panel .exa-menu-plan-badge {
  border-color: #41536a;
  background: #223147;
  color: #b7c5d5;
}

html.dark body #menu-panel .exa-menu-plan-badge--professional,
.dark body #menu-panel .exa-menu-plan-badge--professional {
  border-color: #4f5f93;
  background: #242d55;
  color: #bdc7ff;
}

html.dark body #menu-panel .exa-menu-plan-badge--enterprise,
.dark body #menu-panel .exa-menu-plan-badge--enterprise,
html.dark body #menu-panel .exa-menu-enterprise-status,
.dark body #menu-panel .exa-menu-enterprise-status {
  border-color: #6e5a2b;
  background: #332b1b;
  color: #e3c777;
}

html.dark body #menu-panel .exa-menu-plan-action,
.dark body #menu-panel .exa-menu-plan-action {
  border-color: #405d78;
  background: #1b3349;
  color: #a9c8e4;
}

html.dark body #menu-panel .exa-menu-plan-action:hover,
html.dark body #menu-panel .exa-menu-plan-action:focus-visible,
.dark body #menu-panel .exa-menu-plan-action:hover,
.dark body #menu-panel .exa-menu-plan-action:focus-visible {
  border-color: #5e7f9e;
  background: #23415d;
  color: #d6e8f7;
}

html body #menu-panel .exa-menu-search-surface {
  padding: 14px 12px 18px !important;
}

html body #menu-panel .exa-menu-search-surface.hidden,
html body #menu-panel [data-menu-tree].hidden {
  display: none !important;
}

html body #menu-panel .exa-menu-search-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin: 0 2px 8px;
  color: #6b7c90;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

html body #menu-panel .exa-menu-search-status svg,
html body #menu-panel .exa-menu-search-status i {
  width: 13px;
  height: 13px;
  color: #5c83aa;
  stroke-width: 1.8;
}

html body #menu-panel #exa-menu-search-count {
  min-width: 22px;
  padding: 2px 6px;
  border: 1px solid #d6e2ee;
  border-radius: 4px;
  background: #f2f7fb;
  color: #60758b;
  text-align: center;
  line-height: 1.2;
}

html body #menu-panel #exa-menu-search-count:empty {
  display: none;
}

html body #menu-panel #exa-menu-search-results {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

html body #menu-panel .exa-menu-search-result {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #3d4e62;
  text-align: left;
  cursor: pointer;
}

html body #menu-panel .exa-menu-search-result:hover,
html body #menu-panel .exa-menu-search-result.is-active {
  border-color: #c9dced;
  background: #edf5ff;
  box-shadow: inset 2px 0 0 #2f73ca;
  outline: none;
}

html body #menu-panel .exa-menu-search-result-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e5f2;
  border-radius: 5px;
  background: #f4f9fd;
  color: #5b7898;
}

html body #menu-panel .exa-menu-search-result-icon svg,
html body #menu-panel .exa-menu-search-result-icon i {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
}

html body #menu-panel .exa-menu-search-result-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

html body #menu-panel .exa-menu-search-result-title {
  overflow: hidden;
  color: #26384c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body #menu-panel .exa-menu-search-result-module {
  overflow: hidden;
  margin-top: 2px;
  color: #6d8196;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body #menu-panel .exa-menu-search-result-description {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: #8a9aad;
  font-size: 9px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html body #menu-panel .exa-menu-search-result-arrow {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  margin-top: 7px;
  color: #9aaabc;
  stroke-width: 1.8;
}

html body #menu-panel .exa-menu-search-empty {
  margin: 8px 2px 0;
  padding: 16px 12px;
  border: 1px dashed #d5e0eb;
  border-radius: 6px;
  background: rgba(244, 248, 252, 0.72);
  color: #8797a9;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

html body #menu-panel .exa-menu-search-empty[hidden] {
  display: none;
}

html body #menu-panel h2 {
  color: #1d2a3a !important;
  font-size: 14px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

html body #menu-panel h2 + p {
  margin-top: 4px !important;
  color: #8b9aae !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
}

html body #menu-panel .exa-menu-scroll-shell > div {
  padding: 18px 12px !important;
  row-gap: 12px !important;
}

html body #menu-panel .exa-white-menu-section {
  padding: 8px 10px !important;
  border-radius: 4px !important;
  color: #56667b !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

html body #menu-panel .exa-white-menu-section svg,
html body #menu-panel .exa-white-menu-section i {
  width: 13px !important;
  height: 13px !important;
  stroke-width: 1.8 !important;
}

html body #menu-panel .module-group > div[id^="module-"] {
  margin-top: 3px !important;
  margin-left: 2px !important;
  padding-left: 9px !important;
  row-gap: 4px !important;
}

html body #menu-panel .module-group a {
  min-height: 42px !important;
  padding: 7px 8px !important;
  border-radius: 4px !important;
  align-items: flex-start !important;
}

html body #menu-panel .module-group a:focus,
html body #menu-panel .module-group a:focus-visible,
html body #menu-panel .module-group a.project-item:focus,
html body #menu-panel .module-group a.project-item:focus-visible {
  outline: none !important;
}

html body #menu-panel .module-group a > i,
html body #menu-panel .module-group a > svg {
  width: 15px !important;
  height: 15px !important;
  margin-top: 2px !important;
  margin-right: 8px !important;
  color: #74879b !important;
  stroke: #74879b !important;
  stroke-width: 1.85 !important;
}

html body #menu-panel .module-group a.exa-white-menu-active > i,
html body #menu-panel .module-group a.exa-white-menu-active > svg {
  color: #2563eb !important;
  stroke: #2563eb !important;
}

html body #menu-panel .module-group a > div > span:first-child {
  color: #44546a !important;
  font-size: 12px !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

html body #menu-panel .module-group a > div > span:last-child {
  margin-top: 3px !important;
  color: #6e7f94 !important;
  font-size: 9.5px !important;
  line-height: 1.18 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

html body #menu-panel .module-group a:hover {
  background: #edf5fb !important;
  box-shadow: none !important;
}

html body #menu-panel .module-group a:hover > i,
html body #menu-panel .module-group a:hover > svg,
html body #menu-panel .module-group a:hover > div > span:first-child {
  color: #0b66b2 !important;
  stroke: #0b66b2 !important;
}

html body #menu-panel .module-group a.exa-white-menu-active,
html body #menu-panel .module-group a.exa-white-menu-active:hover {
  border-color: #c6ddf3 !important;
  background: #eaf4fe !important;
  box-shadow: inset 3px 0 0 #0b66b2 !important;
}

html body #menu-panel .module-group a.exa-white-menu-active::before {
  display: none !important;
}

html body #menu-panel .module-group a.exa-white-menu-active > i,
html body #menu-panel .module-group a.exa-white-menu-active > svg,
html body #menu-panel .module-group a.exa-white-menu-active > div > span:first-child {
  color: #0b66b2 !important;
  stroke: #0b66b2 !important;
}

html body #menu-panel .module-group a.exa-white-menu-active > div > span:last-child {
  color: #4d7fab !important;
}

/* Brand wordmark. */
html body header.exa-white-header .exa-brand-ribbon,
html body header.exa-white-header .exa-white-brand,
html body header.exa-white-header .exa-white-brand span {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  filter: none !important;
}

html body header.exa-white-header .exa-brand-ribbon {
  padding-right: 13px !important;
  border-right: 0 !important;
}

html body header.exa-white-header .exa-white-brand {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

html body header.exa-white-header .exa-white-brand span:first-child { color: #ffffff !important; }
html body header.exa-white-header .exa-white-brand span:nth-child(2) { color: #d6e9fa !important; }
html body header.exa-white-header .exa-white-brand span:last-child { color: #ffd2a3 !important; }

/* Header profile. */
html body header.exa-white-header .relative.group > .flex.items-center.space-x-2.cursor-pointer {
  height: 34px !important;
  padding: 2px 4px !important;
  gap: 6px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body header.exa-white-header .relative.group > .flex.items-center.space-x-2.cursor-pointer:hover {
  background: var(--exawin-header-hover) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body header.exa-white-header #header-avatar-img,
html body header.exa-white-header #header-avatar-placeholder {
  width: 26px !important;
  height: 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  box-shadow: none !important;
}

html body header.exa-white-header #header-avatar-placeholder {
  background: rgba(255, 255, 255, 0.14) !important;
  color: var(--exawin-header-fg) !important;
}

html body header.exa-white-header .relative.group > .flex.items-center.space-x-2.cursor-pointer p:first-child {
  color: var(--exawin-header-fg) !important;
  font-size: 11px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

html body header.exa-white-header .relative.group > .flex.items-center.space-x-2.cursor-pointer p:last-child {
  color: var(--exawin-header-muted) !important;
  font-size: 9px !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  text-shadow: none !important;
}

/* Product-grade account card, visually independent from the slate header. */
html body header.exa-white-header .exa-profile-dropdown {
  width: 260px !important;
  padding-top: 10px !important;
}

html body header.exa-white-header .exa-profile-dropdown::before {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  top: 5px !important;
  right: 24px !important;
  width: 10px !important;
  height: 10px !important;
  border-top: 1px solid #cfd8e3 !important;
  border-left: 1px solid #cfd8e3 !important;
  background: #fbfcfe !important;
  transform: rotate(45deg) !important;
}

html body header.exa-white-header .exa-profile-card {
  position: relative !important;
  z-index: 2 !important;
  overflow: hidden !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 10px !important;
  background: #fbfcfe !important;
  color: #334155 !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16), 0 3px 10px rgba(15, 23, 42, 0.08) !important;
}

html body header.exa-white-header .exa-profile-card__identity {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-height: 76px !important;
  padding: 13px 14px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f2f6fa 100%) !important;
}

html body header.exa-white-header .exa-profile-card__avatar {
  display: inline-flex !important;
  flex: 0 0 40px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50% !important;
  background: #dceafa !important;
  color: #0b66b2 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1) !important;
}

html body header.exa-white-header .exa-profile-card__identity-copy {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

html body header.exa-white-header .exa-profile-card__identity-copy strong {
  overflow: hidden !important;
  color: #162033 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body header.exa-white-header .exa-profile-card__identity-copy span {
  margin-top: 3px !important;
  overflow: hidden !important;
  color: #5f6d7f !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body header.exa-white-header .exa-profile-card__identity-copy small {
  margin-top: 4px !important;
  overflow: hidden !important;
  color: #7a8ba0 !important;
  font-size: 9.5px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body header.exa-white-header .exa-profile-card__actions {
  padding: 6px !important;
}

html body header.exa-white-header .exa-profile-card__action {
  display: flex !important;
  width: 100% !important;
  height: 40px !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-align: left !important;
  transition: background-color 120ms ease, color 120ms ease !important;
}

html body header.exa-white-header .exa-profile-card__action svg,
html body header.exa-white-header .exa-profile-card__action i {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  color: #64748b !important;
  stroke-width: 1.9 !important;
}

html body header.exa-white-header .exa-profile-card__action:hover {
  background: #eef3f8 !important;
  color: #0b66b2 !important;
}

html body header.exa-white-header .exa-profile-card__action:hover svg,
html body header.exa-white-header .exa-profile-card__action:hover i {
  color: #0b66b2 !important;
}

html body header.exa-white-header .exa-profile-card__footer {
  padding: 6px !important;
  border-top: 1px solid #e2e8f0 !important;
  background: #f7f9fc !important;
}

html body header.exa-white-header .exa-profile-card__logout-form {
  width: 100% !important;
}

html body header.exa-white-header .exa-profile-card__action--danger {
  color: #c2413b !important;
}

html body header.exa-white-header .exa-profile-card__action--danger svg,
html body header.exa-white-header .exa-profile-card__action--danger i {
  color: #dc5a52 !important;
}

html body header.exa-white-header .exa-profile-card__action--danger:hover {
  background: #fff0ee !important;
  color: #a9342f !important;
}

html.dark body header.exa-white-header .exa-profile-dropdown::before {
  border-color: #33465a !important;
  background: #172434 !important;
}

html.dark body header.exa-white-header .exa-profile-card {
  border-color: #33465a !important;
  background: #172434 !important;
  color: #d8e3ef !important;
}

html.dark body header.exa-white-header .exa-profile-card__identity {
  border-bottom-color: #33465a !important;
  background: linear-gradient(135deg, #1d3147 0%, #172434 100%) !important;
}

html.dark body header.exa-white-header .exa-profile-card__avatar {
  border-color: #46627e !important;
  background: #1d3b58 !important;
  color: #8fd0ff !important;
}

html.dark body header.exa-white-header .exa-profile-card__identity-copy strong {
  color: #eef6ff !important;
}

html.dark body header.exa-white-header .exa-profile-card__identity-copy span {
  color: #b8c7d8 !important;
}

html.dark body header.exa-white-header .exa-profile-card__identity-copy small {
  color: #8da0b7 !important;
}

html.dark body header.exa-white-header .exa-profile-card__action {
  color: #d1deea !important;
}

html.dark body header.exa-white-header .exa-profile-card__action svg,
html.dark body header.exa-white-header .exa-profile-card__action i {
  color: #8ea1b8 !important;
}

html.dark body header.exa-white-header .exa-profile-card__action:hover {
  background: #1d3147 !important;
  color: #8fd0ff !important;
}

html.dark body header.exa-white-header .exa-profile-card__footer {
  border-top-color: #33465a !important;
  background: #142131 !important;
}

html.dark body header.exa-white-header .exa-profile-card__action--danger {
  color: #f28b82 !important;
}

html.dark body header.exa-white-header .exa-profile-card__action--danger:hover {
  background: rgba(127, 29, 29, 0.28) !important;
  color: #fca5a5 !important;
}

/* Navigation header dividers. */
html body #menu-panel > div:first-child {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

html body #menu-panel > div:nth-child(2) {
  border-bottom: 1px solid #cfdae6 !important;
  box-shadow: none !important;
}

html.dark body #menu-panel > div:nth-child(2),
.dark body #menu-panel > div:nth-child(2) {
  border-bottom-color: #33465a !important;
}

html body #menu-panel > div:first-child::after,
html body #menu-panel > div:nth-child(2)::after {
  display: none !important;
}


/* Dark shell palette. */
html.dark body {
  background: #0f1a27 !important;
  color: #e6edf5 !important;
}

html.dark body header.exa-white-header {
  background: var(--exawin-header-bg) !important;
  background-color: var(--exawin-header-bg) !important;
  border-bottom-color: var(--exawin-header-border) !important;
  color: var(--exawin-header-fg) !important;
}

html.dark body header.exa-white-header .exa-white-brand span:first-child { color: #ffffff !important; }
html.dark body header.exa-white-header .exa-white-brand span:nth-child(2) { color: #d6e9fa !important; }
html.dark body header.exa-white-header .exa-white-brand span:last-child { color: #ffd2a3 !important; }

html.dark body .exa-white-rail {
  background: #102132 !important;
  border-right-color: #26384a !important;
}

html.dark body .exa-rail-button {
  color: #7e91a8 !important;
  background: transparent !important;
}

html.dark body .exa-rail-button svg,
html.dark body .exa-rail-button i {
  color: #7e91a8 !important;
  stroke: #7e91a8 !important;
}

html.dark body .exa-rail-button:hover,
html.dark body .exa-rail-button-active,
html.dark body .exa-rail-button-active:hover {
  background: #15324b !important;
  color: #6ec7ff !important;
}

html.dark body .exa-rail-button:hover svg,
html.dark body .exa-rail-button-active svg,
html.dark body .exa-rail-button-active i {
  color: #6ec7ff !important;
  stroke: #6ec7ff !important;
}

html.dark body .exa-rail-button-active::after {
  background: #38a3ff !important;
}

html.dark body #menu-panel,
html.dark body #menu-panel .exa-menu-scroll-shell,
html.dark body #menu-panel > div:first-child,
html.dark body #menu-panel > div:nth-child(2) {
  background: #172434 !important;
  border-color: #27384a !important;
  color: #d8e3ef !important;
}

html.dark body #menu-panel .exa-menu-group-icon {
  background: #1d3147 !important;
  border-color: #31485e !important;
}

html.dark body #menu-panel .exa-menu-group-icon svg,
html.dark body #menu-panel .exa-menu-group-icon i {
  color: #8fb4d4 !important;
  stroke: #8fb4d4 !important;
}

html.dark body #menu-panel h2 {
  color: #eef6ff !important;
}

html.dark body #menu-panel h2 + p {
  color: #8da0b7 !important;
}

html.dark body #menu-panel .exa-white-menu-search {
  background: #0f1b29 !important;
  border-color: #33465a !important;
  color: #dce8f3 !important;
}

html.dark body #menu-panel .exa-white-menu-search::placeholder {
  color: #7f92a9 !important;
}

html.dark body #menu-panel .exa-menu-search-clear {
  color: #8094aa;
}

html.dark body #menu-panel .exa-menu-search-clear:hover,
html.dark body #menu-panel .exa-menu-search-clear:focus-visible {
  background: #21354a;
  color: #d8e7f4;
}

html.dark body #menu-panel .exa-menu-search-status {
  color: #93a7bd;
}

html.dark body #menu-panel .exa-menu-search-status svg,
html.dark body #menu-panel .exa-menu-search-status i {
  color: #7fb6df;
}

html.dark body #menu-panel #exa-menu-search-count {
  border-color: #344a60;
  background: #1d3043;
  color: #a8bdd2;
}

html.dark body #menu-panel .exa-menu-search-result {
  color: #c5d3e0;
}

html.dark body #menu-panel .exa-menu-search-result:hover,
html.dark body #menu-panel .exa-menu-search-result.is-active {
  border-color: #315675;
  background: #193149;
  box-shadow: inset 2px 0 0 #45b9d2;
}

html.dark body #menu-panel .exa-menu-search-result-icon {
  border-color: #30475d;
  background: #1a2d40;
  color: #91b6d5;
}

html.dark body #menu-panel .exa-menu-search-result-title {
  color: #e6eef7;
}

html.dark body #menu-panel .exa-menu-search-result-module {
  color: #9db1c5;
}

html.dark body #menu-panel .exa-menu-search-result-description {
  color: #8297ad;
}

html.dark body #menu-panel .exa-menu-search-result-arrow {
  color: #71879d;
}

html.dark body #menu-panel .exa-menu-search-empty {
  border-color: #33485d;
  background: rgba(18, 33, 48, 0.72);
  color: #8498ae;
}

html.dark body #menu-panel .exa-white-menu-section {
  color: #8ea1b8 !important;
  background: transparent !important;
}

html.dark body #menu-panel .module-group a > i,
html.dark body #menu-panel .module-group a > svg {
  color: #91a5bb !important;
  stroke: #91a5bb !important;
}

html.dark body #menu-panel .module-group a.exa-white-menu-active > i,
html.dark body #menu-panel .module-group a.exa-white-menu-active > svg,
.dark body #menu-panel .module-group a.exa-white-menu-active > i,
.dark body #menu-panel .module-group a.exa-white-menu-active > svg {
  color: #75dbe8 !important;
  stroke: #75dbe8 !important;
}

html.dark body #menu-panel .module-group a > div > span:first-child {
  color: #b8c7d8 !important;
}

html.dark body #menu-panel .module-group a > div > span:last-child {
  color: #8192a8 !important;
}

html.dark body #menu-panel .module-group a:hover {
  background: #1d3147 !important;
}

html.dark body #menu-panel .module-group a:hover > i,
html.dark body #menu-panel .module-group a:hover > svg,
html.dark body #menu-panel .module-group a:hover > div > span:first-child {
  color: #8fd0ff !important;
  stroke: #8fd0ff !important;
}

html.dark body #menu-panel .module-group a.exa-white-menu-active,
html.dark body #menu-panel .module-group a.exa-white-menu-active:hover {
  background: #173653 !important;
  border-color: #2c5f91 !important;
  box-shadow: inset 3px 0 0 #38a3ff !important;
}

html.dark body #menu-panel .module-group a.exa-white-menu-active > i,
html.dark body #menu-panel .module-group a.exa-white-menu-active > svg,
html.dark body #menu-panel .module-group a.exa-white-menu-active > div > span:first-child {
  color: #8fd0ff !important;
  stroke: #8fd0ff !important;
}

html.dark body #menu-panel .module-group a.exa-white-menu-active > div > span:last-child {
  color: #9eb9d3 !important;
}

html.dark body .exa-decision-field,
html.dark body #home-base {
  background: #0f1a27 !important;
  color: #e6edf5 !important;
}

html.dark body .exa-white-tabbar {
  background: #122235 !important;
  border-bottom-color: #27384a !important;
}

html.dark body #multi-tabs-container > div {
  background: #17283c !important;
  border-color: #30445a !important;
  color: #aab9ca !important;
}

html.dark body #multi-tabs-container > .z-10 {
  background: #1d3147 !important;
  color: #8fd0ff !important;
}

html.dark body header.exa-white-header .relative.group > .flex.items-center.space-x-2.cursor-pointer:hover {
  background: var(--exawin-header-hover) !important;
}

/* Header controls on the slate surface. Dropdowns keep their own light/dark surfaces. */
html body header.exa-white-header #header-breadcrumb,
html body header.exa-white-header #shell-locale-switcher > .relative > button {
  color: var(--exawin-header-muted) !important;
}

html body header.exa-white-header #shell-locale-switcher > .relative > button {
  border-radius: 8px !important;
}

html body header.exa-white-header #shell-locale-switcher > .relative > button:hover {
  background: var(--exawin-header-hover) !important;
  color: var(--exawin-header-fg) !important;
}

html body header.exa-white-header .exa-story-dot {
  background: rgba(255, 255, 255, 0.34) !important;
}

html body header.exa-white-header button[onclick^="showDownloadQR"] {
  background: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.52) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12) !important;
}

html body header.exa-white-header button[onclick^="showDownloadQR"]:hover {
  background: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.82) !important;
}

html body header.exa-white-header button[onclick^="showDownloadQR"] svg.text-gray-700 {
  color: #334155 !important;
}

html body header.exa-white-header button[onclick^="showDownloadQR"] span:first-child {
  color: #64748b !important;
}

html body header.exa-white-header button[onclick^="showDownloadQR"] span:last-child {
  color: #1f2937 !important;
}
