.profile-avatar-editor {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--desk-line);
  border-radius: 12px;
}
.accountIdentity .accountAvatar {
  position: relative;
}
.profile-avatar-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
#profile-panel #dashboardOverview .accountAvatar .profile-avatar-edit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 2px;
  border: 0;
  border-radius: inherit;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}
.profile-avatar-edit svg {
  visibility: hidden;
  box-sizing: border-box;
  width: 17px;
  height: 17px;
  padding: 2px;
  border: 1px solid white;
  border-radius: 50%;
  background: #12171b;
}
@media (hover: hover) {
  .accountAvatar:hover .profile-avatar-edit svg {
    visibility: visible;
  }
}
.accountAvatar:has(.profile-avatar-edit:focus-visible) {
  outline: 2px solid var(--desk-accent, #368aea);
  outline-offset: 2px;
}
#dashboardOverview .profile-avatar-editor[hidden],
#profile-panel #dashboardOverview .accountAvatar .profile-avatar-edit[hidden] {
  display: none;
}
.profile-avatar-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 8px;
  max-width: 520px;
  margin: 14px 0;
}
.profile-avatar-option {
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  color: #fff;
  background: #080808;
  font-size: 22px;
  cursor: pointer;
}
.profile-avatar-option[aria-pressed="true"] {
  border-color: #fff;
  outline: 2px solid var(--desk-accent, #368aea);
}
.profile-avatar-upload {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.profile-avatar-upload input { max-width: 100%; }
.accountAvatar, .home-account-avatar { overflow: hidden; }
.accountAvatar, .home-account-avatar { background-color: var(--profile-avatar-color, var(--desk-panel, transparent)); }
.profile-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
}

.homepage-neutral .home-account-avatar {
  flex-basis: 26px;
  height: 26px;
}

html[data-theme] body.flow-workspace .flowProfileShortcut {
  width: 36px;
  height: 36px;
  padding: 0;
  overflow: hidden;
}

html[data-theme] body.flow-workspace .flowProfileShortcut:not([hidden]) {
  display: grid;
  place-items: center;
}
