:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; }
body { margin:0; background:#0b0f14; color:#e6edf3; }
.layout { display:flex; min-height:100vh; }
.sidebar { width:260px; background:#0f1620; border-right:1px solid #1f2a37; padding:14px; box-sizing:border-box; }
.brand { font-weight:700; letter-spacing:.5px; margin-bottom:14px; }
.nav { display:flex; flex-direction:column; gap:8px; }
.nav-item { text-align:left; padding:10px 12px; border:1px solid #223041; background:#0b111a; color:#e6edf3; border-radius:10px; cursor:pointer; }
.nav-item.active { border-color:#3b82f6; }
.footer { margin-top:16px; color:#7d8ea3; font-size:12px; }

.main { flex:1; }
.topbar { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; border-bottom:1px solid #1f2a37; background:#0b0f14; position:sticky; top:0; }
.title { font-size:16px; font-weight:600; }
.pill { font-size:12px; color:#cbd5e1; border:1px solid #223041; padding:6px 10px; border-radius:999px; background:#0b111a; }

.content { padding:18px; display:grid; gap:14px; }
.card { background:#0f1620; border:1px solid #1f2a37; border-radius:14px; padding:14px; }
.card-title { font-weight:700; margin-bottom:12px; }
.row { display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-bottom:12px; }
.col label { display:block; font-size:12px; color:#9fb0c3; margin-bottom:6px; }
input, select { width:100%; padding:10px 10px; border-radius:10px; border:1px solid #223041; background:#0b111a; color:#e6edf3; box-sizing:border-box; }
.actions { display:flex; gap:10px; flex-wrap:wrap; }
.btn { padding:10px 12px; border-radius:10px; border:1px solid #223041; background:#0b111a; color:#e6edf3; cursor:pointer; }
.btn.primary { border-color:#3b82f6; }
.log { margin-top:12px; background:#0b111a; border:1px solid #223041; padding:12px; border-radius:10px; min-height:120px; white-space:pre-wrap; }
.muted { opacity:.9; }
.muted-text { color:#9fb0c3; }
@media (max-width: 900px) { .row { grid-template-columns:1fr; } .sidebar { display:none; } }
