/* Paired stylesheet for js/site-nav.js. Loaded on every page that mounts
   the SiteNav module so the wrapper + link affordances render correctly
   on desktop. Phase 5 (commit f54b86d) hoisted these rules into
   styles.css, but only index.html links styles.css — leaving home,
   projects, ideas, dashboard, utilities with unstyled .topbar wrappers
   on desktop. Extracted here so every SiteNav page picks them up. */

/* TOPBAR — global wrapper for the site-nav header. Used on home, projects,
   ideas, dashboard, utilities. workstation/rep-dashboard/friday-review use
   .topnav instead — kept distinct because chat.js avatar inject queries it
   directly (see Field Mode). */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000;
  color: #fff;
  padding: 0 24px;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-nav a {
  color: #999; text-decoration: none;
  font-size: 13px; font-weight: 400; transition: color .15s;
}
.topbar-nav a:hover, .topbar-nav a.active { color: #fff; }
.topbar-avatar {
  width: 32px; height: 32px; background: #333;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: #ccc;
  cursor: pointer; border: none; transition: background .15s;
}
.topbar-avatar:hover { background: #555; }

/* SITE NAV — link affordances used by SiteNav.buildDesktop output. Also
   reused inside .topnav (rep-dashboard, friday-review) — those pages link
   site-nav.css too. */
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-btn {
  padding: 5px 12px; border-radius: 6px; border: 1px solid #374151;
  background: transparent; color: #9CA3AF; font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; transition: all 0.15s; white-space: nowrap;
}
.nav-btn:hover { background: #1f2937; color: #ffffff; }
.nav-btn.active { background: #ffffff; color: #111827; border-color: #ffffff; }
