.account-page {
  background: #f6f7f7;
}
.auth-layout {
  display: grid;
  grid-template-columns: 36% 64%;
  min-height: 100dvh;
}
.auth-story {
  background: #102c3b;
  color: #fff;
  padding: 48px clamp(30px, 4vw, 70px);
  display: flex;
  flex-direction: column;
}
.auth-logo {
  display: inline-flex;
  width: 145px;
}
.auth-logo img {
  width: 100%;
  height: auto;
}
.auth-story-copy {
  margin: auto 0;
  max-width: 350px;
  padding: 70px 0;
}
.auth-story-copy h1 {
  font-size: 30px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
.auth-story-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: #bdcdd6;
  margin-top: 16px;
}
.auth-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px 28px;
  min-width: 0;
}
.auth-form-wrap {
  width: 100%;
  max-width: 420px;
  margin: auto;
}
.auth-form-heading {
  margin-bottom: 28px;
}
.auth-form-heading h2 {
  font-size: 28px;
  letter-spacing: -0.7px;
}
.auth-form-heading p {
  color: #526574;
  font-size: 14px;
  margin-top: 9px;
  line-height: 1.6;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.auth-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.auth-field-input {
  position: relative;
}
.auth-input {
  width: 100%;
  min-height: 44px;
  background: white;
  font-size: 14px;
  padding: 10px 12px;
}
.auth-input[type="password"] {
  padding-right: 68px;
}
.auth-reveal {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 4px;
  color: #526574;
  font-size: 12px;
}
.auth-reveal:hover {
  color: #805524;
}
.auth-help {
  font-size: 12px;
  line-height: 1.7;
  color: #526574;
  margin-top: 8px;
}
.auth-help ul {
  padding-left: 18px;
  margin: 7px 0 0;
}
.auth-error,
.auth-field-error {
  font-size: 13px;
  color: #963b2c;
  line-height: 1.6;
}
.auth-error {
  padding: 12px 14px;
  background: #fcf0ec;
  border: 1px solid #edcfc6;
  border-radius: 6px;
}
.auth-error ul,
.auth-field-error ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auth-field-error {
  margin-top: 8px;
}
.auth-success {
  font-size: 13px;
  color: #315d43;
  background: #edf5ef;
  border: 1px solid #d5e5da;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 20px;
}
.auth-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  font-size: 14px;
}
.auth-submit > span {
  display: none;
}
.auth-alternate {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 25px;
  font-size: 13px;
  color: #526574;
}
.auth-alternate a {
  color: #22586c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-alternate a:hover {
  color: #805524;
}
.auth-footer {
  max-width: 420px;
  width: 100%;
  margin: 45px auto 0;
  padding-top: 20px;
  border-top: 1px solid #dce3e7;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #526574;
}
.auth-footer a:hover {
  text-decoration: underline;
}
.auth-recovery-code {
  padding: 20px;
  border: 1px solid #d5e2e8;
  background: #edf4f7;
  border-radius: 7px;
  margin: 22px 0;
  overflow-wrap: anywhere;
}
.auth-recovery-code code {
  font:
    14px/1.8 ui-monospace,
    monospace;
  color: #173344;
}
@media (max-width: 850px) {
  .auth-layout {
    grid-template-columns: 30% 70%;
  }
  .auth-story {
    padding: 35px 25px;
  }
  .auth-story-copy h1 {
    font-size: 25px;
  }
  .auth-story-copy p {
    font-size: 14px;
  }
  .auth-content {
    padding: 50px 30px 25px;
  }
}
@media (max-width: 640px) {
  .auth-layout {
    display: block;
  }
  .auth-story {
    padding: 22px 24px;
  }
  .auth-logo {
    width: 125px;
  }
  .auth-story-copy {
    display: none;
  }
  .auth-content {
    padding: 35px 24px 24px;
    min-height: calc(100dvh - 78px);
  }
  .auth-form-heading h2 {
    font-size: 26px;
  }
}
