.customer-merge-dialog { width:min(1180px,calc(100vw - 48px))!important; max-width:1180px!important; }
.customer-merge-dialog button { min-height:44px; }
.customer-merge-heading { position:sticky;top:-24px;z-index:2;background:#fff;padding-block:12px; }
.customer-merge-facts dt,.customer-merge-impact dt { min-width:0;overflow-wrap:anywhere; }
.customer-merge-heading,.customer-merge-card-head,.customer-merge-actions {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.customer-merge-heading h2 {margin:0;}
.customer-merge-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:24px 0;border-bottom:1px solid #dbe2ec;color:#69768c;}
.customer-merge-steps li {padding:12px 0;}
.customer-merge-steps [aria-current] {color:#5140d9;border-bottom:2px solid #6651e7;font-weight:650;}
.customer-merge-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.customer-merge-card {border:1px solid #cbd5e4;border-radius:10px;overflow:hidden;background:#fff;min-width:0;padding:16px;}
.customer-merge-card.is-selected {border:2px solid #7864e7;padding:15px;}
.customer-merge-card-head {background:#f2f4fa;margin:-16px -16px 16px;padding:16px;}
.customer-merge-card.is-selected .customer-merge-card-head {background:#f0ecfc;}
.customer-merge-card h3 {margin:6px 0;font-size:18px;}
.customer-merge-note {color:#57667d;line-height:1.65;margin:10px 0;overflow-wrap:anywhere;}
.customer-merge-facts,.customer-merge-impact {display:grid;grid-template-columns:minmax(100px,0.4fr) minmax(0,1fr);gap:12px 16px;line-height:1.6;}
.customer-merge-facts dt,.customer-merge-impact dt {color:#596982;}
.customer-merge-facts dd,.customer-merge-impact dd {margin:0;overflow-wrap:anywhere;}
.customer-merge-radio,.customer-merge-check {display:flex;align-items:flex-start;gap:10px;line-height:1.65;padding:12px 0;}
.customer-merge-radio input,.customer-merge-check input {width:18px;height:18px;flex:0 0 18px;margin:3px 0;accent-color:#6651e7;}
.customer-merge-section {padding:18px 0;border-top:1px solid #dbe2ec;margin-top:18px;}
.customer-merge-section h3 {margin:0 0 12px;}
.customer-merge-section fieldset {border:0;padding:8px 0;margin:0;min-width:0;}
.customer-merge-section legend {font-weight:600;}
.customer-merge-field {display:flex;flex-direction:column;gap:8px;margin:14px 0;}
.customer-merge-field input,.customer-merge-field textarea,.customer-merge-search select {width:100%;box-sizing:border-box;border:1px solid #cbd5e4;border-radius:6px;padding:10px 12px;font:inherit;background:white;color:inherit;}
.customer-merge-field textarea {min-height:84px;resize:vertical;}
.customer-merge-actions {margin-top:24px;padding-top:18px;border-top:1px solid #dbe2ec;}
.customer-merge-candidate {padding:14px 0;border-bottom:1px solid #e4e8f0;}
.customer-merge-dialog [data-merge-error]:empty {display:none;}
.customer-merge-search {display:grid;grid-template-columns:1fr;gap:4px;}
.customer-merge-search button {justify-self:start;}
@media(max-width:680px){.customer-merge-dialog {width:calc(100vw - 20px)!important;padding:18px!important;}.customer-merge-cards {grid-template-columns:1fr;}.customer-merge-heading {align-items:flex-start;}.customer-merge-heading h2 {font-size:21px;}.customer-merge-steps {font-size:12px;gap:8px;}.customer-merge-actions {flex-wrap:wrap;}.customer-merge-facts,.customer-merge-impact {grid-template-columns:100px minmax(0,1fr);gap:10px;}.customer-merge-card-head {align-items:flex-start;}.customer-merge-card-head button {white-space:nowrap;}}
