:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f3f1;
  color: #241b18;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #fbf8f6 0%, #f4eeeb 100%);
}
.auth-shell {
  width: min(100%, 430px);
}
.auth-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px 26px 28px;
  box-shadow: 0 18px 55px rgba(74, 48, 38, .12);
}
.brand {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b4f3a;
}
h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.lead {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: #67534c;
}
.auth-action {
  width: 100%;
  min-height: 58px;
  margin-top: 28px;
  border: 0;
  border-radius: 18px;
  padding: 0 22px;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  background: #5f3427;
  color: #fff;
  box-shadow: 0 8px 18px rgba(95, 52, 39, .22);
}
.auth-action:disabled { opacity: .58; cursor: wait; }
.auth-action.secondary {
  background: #eee4df;
  color: #44271f;
  box-shadow: none;
}
.status {
  min-height: 24px;
  margin: 18px 2px 0;
  font-size: 15px;
  line-height: 1.45;
  color: #67534c;
}
.status.error { color: #a12620; }
.status.success { color: #276039; }
.field {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-weight: 700;
}
.field input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d8c9c2;
  border-radius: 16px;
  padding: 0 16px;
  background: #fffaf8;
  color: #241b18;
  font: inherit;
  font-size: 16px;
}
.field input:focus {
  outline: 3px solid rgba(139, 79, 58, .18);
  border-color: #8b4f3a;
}
.hint {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #7c6860;
}
.progress {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6efeb;
  font-weight: 750;
  color: #52382f;
}
@media (max-width: 480px) {
  body { padding: 16px; align-items: center; }
  .auth-card { padding: 28px 22px 24px; border-radius: 24px; }
}
