/* Shared by every app header and the standalone privacy page. */
.account-chip.account-chip {
  position: relative;
  flex: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: max(var(--mobile-font-floor, 0px), 14px);
  line-height: 1.4;
  color: var(--text, var(--ink, #263e32));
}
.account-chip.account-chip > .account-chip-trigger,
.account-chip.account-chip-guest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin: 0;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line, #dbe2d8);
  border-radius: 999px;
  background: var(--surface, var(--paper, #faf8f1));
  color: inherit;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  font-size: inherit;
  font-weight: 600;
}
.account-chip-trigger::-webkit-details-marker {
  display: none;
}
.account-chip.account-chip-guest {
  padding: 0 14px;
  gap: 8px;
}
.account-chip-guest > a {
  padding-block: 12px;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
}
.account-chip-guest > span {
  color: var(--muted, #647368);
  font-weight: 400;
}
.account-chip.account-chip .account-chip-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tint, var(--soft, #e5eadc));
  color: var(--accent, var(--link, #28513e));
  font-size: 13px;
  font-weight: 700;
}
.account-chip-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-chip.account-chip > .account-chip-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1200;
  width: min(280px, calc(100vw - 32px));
  padding: 8px;
  background: var(--surface, var(--paper, #faf8f1));
  border: 1px solid var(--line, #dbe2d8);
  border-radius: 18px;
  box-shadow: 0 12px 36px #0003;
  color: inherit;
}
.account-chip.account-chip .account-chip-identity {
  padding: 10px 12px 14px;
  border-bottom: 1px solid var(--line, #dbe2d8);
  margin-bottom: 6px;
}
.account-chip-identity > strong,
.account-chip-identity > small {
  display: block;
  overflow-wrap: anywhere;
}
.account-chip-identity > small {
  margin-top: 4px;
  color: var(--muted, #647368);
  font-size: 13px;
  font-weight: 400;
}
.account-chip.account-chip .account-chip-menu > :is(button, a) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: inherit;
  font: inherit;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.account-chip.account-chip .account-chip-menu > :is(button, a):hover,
.account-chip.account-chip > .account-chip-trigger:hover {
  background: var(--soft, #e5eadc);
}
.account-chip :is(a, button, summary):focus-visible {
  outline: 3px solid var(--accent, var(--link, #28513e));
  outline-offset: 3px;
}
.account-chip-menu > button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 600px) {
  .account-chip.account-chip > .account-chip-trigger {
    padding: 5px;
  }
  .account-chip .account-chip-name,
  .account-chip .account-chip-chevron {
    display: none;
  }
}
