:root{
  --bg:#0b1020; --card:#111a33; --txt:#e8ecff; --muted:#a7b2e3;
  --accent:#3b82f6; --accent2:#22c55e; --danger:#ef4444; --border:#22305f;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:linear-gradient(180deg,#070a14, #0b1020 40%, #070a14); color:var(--txt)}
a{color:var(--txt)}
.container{max-width:1200px;margin:0 auto;padding:18px}
.topbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
.brand{display:flex;gap:10px;align-items:center;text-decoration:none}
.brand .logo{width:38px;height:38px;border-radius:12px;background:radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8); box-shadow:var(--shadow)}
.brand .t{display:flex;flex-direction:column;line-height:1.1}
.brand .t b{font-size:16px}
.brand .t span{font-size:12px;color:var(--muted)}
.card{background:rgba(17,26,51,.88); border:1px solid var(--border); border-radius:18px; box-shadow:var(--shadow)}
.card .hd{padding:14px 16px;border-bottom:1px solid rgba(34,48,95,.6); display:flex; justify-content:space-between; gap:10px; align-items:center}
.card .bd{padding:16px}
.btn{border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.06); color:var(--txt); padding:10px 12px; border-radius:12px; cursor:pointer; text-decoration:none; display:inline-flex; gap:8px; align-items:center}
.btn:hover{background:rgba(255,255,255,.10)}
.btn.primary{background:linear-gradient(90deg,#2563eb,#3b82f6); border-color:rgba(59,130,246,.35)}
.btn.primary:hover{filter:brightness(1.05)}
.btn.green{background:linear-gradient(90deg,#16a34a,#22c55e); border-color:rgba(34,197,94,.35)}
.btn.danger{background:linear-gradient(90deg,#b91c1c,#ef4444); border-color:rgba(239,68,68,.35)}
.input, select, textarea{width:100%; padding:10px 12px; border-radius:12px; border:1px solid rgba(255,255,255,.14); background:rgba(0,0,0,.18); color:var(--txt); outline:none}
label{font-size:12px;color:var(--muted)}
.grid{display:grid; gap:12px}
.grid.cols2{grid-template-columns:repeat(2,1fr)}
.grid.cols3{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){ .grid.cols2,.grid.cols3{grid-template-columns:1fr} .topbar{flex-direction:column;align-items:flex-start} }
.table{width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border-radius:14px; border:1px solid rgba(255,255,255,.10)}
.table th,.table td{padding:10px 10px; border-bottom:1px solid rgba(255,255,255,.08)}
.table th{font-size:12px;color:var(--muted); text-transform:uppercase; letter-spacing:.05em; background:rgba(255,255,255,.04)}
.table tr:last-child td{border-bottom:none}
.badge{padding:4px 8px;border-radius:999px;background:rgba(59,130,246,.18);border:1px solid rgba(59,130,246,.35); font-size:12px;color:#cfe0ff}
.kbd{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.12); padding:2px 6px; border-radius:8px; font-size:12px}
.toast{position:fixed; left:50%; transform:translateX(-50%); bottom:18px; background:rgba(17,26,51,.96); border:1px solid rgba(255,255,255,.12); padding:10px 12px; border-radius:12px; box-shadow:var(--shadow); display:none; max-width:90vw}
.small{font-size:12px;color:var(--muted)}
.hr{height:1px;background:rgba(255,255,255,.10); margin:12px 0}
