.shell { display: flex; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────────────── */
.sidebar {
  width: 222px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  margin-bottom: 30px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.brandLabel {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: #BFBFBF;
  text-transform: uppercase;
}

/* ── Nav ─────────────────────────────────────────── */
.nav { display: flex; flex-direction: column; gap: 2px; }

.navItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 13.5px;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.navItem:hover { background: var(--surface-2); color: var(--text); }
.navItem.active {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}

.ic {
  width: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-3);
  flex-shrink: 0;
}
.icActive { color: var(--accent); }

/* ── User chip ───────────────────────────────────── */
.spacer { flex: 1; }

.userChip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 0;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: .03em;
  color: var(--text);
  flex-shrink: 0;
}
.who { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.name { font-size: 12.5px; color: var(--text); line-height: 1.3; }
.role { font-size: 11px; color: var(--muted-2); }
.logoutLink {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted-2);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
  transition: color .12s;
}
.logoutLink:hover { color: var(--text); }

/* ── Main content ────────────────────────────────── */
.main {
  flex: 1;
  min-width: 0;
  padding: 28px 34px 60px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .main { padding: 20px 16px; }
}
