.quote-merge-dialog { width:min(600px,calc(100vw - 28px)); max-height:calc(100dvh - 40px); padding:0; overflow:auto; border:1px solid #e1d8de; border-radius:18px; color:#302d33; background:#fff; box-shadow:0 24px 80px #1e15253d; }
.quote-merge-dialog::backdrop { background:#211a2b80; backdrop-filter:blur(3px); }
.quote-merge-dialog>header { display:flex; align-items:center; justify-content:space-between; padding:22px 24px 16px; border-bottom:1px solid #eee8ed; }
.quote-merge-dialog header small { color:#a90d35; font-size:12px; font-weight:750; }
.quote-merge-dialog h3 { margin:5px 0 0; font-size:22px; letter-spacing:-.025em; }
.quote-merge-dialog header button { width:36px; height:36px; border:1px solid #e6dee3; border-radius:9px; background:#fff; color:#6f6070; font-size:24px; cursor:pointer; }
.quote-merge-description { margin:16px 24px; color:#7b6d78; font-size:13px; line-height:1.6; }
.quote-merge-source { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 24px 16px; padding:14px; border:1px solid #e7ccd6; border-radius:11px; background:#fff5f8; }
.quote-merge-source>span { display:grid; gap:5px; min-width:0; }
.quote-merge-source b { font-size:13px; }
.quote-merge-source small { color:#846d79; font-size:11px; line-height:1.5; }
.quote-merge-source>strong { flex-shrink:0; color:#a90d35; font-size:16px; }
.quote-merge-dates { display:flex; align-items:center; gap:8px; margin:0 24px 14px; font-size:12px; color:#6f6170; }
.quote-merge-dialog input[type="checkbox"] { width:18px; height:18px; accent-color:#b70932; flex-shrink:0; }
.quote-merge-choices { display:grid; gap:9px; margin:0 24px 20px; }
.quote-merge-choice { display:grid; grid-template-columns:18px minmax(0,1fr) auto; align-items:center; gap:12px; padding:14px; border:1px solid #e6dfe4; border-radius:11px; cursor:pointer; }
.quote-merge-choice:has(input:checked) { border-color:#cb7a93; background:#fff7f9; }
.quote-merge-choice>span { display:grid; gap:5px; }
.quote-merge-choice b { font-size:13px; line-height:1.4; }
.quote-merge-choice small { color:#8a7e88; font-size:10px; line-height:1.5; }
.quote-merge-choice>strong { color:#3b313c; font-size:14px; white-space:nowrap; }
.quote-merge-error { margin:0 24px 16px; padding:12px; color:#ae163f; background:#fff0f4; border-radius:9px; font-size:12px; }
.quote-merge-dialog>footer { display:flex; align-items:center; justify-content:space-between; gap:14px; position:sticky; bottom:0; padding:18px 24px; border-top:1px solid #e9e0e6; background:#fff; }
.quote-merge-dialog footer>div { display:grid; gap:5px; }
.quote-merge-dialog footer small { font-size:11px; color:#887a84; }
.quote-merge-dialog footer strong { color:#a90d35; font-size:24px; letter-spacing:-.025em; }
.quote-merge-submit { min-height:46px; padding:0 18px; border:0; border-radius:10px; color:#fff; background:#b70932; font-size:13px; font-weight:700; cursor:pointer; }
.quote-merge-submit:disabled { background:#d6ccd1; cursor:default; }
.quote-merged-label { color:#9e3660; white-space:normal; }
@media(max-width:480px) {
 .quote-merge-dialog>header { padding:18px; }
 .quote-merge-description,.quote-merge-dates { margin-inline:18px; }
 .quote-merge-source,.quote-merge-choices { margin-inline:18px; }
 .quote-merge-source { flex-wrap:wrap; }
 .quote-merge-choice { grid-template-columns:18px minmax(0,1fr); padding:12px; }
 .quote-merge-choice>strong { grid-column:2; }
 .quote-merge-dialog>footer { padding:16px 18px; }
 .quote-merge-dialog footer strong { font-size:21px; }
 .quote-merge-submit { padding-inline:12px; font-size:12px; }
}
