/* shell: sidebar, layout, page header (cut from app.css, order preserved) */
/* ---------- shell ---------- */
.app { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: calc(100vh / var(--z, 1)); }
.sidebar { position: sticky; top: 0; height: calc(100vh / var(--z, 1)); background: var(--side); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 16px 12px; gap: 6px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.logo { width: 28px; height: 28px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; color: var(--primary-ink); font-weight: 800; font-size: 14px; }
.brand small { display: block; font-weight: 500; font-size: 11px; letter-spacing: 0; line-height: 1.1; }
.nav-group { margin: 12px 8px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.on { background: var(--amber-soft); color: var(--amber); }
.nav-item svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item.soon { opacity: .5; cursor: not-allowed; } .nav-item .tag { margin-left: auto; font-size: 10px; padding: 1px 6px; border-radius: 99px; background: var(--surface-3); color: var(--muted); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 8px; }
.live { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; } .dot.ok { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); } .dot.warn { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.main { min-width: 0; padding: 26px 32px 60px; max-width: 1900px; width: 100%; }
.page { display: none; } .page.on { display: block; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 22px; letter-spacing: -.02em; } .page-head p { margin: 2px 0 0; color: var(--muted); }
