* { box-sizing: border-box }
:root {
  color-scheme: light;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  color: #111b31; background: #fff;
  -webkit-font-smoothing: antialiased;
}
body { margin: 0 }
a { color: inherit; text-underline-offset: .24em }
button, input { font: inherit }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
[hidden] { display: none !important }
.login-layout { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); padding: clamp(10px,1.15vw,22px); gap: 0 }
.brand-panel { position: relative; display: flex; flex-flow: column; justify-content: space-between; isolation: isolate; min-height: 560px; overflow: hidden; border-radius: 16px; background: #061740; color: #fff; padding: clamp(28px,3.4vw,66px) }
.cloud-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52% }
.brand-panel::after { content: ""; position: absolute; z-index:-1; inset:0; pointer-events:none; background:linear-gradient(to bottom,#010b230d 0%,transparent 32%,transparent 65%,#020b21d9 100%) }
.brand-mark img { width: clamp(64px,5.9vw,94px); height: auto; display:block; filter: brightness(0) invert(1) }
.brand-caption h2 { margin: 0 0 9px; font-size:clamp(27px,2.8vw,53px); letter-spacing:-.045em; line-height:1.2; font-weight:660 }
.brand-caption p { margin:0; font-size:clamp(14px,1.12vw,20px); color:#d7e3fb; letter-spacing:.055em }
.login-pane { display:grid; grid-template-rows:auto minmax(min-content,1fr); align-items:center; min-width:0 }
.login-pane nav { display:flex; justify-content:flex-end; padding:clamp(10px,1.25vw,22px) clamp(15px,2.0vw,36px) }
.portal-return,.recovery { display:inline-flex; align-items:center; gap:.35rem; min-height:44px; text-decoration:none; font-size:14px; font-weight:550 }
.portal-return { color:#36435a }
.portal-return svg { width:15px;height:15px }
.form-wrap { width:min(75%,425px); margin:0 auto; padding:12px 0 clamp(48px,8vh,100px) }
h1 { margin:0; font-size:clamp(32px,3vw,48px); color:#0d1528; line-height:1.2; letter-spacing:-.065em; font-weight:690 }
.intro { margin:12px 0 32px; color:#536177; line-height:1.65; font-size:15px }
.field { margin:0 0 22px }
label { display:block; margin-bottom:9px; font-size:14px; font-weight:600; line-height:1.4 }
input { width:100%; display:block; height:51px; padding:0 15px; font-size:15px; line-height:1.5; border:1px solid #bdc9db; border-radius:8px; color:#14223b; background:#fff }
input::placeholder { color:#66758a; opacity:1 }
input:hover { border-color:#899ab0 }
input:focus { outline:0; border-color:#2d61bb; box-shadow:0 0 0 3px #2761b91c }
.password-wrap { position:relative }
.password-wrap input { padding-right:54px }
.password-toggle { position:absolute; inset:2px 3px 2px auto; width:44px; border:0; border-radius:6px; display:grid; place-items:center; cursor:pointer; background:transparent; color:#65748b }
.password-toggle:hover { color:#102a50; background:#eef3f9 }
.password-toggle svg {width:20px;height:20px}
.eye-slash { display:none }
.password-toggle[aria-pressed="true"] .eye-slash {display:block}
.submit { width:100%;display:flex;align-items:center;justify-content:center;gap:12px; height:52px; margin-top:29px; border:1px solid #0c2362; border-radius:8px; background:#112c75; box-shadow:inset 0 1px #ffffff16; color:#fff; font-size:16px; font-weight:650; cursor:pointer }
.submit:hover { background:#183e98 }
.submit:active { background:#0a214e }
.recovery { margin-top:14px; color:#59677c }
.recovery:hover,.portal-return:hover { text-decoration:underline; color:#153d8d }
a:focus-visible,button:focus-visible { outline:3px solid #4483eb;outline-offset:3px }
.form-error { margin:0; padding:10px 13px; border-left:3px solid #b94040; background:#fff1ef; color:#8e241d; line-height:1.5; font-size:14px }
@media(min-aspect-ratio: 19/10) and (min-width:761px){.brand-panel{min-height:500px}.cloud-art{object-position:center 58%}}
@media(max-width:900px) and (min-width:761px){.form-wrap{width:82%}}
@media(max-width:760px){
  .login-layout{display:block;padding:10px;min-height:100svh}
  .brand-panel{height:clamp(138px,23.5vh,190px);min-height:0;padding:18px 21px;border-radius:12px;background:#04143c}
  .cloud-art{inset:0 0 0 auto; width:60%; height:100%;object-fit:cover;object-position:center 55%;mask-image:linear-gradient(to right,transparent,#000 27%)}
  .brand-panel::after{background:linear-gradient(90deg,#05133b 0%,#05133bc4 29%,transparent 63%)}
  .brand-mark img{width:53px}.brand-caption h2{font-size:23px;margin-bottom:4px}.brand-caption p{font-size:12px}
  .login-pane{display:flex;flex-direction:column;align-items:stretch;max-width:500px;margin:auto}
  .login-pane nav{padding:6px 15px 5px}.portal-return{font-size:13px}
  .form-wrap{margin:0 auto;width:100%;padding:5px 16px 30px}
  h1{font-size:32px}.intro{margin:9px 0 26px}.field{margin-bottom:18px}input{font-size:16px}
  .submit{margin-top:23px}
}
@media(max-width:365px),(max-height:650px) and (max-width:760px){.brand-panel{height:116px}.brand-caption h2{font-size:20px}.brand-caption p{display:none}.brand-mark img{width:47px}.intro{margin-bottom:20px}.form-wrap{padding-top:0}}

