:root {
    --bg: #090f18;
    --sidebar: #0c131e;
    --surface: #111b28;
    --surface-2: #162333;
    --line: #203043;
    --text: #f7f9fc;
    --muted: #8290a3;
    --brand: #00d9aa;
    --brand-soft: rgba(0,217,170,.12);
    --warning: #f4b740;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--sidebar); border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 26px; }
.brand-word { color: var(--text); font-size: 30px; line-height: 1; font-weight: 800; font-style: italic; letter-spacing: -2px; }
.brand-word span { color: var(--brand); }
.brand-word-large { font-size: 42px; margin: 8px 0 24px; }
.sidebar nav { display: grid; gap: 7px; }
.nav-item { display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 0 14px; border-radius: 10px; color: #9ba8b9; font-size: 14px; font-weight: 650; }
.nav-item i { display: grid; place-items: center; width: 25px; color: #9cabbf; font-style: normal; font-size: 21px; }
.nav-item:hover, .nav-item.active { color: var(--text); background: var(--brand-soft); }
.nav-item.active { box-shadow: inset 3px 0 var(--brand); }
.nav-item.active i { color: var(--brand); }
.sidebar-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 18px 6px 0; display: flex; align-items: center; gap: 10px; }
.sidebar-foot .avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #00140f; background: var(--brand); font-weight: 900; }
.sidebar-foot strong, .sidebar-foot small { display: block; }
.sidebar-foot strong { font-size: 13px; }.sidebar-foot small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.workspace { min-width: 0; }
.topbar { height: 82px; padding: 0 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 24px; background: rgba(12,19,30,.82); }
.topbar strong { font-size: 18px; }.topbar-spacer { flex: 1; }
.back-button { width: 46px; height: 46px; border: 0; border-radius: 10px; color: white; background: #203044; font-size: 34px; line-height: 1; cursor: pointer; }
.preview-badge { color: var(--warning); border: 1px solid rgba(244,183,64,.35); background: rgba(244,183,64,.09); padding: 6px 10px; border-radius: 999px; font-size: 10px; letter-spacing: .09em; font-weight: 800; }
.page-content { padding: 34px; max-width: 1500px; margin: 0 auto; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.hero-row h1 { margin: 5px 0 7px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -1.4px; }
.eyebrow { margin: 0; color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: .15em; }
.muted { color: var(--muted); margin: 0; }
.status-pill { padding: 8px 12px; border: 1px solid rgba(0,217,170,.28); background: var(--brand-soft); border-radius: 999px; color: #bdfbec; font-size: 12px; font-weight: 700; }
.status-pill i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-right: 6px; box-shadow: 0 0 10px var(--brand); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.metric-card, .panel-card { background: linear-gradient(145deg, var(--surface), #0d1723); border: 1px solid var(--line); border-radius: 14px; }
.metric-card { padding: 19px; }.metric-card span, .metric-card small { display: block; color: var(--muted); }.metric-card span { font-size: 12px; font-weight: 700; }.metric-card strong { display: block; margin: 12px 0 8px; font-size: 30px; }.metric-card small { font-size: 11px; }
.content-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 15px; margin-top: 15px; }
.panel-card { min-height: 310px; padding: 20px; }.panel-title { display: flex; justify-content: space-between; align-items: start; }.panel-title h2 { margin: 5px 0 0; font-size: 18px; }.panel-title > span { color: var(--muted); font-size: 11px; }
.empty-state { min-height: 220px; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); }.empty-state strong { color: var(--text); margin-top: 12px; }.empty-state p { margin: 6px 0 0; font-size: 12px; }.empty-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-size: 24px; font-weight: 900; }
.service-list { list-style: none; padding: 8px 0 0; margin: 12px 0 0; }.service-list li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }.service-list b { color: var(--muted); font-size: 11px; }.service-list b.ready { color: var(--brand); }
.login-body { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(circle at 50% 0, rgba(0,217,170,.11), transparent 38%), var(--bg); }
.login-shell { width: min(430px, calc(100% - 30px)); }.login-card { padding: 38px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: rgba(17,27,40,.95); box-shadow: 0 30px 80px rgba(0,0,0,.35); }.login-logo { display: block; margin: auto; }.login-card h1 { margin: 6px 0; font-size: 28px; }.login-copy, .safe-note { color: var(--muted); font-size: 13px; }.field-preview { height: 48px; display: flex; align-items: center; margin-top: 12px; padding: 0 14px; color: #65758a; border: 1px solid var(--line); border-radius: 9px; background: #0a121d; text-align: left; font-size: 13px; }.primary-button { width: 100%; height: 48px; margin-top: 16px; border: 0; border-radius: 9px; color: #002119; background: var(--brand); font-weight: 850; display: flex; align-items: center; justify-content: center; transition: transform .15s ease, box-shadow .15s ease; }.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,217,170,.18); }.safe-note { margin: 16px 0 0; font-size: 11px; }
@media (max-width: 920px) { .app-shell { grid-template-columns: 78px 1fr; }.sidebar { padding-inline: 10px; }.sidebar .brand-word, .nav-item span, .sidebar-foot div { display: none; }.brand { justify-content: center; padding-inline: 0; }.nav-item { justify-content: center; padding: 0; }.sidebar-foot { justify-content: center; }.metric-grid { grid-template-columns: repeat(2,1fr); }.content-grid { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .app-shell { display: block; }.sidebar { display: none; }.topbar { height: 70px; padding: 0 16px; gap: 14px; }.topbar .brand-word { font-size: 25px; }.topbar strong { font-size: 15px; }.page-content { padding: 22px 15px; }.hero-row { align-items: start; flex-direction: column; }.metric-grid { grid-template-columns: 1fr; }.login-card { padding: 28px 20px; } }
