.account-menu-button {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 12px 0 2px;
  padding: 12px;
  border: 1px solid #b8cbc4;
  border-radius: 15px;
  background: #fff;
  color: #164e40;
  text-align: left;
}
.account-menu-button > span:first-child {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dcece5;
  font-size: 1.35rem;
}
.account-menu-button b,
.account-menu-button small {
  display: block;
}
.account-menu-button b {
  font-size: 14px;
}
.account-menu-button small {
  margin-top: 3px;
  color: #668078;
  font-size: 10px;
  line-height: 1.3;
}
.account-menu-button i {
  font-style: normal;
  font-size: 25px;
}
.account-menu-button:hover,
.account-menu-button:focus-visible {
  border-color: #176f5a;
  background: #edf5f1;
  outline: 2px solid rgba(23, 111, 90, 0.16);
}
.account-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #123f356b;
}
.account-overlay[hidden],
.account-card [hidden],
.annotation-prompt[hidden] {
  display: none !important;
}
.account-card {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 34px;
  background: #faf8f1;
  border-radius: 28px;
  color: #153f35;
  box-shadow: 0 25px 80px #102d2680;
}
.account-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid #c7d5d0;
  border-radius: 50%;
  background: #fff;
  color: #17483d;
  font-size: 2rem;
}
.account-eyebrow {
  display: block;
  margin-right: 60px;
  color: #ee7047;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.account-card h2 {
  margin: 12px 58px 8px 0;
  font: 700 2.25rem Georgia;
}
.account-card p {
  line-height: 1.45;
  color: #647d74;
}
.account-card form {
  display: grid;
  gap: 14px;
}
.account-card label {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.account-card input,
.account-card select,
.account-card textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #bdcec8;
  border-radius: 13px;
  background: #fff;
  color: #153f35;
  font: 1rem system-ui;
  text-transform: none;
}
.account-primary,
.account-secondary {
  display: block;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: #145344;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
.account-secondary {
  margin-top: 12px;
  background: #ec7048;
}
.account-link {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #325f54;
  text-decoration: underline;
}
.account-actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
}
.account-actions > button {
  padding: 13px;
  border: 1px solid #bdcec8;
  border-radius: 13px;
}
.account-error {
  color: #a23a2d !important;
  font-weight: 700;
}
.annotation-prompt {
  position: fixed;
  z-index: 2500;
  top: calc(85px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 24px;
  background: #4b2868;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 30px #0005;
  white-space: nowrap;
}
.annotation-prompt button {
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}
@media (max-width: 620px) {
  .header-actions {
    gap: 6px;
  }
  .account-card {
    align-self: end;
    width: 100%;
    max-height: 90dvh;
    border-radius: 26px 26px 0 0;
    padding: 30px 24px calc(24px + env(safe-area-inset-bottom));
  }
  .account-overlay {
    padding: 0;
  }
  .account-card h2 {
    font-size: 2rem;
  }
}
