:root {
  --ink: #24332c;
  --muted: #66736d;
  --paper: #f7f5ef;
  --white: #fffdfa;
  --green: #25634f;
  --green-dark: #1d4e3f;
  --green-pale: #dceadf;
  --coral: #e4866d;
  --yellow: #efc35a;
  --line: #dddcd4;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, .95fr) minmax(520px, 1.05fr); }
.welcome-panel { min-height: 100vh; position: relative; overflow: hidden; padding: 46px clamp(38px, 6vw, 92px); background: var(--green-pale); }
.brand { display: inline-flex; gap: 12px; align-items: center; position: relative; z-index: 3; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; }
.brand-mark svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 17px; letter-spacing: .03em; }
.brand small { margin-top: 6px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.welcome-copy { position: relative; z-index: 3; max-width: 540px; margin-top: 15vh; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.eyebrow span { width: 23px; height: 2px; background: var(--coral); }
.welcome-copy h1 { margin: 0; font-size: clamp(40px, 4.1vw, 65px); line-height: 1.25; letter-spacing: -.055em; }
.welcome-copy > p:last-child { max-width: 440px; margin: 25px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.privacy-note { position: absolute; left: clamp(38px, 6vw, 92px); bottom: 38px; z-index: 3; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; }
.privacy-note i { width: 7px; height: 7px; border-radius: 50%; background: #4b9b70; box-shadow: 0 0 0 4px rgba(75,155,112,.14); }
.play-scene { position: absolute; inset: auto -4vw 0 0; height: 42vh; min-height: 320px; opacity: .95; }
.sun { position: absolute; width: 58px; height: 58px; right: 13%; top: 9%; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 10px rgba(239,195,90,.13); }
.cloud { position: absolute; width: 70px; height: 17px; border-radius: 20px; background: rgba(255,255,255,.65); }
.cloud::before, .cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.cloud::before { left: 12px; width: 27px; height: 27px; }
.cloud::after { right: 9px; width: 35px; height: 35px; }
.cloud-one { top: 16%; left: 12%; }
.cloud-two { top: 38%; right: 6%; transform: scale(.65); }
.ground { position: absolute; left: 5%; right: 2%; bottom: 20%; height: 80px; border-top: 3px solid rgba(37,99,79,.25); border-radius: 50%; transform: rotate(-2deg); }
.child { position: absolute; bottom: 24%; width: 86px; height: 150px; z-index: 2; }
.child-one { left: 49%; }
.child-two { left: 67%; transform: scale(.9); }
.child i { position: absolute; left: 29px; top: 0; width: 37px; height: 42px; border-radius: 50%; background: #dba47d; box-shadow: inset 4px 7px 0 #263a38; }
.child b { position: absolute; left: 21px; top: 38px; width: 54px; height: 69px; border-radius: 25px 25px 9px 9px; background: #5ba684; }
.child-two b { background: var(--coral); }
.child em::before, .child em::after { content: ""; position: absolute; top: 98px; width: 15px; height: 48px; border-radius: 10px; background: #dba47d; }
.child em::before { left: 25px; transform: rotate(7deg); }
.child em::after { left: 57px; transform: rotate(-7deg); }

.form-panel { min-height: 100vh; display: grid; place-items: center; padding: 55px 8vw 35px; position: relative; background: var(--paper); }
.form-card { width: min(100%, 430px); }
.form-kicker { margin: 0 0 12px; color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.form-card h2 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.form-intro { margin: 13px 0 34px; color: var(--muted); font-size: 13px; }
form > label { display: block; margin: 18px 0 8px; font-size: 11px; font-weight: 700; }
.field { min-height: 51px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); transition: .2s; }
.field:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,99,79,.09); }
.field > span { color: var(--green); font-size: 15px; }
.field input { width: 100%; height: 49px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.field input::placeholder { color: #a5aba7; }
.show-password { flex: 0 0 auto; border: 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.show-password:hover { color: var(--green); }
.form-message { min-height: 19px; margin: 11px 0 2px; color: #b85042; font-size: 10px; line-height: 1.6; }
.form-message.success { color: var(--green); }
.submit-button { width: 100%; min-height: 52px; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 0 19px; border: 0; border-radius: 8px; background: var(--green); color: white; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 13px 28px rgba(37,99,79,.2); transition: .2s; }
.submit-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.submit-button:disabled { opacity: .7; cursor: wait; transform: none; }
.submit-button b { font-size: 19px; font-weight: 400; }
.secure-note { display: flex; align-items: center; gap: 11px; margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.secure-note > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--green-pale); color: var(--green); font-size: 11px; font-weight: 800; }
.secure-note p { display: flex; flex-direction: column; margin: 0; }
.secure-note strong { font-size: 10px; }
.secure-note small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.medical-note { position: absolute; bottom: 25px; color: #8c958f; font-size: 9px; }

@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .welcome-panel { min-height: 310px; padding: 28px 28px 35px; }
  .welcome-copy { margin-top: 56px; }
  .welcome-copy h1 { font-size: 40px; }
  .welcome-copy > p:last-child { margin-top: 18px; }
  .play-scene { inset: auto -15px 0 auto; width: 50%; height: 260px; min-height: 0; opacity: .65; }
  .privacy-note { display: none; }
  .form-panel { min-height: calc(100vh - 310px); padding: 50px 24px 72px; }
}

@media (max-width: 560px) {
  .welcome-panel { min-height: 248px; padding: 22px; }
  .brand-mark { width: 39px; height: 39px; }
  .welcome-copy { margin-top: 37px; }
  .welcome-copy h1 { font-size: 32px; line-height: 1.3; }
  .welcome-copy > p:last-child, .play-scene { display: none; }
  .form-panel { min-height: calc(100vh - 248px); padding: 38px 20px 64px; place-items: start center; }
  .form-card h2 { font-size: 31px; }
  .form-intro { margin-bottom: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
