/* Feature layout only; app/design.css owns shared tokens and components. */
.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--auth-text);
  background: var(--auth-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-content: center;
  gap: 24px;
  padding: 32px 22px;
}
.auth-card {
  width: min(420px, calc(100vw - 44px));
  padding: 34px;
  background: var(--auth-card);
  border: 1px solid rgba(23, 26, 31, 0.09);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(30, 35, 40, 0.08), 0 2px 8px rgba(30, 35, 40, 0.04);
}
.auth-brand {
  display: inline-block;
  color: var(--auth-primary);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.auth-heading { margin: 30px 0 26px; }
.auth-heading h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -0.035em; }
.auth-heading p { margin: 10px 0 0; color: var(--auth-muted); font-size: 15px; line-height: 1.5; }
.auth-form { display: grid; gap: 18px; }
.auth-field { display: grid; gap: 8px; }
.auth-field label { font-size: 14px; font-weight: 650; }
.auth-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--auth-text);
  background: var(--surface);
  border: 1px solid var(--auth-line);
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-size: 16px;
}
.auth-field input:focus-visible, .password-toggle:focus-visible, .auth-submit:focus-visible, .reset-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--auth-focus) 55%, transparent);
  outline-offset: 2px;
}
.auth-field--error input { border-color: var(--auth-error); }
.password-control { position: relative; }
.password-control input { padding-right: 48px; }
.password-toggle {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--auth-muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.auth-error, .field-errors { color: var(--auth-error); font-size: 14px; line-height: 1.45; }
.auth-error {
  margin: -8px 0 20px;
  padding: 12px 14px;
  background: var(--surface-muted);
  border: 1px solid var(--focus);
  border-radius: 12px;
}
.auth-error p, .field-errors p { margin: 0; }
.auth-submit--link { margin-top: 26px; }
.reset-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--auth-primary);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.reset-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-footer { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 520px) {
.auth-shell { place-content: start center; padding: 24px 22px; }
.auth-card { padding: 28px 22px; }
.auth-heading { margin-top: 26px; }
}
