*{box-sizing:border-box}
body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:#0b1220;color:#e7ecff}
a{color:inherit}
.layout{display:flex;min-height:100vh}
.sidebar{width:260px;background:#0a1730;border-right:1px solid rgba(255,255,255,.08);padding:18px;display:flex;flex-direction:column;gap:18px}
.brand-title{font-size:20px;font-weight:700}
.brand-sub{opacity:.8;font-size:12px}
.menu{display:flex;flex-direction:column;gap:8px}
.menu-item{padding:10px 12px;border-radius:10px;text-decoration:none;background:rgba(255,255,255,.03)}
.menu-item:hover{background:rgba(255,255,255,.06)}
.menu-item.disabled{opacity:.45;pointer-events:none}
.sidebar-footer{margin-top:auto}
.userbox{padding:12px;border-radius:12px;background:rgba(255,255,255,.03)}
.small{opacity:.85;font-size:12px}
.btn{display:inline-block;padding:10px 14px;border-radius:10px;background:#2f6fed;text-decoration:none;border:none;color:white;cursor:pointer}
.main{flex:1;display:flex;flex-direction:column}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.08);background:#0b1220;position:sticky;top:0}
.top-title{font-weight:700}
.pill{padding:6px 10px;border-radius:999px;background:rgba(47,111,237,.2);border:1px solid rgba(47,111,237,.35);font-size:12px}
.content{padding:18px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px}
.maxw{max-width:520px}
@media (max-width: 1100px){
  .grid{grid-template-columns:1fr}
  .sidebar{width:220px}
}