:root {
  color-scheme: light;
  --navy: #12345b;
  --blue: #1769e0;
  --ink: #162033;
  --muted: #738094;
  --line: #dde4ed;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f8fafc; font: 14px/1.6 "Microsoft YaHei", "PingFang SC", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible { outline: 3px solid #79adf6; outline-offset: 4px; }
.login-layout { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(460px, 1.06fr) minmax(440px, 1fr); }

.introduction { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 42px 9.3%; color: #fff; background: radial-gradient(ellipse at 80% 88%, #1c5478 0, transparent 58%), linear-gradient(145deg, #102d50 0%, #143a64 65%, #19436b 100%); }
.introduction::after { position: absolute; content: ""; width: 490px; height: 490px; right: -325px; top: 20%; border: 1px solid #ffffff0d; border-radius: 50%; pointer-events: none; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #438df5, #24b6b5); box-shadow: inset 0 1px 0 #ffffff33; font-size: 20px; font-weight: 700; }
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.brand-name span { display: block; margin-top: 1px; color: #9ab3ce; font-size: 10px; font-weight: 400; letter-spacing: .18em; }
.introduction-content { width: 100%; max-width: 510px; margin: auto; padding-top: 68px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: #a9c3df; font-size: 12px; letter-spacing: .1em; }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: #50c9ce; }
h1 { margin: 0; font-size: clamp(32px, 3.3vw, 48px); line-height: 1.5; letter-spacing: .05em; font-weight: 600; }
.introduction-description { margin: 18px 0 0; color: #a8bfd6; line-height: 1.95; font-size: 14px; }
.scene-visual { position: relative; height: 258px; max-width: 450px; margin: 18px 0 14px; }
.visual-grid { position: absolute; inset: 10px -30px -10px; background-image: linear-gradient(#9ec4e308 1px, transparent 1px), linear-gradient(90deg, #9ec4e308 1px, transparent 1px); background-size: 27px 27px; mask-image: radial-gradient(ellipse, #000, transparent 72%); }
.visual-orbit { position: absolute; width: 310px; height: 170px; left: 48px; top: 39px; border: 1px solid #8eb9db12; border-radius: 50%; transform: rotate(-23deg); }
.orbit-two { transform: rotate(29deg); width: 350px; height: 200px; top: 24px; left: 31px; }
.visual-line { position: absolute; width: 174px; height: 73px; border-top: 1px solid #72b8e751; border-left: 1px solid #72b8e751; border-radius: 12px 0 0; }
.line-one { left: 73px; top: 96px; transform: rotate(15deg); }
.line-two { left: 182px; top: 125px; transform: rotate(192deg); }
.resource-node { position: absolute; z-index: 1; width: 133px; height: 97px; padding: 15px; border: 1px solid #92bde72b; border-radius: 11px; background: #224e76; box-shadow: 0 12px 25px #081c371a; color: #c3d7e9; font-size: 11px; }
.node-core { left: 0; top: 43px; transform: rotate(-6deg); }
.node-support { right: 2px; bottom: 19px; transform: rotate(5deg); }
.node-square { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border: 1px solid #67c6d1; border-radius: 2px; }
.resource-node i { display: block; width: 86%; height: 4px; margin-top: 12px; border-radius: 3px; background: #a9c9e222; }
.resource-node i + i { width: 58%; margin-top: 7px; }
.scene-node { position: absolute; z-index: 2; left: 24%; top: 72px; width: 209px; padding: 21px 23px 18px; border: 1px solid #91bae666; border-radius: 13px; background: linear-gradient(130deg, #386494, #2d5b85); box-shadow: 0 22px 45px #071c3740, inset 0 1px 0 #ffffff0d; transform: rotate(-3deg); }
.scene-node-overline { display: block; color: #a1c1df; font-size: 8px; letter-spacing: .13em; }
.scene-node strong { display: block; margin-top: 5px; font-size: 22px; font-weight: 500; letter-spacing: .12em; }
.scene-node-rule { display: block; margin: 17px 0 11px; height: 1px; background: #bedcfb26; }
.scene-node-footer { display: flex; align-items: center; justify-content: space-between; color: #c0d6e9; font-size: 10px; }
.connection-dot { width: 4px; height: 4px; border-radius: 50%; background: #6bd0cc; }
.introduction-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; color: #88a3be; font-size: 11px; letter-spacing: .06em; }
.footer-rule { width: 20px; height: 1px; background: #7399bb; }

.access-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 48px 110px; background: radial-gradient(ellipse at 100% 0%, #eaf1fc80, transparent 52%), #f8fafc; }
.access-card { width: 100%; max-width: 382px; padding: 20px 0; }
.access-marker { display: grid; grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 4px; width: 43px; height: 43px; justify-content: center; align-content: center; border: 1px solid #dce7f7; border-radius: 12px; background: #edf3fc; margin-bottom: 29px; }
.access-marker span { border-radius: 2px; background: #347be2; }
.access-marker span:nth-child(2) { background: #8fb8f1; }
.access-marker span:nth-child(3) { background: #59abaa; }
.access-eyebrow { margin: 0 0 7px; font-size: 12px; color: #60758e; letter-spacing: .1em; }
h2 { margin: 0; color: #163454; font-size: 32px; line-height: 1.45; font-weight: 600; letter-spacing: .04em; }
.access-description { margin: 12px 0 35px; color: var(--muted); font-size: 13px; line-height: 1.8; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; color: #34455c; }
.password-control { display: flex; align-items: center; height: 52px; background: #fff; border: 1px solid var(--line); border-radius: 9px; transition: border-color .15s, box-shadow .15s; }
.password-control:focus-within { border-color: #5f95e6; box-shadow: 0 0 0 3px #1769e00d; }
.password-control.has-error { border-color: #d16b74; }
.password-control.has-error:focus-within { box-shadow: 0 0 0 3px #c93d4b0d; }
.password-control input { min-width: 0; width: 100%; height: 100%; padding: 0 15px; border: 0; border-radius: inherit; outline: none; background: transparent; color: var(--ink); font-size: 15px; }
.password-control input::placeholder { color: #a0a9b7; font-size: 13px; }
.password-control input::-ms-reveal { display: none; }
.visibility-button { flex: 0 0 56px; align-self: stretch; border: 0; border-radius: 0 9px 9px 0; background: transparent; color: #647891; font-size: 12px; }
.visibility-button:hover { color: var(--blue); background: #f4f8fe; }
.visibility-button:focus-visible { outline-offset: -4px; outline-width: 2px; }
.login-error { min-height: 37px; padding: 7px 0 9px; color: #b63846; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.submit-button { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; height: 50px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .05em; box-shadow: 0 5px 12px #1769e019; transition: background .15s, box-shadow .15s; }
.submit-button:hover { border-color: #125dc9; background: #125dc9; box-shadow: 0 6px 16px #1769e024; }
.submit-button:disabled { opacity: .78; cursor: wait; }
.button-arrow { position: relative; width: 16px; height: 10px; }
.button-arrow::before { content: ""; position: absolute; width: 15px; height: 1px; background: currentColor; top: 5px; left: 0; }
.button-arrow::after { content: ""; position: absolute; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); right: 1px; top: 2px; }
.button-spinner { display: none; width: 16px; height: 16px; border: 2px solid #ffffff55; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.submit-button.is-loading .button-arrow { display: none; }
.submit-button.is-loading .button-spinner { display: block; }
.access-note { margin: 23px 0 0; text-align: center; color: #8a94a4; font-size: 12px; }
.noscript-message { color: #b63846; font-size: 12px; }
.access-footer { position: absolute; bottom: 36px; left: 30px; right: 30px; display: flex; justify-content: center; align-items: center; gap: 13px; color: #96a0ae; font-size: 10px; }
.access-footer span + span { padding-left: 13px; border-left: 1px solid #d8dfe8; line-height: 1.1; letter-spacing: .02em; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1500px) {
  .introduction { padding: 50px 12%; }
  .introduction-content { padding-top: 80px; }
  .scene-visual { height: 290px; margin-top: 35px; }
}
@media (max-width: 1080px) {
  .login-layout { grid-template-columns: minmax(360px, 1fr) minmax(380px, 1fr); }
  .introduction { padding: 35px 8%; }
  .brand-name { font-size: 13px; }
  .brand { gap: 9px; }
  .brand-mark { flex-basis: 35px; height: 35px; }
  .introduction-content { padding-top: 50px; }
  .scene-visual { margin-left: -10px; margin-right: -10px; }
  .scene-node { left: 20%; width: 192px; }
  .resource-node { width: 116px; }
  .access-panel { padding-left: 37px; padding-right: 37px; }
}
@media (max-width: 760px) {
  .login-layout { display: flex; flex-direction: column; }
  .introduction { flex: 0 0 auto; padding: 24px 28px 29px; }
  .brand-mark { flex-basis: 37px; height: 37px; }
  .brand-name { font-size: 14px; }
  .introduction-content { max-width: none; padding-top: 26px; }
  .eyebrow, .introduction-description, .scene-visual, .introduction-footer { display: none; }
  h1 { font-size: 24px; line-height: 1.6; letter-spacing: .035em; }
  h1 br { display: none; }
  .access-panel { flex: 1; padding: 40px 28px 90px; justify-content: flex-start; }
  .access-card { max-width: 420px; padding: 0; }
  .access-marker { display: none; }
  h2 { font-size: 29px; }
  .access-description { margin-bottom: 29px; }
  .access-footer { bottom: 25px; left: 15px; right: 15px; }
}
@media (max-width: 380px) {
  .introduction { padding: 22px 22px 25px; }
  h1 { font-size: 21px; }
  .access-panel { padding: 32px 22px 80px; }
  .access-footer { gap: 8px; font-size: 9px; }
  .access-footer span + span { padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
