:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f7fb;
  color: #1f2329;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 20% 10%, #e8f0ff 0, #f5f7fb 45%, #f5f7fb 100%);
}
.auth-card {
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid #e5e8ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.brand { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #1677ff;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
}
h1 { margin: 0; font-size: 22px; line-height: 1.2; }
.brand p { margin: 4px 0 0; color: #6b7280; font-size: 13px; }
form { display: grid; gap: 8px; }
label { font-size: 13px; color: #4b5563; }
input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}
input:focus { border-color: #1677ff; box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.15); }
button {
  height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }
.message { min-height: 20px; margin: 14px 0 0; font-size: 13px; color: #b42318; }
.message.ok { color: #067647; }
.hint { margin: 16px 0 0; font-size: 12px; line-height: 1.5; color: #6b7280; }
