*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eef4fc 0%,#f7fafe 55%,#e8f1fb 100%);font:14px "Microsoft YaHei",sans-serif;color:#263346}main{width:min(400px,calc(100% - 32px));padding:36px;background:#fff;border-radius:8px;box-shadow:0 8px 32px #253b5a19}.brand{display:block;width:auto;height:36px;max-width:100%;object-fit:contain;background:none;border-radius:0;font-size:0}h1{font-size:21px;margin:20px 0 8px}p{color:#758092}form{margin-top:28px}label{display:block;margin:18px 0;color:#39475a}input{display:block;width:100%;height:42px;padding:0 12px;margin-top:8px;border:1px solid #d9e0e9;border-radius:4px;font:inherit}button{width:100%;height:42px;border:0;border-radius:4px;background:#1677ff;color:#fff;font:inherit;cursor:pointer}#error{min-height:20px;color:#c72e2e}

body.has-login-image{background-size:cover;background-position:center;background-repeat:no-repeat}
body.has-login-image::before{content:"";position:fixed;inset:0;background:rgba(15,30,55,.28);pointer-events:none}
body.has-login-image main{position:relative;z-index:1}
footer#loginFooter{margin-top:22px;color:#98a2b3;font-size:12px;text-align:center}
.login-showcase{display:block;width:100%;max-height:180px;margin:18px 0 0;object-fit:cover;border-radius:4px}.login-showcase[hidden]{display:none}.brand[src*="login-logo"]{max-width:240px;height:auto;max-height:64px}
.wecom-sso-box{margin-top:20px}
.wecom-sso-btn{width:100%;height:42px;border:0;border-radius:6px;background:#07c160;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s}
.wecom-sso-btn:hover{background:#06ad56}
.login-divider{display:flex;align-items:center;gap:10px;margin:18px 0 0;color:#98a2b3;font-size:12px}
.login-divider::before,.login-divider::after{content:"";flex:1;height:1px;background:#e5e7eb}
