@font-face{font-family:Outfit;src:url('vendor/outfit-regular.woff2') format('woff2');font-weight:400;font-display:swap}
:root{font-family:Outfit,"Microsoft YaHei","PingFang SC",sans-serif;color:#252435;background:#fff;color-scheme:light;--ink:#262539;--muted:#75758b;--focus:#8171cc}
*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{opacity:.5;cursor:default}button,a{touch-action:manipulation}button,input,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}svg{display:block;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}::selection{background:#ded7f8;color:#302750}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;padding:0!important;border:0!important}.skip{position:fixed;z-index:9;left:12px;top:12px;padding:12px 18px;background:white;color:var(--ink);transform:translateY(-150%)}.skip:focus{transform:none}
.composition{height:100vh;height:100dvh;height:var(--usable-height,100dvh);display:grid;grid-template-columns:50% 50%;min-height:0}
.universe{position:relative;min-width:0;min-height:0;overflow:hidden;background:#17132f;isolation:isolate;color:#e3dcf5}
.universe::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 60% 35%,#3c3262 0%,#242043 43%,#141128 100%);z-index:-1}
.artwork{position:absolute;inset:0}.artwork canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y;user-select:none}.artwork canvas:active{cursor:grabbing}.artwork canvas:focus-visible{outline:none}.artwork:has(canvas:focus-visible)::after{content:"";position:absolute;inset:8%;border:1px solid #d0c3fb94;border-radius:10px;pointer-events:none}
.scene-cursor{position:absolute;left:0;top:0;width:46px;height:46px;border:1px solid #e8c7ef5a;border-radius:50%;box-shadow:inset 0 0 18px #dbc5ff12;opacity:0;pointer-events:none;will-change:transform}
.scene-footer{position:absolute;left:max(clamp(26px,4vw,68px),env(safe-area-inset-left));right:max(clamp(22px,3vw,46px),env(safe-area-inset-right));bottom:max(26px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
.scene-hint{font-size:11px;letter-spacing:.08em;color:#c9bfde;margin:0}.scene-controls{display:flex;gap:6px;pointer-events:auto}.scene-button{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#c8bddf;transition:color .2s,background .2s}.scene-button svg{width:19px;height:19px;stroke-width:1.2}.scene-button:hover{background:#bfa9f11a;color:#fff3d8}.scene-button:focus-visible{outline-color:#e1d1ff}.play-icon{display:none}.pause[aria-pressed=true] .pause-icon{display:none}.pause[aria-pressed=true] .play-icon{display:block}.fallback{position:absolute;inset:13% 9%;display:grid;place-items:center}.fallback svg{width:100%;height:100%;filter:drop-shadow(0 0 8px #a08be97a)}
.login-side{min-width:0;min-height:0;display:flex;align-items:flex-start;justify-content:center;padding:34px clamp(32px,5.1vw,96px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c8c0df transparent;background:#fff}.login-card{width:100%;max-width:416px;flex-shrink:0;margin-block:auto}
.login-brand{display:flex;align-items:center;gap:12px;width:max-content;margin-bottom:46px;color:#253453;transition:color .2s}.login-brand svg{width:43px;height:43px}.login-brand>span{font-family:Arial,sans-serif;font-weight:700;font-style:italic;font-size:27px;letter-spacing:-.025em;color:#20202c}.login-brand:hover{color:#7560ae}
.brand-row h1{font-size:34px;line-height:1.2;letter-spacing:-.035em;text-align:center;font-weight:600;margin:0;color:#242332}.welcome-copy{font-size:14px;line-height:1.6;color:#75748a;text-align:center;margin:11px 0 35px;text-wrap:balance}
.field{margin:0 0 9px}.field label{font-size:13px;line-height:1.5;display:block;margin-bottom:8px;font-weight:600;color:#373447}.input-wrap{position:relative}.input-wrap input{width:100%;display:block;height:54px;padding:0 46px 0 17px;font-size:15px;line-height:normal;border:1px solid #d9d9e6;background:#fafafe;border-radius:9px;color:#29263d;caret-color:#7864bb;transition:border-color .2s,background .2s,box-shadow .2s}.input-wrap input::placeholder{font-size:14px;color:#77768c}.input-wrap input:hover{border-color:#b6accf}.input-wrap input:focus{outline:none;border-color:#8b76d4;background:#fff;box-shadow:0 0 0 4px #aa91e818}.input-wrap input[aria-invalid=true]{border-color:#b74d61}.input-wrap input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px #f6f4fc inset;-webkit-text-fill-color:#29263d}.input-wrap>svg{position:absolute;right:17px;top:18px;width:19px;height:19px;color:#9992b1;pointer-events:none}.input-wrap button{position:absolute;width:44px;height:44px;right:4px;top:5px;border-radius:6px;display:grid;place-items:center;color:#8c859f}.input-wrap button svg{width:20px;height:20px}.input-wrap button:hover{background:#f0ecf7}.eye-slash{display:none}.input-wrap button[aria-pressed=true] .eye-slash{display:block}.field-error{font-size:11px;min-height:16px;line-height:16px;color:#a63c52;margin:3px 0 0}
.form-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:1px 0 23px;font-size:13px;color:#75718a}.remember-label{display:flex;align-items:center;gap:9px;min-height:32px;cursor:pointer;user-select:none}.remember-label input{appearance:none;width:18px;height:18px;border:1px solid #cbc8da;border-radius:4px;margin:0;background:#fff;display:grid;place-content:center;cursor:pointer}.remember-label input:checked{background:#73619e;border-color:#73619e}.remember-label input:checked::after{content:"";width:8px;height:4px;border-left:1.8px solid white;border-bottom:1.8px solid white;transform:translateY(-1px) rotate(-45deg)}.text-button{min-height:32px;padding:0;color:#706982}.text-button:hover{color:#7355af;text-decoration:underline;text-underline-offset:4px}
.submit{width:100%;height:54px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:8px;background:#252333;color:#fff;font-size:15px;font-weight:600;transition:background .25s,transform .25s,box-shadow .25s}.submit svg{width:21px;height:21px;transition:transform .25s}.submit:hover{background:#463858;box-shadow:0 8px 20px #36304d16;transform:translateY(-1px)}.submit:hover svg{transform:translateX(2px)}.submit:active{transform:translateY(1px)}
.divider{display:flex;align-items:center;gap:18px;margin:30px 0 26px;color:#848096;font-size:11px;letter-spacing:.12em;line-height:16px}.divider::before,.divider::after{content:"";height:1px;flex:1;background:#e4e0ec}.login-footer{text-align:center;color:#777286;font-size:11px;line-height:1.75}.login-footer p{margin:0}.policy-copy button{display:inline;padding:0;min-height:24px;color:#5d536f;font-weight:600}.policy-copy button:hover{color:#7856b1;text-decoration:underline;text-underline-offset:3px}.login-footer .copyright{margin-top:12px}.copyright span{white-space:nowrap}
@media(max-height:800px){.login-side{padding-top:24px;padding-bottom:24px}.login-brand{margin-bottom:28px}.login-brand svg{width:37px;height:37px}.brand-row h1{font-size:30px}.welcome-copy{font-size:13px;margin:8px 0 24px}.input-wrap input{height:50px}.input-wrap button{top:3px}.input-wrap>svg{top:16px}.field{margin-bottom:6px}.field label{margin-bottom:6px}.form-options{margin-bottom:18px}.submit{height:50px}.divider{margin:24px 0 21px}.login-footer .copyright{margin-top:9px}}
@media(max-height:680px){.login-side{padding-top:18px;padding-bottom:18px}.login-brand{margin-bottom:20px}.login-brand svg{width:33px;height:33px}.login-brand>span{font-size:24px}.brand-row h1{font-size:28px}.welcome-copy{font-size:12px;margin:7px 0 18px}.field label{font-size:12px;margin-bottom:5px}.input-wrap input{height:46px}.input-wrap>svg{top:14px}.input-wrap button{top:1px}.field-error{min-height:14px;line-height:14px;margin-top:2px}.field{margin-bottom:3px}.form-options{font-size:12px;margin-bottom:12px}.submit{height:46px}.divider{margin:17px 0 14px}.login-footer{font-size:10px}.login-footer .copyright{margin-top:7px}}
@media(max-width:700px){.composition{grid-template-columns:1fr;grid-template-rows:minmax(108px,1fr) auto}.login-side{padding:19px 25px max(17px,env(safe-area-inset-bottom))}.login-card{max-width:440px}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.login-brand{gap:8px;margin:0}.login-brand svg{width:29px;height:29px}.login-brand>span{font-size:21px}.brand-row h1{font-size:25px;letter-spacing:-.04em}.welcome-copy{font-size:12px;margin:9px 0 20px}.field label{font-size:11px;margin-bottom:5px}.input-wrap input{height:46px;font-size:16px;padding-left:13px}.input-wrap input::placeholder{font-size:12px}.input-wrap button{top:1px}.input-wrap>svg{top:14px}.field-error{font-size:10px;line-height:13px;min-height:13px;margin-top:2px}.field{margin-bottom:4px}.form-options{font-size:12px;margin:0 0 13px}.remember-label,.text-button{min-height:30px}.submit{height:46px;font-size:14px}.divider{margin:17px 0 13px;font-size:10px;line-height:14px}.login-footer{font-size:10px;line-height:1.6}.policy-copy button{min-height:24px}.login-footer .copyright{margin-top:6px}.scene-footer{left:23px;right:16px;bottom:8px}.scene-hint{font-size:10px;letter-spacing:0}.scene-controls{gap:1px}.scene-button svg{width:17px;height:17px}.scene-cursor{display:none}}
@media(max-width:700px) and (max-height:640px){.composition{grid-template-rows:minmax(96px,1fr) auto}.login-side{padding:13px 21px max(12px,env(safe-area-inset-bottom))}.login-brand svg{width:26px;height:26px}.login-brand>span{font-size:19px}.brand-row h1{font-size:22px}.welcome-copy{font-size:11px;margin:7px 0 14px}.field label{font-size:10px;line-height:14px;margin-bottom:4px}.input-wrap input{height:44px}.input-wrap button{top:0}.input-wrap>svg{top:13px}.field-error{min-height:12px;line-height:12px}.field{margin-bottom:2px}.form-options{font-size:11px;margin-bottom:9px}.remember-label,.text-button{min-height:27px}.submit{height:44px}.divider{margin:12px 0 10px;line-height:12px}.login-footer{font-size:9px;line-height:1.6}.login-footer .copyright{margin-top:3px}.scene-footer{left:18px;right:10px;bottom:2px}.scene-hint{font-size:9px}}
@media(max-height:450px) and (min-width:701px){.composition{grid-template-columns:50% 50%}.login-side{padding:15px 30px}.login-card{max-width:490px}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.login-brand{margin:0;gap:9px}.login-brand svg{width:29px;height:29px}.login-brand>span{font-size:23px}.brand-row h1{font-size:25px}.welcome-copy{margin:5px 0 13px;font-size:12px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{min-width:0}.field label{font-size:11px;margin-bottom:4px}.input-wrap input{height:44px;font-size:16px;padding-left:12px}.input-wrap input::placeholder{font-size:11px}.input-wrap button{right:0;top:0}.input-wrap>svg{right:12px;top:13px;width:17px}.field-error{min-height:13px;line-height:13px}.form-options{margin-bottom:10px}.submit{height:44px}.divider{margin:13px 0 8px;line-height:12px}.login-footer{font-size:10px}.login-footer .copyright{margin-top:3px}.scene-footer{left:18px;right:12px;bottom:12px}.scene-hint{font-size:9px}.scene-controls{gap:1px}}
@media(max-width:1000px){.input-wrap input{font-size:16px}.login-side{padding-left:max(21px,env(safe-area-inset-left));padding-right:max(21px,env(safe-area-inset-right))}}
.keyboard-open .composition{grid-template-columns:1fr;grid-template-rows:1fr}.keyboard-open .universe{display:none}.keyboard-open .login-side{display:block;padding-top:15px;padding-bottom:15px}.keyboard-open .login-card{margin-inline:auto}.keyboard-open .login-brand{margin-bottom:0}.keyboard-open .brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.keyboard-open .brand-row h1{font-size:25px}.keyboard-open .welcome-copy{margin-bottom:15px}
@media(max-width:700px) and (max-height:460px){.composition{grid-template-rows:1fr}.universe{display:none}.login-side{display:block}.login-card{margin-inline:auto}}
.scene-hint{transition:color .45s}.universe[data-scene-state="awakening"] .scene-hint,.universe[data-scene-state="active"] .scene-hint{color:#efdcff}.universe[data-scene-state="resting"] .scene-cursor{opacity:0!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}.submit:hover,.submit:active,.submit:hover svg{transform:none}.scene-cursor{display:none}}

.universe[data-field="constellation"] .fallback{inset:0}.universe[data-field="constellation"] .fallback svg{width:100%;height:100%;opacity:.8}

.universe[data-field="quiet-sky"]{background:#193751;color:#e5edf4}.universe[data-field="quiet-sky"]::before{background:linear-gradient(165deg,#19334e 0%,#385871 62%,#8b9caa 100%)}.universe[data-field="quiet-sky"] .fallback{inset:0}.universe[data-field="quiet-sky"] .fallback svg{width:100%;height:100%;filter:none}.universe[data-field="quiet-sky"] .scene-cursor{display:none}.universe[data-field="quiet-sky"] .scene-hint,.universe[data-field="quiet-sky"] .scene-button{color:#edf3f7}.universe[data-field="quiet-sky"] .scene-button:hover{background:#e4eff414;color:#fff}
/* Adapt the reference's visual language to the existing OA form and dialogs. */
.login-brand img { width:43px; height:43px; object-fit:contain; border-radius:10px; }
.field { margin-bottom:24px; }
.input-wrap .input-icon { width:19px; height:19px; }
.btn-text { display:flex; align-items:center; justify-content:center; gap:8px; }
.spinner { display:none; width:20px; height:20px; border:2px solid #ffffff70; border-top-color:#fff; border-radius:50%; animation:login-spin .7s linear infinite; }
.btn-login.loading .btn-text { display:none; }
.btn-login.loading .spinner { display:block; }
.btn-login.loading { opacity:.85; }
.remember-me { display:flex; align-items:center; gap:9px; min-height:44px; cursor:pointer; user-select:none; }
.remember-me input { width:18px; height:18px; margin:0; accent-color:#73619e; }
.forgot-link { min-height:44px; }
.login-footer a { color:#5d536f; font-weight:600; text-underline-offset:3px; }
.login-footer a:hover { text-decoration:underline; }
.error-box { display:flex; align-items:flex-start; gap:10px; margin:0 0 22px; padding:13px 15px; border:1px solid #e9c8d0; border-radius:9px; background:#fff5f6; color:#9b3047; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.err-icon { flex:none; padding-top:3px; }
.err-icon svg { width:17px; height:17px; }
.modal { display:none; position:fixed; z-index:50; inset:0; height:var(--usable-height,100dvh); padding:24px; align-items:center; justify-content:center; overflow:auto; background:#1911286b; backdrop-filter:blur(6px); }
.modal.show { display:flex; }
.modal-content { width:100%; max-width:420px; max-height:calc(var(--usable-height,100dvh) - 48px); overflow:auto; padding:30px; border-radius:16px; background:#fff; box-shadow:0 24px 80px #1e10233b; color:#373044; }
.modal-icon { display:flex; justify-content:center; margin-bottom:16px; color:#73619e; }
.modal-icon svg { width:34px; height:34px; }
.modal-title { margin:0 0 14px; font-size:23px; line-height:1.4; text-align:center; }
.modal-message { margin:0 0 24px; font-size:14px; line-height:1.8; text-align:center; overflow-wrap:anywhere; }
.modal-message.error { color:#a63c52; }
.modal-message.success { color:#23634f; }
.modal-form label { display:block; margin-bottom:8px; font-size:14px; font-weight:600; }
.modal-input-wrap { position:relative; }
.modal-input-wrap input { width:100%; min-height:48px; padding:12px 14px 12px 42px; font-size:16px; border:1px solid #d9d9e6; border-radius:8px; background:#fafafe; color:#29263d; }
.modal-input-icon { position:absolute; width:19px; height:19px; top:15px; left:13px; color:#75718a; }
.modal-tip { font-size:13px; line-height:1.8; color:#655e70; margin:12px 0 0; }
.modal-actions { display:flex; gap:12px; margin-top:24px; }
.modal-btn { display:block; width:100%; min-height:46px; padding:10px 16px; border-radius:8px; background:#30283d; color:#fff; font-size:14px; font-weight:600; }
.modal-btn:hover { background:#5f477b; }
.modal-btn-secondary { flex:0 0 82px; background:#f0edf5; color:#5d536f; }
.modal-btn-secondary:hover { background:#e5dfef; }
.login-card { animation:login-arrive .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes login-arrive { from { transform:translateY(8px); opacity:.7; } to { transform:translateY(0); opacity:1; } }
@keyframes login-spin { to { transform:rotate(360deg); } }
@media(max-height:680px) { .field { margin-bottom:16px; } .login-brand img { width:33px; height:33px; } }
@media(max-width:700px) { .login-brand img { width:29px; height:29px; } .field { margin-bottom:16px; } .modal { padding:18px; } .modal-content { padding:24px; max-height:calc(var(--usable-height,100dvh) - 36px); } .error-box { margin-bottom:15px; } }
@media(max-height:450px) and (min-width:701px) { .login-brand img { width:29px; height:29px; } }
@media(prefers-reduced-motion:reduce) { .login-card { animation:none; } .btn-login.loading .spinner { animation:none; border-color:#ffffff70; border-top-color:#fff; } }
.modal, .modal-content { overscroll-behavior: contain; }
