/* ============================================================
   NeuralQXLab org bar
   ============================================================ */

.nkx-org-bar {
  background: #1c2333;
  color: #d1d5db;
  font-size: 0.78rem;
  line-height: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
}

.nkx-org-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.38rem 1.25rem;
}

.nkx-org-bar__start {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nkx-org-bar__brand {
  color: #f9fafb;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nkx-org-bar__brand:hover { color: #ffffff; }

.nkx-org-bar__sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

/* ---- Packages dropdown (<details>/<summary>, no JS needed) ---- */
.nkx-packages-dropdown {
  position: relative;
}

.nkx-packages-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 0.78rem;
  user-select: none;
  padding: 0.15rem 0.1rem;
}
.nkx-packages-dropdown summary::-webkit-details-marker { display: none; }
.nkx-packages-dropdown summary::after {
  content: " ▾";
  font-size: 0.65rem;
}
.nkx-packages-dropdown summary:hover,
.nkx-packages-dropdown[open] summary {
  color: #f9fafb;
}

.nkx-packages-dropdown ul {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 9999;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  min-width: 14rem;
  white-space: nowrap;
}

.nkx-packages-dropdown ul li a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.8rem;
}
.nkx-packages-dropdown ul li a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #f9fafb;
}
.nkx-packages-dropdown ul li a[aria-current="page"] {
  color: #93c5fd;
  font-weight: 600;
}

.nkx-packages-dropdown .pkg-name {
  display: block;
}
.nkx-packages-dropdown .pkg-desc {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 0.1rem;
}
.nkx-packages-dropdown ul li a:hover .pkg-desc {
  color: #9ca3af;
}

/* ---- End section ---- */
.nkx-org-bar__end {
  display: flex;
  align-items: center;
}

.nkx-org-bar__icon-link {
  color: #6b7280;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nkx-org-bar__icon-link:hover { color: #f9fafb; }
