:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #182638;
  background: #f4f6f8;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 420px); padding: 36px; background: #fff; border: 1px solid #dfe5eb; border-radius: 16px; }
.brand { margin: 0 0 28px; color: #35618b; font-size: 14px; font-weight: 650; }
h1 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.5px; }
h2 { margin: 0 0 10px; font-size: 22px; }
[hidden] { display: none !important; }
.description { margin: 0 0 28px; color: #5d6876; font-size: 14px; line-height: 1.6; }
label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
input { width: 100%; min-height: 46px; border: 1px solid #b9c5d1; border-radius: 8px; padding: 10px 12px; font: inherit; background: #fff; }
input:focus-visible, button:focus-visible { outline: 3px solid #7eb6e6; outline-offset: 3px; }
.error { min-height: 24px; margin: 12px 0; color: #a12828; font-size: 14px; line-height: 1.6; }
button { width: 100%; min-height: 46px; padding: 11px 16px; border: 0; border-radius: 8px; color: #fff; background: #234f7a; font: inherit; font-weight: 600; cursor: pointer; }
button:hover { background: #183d61; }
button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 420px) { .login-card { padding: 26px 22px; } }
