/* Project-wide AI avatar geometry. Every identity renders one circular main image:
   clones and personal assistants default to the Eva logo (or a chosen icon/image),
   other identities keep their own single image. No second corner badge is composed. */
  .eva-identity-avatar {
    position: relative;
    display: inline-flex;
    width: var(--eva-identity-avatar-size, 32px);
    height: var(--eva-identity-avatar-size, 32px);
    flex: 0 0 var(--eva-identity-avatar-size, 32px);
    border-radius: 50%;
  }

  .eva-identity-avatar__logo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--eva-identity-avatar-background, var(--semi-color-fill-0, #f2f3f5));
    object-fit: cover;
  }

/* Personal-assistant icon main: one centered emoji/icon on the same circular surface. */
  .eva-identity-avatar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--eva-identity-avatar-background, var(--semi-color-fill-0, #f2f3f5));
    font-size: calc(var(--eva-identity-avatar-size, 32px) * 0.5);
    line-height: 1;
    user-select: none;
  }

/* Placement belongs to the name row; badge appearance stays with Octo. */
.wk-chat-conversation-header-channel-info > .ai-badge { margin-inline-start: 6px; }

/* Follow the contacts name row: badge follows the name, never a stretched column. */
.eva-identity-name-row { display: flex; align-items: center; min-width: 0; gap: 6px; }
.eva-identity-name-row > .eva-identity-name-text { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eva-identity-name-row > .ai-badge { flex-shrink: 0; }

/* Only the profile card displays an explicit, navigable owner relationship. */
.eva-identity-owner { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--semi-color-text-2); font-weight: 400; font-size: var(--gds-type-label-font-size); }
.eva-identity-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.wk-msg-row-header > .wk-msg-row-sender { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-msg-row-header > .ai-badge,
.wk-msg-row-header > .wk-msg-row-timestamp { flex-shrink: 0; }
