.mention-popover {
    position: absolute;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    padding: 6px 0;
    display: none;
    z-index: 100000;
    overflow: hidden;
}

.mention-popover .item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.mention-popover .item.active,
.mention-popover .item:hover {
    background: #f0f5ff;
}

.mention-popover .mention-title {
    font-weight: 700;
    color: #1677ff;
}

.mention-popover .mention-sub {
    font-size: 13px;
    color: #333;
}

.mention-popover .mention-desc {
    font-size: 12px;
    color: #999;
}

.mention-chip-wrap {
    /*margin-bottom: 6px;*/
}

.mention-chip {
    display: inline-flex;
    align-items: center;
    background: #e6f4ff;
    border: 1px solid #91caff;
    border-radius: 18px;
    padding: 6px 10px 6px 8px;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1677ff;
}

.mention-chip .mention-text {
    width: max-content;
}

.mention-chip button.mention-remove {
    background: transparent;
    border: none;
    color: #1677ff;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
}

.mention-chip button.mention-remove:hover {
    color: #ff4d4f;
}
