/* Global nav (true black, 44px) + sub-nav-frosted (parchment 80% + blur, 52px). */

.global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-black);
  color: var(--color-body-on-dark);
  height: 44px;
  display: flex;
  align-items: center;
}
.global-nav .container {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  height: 100%;
}
.global-nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.4px;
  color: var(--color-body-on-dark);
}
.global-nav__links {
  display: flex;
  gap: 20px;
  margin-left: var(--sp-xl);
  flex: 1;
}
.global-nav__links a {
  color: var(--color-body-on-dark);
  font-size: var(--type-fine-size);
  letter-spacing: var(--type-fine-track);
  opacity: 0.85;
}
.global-nav__links a:hover { opacity: 1; text-decoration: none; }
.global-nav__links a.active { opacity: 1; }
.global-nav__actions {
  display: flex;
  gap: var(--sp-sm);
  align-items: center;
}

/* Pending-requests bell */
.nav-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  color: var(--color-body-on-dark);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 120ms ease;
}
.nav-bell:hover { background: rgba(255, 255, 255, 0.14); text-decoration: none; }
.nav-bell:focus-visible { outline: 2px solid var(--color-primary-focus); outline-offset: 2px; }

.nav-bell__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background: #ff453a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Sub-nav (page-level title + primary action) ── */
.sub-nav {
  position: sticky;
  top: 44px;
  z-index: 90;
  background: rgba(245, 245, 247, 0.80);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  height: 52px;
  border-bottom: 1px solid var(--color-divider-soft);
}
.sub-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sub-nav__title {
  font-size: var(--type-tagline-size);
  font-weight: 600;
  letter-spacing: var(--type-tagline-track);
}
.sub-nav__actions { display: flex; gap: var(--sp-sm); align-items: center; }

/* ── Mobile collapse ── */
@media (max-width: 833px) {
  .global-nav__links { display: none; }
  .global-nav__hamburger {
    display: inline-flex;
    background: transparent;
    border: 0;
    color: var(--color-body-on-dark);
    font-size: 16px;
  }
}
@media (min-width: 834px) {
  .global-nav__hamburger { display: none; }
}
