/* Nexus Git app chrome — follows nexus-dark / nexus-light */

html[data-theme="nexus-dark"] #navbar,
html[data-theme="nexus-dark"] #navbar .navbar-left.ui.secondary.menu,
html[data-theme="nexus-dark"] #navbar .navbar-right.ui.secondary.menu {
  background: var(--color-nav-bg, #10161d) !important;
  border-bottom: 1px solid var(--steel-650, #2b3642) !important;
}

html[data-theme="nexus-light"] #navbar {
  background: #24292f !important;
  border-bottom: 1px solid #30363d !important;
}

html[data-theme="nexus-dark"] #navbar .ui.secondary.menu > .item,
html[data-theme="nexus-dark"] #navbar a.item {
  color: var(--color-nav-text, #d2e0f0) !important;
}

html[data-theme="nexus-light"] #navbar .ui.secondary.menu > .item,
html[data-theme="nexus-light"] #navbar a.item {
  color: #f0f6fc !important;
}

#navbar .navbar-left.ui.secondary.menu {
  flex: 1;
  align-items: center;
}

#navbar .ui.secondary.menu > .item,
#navbar a.item {
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

#navbar .ui.secondary.menu > .item.active,
#navbar a.item.active {
  font-weight: 600 !important;
  border-bottom: 2px solid #f78166 !important;
  border-radius: 0 !important;
  margin-bottom: -1px;
}

.nexus-git-navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 16px 8px 12px !important;
}

.nexus-git-navbar-logo-img {
  height: 26px;
  width: auto;
}

.nexus-git-navbar-wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[data-theme="nexus-dark"] .nexus-git-navbar-wordmark {
  color: var(--color-nav-text, #d2e0f0);
}

html[data-theme="nexus-light"] .nexus-git-navbar-wordmark {
  color: #f0f6fc;
}

#navbar .navbar-right .nexus-git-theme-slot {
  display: flex;
  align-items: center;
}
