:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #3d4d42;
  background: #f8f9f5;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
a {
  color: #476840;
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 3px solid #b99a61;
  outline-offset: 4px;
}
.auth-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(400px, 1.15fr);
}
.auth-story {
  background: #19382e;
  color: #bacbbd;
  padding: 52px clamp(35px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-story::before,
.auth-story::after {
  position: absolute;
  content: '';
  width: 440px;
  height: 440px;
  border: 1px solid #52725b44;
  border-radius: 50%;
  right: -250px;
  bottom: -120px;
  pointer-events: none;
}
.auth-story::after {
  width: 600px;
  height: 600px;
  right: -330px;
  bottom: -200px;
}
.auth-story .brand,
.auth-brand {
  position: absolute;
  top: 45px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3f6eb;
  text-decoration: none;
  font-size: 23px;
  letter-spacing: -0.7px;
}
.auth-story .brand-mark,
.auth-brand-mark {
  width: 39px;
  height: 43px;
  border: 1px solid #779a7e;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #e5e4c9;
  font:
    30px Georgia,
    serif;
}
.auth-eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #92a678;
  margin: 0 0 16px;
  font-weight: 550;
}
.auth-story h1 {
  font-size: clamp(33px, 3.4vw, 48px);
  font-weight: 450;
  letter-spacing: -1.4px;
  line-height: 1.25;
  margin: 0 0 25px;
  color: #f1f4e7;
  max-width: 390px;
}
.auth-story > p {
  color: #a1b89f;
  font-size: 14px;
  line-height: 1.85;
  max-width: 355px;
  margin: 0;
}
.auth-story-note {
  position: absolute;
  bottom: 43px;
  left: clamp(35px, 6vw, 100px);
  right: 35px;
  color: #83a084;
  font-size: 11px;
  line-height: 1.7;
}
.auth-surface {
  display: grid;
  place-items: center;
  padding: 55px 35px;
}
.auth-card {
  width: 100%;
  max-width: 365px;
}
.auth-card h1,
.auth-card h2 {
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.9px;
  line-height: 1.25;
  color: #2f4934;
  margin: 0 0 13px;
}
.auth-intro {
  font-size: 13px;
  line-height: 1.8;
  color: #89957d;
  margin: 0 0 29px;
}
.auth-form {
  margin: 0;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}
.auth-field > span {
  font-size: 12px;
  font-weight: 550;
  color: #6a7b5b;
}
.auth-input-wrap {
  position: relative;
}
.auth-field input {
  min-height: 46px;
  width: 100%;
  background: #fff;
  border: 1px solid #dce5d0;
  border-radius: 7px;
  padding: 12px 42px 12px 13px;
  font-size: 14px;
  color: #49633b;
}
.auth-field input::placeholder {
  color: #aab69a;
}
.auth-field input:focus {
  border-color: #9cb488;
}
.auth-field small {
  color: #96a487;
  font-size: 11px;
  line-height: 1.65;
}
.auth-password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 46px;
  width: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  border-radius: 0 7px 7px 0;
  color: #97a889;
  cursor: pointer;
}
.auth-password-toggle:hover {
  color: #4a7235;
  background: #f3f8eb;
}
.auth-password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-submit {
  width: 100%;
  border: 1px solid #315f3d;
  border-radius: 7px;
  min-height: 45px;
  padding: 12px 17px;
  background: #31573d;
  color: #f5f8ec;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  margin-top: 3px;
}
.auth-submit:hover {
  background: #234d30;
}
.auth-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}
.auth-help {
  font-size: 11px;
  color: #96a387;
  line-height: 1.8;
  margin: 18px 0;
}
.auth-footer {
  border-top: 1px solid #e1e8d6;
  padding-top: 23px;
  margin-top: 28px;
  font-size: 10px;
  color: #a3af95;
  line-height: 1.7;
}
.auth-error {
  padding: 13px 15px;
  font-size: 12px;
  color: #a26f44;
  background: #fbf1df;
  border: 1px solid #efdcb9;
  border-radius: 7px;
  line-height: 1.75;
  margin-bottom: 22px;
}
.auth-error:empty {
  display: none;
}
.auth-brand-mobile {
  display: none;
}
.auth-field [data-caps-lock] {
  color: #a97c46;
}
.auth-field [hidden] {
  display: none;
}
@media (max-width: 800px) {
  .auth-layout {
    grid-template-columns: minmax(240px, 0.8fr) minmax(340px, 1.2fr);
  }
  .auth-story {
    padding: 35px;
  }
  .auth-story h1 {
    font-size: 34px;
  }
  .auth-story-note {
    left: 35px;
  }
  .auth-surface {
    padding: 45px 32px;
  }
}
@media (max-width: 620px) {
  .auth-layout {
    display: block;
  }
  .auth-story {
    min-height: 220px;
    padding: 90px 29px 30px;
    justify-content: end;
  }
  .auth-story .brand,
  .auth-brand {
    top: 27px;
    font-size: 20px;
  }
  .auth-story .brand-mark,
  .auth-brand-mark {
    width: 32px;
    height: 34px;
    border-radius: 8px;
    font-size: 24px;
  }
  .auth-story h1 {
    font-size: 28px;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
    max-width: 380px;
  }
  .auth-story > .auth-eyebrow,
  .auth-story > p,
  .auth-story-note {
    display: none;
  }
  .auth-surface {
    padding: 36px 29px 43px;
  }
  .auth-card {
    max-width: 400px;
  }
  .auth-card h1,
  .auth-card h2 {
    font-size: 27px;
  }
  .auth-intro {
    font-size: 12px;
    margin-bottom: 24px;
  }
  .auth-field input {
    font-size: 16px;
  }
  .auth-footer {
    font-size: 10px;
  }
  .auth-story::before {
    width: 260px;
    height: 260px;
    right: -125px;
    bottom: -135px;
  }
  .auth-story::after {
    width: 360px;
    height: 360px;
    right: -175px;
    bottom: -185px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.auth-story-copy > p:not(.auth-eyebrow) {
  color: #b1c5ac;
  font-size: 14px;
  line-height: 1.85;
  max-width: 355px;
  margin: 0;
}
.auth-intro,
.auth-help,
.auth-footer,
.auth-field small {
  color: #62705b;
}
.auth-card .auth-eyebrow {
  color: #677b54;
}
.auth-field > span {
  color: #5d6d51;
}
.auth-field input::placeholder {
  color: #79896c;
}
.auth-story-note {
  color: #acc2a6;
}
@media (max-width: 620px) {
  .auth-story-copy > p {
    display: none;
  }
  .auth-story-copy h1 {
    margin-bottom: 0;
  }
  .auth-story {
    min-height: 200px;
  }
}
