/* Unified Navigation - Injected at top of every page */
.eea-unified-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #0d0d14;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.6rem 1.5rem;
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eea-unified-nav a { text-decoration: none; }
.eea-unified-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.eea-unified-nav-brand span:first-child {
  background: #627eea;
  color: #fff;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}
.eea-unified-nav-brand em { font-style: normal; color: #627eea; }
.eea-unified-nav-links {
  display: flex;
  gap: 0.25rem;
}
.eea-unified-nav-links a {
  color: #888;
  font-size: 0.85rem;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  transition: all 0.15s;
}
.eea-unified-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.eea-unified-nav-links a.active { color: #fff; background: rgba(98,126,234,0.2); }
.eea-unified-nav-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #888;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}
.eea-unified-nav-toggle:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
@media (max-width: 768px) {
  .eea-unified-nav-links { display: none; }
  .eea-unified-nav-brand span:last-child { display: none; }
}
/* Push page content down to account for fixed nav */
body { padding-top: 52px !important; }

/* Light mode support */
[data-theme="light"] .eea-unified-nav { background: #f8f9fc; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .eea-unified-nav-brand { color: #111; }
[data-theme="light"] .eea-unified-nav-links a { color: #555; }
[data-theme="light"] .eea-unified-nav-links a:hover { color: #111; background: rgba(0,0,0,0.05); }
[data-theme="light"] .eea-unified-nav-links a.active { color: #111; background: rgba(98,126,234,0.15); }
[data-theme="light"] .eea-unified-nav-toggle { color: #555; border-color: rgba(0,0,0,0.15); }
