:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: #262626;
  background: #f0f2f5;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body { margin: 0; }

button, input { font: inherit; }

button:focus-visible, input:focus-visible { outline: 3px solid rgba(22, 119, 255, .25); outline-offset: 3px; }

.login-page { min-height: 100dvh; background: #f0f2f5; }

.login-shell { display: grid; min-height: 100dvh; place-items: center; padding: 24px 16px; }

.login-card { width: min(100%, 400px); padding: 32px 24px 24px; border: 1px solid #e6e9ee; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgb(0 0 0 / 7%); }

.login-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 12px; background: #eaf4e9; font-size: 25px; }

.login-eyebrow { margin: 0 0 8px; color: #597189; font-size: 12px; font-weight: 600; letter-spacing: .08em; }

h1 { margin: 0; color: #111; font-size: 25px; line-height: 1.25; }

.login-intro { margin: 10px 0 28px; color: #737b85; font-size: 13px; line-height: 1.6; }

.form-field { margin-bottom: 16px; }

.form-field label { display: block; margin-bottom: 8px; color: #262626; font-size: 13px; font-weight: 600; }

.form-field input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d9dee6; border-radius: 8px; color: #262626; background: #fff; }

.form-field input:hover { border-color: #b9c2cf; }

.form-field input:focus { border-color: #1677ff; outline: 0; box-shadow: 0 0 0 3px rgb(22 119 255 / 12%); }

.remember-option { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #59636f; font-size: 13px; cursor: pointer; }

.remember-option input { width: 16px; height: 16px; margin: 0; accent-color: #1677ff; }

.login-submit { width: 100%; min-height: 44px; margin-top: 20px; border: 0; border-radius: 8px; background: #1677ff; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }

.login-submit:hover { background: #0966e8; }

.login-submit:disabled { background: #a9c9f6; cursor: wait; }

.login-error { margin: 14px 0 -4px; color: #cf1322; font-size: 13px; line-height: 1.5; }

.login-status { min-height: 18px; margin: 16px 0 0; color: #8b949e; font-size: 12px; text-align: center; }

@media (max-width: 360px) {
  .login-shell { padding: 16px 12px; }
  .login-card { padding: 24px 18px 20px; }
}
