/* Ô nhập trao đổi (TipTap): chữ thuần + chip nhắc đến/tài nguyên nằm ngay trong dòng. */
.fw-mention .tiptap {
    min-height: 2.6em;
    max-height: 9em;
    overflow-y: auto;
    outline: none;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
@media (min-width: 769px) { .fw-mention .tiptap { min-height: 3.9em; } }
.fw-mention .tiptap p { margin: 0; }
.fw-mention .tiptap p.is-editor-empty:first-child::before {
    content: attr(data-placeholder);
    color: #9ca3af;
    float: left;
    height: 0;
    pointer-events: none;
}
/* Đoạn đang gõ sau @ / # */
.fw-mention .tiptap .suggestion { background: #eff6ff; border-radius: 3px; }
/* Chip đang được chọn (bấm vào / Shift+mũi tên) */
.fw-mention .tiptap [data-node-view-wrapper].ProseMirror-selectednode > * { box-shadow: 0 0 0 2px #7dd3fc; border-radius: 9999px; }
