.app-layout { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 16px; border-left: 1px solid var(--line); background: rgba(8, 12, 10, .82); backdrop-filter: blur(24px); z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 8px 28px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; color: var(--lime-ink); background: var(--lime); border-radius: 13px; font-weight: 900; box-shadow: 0 0 32px rgba(199,255,74,.22); }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy small { color: var(--muted); }
.nav { display: grid; gap: 5px; }
.nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; color: var(--muted); border-radius: 11px; white-space: nowrap; transition: .18s ease; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface-soft); }
.nav a.active { box-shadow: inset -3px 0 var(--lime); }
.sidebar-footer { position: absolute; right: 16px; left: 16px; bottom: 18px; }
.main { min-width: 0; padding: 30px clamp(18px, 4vw, 48px) 56px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.topbar h1 { margin-bottom: 4px; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.eyebrow { margin-bottom: 8px; color: var(--lime); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.user-chip { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); background: var(--surface-soft); border-radius: 999px; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; color: var(--lime-ink); background: var(--lime); border-radius: 50%; font-weight: 800; }
.user-chip span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-stack { display: grid; gap: 20px; }
.grid { display: grid; gap: 16px; }
.grid.metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); }
.login-visual { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 7vw, 92px); background: linear-gradient(145deg, rgba(199,255,74,.11), transparent 58%); }
.login-panel { display: grid; place-items: center; padding: 24px; border-right: 1px solid var(--line); background: rgba(10, 14, 12, .76); backdrop-filter: blur(26px); }
.login-card { width: min(100%, 430px); }
