:root {
  --bg: #0b0714; --panel: #151022; --line: #2a2140; --accent: #8b5cf6;
  --accent-bright: #a78bfa; --text: #e7e2f5; --muted: #9a90b8; --danger: #f87171;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(1200px 700px at 70% -10%, #241a44 0%, var(--bg) 55%);
  color: var(--text); font: 15px/1.5 ui-sans-serif, system-ui, sans-serif;
  display: flex; align-items: flex-start; justify-content: center;
  min-height: 100vh; padding: 28px 16px;
}
.center { width: 100%; max-width: 360px; display: grid; place-items: center; }
.wrap { width: 100%; max-width: 760px; }
.card { background: rgba(21,16,34,.92); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card.create { margin-bottom: 16px; }
.card h2 { margin: 0 0 10px; font-size: 17px; }
.create-row { display: flex; gap: 8px; }
.create-row input { flex: 1; }
h1 { margin: 0 0 6px; font-size: 22px; }
.hint { color: var(--muted); margin: 0 0 10px; }
.error { color: var(--danger); min-height: 18px; margin: 0; }
input { background: #0e0a1a; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
input:focus { outline: none; border-color: var(--accent); }
button { background: transparent; color: var(--accent-bright); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
button:hover:not(:disabled) { background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.4); }
button.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
button.mini { padding: 4px 10px; font-size: 12px; }
button.danger { color: var(--danger); border-color: rgba(248,113,113,.4); }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.user-card { background: rgba(21,16,34,.92); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.user-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; flex-wrap: wrap; }
.uname { font-weight: 600; }
.uacts { display: flex; gap: 6px; }
.udata { padding: 0 16px 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 6px 10px; border-top: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
