:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #182230;
    --muted: #667085;
    --line: #e6eaf0;
    --accent: #4f46e5;
    --accent-soft: #eef2ff;
    --sidebar: #111827;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.sidebar { background: var(--sidebar); color: #fff; padding: 24px 18px; }
.brand { display: flex; gap: 12px; align-items: center; padding: 0 8px 28px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.brand strong, .brand span { display: block; }
.brand span { margin-top: 3px; color: #98a2b3; font-size: 12px; }
.nav { display: grid; gap: 6px; }
.nav-section { padding: 20px 12px 8px; color: #667085; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.nav-item { padding: 11px 12px; border-radius: 10px; color: #d0d5dd; font-size: 14px; }
.nav-item.active { color: #fff; background: rgba(255,255,255,.09); }
.nav-item.disabled { opacity: .55; cursor: default; }
.main { padding: 30px 36px 48px; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.topbar h1 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.03em; }
.eyebrow { margin: 0; font-size: 12px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.profile-chip { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); font-weight: 700; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; justify-content: space-between; gap: 28px; box-shadow: 0 14px 40px rgba(16,24,40,.05); }
.hero-card h2 { margin: 15px 0 10px; max-width: 700px; font-size: 32px; letter-spacing: -.04em; }
.hero-card p { margin: 0; max-width: 720px; color: var(--muted); line-height: 1.7; }
.status-badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.metric { min-width: 150px; border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; justify-content: center; }
.metric strong { font-size: 42px; letter-spacing: -.05em; }
.metric span { color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card > span { color: var(--accent); font-size: 12px; font-weight: 800; }
.card h3 { margin: 18px 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 30px; }
.error-page span { font-size: 72px; font-weight: 800; color: var(--accent); }
.error-page h1 { margin: 12px 0; }
.error-page p { color: var(--muted); }
.error-page a { display: inline-block; margin-top: 14px; padding: 11px 16px; border-radius: 10px; color: #fff; background: var(--accent); }
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; } .sidebar { display: none; } .main { padding: 22px; } .grid { grid-template-columns: 1fr; } .hero-card { flex-direction: column; } .metric { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; } }
