@layer components {
  .mention-card {
    display: inline;
    padding: 0.1em 0.3em;
    border-radius: 4px;
    background: var(--primary-100, #dbeafe);
    color: var(--primary-700, #1d4ed8);
    font-weight: 600;
    font-size: inherit;
    vertical-align: baseline;
  }

  .mention-card--rendered {
    background: var(--primary-50, #eff6ff);
    color: var(--primary-600, #2563eb);
  }

  .mention-prompt-menu-item {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.25em 0;
    width: 100%;
  }

  .mention-prompt-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .mention-prompt-menu-item__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
