
:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --accent:#2563eb;
  --accent2:#7c3aed;
  --danger:#dc2626;
  --ok:#059669;
  --border:rgba(17,24,39,.10);
  --shadow:0 12px 26px rgba(17,24,39,.10);
  --radius2:18px;
  --max:1100px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
*{box-sizing:border-box}
body{
  margin:0; font-family:var(--font);
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(37,99,235,.10), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(124,58,237,.08), transparent 55%),
    var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:28px 18px 40px}
.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(246,248,251,.92);
  border-bottom:1px solid var(--border);
}
.topbar .inner{max-width:var(--max); margin:0 auto; padding:14px 18px; display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.brand{display:flex; align-items:center; gap:10px; font-weight:800}
.brand .dot{width:10px; height:10px; border-radius:999px; background: linear-gradient(135deg, var(--accent), var(--accent2))}
.pill{display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border:1px solid var(--border); border-radius:999px; background:#fff; color:var(--muted); font-size:13px}
.search{flex:1; display:flex; min-width:260px}
.search input{
  width:100%; padding:12px 14px; border-radius:999px;
  border:1px solid var(--border); background:#fff;
  color:var(--text); outline:none;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 14px; border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  cursor:pointer;
}
.btn.primary{
  border:none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  box-shadow: 0 10px 22px rgba(37,99,235,.18);
}
.btn.danger{background:rgba(220,38,38,.08); border:1px solid rgba(220,38,38,.18); color:var(--danger)}
.grid{display:grid; gap:14px}
.grid.cols3{grid-template-columns: repeat(3, minmax(0,1fr))}
.grid.cols2{grid-template-columns: repeat(2, minmax(0,1fr))}
@media (max-width: 900px){
  .grid.cols3{grid-template-columns:1fr}
  .grid.cols2{grid-template-columns:1fr}
  .search{display:none}
}
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:16px;
}
.muted{color:var(--muted)}
.badge{display:inline-flex; padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:#fff; font-size:12px; color:var(--muted)}
.hr{height:1px; background:var(--border); margin:14px 0}
input,select,textarea{
  width:100%;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  outline:none;
}
textarea{min-height:110px}
.table{width:100%; border-collapse:collapse}
.table th,.table td{padding:10px 8px; border-bottom:1px solid var(--border); text-align:left; font-size:14px}
.table th{color:var(--muted); font-weight:700}
.kbd{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:12px; padding:2px 6px; border-radius:8px; border:1px solid var(--border); background:#fff}
.small{font-size:13px}
.notice{border-left:4px solid var(--accent); padding:10px 12px; background:rgba(37,99,235,.08); border-radius:14px}
