:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17191d;
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; }
button, input { font: inherit; }
a { color: inherit; }

.auth-page { background: #f5f6f8; }
.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 64px 24px;
  position: relative;
}
.auth-panel {
  width: min(100%, 390px);
  background: #fff;
  border: 1px solid #dedfe3;
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .08);
}
.auth-panel h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: 0; }
.muted { margin: 0 0 28px; color: #6b7078; font-size: 14px; }
.auth-panel form { display: grid; gap: 10px; }
.auth-panel label { margin-top: 8px; font-size: 13px; font-weight: 600; }
.auth-panel input {
  width: 100%;
  height: 44px;
  border: 1px solid #c9cdd3;
  border-radius: 6px;
  padding: 0 12px;
  outline: none;
}
.auth-panel input:focus { border-color: #2671df; box-shadow: 0 0 0 3px rgba(38, 113, 223, .14); }
.primary-button {
  height: 44px;
  border: 0;
  border-radius: 6px;
  margin-top: 14px;
  padding: 0 18px;
  background: #1768d4;
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}
.primary-button:hover { background: #0e57b8; }
.primary-button:disabled { background: #abb2bd; cursor: not-allowed; }
.form-message { margin: 10px 0 0; color: #167447; font-size: 13px; }
.form-message.error { color: #bc2b36; }

@media (max-width: 700px) {
  .auth-panel { padding: 28px 22px; }
}
