:root{color-scheme:light;--navy:#203f33;--navy-soft:#2d5543;--blue:#196c55;--blue-dark:#10543f;--ink:#20332f;--muted:#78847f;--line:#e2e8e4;--surface:#fff;--soft:#f5f7f5;--danger:#b42318;--danger-soft:#fff3f1;font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body{background:var(--surface);color:var(--ink);-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button{cursor:pointer}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-shell{min-height:100vh;min-height:100svh;display:grid;grid-template-columns:minmax(440px,42%) minmax(520px,58%)}
.brand-panel{position:relative;overflow:hidden;min-height:680px;padding:48px clamp(42px,5vw,80px);background:var(--navy);color:#fff;display:flex;flex-direction:column}
.brand-panel:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.24;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(to bottom,transparent 8%,#000 52%,transparent 100%)}
.brand-panel:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--blue)}
.brand-lockup,.mobile-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}
.brand-mark{width:42px;height:42px;border-radius:11px;background:var(--blue);display:grid;place-items:center;box-shadow:0 10px 26px rgba(46,100,231,.3);flex:none}
.brand-mark svg{width:23px;color:#fff}
.brand-lockup strong,.brand-lockup small,.mobile-brand strong,.mobile-brand small{display:block}
.brand-lockup strong,.mobile-brand strong{font-size:16px;line-height:1.25;letter-spacing:.04em}
.brand-lockup small,.mobile-brand small{margin-top:3px;color:#91a1ba;font-size:10px;letter-spacing:.1em}
.brand-copy{position:relative;z-index:1;margin:auto 0 54px;max-width:520px}
.brand-copy h1{margin:0;font-size:clamp(36px,4vw,56px);line-height:1.15;letter-spacing:-.055em;font-weight:750}
.brand-copy p{max-width:470px;margin:24px 0 0;color:#aab7ca;font-size:15px;line-height:1.9}
.workflow{position:relative;z-index:1;max-width:500px;margin-bottom:auto;padding:22px 0 0 42px;border-top:1px solid rgba(255,255,255,.1)}
.workflow-rail{position:absolute;left:10px;top:28px;bottom:6px;width:1px;background:rgba(255,255,255,.18);display:flex;flex-direction:column;align-items:center;justify-content:space-between}
.workflow-rail span{width:7px;height:7px;border-radius:50%;background:#7f9cf1;box-shadow:0 0 0 5px rgba(127,156,241,.09)}
.workflow-row{min-height:44px;display:flex;align-items:center;gap:17px}
.workflow-row+ .workflow-row{margin-top:10px}
.workflow-row span{color:#72839b;font:600 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em}
.workflow-row strong{font-size:13px;font-weight:600;color:#d8e0ec}
.brand-footnote{position:relative;z-index:1;margin:40px 0 0;color:#6f819c;font-size:10px;letter-spacing:.12em}
.form-panel{min-height:680px;padding:48px clamp(40px,8vw,128px) 28px;display:flex;flex-direction:column;background:#fff}
.form-wrap{width:min(400px,100%);margin:auto}
.mobile-brand{display:none;color:var(--ink)}
.form-heading{margin-bottom:38px}
.form-heading h2{margin:0;font-size:30px;line-height:1.25;letter-spacing:-.035em;font-weight:740}
.form-heading p{margin:10px 0 0;color:var(--muted);font-size:13px}
.form-error{min-height:44px;margin:0 0 20px;padding:11px 12px;display:flex;align-items:center;gap:9px;border:1px solid #f4c7c3;border-radius:9px;background:var(--danger-soft);color:var(--danger);font-size:12px;line-height:1.5}
.form-error[hidden]{display:none}
.form-error svg{width:18px;flex:none}
.field{display:block;margin-bottom:21px}
.field>span:first-child{display:block;margin-bottom:8px;color:#354157;font-size:12px;font-weight:650}
.input-shell{position:relative;display:flex;align-items:center;height:50px;border:1px solid var(--line);border-radius:10px;background:#fff;transition:border-color .16s,box-shadow .16s,background .16s}
.input-shell:focus-within{border-color:#6f93ec;box-shadow:0 0 0 3px rgba(46,100,231,.1)}
.input-shell>svg{width:18px;margin-left:15px;color:#8995a8;flex:none}
.input-shell input{width:100%;height:100%;min-width:0;border:0;outline:0;background:transparent;padding:0 14px;color:var(--ink);font-size:13px}
.input-shell input::placeholder{color:#a8b0bd}
.password-toggle{width:46px;height:46px;margin-right:1px;border:0;background:transparent;color:#8490a3;display:grid;place-items:center;border-radius:8px}
.password-toggle:hover{color:#4c5b70;background:#f4f6f9}
.password-toggle:focus-visible,.submit-button:focus-visible{outline:3px solid rgba(46,100,231,.25);outline-offset:2px}
.password-toggle svg{width:18px;grid-area:1/1}
.password-toggle .eye-closed{display:none}
.password-toggle[aria-pressed="true"] .eye-open{display:none}
.password-toggle[aria-pressed="true"] .eye-closed{display:block}
.submit-button{width:100%;height:50px;margin-top:7px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-size:13px;font-weight:700;letter-spacing:.04em;box-shadow:0 9px 22px rgba(46,100,231,.22);transition:background .16s,transform .16s,box-shadow .16s}
.submit-button:hover{background:var(--blue-dark);box-shadow:0 12px 28px rgba(46,100,231,.28);transform:translateY(-1px)}
.submit-button:active{transform:translateY(0)}
.submit-button:disabled{cursor:wait;opacity:.78;transform:none}
.submit-loading{display:none;align-items:center;justify-content:center;gap:9px}
.submit-loading i{width:14px;height:14px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}
.submit-button.loading .submit-label{display:none}
.submit-button.loading .submit-loading{display:flex}
.security-note{margin:25px 0 0;display:flex;align-items:flex-start;gap:8px;color:#7d899a;font-size:10px;line-height:1.6}
.security-note svg{width:16px;color:#6888d7;flex:none;margin-top:0}
.form-footer{margin:36px auto 0;color:#9aa3b0;font-size:10px;text-align:center}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1000px){.login-shell{grid-template-columns:minmax(380px,44%) minmax(440px,56%)}.brand-panel{padding:40px}.form-panel{padding-left:56px;padding-right:56px}.brand-copy h1{font-size:40px}}
@media(max-width:760px){.login-shell{display:block;min-height:100svh}.brand-panel{display:none}.form-panel{min-height:100svh;padding:32px 24px 22px}.form-wrap{margin:auto;width:min(420px,100%)}.mobile-brand{display:flex;margin-bottom:68px}.mobile-brand .brand-mark{width:40px;height:40px}.mobile-brand small{color:#7c899d}.form-heading{margin-bottom:32px}.form-heading h2{font-size:28px}.form-footer{margin-top:56px}}
@media(max-width:420px){.form-panel{padding:24px 20px 20px}.mobile-brand{margin-bottom:52px}.field{margin-bottom:18px}.input-shell,.submit-button{height:48px}.form-footer{margin-top:42px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Financial workspace identity. */
.brand-panel:before{display:none}.brand-panel:after{background:#b6cba8}.brand-mark{box-shadow:none;background:#487653}.brand-copy p{color:#bdd0bd}.brand-lockup small{color:#9cba9d}.workflow-rail span{background:#b6cba8;box-shadow:0 0 0 5px #ffffff0a}.workflow-row span{color:#98b895}.workflow-row strong{font-weight:500}.input-shell:focus-within{border-color:#689278;box-shadow:0 0 0 3px #196c5514}.submit-button{box-shadow:none}.brand-copy h1{font-weight:550}
