/* D09: "Merge duplicate records" as the 28 Oct design, for the contact record, the Contacts
   preview and the company record (src/features/duplicates/design/). Rules copied from the drop's
   components/record-popups.css (overlay, window, tip) and components/record-popups-hs.css
   (window parts, popover, merge, select properties). Every selector is .hx- or .rpx-, which no
   other page uses (merge-design.css.test.ts). */

/* record-popups.css:120-123 */
.rpx-modal-ov { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 16px; background: rgba(16, 24, 40, .5); opacity: 0; transition: opacity .15s; }
.rpx-modal-ov.is-open { opacity: 1; }
.rpx-modal { display: flex; flex-direction: column; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow: hidden; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 24px 60px rgba(16, 24, 40, .25); transform: translateY(8px); transition: transform .15s; }
.rpx-modal-ov.is-open .rpx-modal { transform: none; }

/* record-popups.css:140-143 */
.rpx-tip { position: relative; display: inline-grid; place-items: center; color: var(--text-muted); cursor: help; border-radius: 50%; }
.rpx-tip:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.rpx-tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 2; width: 240px; padding: 8px 10px; border-radius: 8px; background: var(--text); color: var(--surface); font-size: 12.5px; line-height: 1.45; white-space: normal; transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s; }
.rpx-tip:hover::after, .rpx-tip:focus-visible::after { opacity: 1; visibility: visible; }

/* record-popups-hs.css:6-11, :14, :24-25 */
.hx-i { width: 16px; height: 16px; flex: none; }
.hx-caret { width: 18px; height: 18px; flex: none; margin-left: 2px; }
.hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hx-lead { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.hx-muted { color: var(--text-muted); font-size: 14px; }
.hx-link { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 600; text-decoration: none; }
.hx-linkbtn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: none; color: var(--brand); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hx-tipi { display: inline-grid; place-items: center; margin-left: 4px; vertical-align: middle; }
.hx-tipi .hx-i { width: 16px; height: 16px; }

/* record-popups-hs.css:34-38, :41 */
.hx-searchbox { position: relative; display: inline-flex; align-items: center; }
.hx-searchbox input { width: 100%; height: 40px; padding: 0 40px 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; font-size: 14.5px; }
.hx-searchbox input:focus { outline: 0; border-color: var(--brand); box-shadow: var(--focus-ring); }
.hx-searchbox input::-webkit-search-cancel-button { display: none; }
.hx-searchbox .hx-i { position: absolute; right: 13px; color: var(--text-muted); pointer-events: none; }
.hx-searchbox--full { width: 100%; }

/* record-popups-hs.css:54-72 (the single-select popover) */
.hx-pop { position: fixed; z-index: 10200; display: flex; flex-direction: column; width: 300px; max-width: calc(100vw - 16px); max-height: min(440px, calc(100vh - 40px)); border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 16px 40px rgba(16, 24, 40, .2); }
.hx-pop--wide { width: 400px; }
.hx-pop--select { border-radius: 12px; }
.hx-pop--select .hx-pop__arrow { display: none; }
.hx-pop--select .hx-pop__search { border-radius: 12px 12px 0 0; }
.hx-pop__arrow { position: absolute; top: -9px; width: 16px; height: 16px; border-top: 1px solid var(--border-strong); border-left: 1px solid var(--border-strong); background: var(--surface-2); transform: rotate(45deg); }
.hx-pop.is-up .hx-pop__arrow { top: auto; bottom: -9px; transform: rotate(225deg); background: var(--surface); }
.hx-pop__search { padding: 12px; border-radius: 14px 14px 0 0; background: var(--surface-2); }
.hx-pop__search .hx-searchbox { width: 100%; }
.hx-pop__list { flex: 1 1 auto; min-height: 0; padding: 6px 0; overflow-y: auto; }
.hx-pop__opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 18px; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.hx-pop__opt:hover, .hx-pop__opt:focus-within, .hx-pop__opt--single:focus-visible { outline: 0; background: var(--surface-hover); }
.hx-pop__opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--brand); }
.hx-pop__opt span { display: flex; flex-direction: column; min-width: 0; }
.hx-pop__opt small { margin-top: 3px; color: var(--text-muted); font-size: 13px; }
.hx-pop__opt.is-on { background: var(--brand-soft, #eef3ff); font-weight: 600; }
.hx-pop__none { margin: 0; padding: 14px 18px; color: var(--text-muted); font-size: 14px; }

/* record-popups-hs.css:103, :105, :107-116 */
.hx-modal { width: min(1000px, 100%); border-radius: 16px; }
.hx-modal--xl { width: min(1180px, 100%); }
.hx-modal__head { display: flex; align-items: center; gap: 12px; padding: 24px 28px 22px 40px; border-bottom: 1px solid var(--border-strong); }
.hx-modal__head h2 { flex: 1; margin: 0; font-size: 24px; font-weight: 600; line-height: 1.25; }
.hx-modal__head [data-back]:empty { display: none; }
.hx-x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--text); cursor: pointer; }
.hx-x:hover { background: var(--surface-hover); }
.hx-x .hx-i { width: 22px; height: 22px; }
.hx-back { margin-left: -14px; }
.hx-modal__body { display: flex; flex-direction: column; gap: 20px; padding: 28px 40px 32px; overflow-y: auto; font-size: 15px; line-height: 1.6; }
.hx-modal__body > p { margin: 0; }
.hx-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; padding: 18px 40px 26px; border-top: 1px solid var(--border); }

/* record-popups-hs.css:136-185, merge */
.hx-merge { display: flex; flex-direction: column; gap: 16px; }
.hx-merge__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.hx-merge__top h3 { margin: 0; font-size: 22px; font-weight: 500; }
.hx-merge__panel { display: grid; grid-template-columns: minmax(0, 1.15fr) 48px minmax(0, 1fr); gap: 16px; padding: 20px 24px; border-radius: 4px; background: var(--surface-3, #eef0f2); }
.hx-merge__lbl { display: inline-flex; align-items: center; margin: 0; font-size: 14px; font-weight: 700; }
.hx-merge__selrow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
.hx-select { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; height: 42px; padding: 0 12px 0 16px; border: 1px solid var(--text); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.hx-select span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-select:disabled { border-color: var(--border); background: var(--surface-2); color: var(--text-muted); cursor: default; }
.hx-merge__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.hx-mcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface-2); font-size: 14px; cursor: pointer; }
.hx-mcard, .hx-mcard__who > span { min-width: 0; }
.hx-mcard__who span span { white-space: nowrap; text-overflow: ellipsis; }
.hx-mcard.is-on { border-color: var(--text); background: var(--surface); box-shadow: 0 6px 14px rgba(16, 24, 40, .1); }
.hx-mcard.is-empty { cursor: default; color: var(--text-muted); }
.hx-mcard > input { position: absolute; top: 22px; left: 16px; width: 20px; height: 20px; margin: 0; accent-color: var(--text); }
.hx-mcard.is-empty > input { position: static; }
.hx-mcard__who { display: flex; align-items: center; gap: 10px; padding-left: 30px; min-width: 0; }
.hx-mcard__who strong { display: block; font-size: 15px; }
.hx-mcard__who span span { display: block; overflow: hidden; text-overflow: ellipsis; }
.hx-mcard__link.is-dis { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); }
.hx-mcard dl, .hx-mprev dl { margin: 0; }
.hx-mcard dt, .hx-mprev dt { color: var(--text-muted); font-size: 14px; }
.hx-mcard dd { margin: 2px 0 0; }
.hx-merge__rows { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.hx-mrow { display: grid; grid-template-columns: 1fr 26px 1fr; align-items: center; gap: 6px; }
.hx-mopt { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface-2); font-size: 14.5px; cursor: pointer; }
.hx-mopt.is-on { border-color: var(--text); }
.hx-mopt.is-dis { color: var(--text-muted); cursor: default; }
.hx-mopt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--text); }
.hx-mopt span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.hx-mopt small { color: var(--text-muted); font-size: 13.5px; }
.hx-mswap { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--text-muted); cursor: pointer; }
.hx-mswap:disabled { cursor: default; opacity: .6; }
.hx-mswap .hx-i { width: 14px; height: 14px; }
.hx-merge__arrow { display: grid; place-items: center; color: var(--text-muted); }
.hx-merge__arrow .hx-i { width: 40px; height: 40px; stroke-width: 1.2; }
.hx-mprev { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-size: 15px; }
.hx-mprev .hx-mcard__who { padding-left: 0; }
.hx-mprev .hx-mcard__who strong { font-size: 22px; font-weight: 500; }
.hx-mprev h4 { margin: 8px 0 0; font-size: 15px; font-weight: 700; }
.hx-mprev dd { margin: 2px 0 14px; }
.hx-av { position: relative; display: inline-grid; flex: none; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #e5e5e5; color: var(--text-muted); font-size: 12px; font-weight: 700; }
.hx-av img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 4px; box-sizing: border-box; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #e5e5e5; object-fit: contain; }
.hx-av--lg { width: 54px; height: 54px; font-size: 18px; }
.hx-av--ph { margin-left: 30px; }
.hx-mcard.is-empty .hx-av--ph { margin: -28px 0 0 34px; }

/* record-popups-hs.css:187-200, select properties */
.hx-sp { display: flex; flex-direction: column; gap: 22px; }
.hx-sp__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; }
.hx-sp__grid > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.hx-sp__list { display: flex; flex-direction: column; max-height: 420px; overflow-y: auto; }
.hx-sp__opt { display: flex; align-items: center; gap: 14px; padding: 10px 2px; font-size: 15.5px; cursor: pointer; }
.hx-sp__opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.hx-sp__right { padding-left: 34px; border-left: 1px solid var(--border); }
.hx-sp__right h4 { margin: 8px 0 18px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hx-sp__sel { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; max-height: 420px; overflow-y: auto; }
.hx-sp__card { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; border: 1px solid var(--text); border-radius: 4px; background: var(--surface); font-size: 15px; cursor: grab; }
.hx-sp__card > span:nth-child(2) { flex: 1; }
.hx-sp__drag { display: inline-flex; color: var(--text-muted); }
.hx-sp__x, .hx-sp__up { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--text-muted); cursor: pointer; }
.hx-sp__up { opacity: 0; }
.hx-sp__card:hover .hx-sp__up, .hx-sp__up:focus-visible { opacity: 1; }

/* record-popups-hs.css:235-244 (the merge, select properties and window lines) */
@media (max-width: 860px) {
    .hx-merge__panel { grid-template-columns: 1fr; padding: 14px; }
    .hx-merge__arrow { transform: rotate(90deg); height: 40px; }
    .hx-sp__grid { grid-template-columns: 1fr; }
    .hx-sp__right { padding-left: 0; border-left: 0; }
    .hx-modal__head { padding: 18px 16px 16px 20px; }
    .hx-modal__body { padding: 20px; }
    .hx-modal__foot { padding: 16px 20px 20px; }
    .hx-merge__selrow, .hx-merge__cards { grid-template-columns: 1fr; }
}

/* PH1: "<Name> - Property history" (src/features/property-history/PropertyHistoryDesign.tsx), from
   record-popups-hs.css:13-30, :39, :44-50, :73-81, :84-100, :243. The drawer's width is in
   modal.css (.ph-drawer). */
.hx-link:hover { text-decoration: underline; }
.hx-empty { padding: 28px 12px !important; text-align: center; color: var(--text-muted); }
.hx-nowrap { white-space: nowrap; }
.hx-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.hx-btn-ext { display: inline-flex; align-items: center; gap: 6px; }
.hx-btn-ext .hx-i { width: 14px; height: 14px; }
.hx-headtip { display: inline-flex; margin-left: auto; margin-right: 6px; }
.hx-headtip .rpx-tip::after { left: auto; right: -8px; transform: none; top: calc(100% + 8px); bottom: auto; }
.hx-src { display: inline-flex; align-items: center; }
.hx-trunc { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-searchbox--md { width: 280px; }
.hx-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 28px; }
.hx-filter { display: inline-flex; align-items: center; gap: 14px; }
.hx-filter__l { font-size: 15px; font-weight: 500; }
.hx-filter__b { display: inline-flex; align-items: center; gap: 2px; padding: 4px 6px; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.hx-filter__b:hover { background: var(--surface-hover); }
.hx-filter__b[aria-expanded="true"] { border-color: var(--brand); }
.hx-filter__b:focus-visible, .hx-sort:focus-visible, .hx-pager button:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.hx-pop__foot { padding: 14px; border: 0; border-top: 1px solid var(--border); border-radius: 0 0 14px 14px; background: var(--surface); color: var(--text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.hx-pop__foot:hover { background: var(--surface-hover); }
.hx-pop__custom { padding: 10px 14px 14px; border-top: 1px solid var(--border); }
.hx-pop__add { padding: 4px 2px; border: 0; background: none; color: var(--brand); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hx-pop__range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.hx-pop__range[hidden] { display: none; }
.hx-pop__range label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.hx-pop__range input { height: 36px; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font: inherit; font-size: 13px; }
.hx-pop__range button { grid-column: 1 / -1; }
.hx-tablewrap { overflow-x: auto; }
.hx-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.hx-table th { padding: 14px 16px; border-bottom: 1px solid var(--text-muted); color: var(--text-muted); font-weight: 500; text-align: left; white-space: nowrap; }
.hx-table td { padding: 18px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; line-height: 1.45; }
.hx-table tbody tr:hover { background: var(--surface-hover); }
.hx-sort { display: inline-flex; align-items: center; gap: 8px; padding: 2px; border: 0; border-radius: 4px; background: none; color: inherit; font: inherit; cursor: pointer; }
.hx-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 16px 0 4px; }
.hx-pager button { display: inline-flex; align-items: center; gap: 6px; min-width: 30px; height: 34px; padding: 0 6px; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.hx-pager button:hover:not(:disabled) { background: var(--surface-hover); }
.hx-pager button:disabled { color: var(--text-muted); cursor: default; opacity: .7; }
.hx-pager__n { display: inline-grid; place-items: center; min-width: 32px; height: 34px; padding: 0 6px; border: 1px solid transparent; border-radius: 6px; font-size: 15px; font-weight: 700; }
.hx-pager__n.is-on { border-color: var(--border-strong); background: var(--surface-2); }
.hx-ph { display: flex; flex-direction: column; gap: 22px; }

/* G12: View record access (record-popups-hs.js access()). record-popups-hs.css:22-23, :40, :50
   (tabs, select), :51, :146, :208-209, :224-233 */
.hx-tag { display: block; width: max-content; margin-top: 4px; padding: 1px 8px; border-radius: 4px; background: var(--surface-3); font-size: 12px; font-weight: 600; }
.hx-sub { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13.5px; }
.hx-searchbox--sm { width: 240px; }
.hx-filter__b--strong { font-size: 15px; }
.hx-select--lg { width: min(440px, 100%); height: 46px; font-weight: 400; }
.hx-select:focus-visible, .hx-tabs button:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.hx-field { display: flex; flex-direction: column; gap: 8px; }
.hx-field label, .hx-field__l { font-size: 15px; font-weight: 700; }
.hx-acc { display: flex; flex-direction: column; gap: 22px; }
.hx-field--owner { gap: 10px; }
.hx-field--owner .hx-muted { margin: 2px 0 0; }
.hx-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); }
.hx-tabs button { padding: 12px 16px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.hx-tabs button[aria-selected="true"] { border-bottom-color: var(--text); font-weight: 600; }
.hx-tabp { display: flex; flex-direction: column; gap: 18px; }
.hx-tabp > p { margin: 0; font-size: 15px; }
.hx-hbox { display: flex; align-items: center; gap: 12px; padding: 20px; border: 1px solid var(--border); border-radius: 8px; }
.hx-hbox .hx-select { min-width: 220px; height: 38px; font-weight: 400; }
@media (max-width: 860px) {
    .hx-searchbox--md, .hx-searchbox--sm { width: 100%; }
}

/* record-popups.css:149-151 */
@media (max-width: 600px) {
    .rpx-modal-ov { align-items: end; padding: 0; }
    .rpx-modal { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
}

/* The app's toasts (style.css .toast-region, z-index 2000) stay above this window while it is
   open, so a failed merge's message shows. */
body:has(.hx-modal-ov) .toast-region { z-index: 10300; }

/* LD4: "Delete <Object>?" on the contact and company records (DeleteRecordDialog.tsx).
   record-popups.css:119, :124-139, :144-148; the overlay, window and tip are above. */
.rpx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rpx-modal__head { position: relative; padding: 40px 72px 32px 40px; border-bottom: 1px solid var(--border-strong); }
.rpx-modal__head h2 { margin: 0; font-size: 30px; font-weight: 400; line-height: 1.2; }
.rpx-modal__x { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
.rpx-modal__x:hover { background: var(--surface-hover); }
.rpx-modal__x svg { width: 22px; height: 22px; }
.rpx-modal__body { display: flex; flex-direction: column; gap: 18px; padding: 28px 40px 8px; overflow-y: auto; font-size: 15px; line-height: 1.65; }
.rpx-modal__body p { margin: 0; }
.rpx-modal__body strong { font-weight: 500; }
.rpx-modal__link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; text-decoration: none; }
.rpx-modal__link:hover { text-decoration: underline; }
.rpx-delopts { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; border: 0; }
.rpx-delopt { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.rpx-delopt input { width: 22px; height: 22px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--text); cursor: pointer; }
.rpx-delopt__txt { display: flex; flex-direction: column; gap: 4px; }
.rpx-delopt__title { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; }
.rpx-delopt__desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.rpx-modal__foot { display: flex; flex-wrap: wrap; gap: 14px; padding: 24px 40px 36px; }
.rpx-btn-delete { height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: #a51d2a; color: #fff; font-size: 16px; font-weight: 700; }
.rpx-btn-delete:hover { background: #8a1621; }
.rpx-btn-delete:focus-visible, .rpx-btn-pill:focus-visible, .rpx-modal__x:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.rpx-btn-pill { height: 48px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 700; }

/* record-popups.css:152-158 */
@media (max-width: 600px) {
    .rpx-modal__head { padding: 24px 60px 20px 20px; }
    .rpx-modal__head h2 { font-size: 24px; }
    .rpx-modal__x { top: 14px; right: 12px; }
    .rpx-modal__body { padding: 20px 20px 4px; font-size: 14.5px; }
    .rpx-modal__foot { padding: 18px 20px 24px; }
    .rpx-modal__foot .btn-crm { flex: 1 1 auto; }
    .rpx-tip::after { left: auto; right: -40px; transform: none; width: 200px; }
}
