:root{color-scheme:light;--blue:#2563eb;--ink:#163357;--muted:#718096;--line:#e3eaf5}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f4f7fc;color:var(--ink);font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}.site-header{max-width:1000px;margin:auto;padding:28px 12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;gap:12px;align-items:center;font-size:23px;font-weight:800;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:13px;background:var(--blue);color:white;font-size:30px;box-shadow:0 4px 10px #2563eb20}.brand small{display:block;font-size:12px;color:var(--muted);font-weight:400;letter-spacing:.8px;margin-top:3px}.header-link{font-size:13px;color:var(--muted);white-space:nowrap}.header-link strong{color:var(--blue);font-weight:600;margin-left:6px}.auth-layout{max-width:1000px;min-height:570px;margin:26px auto 28px;display:grid;grid-template-columns:.9fr 1.1fr;background:white;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 16px 48px #17366308}.welcome-panel{position:relative;overflow:hidden;background:linear-gradient(145deg,#1d4ed8,#2563eb 58%,#3478f0);padding:46px 38px 36px;color:white;display:flex;flex-direction:column}.welcome-panel:after{content:"";position:absolute;width:430px;height:430px;right:-260px;bottom:-210px;border:64px solid #ffffff08;border-radius:50%;pointer-events:none}.eyebrow{font-size:11px;letter-spacing:3px;opacity:.7;font-weight:700}.welcome-panel h1{margin:24px 0 18px;font-size:35px;line-height:1.4;letter-spacing:-1px}.welcome-intro{font-size:14px;line-height:1.9;opacity:.85;margin:0}.welcome-features{display:grid;gap:23px;margin:34px 0 30px}.welcome-features>div{display:flex;align-items:flex-start;gap:14px}.feature-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid #ffffff30;border-radius:10px;background:#ffffff0a;font-size:20px}.welcome-features p{margin:0;padding-top:2px}.welcome-features strong{display:block;font-size:14px;font-weight:650}.welcome-features p span{display:block;margin-top:6px;font-size:12px;line-height:1.7;opacity:.75}.welcome-note{position:relative;z-index:1;margin:auto 0 0;font-size:12px;line-height:1.8;color:#d9e5ff;max-width:310px}.auth-card{padding:42px 44px 32px;min-width:0;align-self:center}.card-kicker{display:block;font-size:12px;color:var(--blue);font-weight:650;letter-spacing:.8px}.card-heading h2{font-size:29px;letter-spacing:-.6px;margin:7px 0 10px}.card-heading>p{font-size:13px;color:var(--muted);margin:0 0 25px;line-height:1.8}.auth-tabs{display:flex;gap:6px;padding:4px;background:#f1f5fc;border:1px solid #e9eef7;border-radius:11px;margin-bottom:24px}.auth-tabs button{flex:1;min-width:0;min-height:40px;background:transparent;border:0;border-radius:7px;color:#7c8ca3;font-size:13px;font-weight:600}.auth-tabs button.active{background:white;color:var(--blue);box-shadow:0 2px 7px #1736630a}.field{min-width:0;margin-bottom:21px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.field input{width:100%;height:46px;min-width:0;border:1px solid #dce4ee;border-radius:9px;padding:0 12px;background:#fff;color:var(--ink);outline:none;font-size:13px;transition:border-color .15s,box-shadow .15s}.field input::placeholder{color:#9aa7b8}.field input:focus{border-color:#6091f1;box-shadow:0 0 0 3px #2563eb12}.field input:disabled{background:#f3f6fb;color:#718096}.field small{display:block;font-size:11px;color:#8a97a9;line-height:1.7;margin-top:8px;overflow-wrap:anywhere}.label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.forgot-link{font-size:12px;font-weight:500;color:var(--blue);margin-bottom:8px;white-space:nowrap}.code-row{display:flex;gap:10px}.code-row input{flex:1;min-width:0}.code-button{flex-shrink:0;min-width:116px;padding:0 12px;border:1px solid #bfcef0;border-radius:9px;color:var(--blue);background:#f4f8ff;font-size:12px;font-weight:600}.code-button:hover{background:#eaf1ff}.code-button:disabled{color:#8b9bbb;border-color:#dce4ee;background:#f5f7fa;opacity:1}.message-space{min-height:34px;padding:0 0 13px}.message{font-size:12px;line-height:1.8;padding:10px 12px;margin:0;border-radius:8px;color:#166534;background:#ecfdf3;border:1px solid #d1f0db;overflow-wrap:anywhere}.message.error{background:#fff1f2;border-color:#fecdd3;color:#be123c}.message.session-replaced{font-size:13px;font-weight:600}.submit-button,.primary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:47px;border:0;border-radius:10px;background:var(--blue);box-shadow:0 4px 10px #2563eb18;color:white;font-weight:600;font-size:14px}.submit-button{width:100%}.submit-button:hover,.primary:hover{background:#1d4ed8}.submit-button span{font-size:18px;font-weight:400}.form-switch{font-size:12px;text-align:center;color:var(--muted);margin:20px 0 0;line-height:1.8}.form-switch a{color:var(--blue);font-weight:600;margin:0 4px}.form-switch>span{color:#b2becc;margin:0 5px}.recovery-steps{display:grid;gap:25px;margin:36px 0 32px}.recovery-steps>div{display:flex;gap:14px;align-items:flex-start}.recovery-steps>div>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff38;border-radius:50%;background:#ffffff10;flex-shrink:0;font-size:14px;font-weight:650}.recovery-steps p{margin:0;padding-top:3px}.recovery-steps strong{display:block;font-size:14px;font-weight:650}.recovery-steps small{display:block;font-size:12px;line-height:1.8;margin-top:6px;opacity:.8}a:focus-visible,button:focus-visible{outline:3px solid #84aef4;outline-offset:3px}footer{text-align:center;color:#94a2b5;font-size:11px;padding:6px 16px 26px;line-height:1.8}footer span{margin:0 9px;color:#bfcbda}[hidden]{display:none!important}dialog{width:min(440px,calc(100vw - 32px));padding:25px;border:1px solid #dce4ee;border-radius:15px;max-height:calc(100dvh - 32px);overflow:auto;color:var(--ink);box-shadow:0 18px 60px #17366328}dialog::backdrop{background:#172c4f60;backdrop-filter:blur(2px)}dialog h2{font-size:20px;line-height:1.5;margin:0 0 15px}dialog p{font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 24px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end}.dialog-actions button{min-height:42px;font-size:13px;padding:10px 15px;border-radius:8px}.secondary{background:white;color:#60738d;border:1px solid #dce4ee;font-weight:600}
@media(max-width:1040px){.site-header{padding:24px 28px}.auth-layout{margin:20px 28px 26px}.auth-card{padding:36px 32px 30px}.welcome-panel{padding:42px 30px 32px}.welcome-panel h1{font-size:32px}}@media(max-width:820px){.auth-layout{max-width:540px;grid-template-columns:1fr;margin:16px auto 26px;min-height:0}.welcome-panel{display:none}.auth-card{padding:36px 34px 32px}.site-header{max-width:588px;padding:24px}.card-heading>p{margin-bottom:23px}}@media(max-width:600px){.site-header{padding:22px 20px}.brand{font-size:21px;gap:9px}.brand-mark{width:39px;height:39px;border-radius:11px;font-size:27px}.brand small{font-size:11px}.header-link{font-size:0}.header-link strong{font-size:12px}.auth-layout{margin:8px 16px 20px;border-radius:18px}.auth-card{padding:28px 22px 26px}.card-heading h2{font-size:27px}.auth-tabs{margin-bottom:22px}.field input{font-size:14px}.code-row{gap:8px}.code-button{min-width:104px;padding:0 9px;font-size:11px}.form-switch{font-size:11px}.message-space{min-height:32px}.dialog-actions{flex-wrap:wrap}.dialog-actions button{flex:1;white-space:normal}footer{font-size:10px;padding-bottom:22px}}@media(max-width:340px){.site-header{padding:20px 16px;gap:12px}.brand{font-size:19px}.brand small{font-size:10px}.brand-mark{width:35px;height:35px;font-size:25px}.auth-layout{margin:6px 12px 18px}.auth-card{padding:26px 18px 24px}.card-heading h2{font-size:25px}.auth-tabs button{font-size:12px}.field input{padding:0 10px;font-size:13px}.code-button{min-width:95px}.form-switch>span{margin:0 2px}.form-switch a{margin:0 2px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
