*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#1b1433;background:linear-gradient(160deg,#f5f2ff,#ece6ff);display:flex;align-items:center;justify-content:center;padding:18px;line-height:1.5}
body:before,body:after{content:"";position:fixed;border-radius:50%;filter:blur(60px);z-index:0;pointer-events:none}body:before{width:420px;height:420px;left:-120px;top:-100px;background:#c9b6ff}body:after{width:380px;height:380px;right:-100px;bottom:-100px;background:#ffc4e6}
.card{position:relative;z-index:1;width:min(450px,100%);background:rgba(255,255,255,.82);backdrop-filter:blur(16px);border:1px solid #e0d9f6;border-radius:26px;padding:28px 26px 20px;box-shadow:0 30px 80px rgba(70,50,170,.2);text-align:center}
.logo{display:block;margin:0 auto;width:min(250px,70%);aspect-ratio:360/117;border-radius:14px;box-shadow:0 6px 18px rgba(80,70,200,.18)}
h1{font-size:1.2rem;margin:16px 0 2px;background:linear-gradient(90deg,#4a5cf0,#22b8e8);-webkit-background-clip:text;background-clip:text;color:transparent}
.sub{margin:0 0 14px;color:#5c5479;font-size:.9rem}
.tabs{display:flex;background:#efe9ff;border-radius:12px;padding:4px;margin:0 0 14px}.tabs button{flex:1;border:0;background:none;padding:9px;border-radius:9px;font:inherit;font-weight:600;color:#5c5479;cursor:pointer}.tabs button[aria-selected=true]{background:#fff;color:#4a2bc4;box-shadow:0 2px 8px rgba(80,50,160,.15)}
form{text-align:left}label{display:block;font-weight:600;font-size:.85rem;margin:10px 0 4px}
input,select{width:100%;padding:11px 12px;border:1px solid #d6cdf3;border-radius:11px;font:inherit;background:#fff;color:#1b1433}input:focus,select:focus,button:focus-visible{outline:3px solid #a855f7;outline-offset:1px}
.pw{position:relative}.pw button{position:absolute;right:6px;top:6px;border:0;background:none;color:#6a3df0;font:inherit;font-size:.8rem;cursor:pointer;padding:6px 8px}
.btn{width:100%;margin-top:14px;padding:12px;border:0;border-radius:12px;font:inherit;font-weight:700;color:#fff;background:linear-gradient(90deg,#6a3df0,#a855f7);cursor:pointer;box-shadow:0 8px 20px rgba(106,61,240,.3)}.btn:disabled{opacity:.6;cursor:wait}
.btn.ghost{background:#fff;color:#4a2bc4;border:1px solid #d6cdf3;box-shadow:none}
.err{color:#c4264f;font-size:.85rem;min-height:1.2em;margin:8px 0 0}.ok{color:#11805c}.hint{font-size:.76rem;color:#5c5479;margin:4px 0 0}
.foot{margin-top:16px;padding-top:12px;border-top:1px solid #e0d9f6;font-size:.76rem;color:#5c5479}a{color:#5b34d6}