/* nest-messages-avatar-20261105/source/frontend/account-avatar.css */
.nest-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
  background: var(--secondary,#383a41);
  color: var(--foreground,#eeeef2);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.nest-account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nest-avatar-visibility {
  padding: 22px 0;
  border-block: 1px solid var(--border,#ffffff1a);
  margin-block: 24px;
  font: inherit;
}
.nest-avatar-visibility .nest-avatar-switch {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  cursor: pointer;
  margin: 0;
  color: inherit;
}
.nest-avatar-switch > span {
  flex: 1;
  min-width: 0;
}
.nest-avatar-switch strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.nest-avatar-switch small {
  display: block;
  color: var(--muted-foreground,#a6a8b1);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 5px;
}
.nest-avatar-switch input[type=checkbox] {
  appearance: none;
  position: relative;
  flex: none;
  margin: 0;
  width: 42px;
  height: 25px;
  min-height: 25px;
  padding: 0;
  border: 1px solid #5a5c65;
  border-radius: 30px;
  background: #43464e;
  cursor: pointer;
}
.nest-avatar-switch input:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #f3f3f6;
}
.nest-avatar-switch input:checked {
  border-color: #e63946;
  background: #e63946;
}
.nest-avatar-switch input:checked:before {
  transform: translateX(17px);
}
.nest-avatar-switch input:disabled {
  opacity: .5;
  cursor: wait;
}
.nest-avatar-switch input:focus-visible {
  outline: 2px solid #e63946;
  outline-offset: 4px;
}
.nest-avatar-hint,
.nest-avatar-save-status {
  display: block;
  color: var(--muted-foreground,#a6a8b1);
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 0;
}
.nest-avatar-save-status:empty {
  display: none;
}
.nest-avatar-error {
  font-size: 12px;
  color: #e63946;
  margin-top: 10px;
}
