@layer layout {
/* ── Sidebar ───────────────────────────────────────────── */
.sidebar {
  width: 208px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 0;
}
.sidebar-logo {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  gap: 8px;
}
.sidebar-nav {
  padding: 10px;
  flex: 1;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r);
  cursor: pointer;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  transition: background var(--t);
}
.nav-item:hover { background: oklch(94% 0.01 65); }
.nav-item.active { background: oklch(92% 0.015 65); color: var(--text); font-weight: 500; }
.nav-item--disabled { opacity: 0.5; cursor: default; }
.nav-item--disabled:hover { background: transparent; }
.nav-icon { font-size: 12px; opacity: 0.7; }
.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage-fg);
  font-weight: 600; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 12px; font-weight: 500; color: var(--text); }
.user-meta { font-size: 10px; color: var(--faint); }
.user-menu-chevron {
  font-size: 14px;
  color: var(--faint);
  transform: rotate(90deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
}
