@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/inter-latin.woff2') format('woff2');
}
:root {
  --bg: #000;
  --text: #e8eaef;
  --text-dim: #a1a6b3;
  --accent: #a5bef2;
  --accent-hover: #b7cbf6;
  --on-accent: #0a0f1c;
  --glass: rgba(16, 18, 22, .72);
  --glass-border: rgba(255, 255, 255, .09);
  --hover: rgba(255, 255, 255, .05);
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); }
#sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
[hidden] { display: none !important; }
.shell { position: relative; z-index: 1; min-height: 100vh; }
.topbar {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  height: 48px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 0 6px 0 16px;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6), inset 0 1px rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}
.brand { display: flex; align-items: center; gap: 9px; padding-right: 8px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.brand-muted { color: var(--text-dim); }
.brand-image { width: 22px; height: 22px; object-fit: contain; }
.login-view { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 24px 64px; }
.login-card { width: min(100%, 380px); text-align: center; animation: rise .7s var(--ease) both; }
h1, h2 { font-weight: 700; }
.login-card h1 { margin: 0 0 35px; font-size: clamp(3rem,8vw,5.5rem); line-height: 1.02; letter-spacing: -.045em; }
.accent { color: var(--accent); }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .15em; color: var(--text-dim); }
form { display: flex; flex-direction: column; }
label { margin: 0 0 8px 2px; color: var(--text-dim); font-size: 12px; font-weight: 500; text-align: left; }
input {
  width: 100%;
  height: 46px;
  margin: 0 0 18px;
  padding: 0 14px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  outline: 0;
  color: var(--text);
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
  transition: background-color .15s ease, border-color .15s ease;
}
input:hover { background: rgba(25,28,34,.82); border-color: rgba(255,255,255,.16); }
input:focus { border-color: var(--accent); background: rgba(24,27,34,.9); }
.primary, .secondary, .subtle, .row-button, .icon-button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.primary { width: auto; margin: 18px auto 0; border: 1px solid transparent; background: var(--accent); color: var(--on-accent); }
.primary:hover { background: var(--accent-hover); }
.primary:active, .secondary:active, .subtle:active, .row-button:active { transform: scale(.97); }
.primary.compact { margin: 0; min-height: 42px; font-size: 13px; display: inline-flex; align-items: center; gap: 12px; }
.secondary, .subtle, .row-button, .icon-button {
  border: 1px solid var(--glass-border);
  color: var(--text);
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6), inset 0 1px rgba(255,255,255,.05);
}
.secondary:hover, .subtle:hover, .row-button:hover, .icon-button:hover { background: rgba(24,27,33,.9); border-color: rgba(255,255,255,.16); color: var(--accent); }
.subtle { min-height: 35px; padding: 0 12px; font-size: 13px; color: var(--text-dim); box-shadow: none; }
.error { margin: 0 0 12px; color: #f0a9b5; font-size: 12px; text-align: left; }
.users-view { max-width: 1080px; margin: 0 auto; padding: 145px 28px 70px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 28px; }
.page-head h1 { margin: 9px 0 0; font-size: clamp(3rem,8vw,5.5rem); line-height: 1.02; letter-spacing: -.045em; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.head-actions .secondary { min-height: 42px; font-size: 13px; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6), inset 0 1px rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}
table { width: 100%; min-width: 690px; border-collapse: collapse; text-align: left; }
th { height: 48px; padding: 0 20px; color: var(--text-dim); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
td { height: 61px; padding: 0 20px; border-top: 1px solid var(--glass-border); font-size: 13px; }
td:first-child { font-weight: 600; }
td:last-child { text-align: right; }
.pill { display: inline-block; padding: 5px 9px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--hover); color: var(--accent); font-size: 11px; }
.pill.dim { color: var(--text-dim); background: transparent; }
.row-button { min-height: 32px; padding: 0 12px; font-size: 12px; box-shadow: none; }
.table-message { margin: 0; padding: 28px; color: var(--text-dim); font-size: 13px; text-align: center; }
.modal {
  width: min(440px, calc(100vw - 30px));
  max-height: calc(100vh - 30px);
  overflow-y: auto;
  padding: 25px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--text);
  background: rgba(16,18,22,.94);
  box-shadow: 0 24px 70px #000a, inset 0 1px rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}
.modal::backdrop { background: #000b; backdrop-filter: blur(5px); }
.modal-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 23px; }
.modal h2 { font-size: 25px; margin: 0; line-height: 1.1; }
.modal-head .eyebrow { margin-bottom: 8px; }
.icon-button { min-height: 29px; width: 29px; padding: 0; font-size: 20px; line-height: 1; }
.modal input { margin-bottom: 17px; }
.modal .primary { width: 100%; margin-top: 8px; }
.manage-state { color: var(--text-dim); font-size: 12px; margin: -8px 0 24px; }
.inline-form { display: flex; gap: 9px; }
.inline-form input { flex: 1; min-width: 0; margin: 0; }
.inline-form button { min-width: 84px; font-size: 13px; }
.manage-actions { display: flex; gap: 9px; padding-top: 22px; margin: 22px 0 18px; border-top: 1px solid var(--glass-border); }
.manage-actions button { flex: 1; font-size: 13px; padding: 0 10px; }
@supports not ((backdrop-filter: none) or (-webkit-backdrop-filter: none)) {
  .topbar, input, .secondary, .subtle, .row-button, .icon-button, .table-wrap, .modal { background: #101216; }
}
@media(max-width:650px) {
  .users-view { padding: 110px 16px 55px; }
  .page-head { align-items: start; flex-direction: column; }
  .head-actions { width: 100%; }
  .head-actions button { flex: 1; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
