.sidebar { width: var(--sidebar-width); min-width: var(--sidebar-width); background: var(--bg-2); border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; position: fixed; inset: 0 0 0 0; z-index: 100; }
.sidebar-brand { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-lg); }
.brand-logomark { width: 40px; height: 40px; color: var(--text-primary); }
.brand-logomark svg { width: 100%; height: 100%; }
.brand-wordmark { display: flex; align-items: center; gap: var(--space-sm); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.brand-pill { font-family: var(--font-mono); font-size: 0.7rem; padding: 2px 6px; background: var(--accent); color: #0c0c0e; border-radius: var(--radius-sm); }
.agent-health-bar { display: flex; justify-content: space-between; align-items: center; padding: var(--space-sm) var(--space-md); margin: 0 var(--space-md); background: var(--surface); border-radius: var(--radius-md); }
.health-indicator { display: flex; align-items: center; gap: var(--space-sm); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); animation: pulse 2s infinite; }
.health-status { font-family: var(--font-mono); font-size: 0.7rem; color: var(--emerald); letter-spacing: 0.05em; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.sidebar-nav { flex: 1; padding: var(--space-md); overflow-y: auto; }
.nav-section-label { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; color: var(--text-muted); margin: var(--space-lg) 0 var(--space-sm); }
.nav-link { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); color: var(--text-secondary); font-size: 0.875rem; font-family: var(--font-display); font-weight: 500; transition: all var(--dur-fast); position: relative; }
.nav-link:hover { background: var(--surface-2); color: var(--text-primary); }
.nav-link.active { background: var(--surface-3); color: var(--accent-text); box-shadow: inset 2px 0 0 var(--accent); }
.nav-ico { width: 18px; height: 18px; flex-shrink: 0; transition: color var(--dur-fast); }
.nav-link:hover .nav-ico, .nav-link.active .nav-ico { color: var(--accent); }
.nav-chip { font-size: 0.65rem; padding: 2px 6px; background: var(--accent); color: #0c0c0e; border-radius: var(--radius-sm); margin-left: auto; }
.live-beacon { width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; margin-left: auto; animation: pulse 2s infinite; }
.sidebar-footer { padding: var(--space-md); border-top: 1px solid var(--border-soft); }
.quota-block { margin-bottom: var(--space-md); }
.quota-row-label { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); margin-bottom: var(--space-xs); }
.quota-track { height: 4px; background: var(--surface-3); border-radius: var(--radius-full); overflow: hidden; }
.quota-bar { height: 100%; background: var(--accent); border-radius: var(--radius-full); transition: width var(--dur-med); }
.user-profile { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) 0; }
.user-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-size: 0.75rem; font-weight: 600; }
.user-meta { flex: 1; }
.user-name { display: block; font-size: 0.85rem; font-family: var(--font-display); font-weight: 600; color: var(--text-primary); }
.user-tier { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
.user-options-btn { padding: var(--space-xs); color: var(--text-muted); }
@media (max-width: 768px) { .sidebar { transform: translateX(-100%); } .sidebar.open { transform: translateX(0); } .main-panel { margin-left: 0; } }
