:root {
  color-scheme: light;
  --primary: #24745e;
  --primary-hover: #185d4b;
  --text: #253138;
  --muted: #626b72;
  --border: #dcdfe6;
  font: 14px/1.55 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: #f4f6f8;
}
* { box-sizing: border-box; }
body { margin: 0; }
.auth-page { display: grid; min-height: 100vh; min-height: 100dvh; place-items: center; padding: 24px; }
.auth-panel { width: min(100%, 420px); padding: 32px; border: 1px solid #e7eaee; border-radius: 8px; background: #fff; }
.auth-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 16px; font-weight: 600; }
.auth-mark { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--primary); border-radius: 8px; }
h1 { margin: 0 0 12px; font-size: 20px; font-weight: 600; }
.auth-description { margin: 0; color: var(--muted); line-height: 1.8; }
form { margin-top: 24px; }
label { display: block; margin-bottom: 8px; font-weight: 500; }
input, select, button { width: 100%; min-height: 44px; border-radius: 4px; font: inherit; }
input, select { display: block; margin-bottom: 18px; padding: 8px 12px; border: 1px solid var(--border); background: white; color: var(--text); }
input:focus, select:focus, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
button { margin-top: 8px; border: 0; color: #fff; background: var(--primary); cursor: pointer; font-weight: 600; }
button:hover { background: var(--primary-hover); }
button:disabled { opacity: .65; cursor: wait; }
.auth-notice { margin: 12px 0 0; color: var(--primary-hover); }
.auth-error { margin: 0 0 10px; color: #b42935; }
@media (max-width: 760px) {
  .auth-page { padding: 16px; }
  .auth-panel { padding: 24px; }
}
