:root { color-scheme: dark; --bg:#070a12; --panel:#0c111d; --panel2:#111827; --text:#f6f7fb; --muted:#929cad; --line:rgba(255,255,255,.1); --accent:#8b5cf6; --danger:#fb7185; }
* { box-sizing:border-box; }
body { min-height:100dvh; margin:0; display:grid; place-items:center; padding:24px; color:var(--text); background:radial-gradient(circle at 50% 0,rgba(124,58,237,.28),transparent 38%),var(--bg); font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.setup-shell { width:min(520px,100%); }
.setup-brand { display:flex; align-items:center; justify-content:center; gap:11px; margin-bottom:18px; font-weight:800; font-size:18px; }
.mark { display:grid; place-items:center; width:38px; height:38px; border-radius:13px; background:linear-gradient(145deg,#ddd6fe,#7c3aed 55%,#312e81); box-shadow:0 0 35px rgba(124,58,237,.3); }
.setup-card { border:1px solid var(--line); border-radius:22px; background:color-mix(in srgb,var(--panel) 95%,transparent); box-shadow:0 28px 90px rgba(0,0,0,.42); padding:clamp(22px,5vw,34px); }
.eyebrow { color:#a78bfa; font-size:11px; letter-spacing:.17em; font-weight:800; margin:0 0 9px; }
h1 { margin:0; font-size:clamp(28px,6vw,38px); letter-spacing:-.04em; }
.lead { color:var(--muted); line-height:1.6; font-size:14px; margin:13px 0 23px; }
form { display:grid; gap:15px; }
label { display:grid; gap:7px; font-size:12px; font-weight:750; }
input { width:100%; border:1px solid var(--line); background:var(--panel2); color:var(--text); border-radius:11px; padding:12px; outline:0; }
input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(139,92,246,.13); }
.hint { color:var(--muted); font-size:11px; line-height:1.45; font-weight:400; }
.password-wrap { position:relative; }
.password-wrap input { padding-right:62px; }
.show-password { position:absolute; right:6px; top:6px; height:34px; border:0; border-radius:7px; background:transparent; color:var(--muted); cursor:pointer; font-size:11px; }
.primary { border:0; border-radius:11px; padding:12px; color:white; background:linear-gradient(135deg,#a78bfa,#6d28d9); font-weight:800; cursor:pointer; margin-top:3px; }
.primary:disabled { opacity:.5; cursor:wait; }
.error { display:none; color:#fecdd3; background:rgba(244,63,94,.12); border:1px solid rgba(244,63,94,.25); padding:10px; border-radius:10px; font-size:12px; line-height:1.45; }
.error.show { display:block; }
.security { display:flex; gap:9px; color:var(--muted); background:var(--panel2); border-radius:11px; padding:11px; margin-top:18px; font-size:11px; line-height:1.5; }
.security b { color:var(--text); }
.login-foot { text-align:center; color:var(--muted); font-size:11px; margin-top:14px; }
@media(max-width:520px){body{padding:12px}.setup-card{border-radius:18px}}
