:root {
    --bg: #f4f6fb;
    --surface: #ffffff;
    --ink: #18202e;
    --muted: #778095;
    --line: #e5e8f0;
    --sidebar: #151a2a;
    --sidebar-muted: #98a1b8;
    --purple: #7667f5;
    --purple-soft: #eeedff;
    --green: #2ead82;
    --blue: #4c9eea;
    --amber: #e7a33c;
    --shadow: 0 14px 34px rgba(37, 46, 78, 0.07);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 260px; flex: 0 0 260px; min-height: 100vh; padding: 28px 18px 22px; display: flex; flex-direction: column; color: #fff; background: var(--sidebar); }
.brand { display: flex; gap: 11px; align-items: center; padding: 0 12px; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #9187ff, #5148c8); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.brand strong, .brand small { display: block; }.brand strong { font-size: 13px; letter-spacing: -.01em; }.brand small { margin-top: 3px; color: var(--sidebar-muted); font-size: 10px; }
.project-switcher { margin: 36px 8px 26px; padding: 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.045); }
.project-switcher strong { display: block; margin: 8px 0 10px; font-size: 12px; line-height: 1.45; }.project-status { color: #aeb7cb; font-size: 10px; }.project-status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--green); }
.eyebrow, .nav-label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.sidebar .eyebrow, .nav-label { color: #7e88a2; }
.main-nav { display: flex; flex-direction: column; gap: 4px; }.nav-label { margin: 0 13px 9px; }.secondary-label { margin-top: 28px; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 9px; color: var(--sidebar-muted); font-size: 12px; transition: .15s ease; }.nav-item:hover, .nav-item.active { color: #fff; background: rgba(118,103,245,.2); }.nav-item.active { box-shadow: inset 3px 0 var(--purple); }.nav-icon { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 6px; font-size: 9px; font-weight: 800; opacity: .85; }
.sidebar-footer { margin-top: auto; padding: 16px 13px 0; border-top: 1px solid rgba(255,255,255,.08); }.sidebar-footer p { margin: 10px 0 0; color: #9da7bd; font-size: 10px; line-height: 1.8; }.sidebar-footer b { color: #c2bbff; font-weight: 500; }
.main-content { width: min(100%, 1320px); margin: 0 auto; padding: 34px 46px 26px; }.topbar { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }h1, h2, h3, h4, p { margin-top: 0; }h1 { margin: 7px 0 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.04em; }h2 { max-width: 590px; margin: 10px 0 11px; color: #fff; font-size: clamp(23px, 3vw, 32px); line-height: 1.12; letter-spacing: -.04em; }h3 { margin: 7px 0 0; font-size: 18px; letter-spacing: -.03em; }h4 { margin-bottom: 9px; font-size: 16px; letter-spacing: -.02em; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 800; cursor: pointer; }.user-chip { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }.user-chip span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: #29344b; font-size: 10px; font-weight: 800; }
.hero-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 205px; padding: 29px 32px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(169,159,255,.33), transparent 32%), linear-gradient(116deg, #292448 0%, #3a326d 51%, #6757d4 100%); box-shadow: var(--shadow); }.hero-card p { max-width: 540px; margin-bottom: 0; color: #d7d4ef; font-size: 12px; line-height: 1.6; }.accent-eyebrow { color: #c5bfff; }.hero-actions { display: flex; flex: 0 0 auto; gap: 10px; align-items: center; }.button { display: inline-flex; align-items: center; gap: 12px; min-height: 39px; padding: 0 15px; border-radius: 9px; font-size: 11px; font-weight: 700; }.button.primary { color: #2c255f; background: #fff; }.button.primary span { color: var(--purple); font-size: 15px; }.button.secondary { border: 1px solid rgba(255,255,255,.25); color: #f4f2ff; background: rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }.stat-card, .panel { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 6px 20px rgba(37, 46, 78, .025); }.stat-card { min-height: 126px; padding: 19px; }.stat-heading { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }.stat-dot { width: 8px; height: 8px; border-radius: 50%; }.stat-dot.purple { background: var(--purple); }.stat-dot.green { background: var(--green); }.stat-dot.blue { background: var(--blue); }.stat-dot.amber { background: var(--amber); }.stat-value { display: block; margin: 15px 0 3px; font-size: 26px; letter-spacing: -.04em; }.stat-note { color: #a3aabd; font-size: 10px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); gap: 18px; }.panel { padding: 23px; }.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.status-pill { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 7px; font-size: 10px; font-weight: 700; }.status-pill.neutral { color: #8790a6; background: #f0f2f6; }.status-pill.accent { color: #6258d2; background: var(--purple-soft); }
.empty-state { display: flex; min-height: 250px; padding: 35px 22px 20px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.empty-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 15px; border-radius: 13px; color: var(--purple); background: var(--purple-soft); font-size: 20px; }.empty-state p { max-width: 470px; margin-bottom: 16px; color: var(--muted); font-size: 11px; line-height: 1.65; }.text-link { color: var(--purple); font-size: 11px; font-weight: 800; }.text-link span { margin-left: 7px; font-size: 14px; }.refresh-button { padding: 4px 0; border: 0; color: var(--purple); background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }
.health-list { margin-top: 20px; }.health-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #eff1f5; }.health-row:last-child { border-bottom: 0; }.health-indicator { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; }.health-indicator.pending { background: #c7cedd; }.health-indicator.ok { background: var(--green); }.health-indicator.error { background: #d76767; }.health-row div { flex: 1; min-width: 0; }.health-row strong, .health-row small { display: block; }.health-row strong { font-size: 11px; }.health-row small { overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.health-state { color: #9ba3b4; font-size: 10px; font-weight: 700; }.health-state.ok { color: var(--green); }.health-state.error { color: #c55b5b; }
.next-panel { margin-top: 18px; }.milestone-list { margin-top: 15px; }.milestone { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eff1f5; }.milestone:last-child { border-bottom: 0; }.milestone-number { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 8px; color: #9ca5b7; font-size: 10px; font-weight: 800; }.milestone div { flex: 1; }.milestone strong, .milestone small { display: block; }.milestone strong { font-size: 11px; }.milestone small { margin-top: 3px; color: var(--muted); font-size: 10px; }.milestone.complete .milestone-number { border-color: #c8eddf; color: var(--green); background: #ecfaf5; }.milestone.current .milestone-number { border-color: #d6d2ff; color: var(--purple); background: var(--purple-soft); }.check { color: var(--green); font-size: 14px; }.current-label { padding: 4px 7px; border-radius: 5px; color: var(--purple); background: var(--purple-soft); font-size: 9px; font-weight: 800; }.arrow { color: #a1a9b9; font-size: 14px; }.footer-note { display: flex; justify-content: space-between; margin-top: 23px; color: #9da5b6; font-size: 10px; }
@media (max-width: 980px) { .sidebar { width: 220px; flex-basis: 220px; }.main-content { padding: 28px 27px; }.hero-card { align-items: flex-start; flex-direction: column; }.stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .app-shell { display: block; }.sidebar { width: 100%; min-height: auto; padding: 18px; }.project-switcher, .sidebar-footer, .secondary-label, .nav-label { display: none; }.main-nav { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; }.nav-item { justify-content: center; padding: 9px 5px; font-size: 10px; text-align: center; }.nav-icon { display: none; }.main-content { padding: 25px 16px; }.topbar { margin-bottom: 20px; }.user-chip strong { display: none; }.hero-card { padding: 25px 22px; }.hero-actions { width: 100%; flex-wrap: wrap; }.content-grid { grid-template-columns: 1fr; }.footer-note { gap: 10px; flex-direction: column; } }
@media (max-width: 420px) { .stats-grid { gap: 9px; }.stat-card { padding: 14px; }.stat-note { line-height: 1.4; }.button { width: 100%; justify-content: center; } }
