:root {
  color-scheme: light;
  --ink: #132e32;
  --muted: #62757a;
  --brand: #0b5961;
  --brand-dark: #073d43;
  --accent: #e8a63a;
  --paper: #ffffff;
  --wash: #edf4f3;
  --line: #d6e1df;
  --danger: #b33d3d;
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--wash); font-size: 16px; }
button, input, select, textarea { font: inherit; }
button, input { min-height: 44px; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 0.9fr) minmax(440px, 1.1fr); }
.brand-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(36px, 6vw, 88px); color: #f4fbfa; background: linear-gradient(145deg, var(--brand-dark), var(--brand)); }
.brand-panel::after { content: ""; position: absolute; width: 420px; height: 420px; border: 80px solid rgba(255,255,255,.06); border-radius: 50%; right: -210px; bottom: -130px; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 15px; font-weight: 800; font-size: 24px; }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.brand-panel h1 { max-width: 560px; margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.12; letter-spacing: -.04em; }
.brand-copy { max-width: 520px; margin: 22px 0 0; color: rgba(244,251,250,.78); line-height: 1.8; font-size: 18px; }
.feature-strip { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.feature-strip span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.07); font-size: 14px; }
.login-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; background: radial-gradient(circle at 80% 10%, #fff7e5 0, transparent 28%), var(--wash); }
.mobile-logo { display: none; }
.login-card { width: min(430px, 100%); padding: clamp(28px, 4vw, 46px); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 70px rgba(20,62,66,.12); }
.login-card h2 { margin: 0; font-size: 31px; letter-spacing: -.03em; }
.muted { margin: 10px 0 30px; color: var(--muted); line-height: 1.6; }
label { display: block; margin: 18px 0 8px; font-weight: 700; font-size: 14px; }
input { width: 100%; padding: 0 14px; color: var(--ink); background: #fbfdfd; border: 1px solid #c8d7d5; border-radius: 10px; outline: none; }
input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,89,97,.13); }
.password-field { position: relative; }
.password-field input { padding-right: 70px; }
.text-button { position: absolute; right: 5px; top: 0; padding: 0 12px; border: 0; color: var(--brand); background: transparent; cursor: pointer; font-weight: 700; }
.primary-button { width: 100%; margin-top: 14px; border: 0; border-radius: 10px; color: #fff; background: var(--brand); cursor: pointer; font-weight: 800; box-shadow: 0 8px 18px rgba(11,89,97,.2); }
.primary-button:hover { background: var(--brand-dark); }
.form-error { min-height: 22px; margin: 8px 0 0; color: var(--danger); font-size: 14px; }
.login-footnote { margin: 22px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 800px) {
  .login-shell { grid-template-columns: 1fr; }
  .brand-panel { display: none; }
  .login-panel { min-height: 100vh; padding: 22px; justify-content: center; }
  .mobile-logo { display: flex; align-items: center; gap: 10px; width: min(430px, 100%); margin: 0 0 18px; color: var(--brand-dark); font-weight: 800; }
  .mobile-logo span { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 10px; }
  .login-card { border-radius: 18px; }
}
