:root{--navy:#0b1f3a;--navy2:#13305a;--accent:#2f7df6}
body{background:#f3f6fb;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.sidebar{width:240px;background:var(--navy);min-height:100vh;position:fixed;top:0;left:0;z-index:100;overflow-y:auto}
.sidebar .brand{color:#fff;font-weight:700;padding:1.1rem 1.2rem;border-bottom:1px solid rgba(255,255,255,.08);letter-spacing:.3px}
.sidebar a{display:block;color:#b8c7de;padding:.6rem 1.2rem;text-decoration:none;font-size:.92rem}
.sidebar a:hover,.sidebar a.active{background:var(--navy2);color:#fff;border-left:3px solid var(--accent);padding-left:calc(1.2rem - 3px)}
.sidebar a i{margin-right:.6rem}
.main{margin-left:240px;padding:1.5rem}
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.2rem}
.card{border:0;box-shadow:0 1px 3px rgba(11,31,58,.08);border-radius:.75rem}
.stat .v{font-size:1.9rem;font-weight:700;color:var(--navy)}
.stat .l{color:#6b7a90;font-size:.8rem;text-transform:uppercase;letter-spacing:.5px}
.dot{display:inline-block;width:.65rem;height:.65rem;border-radius:50%;margin-right:.4rem}
.dot.online{background:#198754}.dot.offline{background:#9aa3ad}.dot.idle{background:#fd7e14}.dot.alert{background:#dc3545}
@media(max-width:991px){.sidebar{position:static;width:100%;min-height:0}.main{margin-left:0}}
@media print{.sidebar,.no-print{display:none!important}.main{margin:0}}
