:root { font-family: Inter,"PingFang SC","Microsoft YaHei UI",system-ui,sans-serif; color:#20243c; background:#f2f0fb; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; min-height:100vh; background:radial-gradient(circle at 15% 10%,#e5ddff 0,transparent 35%),linear-gradient(135deg,#f7f5ff,#eef3ff); }
button,input,select { font:inherit; }
.login-shell { min-height:100vh; display:grid; grid-template-columns:minmax(320px,1.15fr) minmax(340px,.85fr); align-items:center; gap:8vw; max-width:1180px; padding:54px 7vw; margin:auto; }
.login-intro { max-width:570px; }
.brand-mark { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; color:#fff; background:linear-gradient(145deg,#8066f4,#5035d4); font-size:28px; font-weight:800; box-shadow:0 14px 34px #583ed842; }
.eyebrow { margin:25px 0 10px; color:#654cda; font-size:14px; font-weight:800; letter-spacing:.14em; }
.login-intro h1 { margin:0; font-size:clamp(38px,4.4vw,56px); line-height:1.16; letter-spacing:-.045em; white-space:nowrap; word-break:keep-all; }
.login-intro>p:not(.eyebrow) { max-width:510px; margin:23px 0 0; color:#626b82; font-size:16px; line-height:1.8; }
.feature-list { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }
.feature-list span { padding:8px 12px; border:1px solid #d9d2f8; border-radius:999px; background:#ffffffa8; color:#58499a; font-size:12px; font-weight:700; }
.login-card { width:100%; max-width:430px; justify-self:end; padding:35px; border:1px solid #e2def1; border-radius:22px; background:#fff; box-shadow:0 24px 70px #30365a1a; }
.loading { padding:50px 0; text-align:center; color:#6c748b; }
.form-kicker { margin:0 0 7px; color:#6547d7; font-size:12px; font-weight:800; letter-spacing:.1em; }
h2 { margin:0; font-size:28px; letter-spacing:-.03em; }
.form-note { margin:8px 0 24px; color:#737b91; font-size:13px; line-height:1.6; }
label { display:grid; gap:7px; margin-top:16px; color:#3e465c; font-size:13px; font-weight:700; }
input,select { width:100%; min-height:46px; padding:11px 13px; border:1px solid #dfe2ed; border-radius:10px; color:#252b40; outline:none; background:#fbfbfd; }
input:focus,select:focus { border-color:#7d66ed; box-shadow:0 0 0 3px #7357eb1c; background:#fff; }
button[type="submit"] { width:100%; min-height:47px; margin-top:24px; border:0; border-radius:10px; color:#fff; background:#5739db; font-weight:800; cursor:pointer; box-shadow:0 5px 12px #5438d52b; }
button:disabled { opacity:.55; cursor:wait; }
.form-error { margin:14px 0 -8px; padding:10px 12px; border-radius:8px; color:#a22e3b; background:#fff0f2; font-size:12px; line-height:1.5; }
.form-success { margin:14px 0 -8px; padding:10px 12px; border-radius:8px; color:#176647; background:#eaf8f1; font-size:12px; line-height:1.5; }
.login-links { margin-top:10px; text-align:right; }
.login-links button { padding:2px 0; border:0; color:#5c47bd; background:transparent; font-size:12px; font-weight:700; cursor:pointer; }
.forgot-note { margin-top:10px; padding:10px 12px; border:1px solid #e4def8; border-radius:8px; color:#5c6175; background:#f8f6ff; font-size:12px; line-height:1.65; }
[hidden] { display:none!important; }
.parent-entry { display:block; margin-top:22px; padding-top:18px; border-top:1px solid #ececf3; text-align:center; color:#5c47bd; font-size:12px; text-decoration:none; font-weight:700; }
.embedded-account body { min-height:0; background:#fff; }
.embedded-account .login-shell { display:block; min-height:0; max-width:530px; margin:0 auto; padding:12px 24px 28px; }
.embedded-account .login-intro,.embedded-account .parent-entry { display:none; }
.embedded-account .login-card { max-width:none; padding:20px 4px; border:0; border-radius:0; box-shadow:none; }
@media (max-width:760px) { .login-shell { grid-template-columns:1fr; gap:32px; padding:32px 20px; } .login-intro h1 { font-size:38px; } .login-intro>p:not(.eyebrow),.feature-list { display:none; } .login-card { justify-self:center; padding:27px 22px; } }
