:root {
  --bg:#0b1220;
  --card:#101a2e;
  --muted:#8aa0c2;
  --text:#e6eefc;
  --line:#1f2c49;
  --primary:#4f8cff;
}

*{ box-sizing:border-box; }
body{
  margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg); color:var(--text);
}
.app{ max-width:1400px; margin:0 auto; padding:18px; }

.topbar{
  background:var(--card); border:1px solid var(--line);
  border-radius:18px; padding:16px; box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.topbar h1{ margin:0 0 12px; font-size:20px; }

.bulkbar{ display:flex; flex-direction:column; gap:10px; }
.bulk-left{ display:flex; gap:12px; align-items:center; justify-content:space-between; }
.bulk-fields{ display:flex; gap:8px; flex-wrap:wrap; }

.filters{
  margin-top:14px;
  background:var(--card); border:1px solid var(--line);
  border-radius:18px; padding:16px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap:10px;
}
.filter-actions{ margin-top:10px; display:flex; justify-content:flex-end; }

input, select, button{
  border-radius:12px; border:1px solid var(--line);
  background:#0d1628; color:var(--text);
  padding:10px 12px; outline:none;
}
input::placeholder{ color:var(--muted); }
select[multiple]{ min-height:44px; padding:8px; }

button{ cursor:pointer; }
button.primary{
  background:var(--primary); border-color:transparent; color:#081225; font-weight:700;
}
button.primary:disabled{ opacity:.4; cursor:not-allowed; }
button.ghost{ background:transparent; }

.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 10px; border:1px solid var(--line);
  border-radius:999px; color:var(--muted);
}

.list{
  margin-top:14px;
  background:var(--card); border:1px solid var(--line);
  border-radius:18px; padding:16px;
}
.list-meta{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.pager{ display:flex; gap:8px; align-items:center; }

table{ width:100%; border-collapse:collapse; font-size:13px; }
th, td{ border-bottom:1px solid var(--line); padding:10px; vertical-align:top; }
th{ text-align:left; color:var(--muted); position:sticky; top:0; background:var(--card); }
th[data-sort]{ cursor:pointer; }
th.chk, td.chk{ width:42px; }
a{ color:#93b7ff; }
.hint{ color:var(--muted); }
code{ background:#0b1530; padding:2px 6px; border-radius:8px; border:1px solid var(--line); }