:root {
  color-scheme: light;
  --bg: #f4f6f3;
  --surface: #fff;
  --line: #d9ded5;
  --text: #151a17;
  --muted: #647067;
  --accent: #12684f;
  --accent-ink: #0b3f30;
  --error: #9d2830;
  --shadow: 0 24px 70px rgba(32, 47, 38, 0.12);
  font-family: ui-sans-serif, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(18, 104, 79, .09), transparent 54%),
    linear-gradient(90deg, rgba(21,26,23,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21,26,23,.035) 1px, transparent 1px), var(--bg);
  background-size: auto, 64px 64px, 64px 64px, auto;
}
button, input { font: inherit; }
.login-layout { display: grid; min-height: 100dvh; place-items: center; padding: 28px 16px; }
.login-card {
  width: min(100%, 420px); padding: 36px;
  border: 1px solid rgba(191,200,187,.75); border-radius: 12px;
  background: var(--surface); box-shadow: var(--shadow);
}
.login-header { display: flex; align-items: center; gap: 14px; }
.brand-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 10px; background: var(--accent); color: white; font-size: 23px; font-weight: 750; }
.eyebrow { margin: 0 0 4px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .16em; }
h1 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.intro { margin: 22px 0 26px; color: var(--muted); font-size: 14px; }
.login-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 13px; font-weight: 650; }
.field input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; outline: none; background: #fff; color: var(--text); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,104,79,.12); }
.remember-row { display: flex; align-items: center; gap: 9px; margin-top: -2px; color: var(--muted); font-size: 13px; cursor: pointer; }
.remember-row input { width: 16px; height: 16px; accent-color: var(--accent); }
.message { min-height: 18px; margin: -8px 0 -10px; color: var(--error); font-size: 13px; }
.submit-button { height: 46px; border: 0; border-radius: 7px; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.submit-button:hover { background: var(--accent-ink); }
.submit-button:disabled { opacity: .65; cursor: wait; }
footer { margin-top: 26px; padding-top: 18px; border-top: 1px solid #edf0eb; color: #8a948d; text-align: center; font-size: 12px; }
@media (max-width: 480px) { .login-card { padding: 28px 22px; } }
