:root {
  color-scheme: light;
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  color: #102b53;
  background: #fff;
}
* { box-sizing: border-box; }
html, body { min-width: 0; min-height: 100%; margin: 0; }
body { min-height: 100vh; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.login-page { display: grid; grid-template-columns: 49.2% 50.8%; min-height: 100vh; }
.login-page [hidden] { display: none !important; }
.brand-panel { position: relative; min-width: 0; min-height: 100vh; overflow: hidden; color: #fff; background: #0d2b52 url("./login-brand-architecture.png") center bottom / cover no-repeat; }
.brand-mark { position: absolute; top: 9.2%; left: 12%; display: flex; align-items: center; gap: 21px; white-space: nowrap; }
.brand-mark img { display: block; width: 36px; height: 36px; filter: brightness(0) invert(1); }
.brand-divider { display: block; width: 1px; height: 36px; background: rgba(255,255,255,.45); }
.brand-name { font-size: 28px; font-weight: 400; letter-spacing: .01em; }
.brand-copy { position: absolute; top: 23.6%; left: 12%; right: 6%; }
.brand-headline { margin: 0; color: #fff; font-size: clamp(40px, 4.8vw, 72px); font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.brand-caption { margin: 20px 0 0; color: #c3d0df; font-size: clamp(23px, 2.1vw, 34px); line-height: 1.4; }
.login-panel { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 100vh; padding: 70px 0 116px; background: #fff; }
.login-content { width: min(65%, 490px); min-width: 0; }
.login-content h1 { margin: 0; color: #0d2950; font-size: clamp(36px, 3.2vw, 48px); line-height: 1.2; font-weight: 700; }
.login-intro { margin: 18px 0 0; color: #677b98; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.5; }
.login-form { display: grid; gap: 26px; margin-top: 46px; }
.login-field { display: grid; min-width: 0; gap: 9px; }
.login-field label { color: #142d51; font-size: 20px; line-height: 1.4; }
.login-field input { width: 100%; min-width: 0; height: 56px; padding: 0 20px; border: 1px solid #b5c2d3; border-radius: 4px; outline: none; color: #102b53; background: #fff; font-size: 18px; }
.login-field input::placeholder { color: #9aa9bc; opacity: 1; }
.login-field input:focus-visible { border-color: #1d62cb; box-shadow: 0 0 0 3px rgba(29,98,203,.2); }
.login-field input:disabled { background: #f6f8fb; color: #62748b; }
.password-control { position: relative; }
.password-control input { padding-right: 58px; }
.password-toggle { position: absolute; top: 50%; right: 5px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
.password-toggle img { width: 24px; height: 24px; opacity: .58; }
.password-toggle:hover { background: #f0f4fa; }
button:focus-visible, a:focus-visible { outline: 3px solid #4b88e8; outline-offset: 3px; }
.login-actions { display: grid; gap: 18px; }
.login-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 10px 18px; border: 0; border-radius: 4px; color: #fff; background: #2165cb; font-size: 21px; font-weight: 500; text-align: center; text-decoration: none; cursor: pointer; }
.login-primary:hover:not(:disabled) { background: #1859b9; }
.login-primary:disabled { background: #9bb6db; cursor: not-allowed; }
.login-check { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 5px 12px; border: 0; border-radius: 4px; color: #1762ce; background: transparent; font-size: 19px; text-align: center; text-decoration: none; cursor: pointer; }
.login-check:hover:not(:disabled) { text-decoration: underline; }
.login-check:disabled { color: #8da2bf; cursor: not-allowed; }
.login-message { margin-top: 20px; padding: 12px 14px; border-radius: 4px; color: #214c7d; background: #eef5ff; line-height: 1.5; overflow-wrap: anywhere; }
.login-message.error { color: #a42222; background: #fff1f1; }
.signed-in { margin-top: 38px; }
.signed-in p { margin: 0 0 24px; color: #405675; overflow-wrap: anywhere; }
.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.captcha-row img { display: block; max-width: 100%; border: 1px solid #d6dfeb; }
.captcha-row button { min-height: 44px; padding: 0 12px; border: 1px solid #b5c2d3; border-radius: 4px; color: #1762ce; background: #fff; cursor: pointer; }
.login-footer { position: absolute; right: 0; bottom: 5%; left: 0; color: #7588a1; font-size: 15px; text-align: center; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-height: 720px) and (min-width: 769px) {
  .login-panel { padding-top: 32px; padding-bottom: 68px; }
  .login-form { gap: 17px; margin-top: 25px; }
  .brand-mark { top: 7%; }
  .brand-copy { top: 26%; }
  .brand-headline { font-size: clamp(38px, 4.4vw, 60px); }
  .login-footer { bottom: 20px; }
}
@media (max-width: 768px) {
  .login-page { display: block; min-height: 100vh; }
  .brand-panel { min-height: 185px; height: 185px; background-position: center 65%; }
  .brand-mark { top: 24px; left: 24px; gap: 12px; }
  .brand-mark img { width: 27px; height: 27px; }
  .brand-divider { height: 27px; }
  .brand-name { font-size: 21px; }
  .brand-copy { top: 76px; left: 24px; right: 24px; }
  .brand-headline { font-size: 26px; line-height: 1.3; }
  .brand-headline br { display: none; }
  .brand-caption { margin-top: 5px; font-size: 17px; }
  .login-panel { display: block; min-height: calc(100vh - 185px); padding: 36px 24px 82px; }
  .login-content { width: 100%; max-width: 490px; margin: 0 auto; }
  .login-content h1 { font-size: 34px; }
  .login-intro { margin-top: 12px; font-size: 16px; }
  .login-form { gap: 20px; margin-top: 30px; }
  .login-field label { font-size: 16px; }
  .login-field input { height: 52px; font-size: 16px; }
  .login-primary { min-height: 52px; font-size: 18px; }
  .login-check { font-size: 16px; }
  .login-footer { bottom: 26px; font-size: 13px; }
}
@media (max-width: 360px) {
  .brand-headline { font-size: 23px; }
  .login-panel { padding-right: 20px; padding-left: 20px; }
}