:root{
  --bg:#F4F7FB;--card:#fff;--ink:#0F172A;--sub:#475569;--muted:#94A3B8;
  --line:#E6EBF2;--brand:#2563EB;--brand-2:#1D4ED8;--brand-weak:#EFF6FF;
  --green:#059669;--red:#DC2626;--red-weak:#FEF2F2;
  --shadow:0 1px 2px rgba(16,24,40,.04),0 28px 70px -38px rgba(16,24,40,.35);
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html,body{margin:0;padding:0}
body{background:var(--bg);color:var(--ink);font-size:14px;line-height:1.65;font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}
a{color:inherit;text-decoration:none}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}
.auth-hero{
  position:relative;overflow:hidden;background:
    radial-gradient(900px 480px at 78% 12%,rgba(56,189,248,.18),transparent 60%),
    radial-gradient(700px 500px at 12% 92%,rgba(37,99,235,.25),transparent 60%),
    #0B1220;
  color:#fff;padding:46px 52px;display:flex;flex-direction:column;
}
.auth-hero:before{
  content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(148,163,184,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.06) 1px,transparent 1px);
  background-size:48px 48px;mask-image:linear-gradient(180deg,#000,transparent 85%);pointer-events:none;
}
.brand{display:flex;align-items:center;gap:11px;position:relative;z-index:1}
.logo{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#2563EB,#38BDF8);display:grid;place-items:center;font-weight:700;font-size:17px;box-shadow:0 10px 22px -12px rgba(56,189,248,.9)}
.brand-name{font-size:15px;font-weight:700;line-height:1.2}
.brand-sub{font-size:10px;color:#93C5FD;letter-spacing:.14em;margin-top:1px}
.hero-copy{margin:auto 0;position:relative;z-index:1;max-width:540px}
.kicker{font-size:11px;letter-spacing:.16em;color:#93C5FD;font-weight:600;margin-bottom:12px}
h1{font-size:44px;line-height:1.25;letter-spacing:-.03em;margin:0 0 16px;font-weight:700}
.hero-copy p{font-size:14px;line-height:1.9;color:#CBD5E1;margin:0 0 26px;max-width:460px}
.hero-points{display:flex;flex-direction:column;gap:10px;font-size:12.5px;color:#E2E8F0}
.hero-points span{display:flex;gap:9px;align-items:flex-start}
.hero-points i{width:6px;height:6px;border-radius:2px;background:#38BDF8;margin-top:8px;flex:0 0 6px}
.hero-foot{position:relative;z-index:1;font-size:11px;color:#64748B;display:flex;gap:12px;flex-wrap:wrap}
.auth-main{display:flex;align-items:center;justify-content:center;padding:38px 28px;position:relative}
.auth-box{width:min(420px,100%)}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px 30px 26px;box-shadow:var(--shadow)}
.auth-card .eyebrow{font-size:11px;color:var(--brand);letter-spacing:.12em;font-weight:600;margin-bottom:8px}
h2{font-size:25px;line-height:1.3;letter-spacing:-.02em;margin:0 0 6px}
.lead{font-size:12.5px;color:var(--muted);margin:0 0 20px;line-height:1.8}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.field label{font-size:11.5px;color:var(--muted)}
.field input{height:42px;border:1px solid var(--line);border-radius:10px;background:#F8FAFC;padding:0 12px;font-size:13.5px;outline:none;transition:.15s}
.field input:focus{border-color:#93C5FD;box-shadow:0 0 0 3px #DBEAFE;background:#fff}
.field .hint{font-size:10.5px;color:var(--muted);line-height:1.6}
.error{display:none;background:var(--red-weak);border:1px solid #FECACA;color:#B91C1C;border-radius:9px;padding:9px 11px;font-size:12px;line-height:1.6;margin-bottom:14px}
.btn{height:42px;width:100%;border:0;border-radius:10px;background:var(--brand);color:#fff;font-size:13.5px;font-weight:600;cursor:pointer;margin-top:4px;transition:.15s}
.btn:hover{background:var(--brand-2)}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.switch{text-align:center;font-size:12px;color:var(--muted);margin:18px 0 0}
.switch a{color:var(--brand);font-weight:600}
.switch a:hover{text-decoration:underline}
.legal{text-align:center;font-size:10.5px;color:var(--muted);margin-top:18px;line-height:1.8}
@media(max-width:900px){
  .auth-shell{grid-template-columns:1fr}
  .auth-hero{padding:26px 24px 30px;min-height:auto}
  .hero-copy{margin:34px 0 0}
  h1{font-size:32px}
  .hero-points{display:none}
  .hero-foot{margin-top:24px}
  .auth-main{padding:26px 16px 40px;align-items:flex-start}
}
@media(max-width:520px){
  .auth-hero{padding:22px 18px 26px}
  h1{font-size:28px}
  .auth-card{padding:24px 20px 22px;border-radius:14px}
}
