:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f5f7;
  color: #17202a;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.login-stage { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 420px); padding: 36px; border: 1px solid #d9dee5; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgb(23 32 42 / 10%); }
.brand { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #17202a; color: #fff; font-size: 28px; font-weight: 700; }
.eyebrow { margin: 24px 0 6px; color: #687386; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: 32px; line-height: 1.15; }
.intro { margin: 10px 0 26px; color: #5b6574; }
form { display: grid; gap: 10px; }
label { margin-top: 4px; font-size: 14px; font-weight: 650; }
input:not([type="checkbox"]) { width: 100%; padding: 12px 13px; border: 1px solid #bcc5d0; border-radius: 9px; font: inherit; }
input:focus-visible, button:focus-visible { outline: 3px solid #8bb8ff; outline-offset: 2px; }
.remember { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-weight: 500; }
button { min-height: 44px; border: 0; border-radius: 9px; background: #2463eb; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: #194fc3; }
button:disabled { cursor: wait; opacity: .65; }
.message { min-height: 21px; margin: 0; font-size: 14px; }
.message[data-state="error"] { color: #b42318; }
.message[data-state="success"] { color: #067647; }
.test-note { margin: 24px 0 0; color: #8a94a3; font-size: 12px; text-align: center; }

@media (max-width: 520px) {
  .login-stage { padding: 0; }
  .login-card { min-height: 100vh; border: 0; border-radius: 0; padding: 28px 22px; box-shadow: none; }
}
