.auth-page {
  background: #f8f9f5;
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(370px, 45%) 1fr;
  min-height: 100dvh;
}
.auth-story {
  background: #edf3e7;
  padding: 40px 56px 25px;
  border-right: 1px solid #e0e8d8;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-story .brand {
  padding: 0;
  margin: 0;
}
.auth-story-content {
  margin: auto 0;
  padding: 50px 0 35px;
  position: relative;
  max-width: 410px;
  align-self: center;
  width: 100%;
}
.auth-eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  color: #829572;
}
.auth-story h1 {
  font-size: 46px;
  font-weight: 550;
  letter-spacing: 2px;
  line-height: 1.55;
  margin: 17px 0;
  color: #36563c;
}
.auth-story h1 > span {
  color: #829f67;
}
.auth-story-content > p {
  font-size: 14px;
  color: #899c78;
  line-height: 2;
}
.auth-story-footer {
  font-size: 11px;
  color: #98a78b;
  margin: 0;
}
.auth-ledger {
  width: 265px;
  height: 180px;
  border: 1px solid #d8e3cd;
  background: #fafcf5;
  padding: 24px;
  border-radius: 14px;
  margin: 37px 0 32px 14px;
  transform: rotate(-5deg);
  box-shadow: 10px 14px 0 #e2ebd9;
  position: relative;
}
.ledger-top {
  display: flex;
  justify-content: space-between;
  color: #769264;
  font-size: 12px;
  margin-bottom: 17px;
}
.ledger-top span > i {
  margin-right: 6px;
}
.ledger-top > i {
  color: #5f8d65;
}
.ledger-line {
  width: 90px;
  height: 6px;
  background: #e4ecd9;
  border-radius: 6px;
  margin-bottom: 9px;
}
.ledger-line.long {
  width: 140px;
  background: #d9e5cb;
  height: 8px;
}
.ledger-line.short {
  width: 64px;
}
.ledger-divider {
  height: 1px;
  background: #e6eddf;
  margin: 12px 0;
}
.ledger-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ledger-check > span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  background: #e7efdd;
  color: #91aa7b;
  border-radius: 4px;
  font-size: 10px;
}
.ledger-check .ledger-line {
  margin: 0;
  height: 5px;
}
.ledger-check > i {
  margin-left: auto;
  color: #9ab285;
  font-size: 15px;
}
.ledger-seal {
  position: absolute;
  right: -20px;
  bottom: -15px;
  width: 56px;
  height: 56px;
  border: 5px solid #edf3e7;
  outline: 1px solid #c9dac0;
  background: #658a60;
  color: #edf5e6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  transform: rotate(5deg);
}
.auth-story-note {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #778d69;
  font-size: 12px;
}
.auth-story-note > i {
  font-size: 19px;
  color: #8da47a;
}
.auth-story-note small {
  font-size: 11px;
  line-height: 2;
  color: #8e9f7c;
}
.auth-entry {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 48px 45px 64px;
  background: #fdfefb;
}
.auth-form-wrap {
  max-width: 400px;
  width: 100%;
  margin: auto;
}
.auth-form-heading {
  margin-bottom: 27px;
}
.auth-step {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #819775;
  margin-bottom: 14px;
}
.auth-form-heading h2 {
  font-size: 29px;
  line-height: 1.5;
  font-weight: 550;
  margin: 0 0 10px;
  color: #314f3b;
}
.auth-form-heading > p {
  font-size: 12px;
  color: #8b9a82;
  line-height: 1.9;
  margin: 0;
}
.auth-form {
  display: flex;
  flex-direction: column;
}
.auth-form > label {
  font-size: 12px;
  font-weight: 500;
  color: #637859;
  margin: 0 0 8px;
}
.auth-form > input,
.password-input input {
  width: 100%;
  height: 46px;
  min-width: 0;
  border: 1px solid #dfe7d6;
  background: #fff;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 13px;
  color: #475f3c;
  transition: border-color 0.15s;
}
.auth-form > input {
  margin-bottom: 19px;
}
.auth-form input::placeholder {
  color: #abb89f;
  font-size: 12px;
}
.auth-form input:focus {
  outline: 0;
  border-color: #80a886;
  box-shadow: 0 0 0 3px #76a57510;
}
.auth-form input[readonly] {
  background: #f4f7ed;
  color: #829574;
}
.password-input {
  position: relative;
  width: 100%;
  margin-bottom: 19px;
}
.password-input input {
  padding-right: 44px;
}
.password-input > button {
  position: absolute;
  right: 6px;
  top: 5px;
  width: 35px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #99aa8a;
  border: 0;
  background: transparent;
  border-radius: 5px;
  font-size: 16px;
}
.password-input > button:hover {
  color: #4e7954;
  background: #f4f8ef;
}
.auth-session-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 10px;
  color: #99a68d;
  margin: 0 0 21px;
  line-height: 1.7;
}
.auth-session-note i {
  margin-top: 3px;
  color: #8eaa7f;
}
.auth-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  background: #26735a;
  color: #fff;
  border: 1px solid #26735a;
  border-radius: 8px;
  min-height: 46px;
  font-size: 13px;
  transition: background 0.15s;
}
.auth-submit:hover {
  background: #1e5e49;
  color: #fff;
}
.auth-submit i {
  font-size: 15px;
}
.auth-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 12px 13px;
  border: 1px solid #ecdccc;
  border-radius: 8px;
  background: #fdf4ed;
  color: #ae7960;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.auth-error i {
  margin-top: 3px;
}
.auth-trust {
  border-top: 1px solid #edf1e7;
  margin-top: 29px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: #a3b095;
}
.auth-entry-footer {
  position: absolute;
  bottom: 24px;
  left: 25px;
  right: 25px;
  font-size: 10px;
  color: #afb8a3;
  text-align: center;
}
.account-recovery {
  margin-top: 20px;
  color: #8c9f7c;
  font-size: 11px;
}
.account-recovery summary {
  cursor: pointer;
  text-align: center;
}
.account-recovery[open] summary {
  text-align: left;
  margin-bottom: 10px;
}
.account-recovery p {
  font-size: 11px;
  line-height: 1.8;
  color: #8b9d79;
  margin: 10px 0;
}
.account-recovery code,
.auth-command code {
  display: block;
  font-size: 11px;
  background: #f2f6e9;
  padding: 10px;
  border-radius: 6px;
  color: #7c9766;
  word-break: break-word;
  white-space: normal;
}
.auth-command {
  margin-bottom: 20px;
}
.auth-help {
  font-size: 12px;
  color: #879973;
  line-height: 1.9;
  margin-bottom: 22px;
}
.auth-mobile-brand {
  display: none;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1050px;
}
.account-panel .panel-heading {
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
}
.account-panel-body {
  padding: 24px;
}
.account-panel .auth-form > input,
.account-panel .password-input input {
  font-size: 12px;
}
.auth-field-help {
  color: #9eae8e;
  font-size: 10px;
  margin-top: -10px;
  margin-bottom: 20px;
}
.account-save {
  align-self: flex-start;
  margin-top: 1px;
  min-width: 135px;
  min-height: 40px;
}
.account-password-note {
  display: flex;
  gap: 7px;
  font-size: 10px;
  line-height: 1.9;
  color: #8c9f7c;
  margin: 0 0 20px;
}
.account-password-note i {
  margin-top: 4px;
}
.account-security-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 25px;
  padding: 20px 0;
  max-width: 980px;
  color: #8fa07e;
}
.account-security-note > i {
  font-size: 22px;
  margin-top: 2px;
  color: #91aa80;
}
.account-security-note strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #798f66;
  margin-bottom: 7px;
}
.account-security-note p {
  font-size: 11px;
  line-height: 1.9;
  margin: 0 0 5px;
}
.account-security-note code {
  color: #779269;
  word-break: break-word;
}
.workspace-profile .profile-info {
  min-width: 0;
  flex: 1;
}
.workspace-profile .profile-info > span {
  display: block;
  max-width: 94px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.workspace-profile .profile-actions {
  display: flex;
  align-items: center;
  gap: 0;
}
.profile-actions form {
  display: flex;
  margin: 0;
}
.profile-actions .icon-button {
  width: 25px;
  height: 30px;
  font-size: 13px;
}
.store-switch > span:nth-child(2) {
  min-width: 0;
}
.store-name {
  display: block;
  max-width: 123px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-nav-link {
  color: #657b59;
}
.account-nav-link:hover {
  color: var(--green);
}
@media (min-width: 1500px) {
  .auth-story {
    padding-left: 72px;
  }
  .auth-story-content {
    max-width: 450px;
  }
  .auth-story h1 {
    font-size: 52px;
  }
  .auth-ledger {
    margin-top: 42px;
    margin-bottom: 42px;
  }
  .auth-form-wrap {
    max-width: 420px;
  }
}
@media (max-width: 1050px) {
  .auth-shell {
    grid-template-columns: 40% 60%;
  }
  .auth-story {
    padding: 35px 33px 25px;
  }
  .auth-story h1 {
    font-size: 38px;
  }
  .auth-story-content {
    padding: 50px 0 30px;
  }
  .auth-ledger {
    width: 225px;
    margin-left: 0;
    padding: 21px;
  }
  .auth-entry {
    padding: 40px 35px 65px;
  }
  .account-grid {
    gap: 18px;
  }
  .account-panel-body {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .auth-shell {
    display: block;
    min-height: 100dvh;
  }
  .auth-story {
    display: none;
  }
  .auth-entry {
    padding: 35px 25px 62px;
    min-height: 100dvh;
  }
  .auth-form-wrap {
    max-width: 410px;
  }
  .auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 32px;
    padding: 0;
  }
  .auth-mobile-brand > strong {
    font-size: 25px;
  }
  .auth-form-heading h2 {
    font-size: 26px;
  }
  .auth-form-heading {
    margin-bottom: 24px;
  }
  .auth-trust {
    font-size: 9px;
    margin-top: 25px;
  }
  .auth-form > input,
  .password-input input {
    font-size: 16px;
  }
  .auth-form input::placeholder {
    font-size: 12px;
  }
  .auth-submit {
    font-size: 13px;
  }
  .auth-entry-footer {
    font-size: 9px;
    bottom: 19px;
  }
  .account-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .account-panel-body {
    padding: 20px;
  }
  .account-panel .auth-form > input,
  .account-panel .password-input input {
    font-size: 16px;
  }
  .account-security-note {
    padding-top: 7px;
  }
  .account-security-note p {
    font-size: 10px;
  }
  .account-security-note code {
    font-size: 10px;
  }
}
