:root{color-scheme:dark;--bg:#0b1020;--panel:#151c31;--line:#28324d;--text:#eef2ff;--muted:#9aa6c4;--brand:#6d7cff;--danger:#ef5f67}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#182040 0,var(--bg) 42%);color:var(--text);font:15px/1.45 system-ui,sans-serif;min-height:100vh}.shell{width:min(960px,calc(100% - 32px));margin:48px auto}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}h1,h2,p{margin-top:0}h1{margin-bottom:3px}h2{font-size:17px}.muted{color:var(--muted);margin-bottom:0}.card{background:rgba(21,28,49,.94);border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:18px;box-shadow:0 16px 50px #0003}.stats{display:grid;grid-template-columns:1fr 2fr;gap:18px}.stats .card{display:flex;flex-direction:column}.stats span{color:var(--muted)}.stats strong{font-size:30px}.stats strong.small{font-size:18px;margin-top:8px}.add-user form{display:flex;gap:10px}input{width:100%;border:1px solid var(--line);border-radius:10px;background:#0e1426;color:var(--text);padding:12px 14px;font:inherit}button,.button{border:0;border-radius:10px;background:var(--brand);color:white;padding:11px 16px;font-weight:650;text-decoration:none;cursor:pointer;white-space:nowrap}.secondary{background:#242e4a}.danger{background:#42232c;color:#ff9da3}.user{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid var(--line);gap:18px}.user:first-child{border-top:0}.user p{font-size:13px}.actions{display:flex;align-items:center;gap:8px}.actions form{margin:0}.flash{padding:12px 16px;border-radius:10px;margin-bottom:16px;background:#203b31}.flash.error{background:#48252c}.login{max-width:420px;margin:14vh auto}.login label{display:block;color:var(--muted);margin:22px 0 14px}.login input{margin-top:7px}.login button{width:100%}.logo{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--brand);font-size:24px;font-weight:800;margin-bottom:20px}.empty{text-align:center;color:var(--muted);padding:24px}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:18px;padding:28px;text-align:center}dialog::backdrop{background:#050814cc}dialog img{width:min(320px,75vw);border-radius:10px}.close{position:absolute;right:10px;top:10px;background:transparent;font-size:26px;padding:4px 10px}@media(max-width:700px){.shell{margin:24px auto}.stats{grid-template-columns:1fr}.add-user form,.user,.actions{align-items:stretch;flex-direction:column}.actions .button,.actions button{text-align:center;width:100%}}

