:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #182b43; background: #f4f7fb; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #7cabff; outline-offset: 4px; }
.login-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, 1fr); }
.story { min-height: 100svh; padding: 42px clamp(28px, 5vw, 88px) 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; background: radial-gradient(ellipse at 0 5%, #e6f2ff 0%, transparent 56%), linear-gradient(145deg, #f2f7ff, #eaf2fc 66%, #e1ebfa); border-right: 1px solid #e2eaf5; }
.story::after { content: ""; position: absolute; width: 470px; height: 470px; border: 1px solid #b9d0f040; border-radius: 50%; right: -260px; bottom: -170px; box-shadow: 0 0 0 60px #b9d0f014, 0 0 0 120px #b9d0f00c; pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #183c70; width: fit-content; font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.brand img { border-radius: 10px; }
.brand-caption { display: block; margin-top: 5px; color: #6d82a1; font-size: 11px; font-weight: 400; letter-spacing: .6px; }
.story-content { width: 100%; max-width: 550px; margin: auto 0; padding: 70px 0 76px; position: relative; z-index: 1; }
.eyebrow { color: #3668a9; font-size: 12px; font-weight: 600; letter-spacing: 3px; margin: 0 0 22px; }
h1 { font-size: clamp(30px, 3.2vw, 47px); font-weight: 650; letter-spacing: -1.2px; line-height: 1.48; margin: 0 0 22px; color: #183958; }
.intro { color: #667e9b; font-size: 14px; line-height: 1.95; margin: 0; }
.design-map { margin-top: 48px; padding: 20px; border: 1px solid #fff; border-radius: 16px; background: #ffffffa6; box-shadow: 0 12px 40px #315f9510; }
.map-heading { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #4e6685; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #407ada; }
.map-caption { margin-left: auto; color: #8a9ab0; font-size: 10px; }
.map-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 22px 0; position: relative; }
.map-track::before { content: ""; position: absolute; height: 1px; background: #c8d8ec; top: 19px; left: 15%; right: 15%; }
.map-node { position: relative; text-align: center; }
.node-number { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 13px; background: #edf4ff; border: 1px solid #d6e4f6; border-radius: 12px; color: #3b6db4; font-size: 12px; font-weight: 600; }
.map-node:last-child .node-number { color: #fff; background: #3676d4; border-color: #3676d4; box-shadow: 0 4px 12px #3676d425; }
.map-node strong { display: block; font-size: 12px; font-weight: 600; color: #3b526f; }
.map-node small { display: block; margin-top: 6px; font-size: 10px; color: #8a99ad; }
.map-foot { display: flex; justify-content: center; gap: 20px; border-top: 1px solid #e4edf7; padding-top: 14px; font-size: 10px; color: #7b8fa8; }
.story-footer { position: relative; z-index: 1; margin: 0; color: #8a9bb1; font-size: 11px; letter-spacing: 1px; }
.entry { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 68px 48px 30px; min-height: 100svh; background: #fff; }
.form-wrap { width: 100%; max-width: 360px; margin: auto 0; padding: 35px 0 65px; }
.entry-label { font-size: 10px; font-weight: 600; letter-spacing: 2.1px; color: #8a9bb0; margin: 0 0 17px; }
h2 { margin: 0; font-size: 31px; line-height: 1.3; font-weight: 650; letter-spacing: -.7px; color: #1b304b; }
.form-intro { color: #8b98a9; font-size: 13px; margin: 14px 0 38px; }
.field { margin-top: 23px; }
.field label { display: block; margin-bottom: 10px; color: #40516a; font-size: 12px; font-weight: 600; }
.field input { width: 100%; border: 1px solid #dfe6ef; border-radius: 9px; color: #243a56; height: 49px; padding: 0 14px; background: #fff; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #b2bdcb; font-size: 12px; }
.field input:focus { border-color: #568ce0; box-shadow: 0 0 0 3px #397ee710; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 49px; }
.reveal { position: absolute; right: 3px; top: 3px; width: 43px; height: 43px; border: 0; border-radius: 7px; background: none; display: grid; place-items: center; color: #94a4b9; }
.reveal:hover, .reveal[aria-pressed="true"] { background: #f0f5fc; color: #346fc8; }
.reveal svg { stroke: currentColor; stroke-width: 1.5; }
.message { min-height: 43px; padding-top: 12px; color: #c13f4a; font-size: 12px; line-height: 1.5; }
.message[data-kind="notice"] { color: #56789f; }
.submit { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; height: 49px; background: #2f70d5; color: #fff; border: 1px solid #2f70d5; border-radius: 9px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 16px #2f70d51c; transition: background .15s; }
.submit:hover { background: #2564c7; }
.submit:disabled { background: #85a8dd; border-color: #85a8dd; cursor: wait; box-shadow: none; }
.account-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; color: #9aa7b8; font-size: 11px; }
.account-note svg { stroke: #93a5bd; stroke-width: 1.3; }
.entry-footer { display: flex; gap: 16px; justify-content: center; color: #a4aebd; font-size: 10px; }
.entry-footer span { border-left: 1px solid #e1e6ee; padding-left: 16px; }
.noscript { color: #b93246; font-size: 13px; }
@media (max-width: 850px) {
  .login-shell { grid-template-columns: 1fr; }
  .story { min-height: auto; padding: 26px 30px; border-right: 0; border-bottom: 1px solid #e3ebf5; }
  .brand { font-size: 20px; }
  .story-content { padding: 26px 0 0; max-width: none; }
  .eyebrow, .intro, .design-map, .story-footer { display: none; }
  h1 { font-size: 22px; line-height: 1.4; letter-spacing: -.5px; margin: 0; }
  h1 br { display: none; }
  .entry { min-height: calc(100svh - 167px); padding: 30px 26px 22px; }
  .form-wrap { padding: 15px 0 42px; }
  h2 { font-size: 27px; }
  .form-intro { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
