/* A quiet editorial entry into the team's accounting workspace. */
.login {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: 100dvh;
}
.login__aside {
  display: flex;
  flex-direction: column;
  background: #143b30;
  color: #d2e4d8;
  padding: 40px 56px;
  position: relative;
  overflow: hidden;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 21px var(--font-head);
  letter-spacing: -0.065em;
  color: #fff;
}
.brand__name > span {
  font-weight: 500;
  color: #b6d0c0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff14;
  color: #c9edbe;
}
.brand__mark svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.9;
}
.login__hero {
  margin: auto 0;
  max-width: 500px;
  padding: 64px 0;
}
.login__eyebrow {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #b0cdbc;
  letter-spacing: 0.025em;
}
.login__eyebrow > span {
  width: 5px;
  height: 5px;
  background: #c7e6a0;
  border-radius: 50%;
}
.login__headline {
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.055em;
  margin-top: 24px;
  color: #f1f6f0;
}
.login__headline em {
  font-style: normal;
  color: #c1e2a4;
}
.login__sub {
  font-size: 13px;
  line-height: 1.85;
  color: #b4cebf;
  margin: 24px 0 40px;
}
.login-workflow {
  border-top: 1px solid #b7d5c333;
  max-width: 390px;
}
.login-workflow__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 8px;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #9dbcaa;
}
.login-workflow__head svg {
  width: 14px;
  height: 14px;
}
.login-workflow__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #b7d5c31a;
}
.login-workflow__number {
  font: 10px var(--font-mono);
  color: #8eb29c;
}
.login-workflow__row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.login-workflow__row strong {
  font-size: 12px;
  font-weight: 500;
  color: #e0ede3;
}
.login-workflow__row > div > span {
  font-size: 10px;
  color: #9abcaa;
}
.login-workflow__icon {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff14;
  border-radius: 7px;
  color: #c2dda5;
}
.login-workflow__icon svg {
  width: 15px;
  height: 15px;
}
.login__footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  color: #87aa96;
}
.login__main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 56px 40px;
  background: var(--bg);
  position: relative;
}
.login__form {
  width: 100%;
  max-width: 360px;
}
.login__welcome-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--primary-ink);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.login__welcome-icon svg {
  width: 21px;
  height: 21px;
}
.login__form > .eyebrow {
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.login__title {
  font-size: 27px;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.login__lead {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 32px;
}
.login__form .field__label {
  font-size: 11px;
  margin: 20px 0 8px;
}
.login__form .field {
  min-height: 46px;
  font-size: 12px;
  background: var(--surface);
}
.login__password {
  position: relative;
}
.login__password .field {
  padding-right: 48px;
}
.login__password > button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.login__password > button:hover {
  background: var(--surface-soft);
}
.login__password svg {
  width: 17px;
  height: 17px;
}
.login__submit {
  width: 100%;
  min-height: 46px;
  margin-top: 24px;
  font-size: 12px;
  justify-content: space-between;
  padding: 12px 16px;
}
.login__submit svg {
  width: 16px;
  height: 16px;
}
.login__error {
  display: none;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #d8847840;
  border-radius: 8px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 12px;
}
.login__error.show {
  display: block;
}
.login__help {
  margin: 20px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.login__help summary {
  cursor: pointer;
  list-style: none;
}
.login__help summary:hover {
  color: var(--primary-ink);
}
.login__help p {
  background: var(--surface-soft);
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  line-height: 1.7;
}
.login__restricted {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  color: var(--subtle);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 28px;
}
.login__restricted svg {
  width: 12px;
  height: 12px;
}
.login__main-footer {
  position: absolute;
  bottom: 40px;
  color: var(--subtle);
  font-size: 9px;
}
.login__mobile-brand {
  display: none;
}
@media (min-width: 1600px) {
  .login__aside {
    padding: 48px 80px;
  }
  .login__hero {
    max-width: 560px;
  }
  .login__headline {
    font-size: 68px;
  }
  .login__form {
    max-width: 400px;
  }
}
@media (max-width: 1000px) {
  .login__aside {
    padding: 32px;
  }
  .login__main {
    padding: 40px 32px;
  }
  .login__headline {
    font-size: 42px;
  }
  .login__footer span:last-child {
    display: none;
  }
  .login__title {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .login {
    display: block;
  }
  .login__aside {
    display: none;
  }
  .login__main {
    min-height: 100dvh;
    padding: 80px 24px;
  }
  .login__form {
    max-width: 390px;
  }
  .login__mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 28px;
    left: 24px;
    font: 700 17px var(--font-head);
    letter-spacing: -0.05em;
    color: var(--primary-ink);
  }
  .login__mobile-brand svg {
    width: 24px;
    height: 24px;
  }
  .login__welcome-icon {
    margin-top: 32px;
  }
  .login__form .field {
    font-size: 16px;
  }
  .login__main-footer {
    bottom: 24px;
  }
  .login__title {
    font-size: 28px;
  }
}
