/* ── S&T Nav — Shared Primitives ──────────────────────────────────────────
   Imported by ALL Cloud Run embedded pages (dashboard and public alike).
   Contains only structural/visual primitives — no state-specific classes.
   Auth note: Memberstack v2 session key is ms_session_id (verified in devtools 2026-03-16).
   Not _ms-mem — that key does not exist. Verify in devtools if Memberstack is upgraded.
──────────────────────────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(47, 40, 39, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 24px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-login,
.nav-logout {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-login:hover,
.nav-logout:hover {
  color: #ffffff;
}

.btn-access {
  background: #FEA532;
  color: #2F2827;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-access:hover {
  background: #f0952a;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
}
