/* Страница входа использует штатные поля и общую светлую палитру. */
.auth-wrap {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  background: var(--bg-1);
}
.auth-story {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 38px 56px 64px;
  background: var(--nav-bg);
  color: var(--nav-fg);
}
.auth-logo {
  display: flex;
  align-items: center;
}
.auth-logo img { width: 258px; max-width: 100%; height: auto; }
.auth-story-copy { margin-top: auto; padding: 96px 0 76px; }
.auth-eyebrow {
  margin: 0;
  color: var(--acc);
  font-size: var(--t-s);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-story .auth-eyebrow { color: var(--nav-muted); }
.auth-story h1 {
  margin: 20px 0;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.auth-story-copy > p:last-child {
  margin: 0;
  color: var(--nav-muted);
  font-size: var(--t-lg);
  line-height: 1.65;
}
.auth-formarea {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 70px;
}
.auth-card { width: 390px; max-width: 100%; }
.auth-title {
  margin: 14px 0 8px;
  color: var(--fg-0);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.auth-sub { margin: 0; color: var(--fg-2); }
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}
.auth-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--fg-0);
  font-size: var(--t-md);
}
.auth-submit { width: 100%; justify-content: center; margin-top: 6px; }
.auth-error {
  padding: 12px 14px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: var(--r);
  font-size: var(--t-md);
}
.auth-error ul { margin: 0; padding-left: 18px; }
.auth-field .auth-error { margin-top: 8px; }
@media (max-width: 1023px) {
  .auth-wrap { grid-template-columns: minmax(260px, 36%) minmax(0, 1fr); }
  .auth-story { padding: 32px; }
  .auth-story-copy { padding-bottom: 32px; }
  .auth-formarea { padding: 40px; }
}
@media (max-width: 767px) {
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-story { padding: 28px 24px; }
  .auth-story-copy { padding: 28px 0 0; }
  .auth-story h1 { font-size: 32px; }
  .auth-story h1 br { display: none; }
  .auth-story-copy > p:last-child { max-width: 45ch; }
  .auth-formarea { padding: 36px 24px; }
  .auth-title { font-size: 28px; }
}
