.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
  background: #fff;
}
.auth-story {
  position: relative;
  min-height: 100vh;
  padding: 34px 46px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: #4b5c16;
}
.auth-story::before,
.auth-story::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.auth-story::before {
  width: 420px;
  height: 420px;
  top: -170px;
  right: -170px;
  border: 80px solid rgba(227, 237, 176, 0.16);
}
.auth-story::after {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -120px;
  background: rgba(227, 237, 176, 0.13);
}
.brand--light {
  position: relative;
  z-index: 1;
  color: #fff;
}

.brand--light b {
  color: #eff6cf;
}
.auth-story__content {
  max-width: 480px;
  margin: auto 0;
  position: relative;
  z-index: 1;
}
.auth-story__content h1 {
  margin: 17px 0;
  max-width: 450px;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.auth-story__content > p:last-child {
  max-width: 420px;
  color: #e3edb0;
  font-size: 16px;
  line-height: 1.65;
}
.auth-main {
  min-height: 100vh;
  padding: 50px 28px;
  display: grid;
  place-items: center;
  background: #f7fae9;
}
.auth-card {
  width: min(100%, 470px);
}
.auth-card h2 {
  margin-top: 10px;
  font-size: 32px;
  letter-spacing: -0.045em;
}
.auth-card__description {
  margin-top: 9px;
  color: #000;
  font-size: 14px;
  line-height: 1.55;
}
.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  display: grid;
  gap: 7px;
  color: #4b5c16;
  font-size: 12px;
  font-weight: 700;
}
.form-field > span:first-child {
  display: flex;
  justify-content: space-between;
}

.form-field__label-row {
  align-items: center;
  gap: 12px;
}

.form-field__label-row a {
  color: #63771f;
  font-size: 10px;
  font-weight: 800;
}
.form-field em {
  color: #000;
  font-style: normal;
  font-weight: 500;
}
.form-field input {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid #e3edb0;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #4b5c16;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.form-field input:focus {
  border-color: #e3edb0;
  box-shadow: 0 0 0 3px rgba(204, 220, 135, 0.11);
}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #4b5c16;
  box-shadow: 0 0 0 1000px #eff6cf inset;
  transition: background-color 9999s ease-out;
}
.form-field small {
  color: #000;
  font-size: 10px;
  font-weight: 500;
}
.password-control {
  display: flex;
  position: relative;
}
.password-control button {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  padding: 6px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 10px;
  font-weight: 800;
}
.password-control input {
  padding-right: 72px;
}
.form-message,
.invitation-warning {
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}
.form-message {
  color: #9e3236;
  background: #fff0f0;
  border: 1px solid #f3cfd0;
}
.form-message--success {
  color: #197557;
  background: #e9f8f1;
  border-color: #c6ebda;
}
.invitation-warning {
  margin-top: 21px;
  color: #865a16;
  background: #fff7e6;
  border: 1px solid #f3dfb6;
}
.invitation-verification {
  margin-top: 22px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #eff6cf;
  border-radius: 10px;
  background: #eff6cf;
}
.invitation-verification__spinner {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 2px solid #eff6cf;
  border-top-color: #e3edb0;
  border-radius: 50%;
  animation: invitation-spin 0.8s linear infinite;
}
.invitation-verification b {
  color: #63771f;
  font-size: 12px;
}
.invitation-verification p {
  margin-top: 4px;
  color: #000;
  font-size: 11px;
  line-height: 1.45;
}
.invitation-verification--error {
  border-color: #f0c7c7;
  background: #fff3f3;
}
.invitation-verification--error .invitation-verification__spinner {
  border: 0;
  animation: none;
}
.invitation-verification--error .invitation-verification__spinner::before {
  content: "!";
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3d6d6;
  color: #9e3236;
  font-size: 11px;
  font-weight: 900;
}
.invitation-verification--error b {
  color: #92383b;
}
.invitation-verification__retry {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #63771f;
  font-size: 11px;
  font-weight: 800;
}
.registration-context {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #e3edb0;
  border-radius: 10px;
  background: #fff;
}
.registration-context__primary {
  padding: 13px 15px;
  border-bottom: 1px solid #e5e9d2;
  background: #f7fae9;
}
.registration-context__primary span {
  display: block;
  margin-bottom: 4px;
  color: #000;
  font-size: 10px;
}
.registration-context__primary b {
  color: #4b5c16;
  font-size: 13px;
}
.registration-context dl {
  margin: 0;
  padding: 5px 15px;
}
.registration-context dl div {
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #f0f2f6;
  font-size: 11px;
}
.registration-context dl div:last-child {
  border-bottom: 0;
}
.registration-context dt {
  color: #000;
}
.registration-context dd {
  margin: 0;
  color: #4b5c16;
  font-weight: 750;
  text-align: right;
}
@keyframes invitation-spin {
  to {
    transform: rotate(360deg);
  }
}
.form-consent {
  color: #000;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.auth-card__footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e3edb0;
  color: #000;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}
.auth-card__footer a {
  color: #63771f;
  font-weight: 800;
}

.reset-development-link {
  margin-top: 17px;
  padding: 14px;
  border: 1px solid #eff6cf;
  border-radius: 10px;
  background: #eff6cf;
  color: #63771f;
}

.reset-development-link b {
  font-size: 11px;
}

.reset-development-link p {
  margin: 5px 0 11px;
  color: #000;
  font-size: 10px;
  line-height: 1.5;
}

.reset-development-link .button {
  display: inline-flex;
}
@media (max-width: 900px) {
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: 250px;
    padding: 25px 28px;
  }
  .auth-story__content {
    margin: 45px 0 35px;
  }
  .auth-story__content h1 {
    font-size: 38px;
  }
  .auth-story__content > p:last-child {
    display: none;
  }
  .auth-main {
    min-height: auto;
    padding: 44px 20px 60px;
  }
}
@media (max-width: 520px) {
  .auth-story {
    min-height: 205px;
  }
  .auth-story__content {
    margin: 34px 0 16px;
  }
  .auth-story__content h1 {
    font-size: 31px;
  }
  .auth-card h2 {
    font-size: 27px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
