*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;font-family:"Microsoft YaHei",Arial,sans-serif;color:#4f5964}body{background:#f3f9ff}.page{position:relative;z-index:1;display:grid;grid-template-columns:minmax(650px,760px) 430px;gap:120px;align-items:center;width:min(1536px,calc(100% - 40px));min-height:100vh;margin:auto;padding:40px 0}.page:before{content:"";position:fixed;inset:0;background:linear-gradient(90deg,rgba(243,249,255,.62),rgba(243,249,255,.42) 48%,rgba(243,249,255,.08));z-index:-1;opacity:0}.page.has-tenant-background:before{opacity:1}.language-switch{position:fixed;z-index:3;right:28px;top:24px;display:flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid #dbeaf7;border-radius:18px;background:rgba(255,255,255,.78);font-size:13px}.language-switch span{width:1px;height:13px;background:#ccd9e5}.language-switch button{padding:0;border:0;background:none;color:#7b8792;font:inherit;cursor:pointer}.language-switch button.active,.language-switch button:hover{color:#0871d1;font-weight:600}.intro{padding:24px;border-radius:16px;background:transparent}.intro h1{margin:0 0 14px;color:#0871d1;font-size:30px;line-height:1.2;text-shadow:0 2px 2px rgba(0,80,160,.13)}.intro p{width:620px;margin:0 0 20px;font-size:15px;line-height:1.65}.features{display:grid;grid-template-columns:repeat(3,190px);gap:14px}.features article{min-height:118px;padding:12px;text-align:center;background:rgba(255,255,255,.9);border-radius:12px;box-shadow:0 5px 14px rgba(50,90,120,.08)}.features i{display:grid;place-items:center;width:34px;height:34px;margin:0 auto 6px;border-radius:50%;background:#e2f2ff;font-style:normal;font-size:18px}.features b{display:block;margin-bottom:6px;color:#0871d1;font-size:16px}.features small{display:block;font-size:13px;line-height:1.4}.card{width:430px;padding:44px 38px 50px;border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 10px 30px rgba(42,68,94,.17);color:#5b6572}.brand-mark{width:58px;height:27px;margin:0 auto 13px;border-radius:3px;background:#0871d1;color:#fff;text-align:center;font-size:19px;font-weight:700;line-height:27px}.card h2{margin:0 0 17px;color:#0871d1;text-align:center;font-size:24px}.card>p{margin:0 0 25px;color:#8a8f96;text-align:center;font-size:14px}.card label:not(.remember){display:block;margin:15px 0 7px;color:#5c6671;font-size:14px}.input-wrap{position:relative}.input-icon{position:absolute;z-index:1;left:12px;top:11px;color:#9aa7b5;font-size:17px}.input-wrap input{padding-left:36px}.card>input,.input-wrap input{width:100%;height:41px;padding-right:13px;border:1px solid #d4dbe3;border-radius:3px;outline:none;font-size:14px}.card>input:focus,.input-wrap input:focus{border-color:#409eff}.captcha-row{display:flex;gap:8px;margin-top:19px}.captcha-row .input-wrap{flex:1}.captcha-image-small{width:105px;height:41px;object-fit:fill;border:1px solid #d4dbe3;border-radius:3px;cursor:pointer;background:#f8fafc}.remember{display:block;margin:17px 0 22px;color:#555;font-size:14px}.remember input{margin-right:7px;vertical-align:-2px}.card button[type=submit]{width:100%;height:40px;border:0;border-radius:3px;color:#fff;background:#0871d1;font-size:16px;cursor:pointer}.alert{margin:0 0 12px;padding:9px;color:#b42318;background:#fee4e2;border-radius:3px;font-size:13px}.mfa-dialog{width:min(460px,calc(100% - 32px));padding:28px;border:0;border-radius:8px;box-shadow:0 16px 50px #001b4d88}.mfa-dialog::backdrop{background:#00133399}.mfa-dialog h3{margin-top:0;color:#0871d1}.mfa-dialog>label{display:block;margin:14px 0;color:#4c5966}.mfa-dialog>input{width:100%;height:42px;padding:0 12px;border:1px solid #d4dbe3;border-radius:4px}.mfa-actions{display:flex;justify-content:flex-end;gap:10px;margin:18px 0}.mfa-actions button,.captcha-panel button{padding:9px 18px;border:0;border-radius:4px;color:#fff;background:#0871d1}.captcha-panel{margin:14px 0;padding:12px;background:#f6f8fa;border-radius:6px}.captcha-image{position:relative;width:400px;max-width:100%;aspect-ratio:2/1;overflow:hidden}.captcha-image>img:first-child{width:100%;height:100%;display:block}.captcha-block{position:absolute;top:0;left:0;height:100%;max-width:16%;pointer-events:none}.captcha-panel input[type=range]{width:100%;margin:12px 0}.captcha-panel button{display:block;margin-left:auto}@media(max-width:1180px){.page{grid-template-columns:1fr 400px;gap:70px;width:calc(100% - 40px)}.intro p{width:auto}.features{grid-template-columns:repeat(3,minmax(150px,1fr))}.card{width:400px}}@media(max-width:900px){.page{display:flex;flex-direction:column;width:min(600px,calc(100% - 32px));padding:55px 0}.card{order:-1;width:min(430px,100%);margin-bottom:48px}.intro{width:100%}.features{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.card{padding:30px 22px 36px}.intro{padding:18px}.intro h1{font-size:25px}.features{grid-template-columns:1fr}}
 .intro{border:1px solid #dbeaf7;background:rgba(255,255,255,.78);box-shadow:0 10px 30px rgba(31,71,109,.12)}.password-toggle{position:absolute;right:9px;top:8px;width:25px!important;height:25px!important;padding:0!important;border:0!important;background:transparent!important;color:#8e9aa8!important;font-size:16px!important;cursor:pointer}.input-wrap input{padding-right:40px!important}
/* Match the original sso-web desktop spacing: the two cards occupy opposite columns. */
.page{grid-template-columns:650px 430px;justify-content:space-between;gap:0}
@media(max-width:1180px){.page{grid-template-columns:minmax(0,1fr) 400px;gap:70px}}
@media(max-width:900px){.page{display:flex;gap:0}}
/* Element-Plus-like line icons used by the original sso-web form. */
.input-icon{font-size:0;width:18px;height:18px;top:11px;background:center/18px 18px no-repeat}.input-wrap:nth-of-type(1) .input-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239aa7b5' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.8 20c.8-3.5 3.3-5.3 7.2-5.3s6.4 1.8 7.2 5.3'/%3E%3C/svg%3E')}.input-wrap:nth-of-type(2) .input-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239aa7b5' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E')}.captcha-row .input-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239aa7b5' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h16M6 17l9-9 3 3-9 9H6v-3Z'/%3E%3Cpath d='m14 8 2-2 3 3-2 2'/%3E%3C/svg%3E')}
.input-wrap .input-icon{display:block!important;font-size:0!important;width:18px;height:18px;top:11px;background:center/18px 18px no-repeat!important}.input-wrap:has(#username) .input-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239aa7b5' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.8 20c.8-3.5 3.3-5.3 7.2-5.3s6.4 1.8 7.2 5.3'/%3E%3C/svg%3E")!important}.input-wrap:has(#password) .input-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239aa7b5' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important}.captcha-row .input-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239aa7b5' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h16M6 17l9-9 3 3-9 9H6v-3Z'/%3E%3C/svg%3E")!important}.password-toggle{font-size:0!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239aa7b5' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E") center/18px 18px no-repeat!important}.password-toggle:focus{outline:none}
.captcha-error{position:absolute;margin-top:44px;color:#d93025;font-size:11px;white-space:nowrap}.captcha-row{position:relative}

/* MFA dialog follows the former sso-web layout. */
.mfa-dialog{width:min(440px,calc(100% - 32px));padding:28px 30px}.mfa-dialog>p,.captcha-dialog>p{margin:0 0 18px;color:#7b8792;font-size:14px}.mfa-channel-row{display:flex;align-items:center;gap:28px;margin:4px 0 20px}.mfa-channel{display:inline-flex;align-items:center;gap:7px;margin:0;color:#4c5966;white-space:nowrap;cursor:pointer}.mfa-channel input{width:16px;height:16px;margin:0;accent-color:#0871d1}.mfa-channel:has(input:disabled){color:#aab2bc;cursor:not-allowed}.mfa-fields{display:grid;gap:14px}.mfa-input-wrap{position:relative;width:100%}.mfa-input-wrap input{width:100%;height:42px;padding:0 14px 0 38px;border:1px solid #d4dbe3;border-radius:4px;background:#fff;outline:none;font-size:14px}.mfa-input-wrap input:focus{border-color:#409eff}.mfa-input-wrap input[readonly]{color:#606a75;background:#f7f9fb}.mfa-field-icon{position:absolute;z-index:1;left:13px;top:12px;width:17px;height:17px;color:#9aa7b5;font-size:13px;line-height:17px;text-align:center}.mfa-code-wrap input{padding-right:116px}.inline-code-button{position:absolute;right:4px;top:4px;width:108px;height:34px;padding:0 8px;border:0;border-left:1px solid #e5e9ef;background:transparent;color:#0871d1;font-size:13px;cursor:pointer}.inline-code-button:disabled{color:#a5adb7;cursor:not-allowed}.mfa-dialog .alert{margin:14px 0 0}.mfa-dialog>.mfa-actions{margin:22px 0 0}.mfa-actions button{min-width:72px;cursor:pointer}.mfa-actions button:first-child{border:1px solid #d4dbe3;color:#59636e;background:#fff}.mfa-actions button:last-child{background:#0871d1}
.captcha-dialog{width:min(456px,calc(100% - 24px));padding:20px 28px 24px;border:0;border-radius:9px;box-shadow:0 16px 50px #001b4d88}.captcha-dialog::backdrop{background:#00133399}.captcha-header{display:flex;align-items:center;justify-content:space-between}.captcha-header h3{margin:0;color:#0871d1}.captcha-header button{width:30px;height:30px;padding:0;border:0;background:transparent;color:#8d98a5;font-size:24px;line-height:28px;cursor:pointer}.captcha-panel{margin:0;padding:0;background:transparent}.captcha-image{width:400px;max-width:100%;height:auto;aspect-ratio:2/1;background:#edf1f5;border-radius:4px}.captcha-image>img:first-child{width:100%;height:100%;object-fit:fill}.captcha-block{height:100%;width:auto;max-width:16%}.captcha-panel input[type=range]{display:block;width:100%;height:34px;margin:12px 0 4px;accent-color:#0871d1;cursor:grab}.captcha-panel input[type=range]:active{cursor:grabbing}.captcha-message{height:20px;color:#7b8792;text-align:center;font-size:13px;line-height:20px}.captcha-message.success{color:#1b8a4b}.captcha-message.error{color:#d93025}
@media(max-width:520px){.mfa-dialog{padding:24px 20px}.mfa-channel-row{gap:14px}.mfa-channel{font-size:13px}.captcha-dialog{padding:18px}.mfa-code-wrap input{padding-right:104px}.inline-code-button{width:96px}}
