.xp-account {
  position: relative;
  flex-shrink: 0;
  font-size: 13px;
}
.xp-account [hidden] {
  display: none !important;
}
.xp-account .xp-login {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d8e0d3;
  border-radius: 9px;
  padding: 9px 14px;
  text-decoration: none;
  color: #344d3b;
  background: #fff;
}
.xp-account summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
}
.xp-account summary::-webkit-details-marker {
  display: none;
}
.xp-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9efe4;
  color: #436044;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}
.xp-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.xp-chevron {
  color: #7c887c;
}
#xp-user-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xp-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  z-index: 10;
  padding: 7px;
  min-width: 150px;
  border: 1px solid #e3e8df;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 30px #21352112;
}
.xp-menu a,
.xp-menu button {
  display: block !important;
  box-sizing: border-box;
  text-align: left;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  border-radius: 6px;
  color: #354b3b;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.xp-menu a:hover,
.xp-menu button:hover {
  background: #f3f6ef;
}
#xp-account-error {
  display: block;
  color: #a14f20;
  font-size: 12px;
  padding: 0 10px;
}
.xp-account summary:focus-visible,
.xp-account a:focus-visible,
.xp-account button:focus-visible {
  outline: 2px solid #7ba57e;
  outline-offset: 3px;
}
