.matching-config { margin-bottom: 18px; }
.field-chip-list { display: flex; gap: 8px; flex-wrap: wrap; }
.field-chip { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; background: #f6f9ff; padding: 6px 7px; cursor: grab; }
.field-chip:active { cursor: grabbing; }
.field-chip label { font-size: 12px; white-space: nowrap; }
.field-chip input { width: auto; }
.field-chip button { border: 0; background: transparent; color: var(--red); cursor: pointer; font-size: 16px; line-height: 1; }
.drag-handle { color: var(--muted); }
.matching-output-map { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.matching-output-map label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; }
.badge.review_pending { background: #e8eefb; color: #3451b2; }
.badge.review_returned { background: #fde8e7; color: #b42318; }
.badge.review_draft { background: #eef1ef; color: #5f6964; }
.table.resizable-columns { table-layout: fixed; min-width: 100%; }
.matching-original-value { white-space: pre-wrap; overflow-wrap: anywhere; }
.matching-draft-operation { display: grid; gap: 5px; align-items: start; }
.matching-draft-operation .button { justify-self: start; margin-top: 3px; }
.table.resizable-columns th { position: relative; overflow: visible; }
.table.resizable-columns td { overflow: hidden; overflow-wrap: anywhere; }
.column-resizer { position: absolute; z-index: 3; top: 0; right: -4px; width: 9px; height: 100%; cursor: col-resize; touch-action: none; user-select: none; }
.column-resizer::after { content: ''; position: absolute; top: 18%; bottom: 18%; left: 4px; width: 1px; background: transparent; }
.column-resizer:hover::after,
.column-resizer.active::after { background: #3b82f6; }
body.resizing-column { cursor: col-resize !important; user-select: none !important; }
[data-enter-matching-batch] { cursor: pointer; }
[data-enter-matching-batch]:hover td { background: #f1f6ff; }
.contact-send-failed td { background: #fff1f0; }
.contact-send-failed td:nth-child(4) { color: var(--red); font-weight: 650; }
.contact-send-failed:hover td { background: #ffe4e1; }
.needs-review-row td { background: #fff1f0; }
.needs-review-row:hover td { background: #ffe4e1 !important; }
