/* ---------------------------------------------------------------------------
 *  Activity preview panel (Calls / Meetings lists) - HubSpot parity.
 *  Docked card on the right; the list card shrinks beside it (no overlay).
 *  Loaded by includes/activity-preview.php; script: assets/js/activity-preview.js
 * ------------------------------------------------------------------------- */
.apv {
    --apv-w: 420px;
    --apv-line: var(--border, #dfe3eb);
    --apv-text: var(--text, #1f2937);
    --apv-muted: var(--text-muted, #516f90);
    --apv-surface: var(--surface, #fff);
    --apv-link: var(--brand, #2456e6);
    position: fixed;
    top: 88px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: none;
    flex-direction: column;
    width: var(--apv-w);
    max-width: calc(100vw - 32px);
    border: 1px solid var(--apv-line);
    border-radius: 16px;
    background: var(--apv-surface);
    color: var(--apv-text);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    font-size: 14px;
    overflow: hidden;
}
.apv-open .apv { display: flex; }
.apv-open .app__main { padding-right: calc(var(--apv-w, 420px) + 32px); transition: padding-right .15s ease; }
.apv-row-on > th, .apv-row-on > td { background: var(--surface-hover, #f5f8fa) !important; }

.apv__head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--apv-line); }
.apv__h { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: -.01em; }
.apv__close { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
.apv__close:hover { background: var(--surface-hover, #f5f8fa); }
.apv__close .apv-i { width: 18px; height: 18px; }
.apv__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

.apv-i { width: 16px; height: 16px; flex: 0 0 auto; vertical-align: -3px; }
.apv-i--xs { width: 13px; height: 13px; margin-left: 4px; vertical-align: -2px; }
.apv-i--tri { width: 14px; height: 14px; margin-left: 2px; }

/* headline block */
.apv-top { padding: 12px 24px 22px; border-bottom: 1px solid var(--apv-line); }
.apv-top__bar { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.apv-actions { display: inline-flex; align-items: center; padding: 4px 0; border: 0; background: none; color: var(--apv-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.apv-actions:hover { color: var(--apv-link); }
.apv-title { margin: 0 0 10px; font-size: 24px; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.apv-title--meeting { margin-bottom: 8px; font-size: 22px; font-weight: 600; }
.apv-meta, .apv-by, .apv-when { margin: 0; line-height: 1.5; }
.apv-meta b, .apv-by b { font-weight: 600; }
.apv-when { font-weight: 600; font-size: 15px; }
.apv-by { font-size: 15px; }
.apv-by b { font-size: 15px; }

/* sections */
.apv-sec { border-bottom: 1px solid var(--apv-line); }
.apv-sec__head { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 8px 16px; }
.apv-sec__toggle { display: inline-flex; flex: 1 1 auto; align-items: center; gap: 10px; min-width: 0; padding: 4px 0; border: 0; background: none; color: var(--apv-text); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.apv-sec__caret { transform: rotate(-90deg); transition: transform .15s ease; }
.apv-sec.is-open .apv-sec__caret { transform: none; }
.apv-sec__spacer { flex: 1 1 auto; }
.apv-sec__head .apv-sec__toggle + .apv-sec__spacer { display: none; }
.apv-sec__body { display: none; padding: 0 16px 20px; }
.apv-sec.is-open .apv-sec__body { display: block; }
.apv-add { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border: 0; background: none; color: var(--apv-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.apv-add:hover { color: var(--apv-link); }
.apv-gear { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 50%; background: var(--apv-surface); color: var(--apv-text); cursor: pointer; }
.apv-gear:hover { background: var(--surface-hover, #f5f8fa); }
.apv-gear .apv-i { width: 14px; height: 14px; }

/* Call Recording */
.apv-rec__tools { display: flex; justify-content: flex-end; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--border-strong, #cbd6e2); }
.apv-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 999px; background: var(--apv-surface); color: var(--apv-text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.apv-pill:hover { background: var(--surface-hover, #f5f8fa); }
.apv-pill--primary { border-color: var(--apv-link); background: var(--apv-link); color: #fff; }
.apv-pill--primary:hover { background: var(--brand-hover, #1d47c4); }
.apv-player { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--apv-line); border-radius: 10px; }
.apv-player__play { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--apv-link); color: #fff; cursor: pointer; }
.apv-player__play .apv-i { width: 12px; height: 12px; }
.apv-player__bar { position: relative; flex: 1 1 auto; height: 4px; border-radius: 2px; background: var(--apv-line); }
.apv-player__bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: var(--apv-link); }
.apv-player__t { color: var(--apv-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.apv-notes { margin-top: 12px; padding: 16px 20px 20px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 6px; }
.apv-notes__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.apv-seg { display: inline-flex; border: 1px solid var(--border-strong, #7c98b6); border-radius: 999px; overflow: hidden; }
.apv-seg__btn { height: 30px; padding: 0 14px; border: 0; background: var(--apv-surface); color: var(--apv-text); font: inherit; font-size: 14px; cursor: pointer; }
.apv-seg__btn + .apv-seg__btn { border-left: 1px solid var(--border-strong, #7c98b6); }
.apv-seg__btn.is-on { background: #eaf0f6; }
[data-theme="dark"] .apv-seg__btn.is-on { background: rgba(255,255,255,.12); }
.apv-notes .apv-copy { width: 34px; height: 28px; border: 1px solid var(--border-strong, #7c98b6); border-radius: 999px; }
.apv-notes__pane { min-height: 96px; padding: 0 8px; line-height: 1.55; }
.apv-nots { padding: 40px 12px 24px; text-align: center; }
.apv-nots__art { display: block; width: 150px; height: 110px; margin: 0 auto 24px; border-radius: 12px; background:
    linear-gradient(var(--apv-line), var(--apv-line)) 30px 26px / 90px 3px no-repeat,
    linear-gradient(var(--apv-line), var(--apv-line)) 30px 38px / 76px 3px no-repeat,
    linear-gradient(var(--apv-line), var(--apv-line)) 30px 50px / 84px 3px no-repeat,
    linear-gradient(var(--apv-line), var(--apv-line)) 30px 62px / 60px 3px no-repeat,
    linear-gradient(135deg, #f5f8fa, #e5ebf2); transform: rotate(-8deg); box-shadow: 0 18px 0 -6px #e5ebf2; }
.apv-nots h4 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.apv-nots p { margin: 0; color: var(--apv-text); line-height: 1.6; }

/* About this call */
.apv-field { padding: 6px 8px 10px; }
.apv-field__l { display: block; margin-bottom: 4px; color: var(--apv-muted); font-size: 13px; }
.apv-field__v { display: block; }

/* association cards */
.apv-card { margin-bottom: 14px; padding: 14px 16px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 12px; }
.apv-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.apv-card__logo { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--surface-2, #eaf0f6); color: var(--apv-muted); font-size: 12px; font-weight: 600; }
.apv-card__logo .apv-i { width: 14px; height: 14px; }
.apv-card__name { color: var(--apv-link); font-size: 15px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.apv-card__name:hover { text-decoration: underline; }
.apv-card__line { margin: 0; color: var(--apv-muted); line-height: 1.65; overflow-wrap: anywhere; }
.apv-card__line--muted { color: var(--apv-muted); }
.apv-card__line a { color: var(--apv-link); font-weight: 600; text-decoration: none; }
.apv-card__line a:hover { text-decoration: underline; }
.apv-card__label { margin-top: 4px; }
.apv-copy { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--apv-muted); vertical-align: -5px; cursor: pointer; }
.apv-copy:hover { background: var(--surface-hover, #f5f8fa); color: var(--apv-text); }
.apv-copy .apv-i { width: 13px; height: 13px; }
.apv-link { padding: 0; border: 0; background: none; color: var(--brand, #2456e6); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.apv-link:hover { text-decoration: underline; }
.apv-viewall { display: inline-flex; align-items: center; margin-top: 4px; }
.apv-card__line a { display: inline-flex; align-items: center; max-width: 100%; }
.apv-card__line a, .apv-card__line .apv-copy { vertical-align: middle; }
.apv-menu__item .apv-i--xs { margin-left: 6px; }
.apv-i, .apv svg { display: inline-block; }
.apv-empty { padding: 4px 12px 4px; text-align: center; }
.apv-empty__art { position: relative; display: block; width: 110px; height: 96px; margin: 0 auto 14px; }
.apv-empty__art i { position: absolute; width: 30px; height: 30px; border: 1.5px solid; border-radius: 4px; }
.apv-empty__art i:nth-child(1) { top: 2px; right: 22px; border-color: var(--apv-link); }
.apv-empty__art i:nth-child(2) { top: 30px; left: 40px; border-color: #ff5c35; background: #ff5c35; box-shadow: 0 0 0 6px var(--apv-surface), 0 0 0 7.5px #ff5c35; }
.apv-empty__art i:nth-child(3) { bottom: 4px; left: 16px; border-color: #7e2a70; box-shadow: 0 0 0 6px var(--apv-surface), 0 0 0 7.5px #ff5c35; }
.apv-empty p { margin: 0; line-height: 1.55; }
.apv-muted { color: var(--apv-muted); }

/* Actions menu (with arrow, HubSpot style) */
.apv-menu { position: fixed; z-index: 1000; min-width: 260px; padding: 6px 0; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 14px; background: var(--surface, #fff); color: var(--text, #1f2937); box-shadow: 0 10px 30px rgba(16, 24, 40, .14); font-size: 14px; }
.apv-menu::before { content: ""; position: absolute; top: -8px; left: calc(var(--apv-arrow, 50%) - 8px); width: 14px; height: 14px; border-top: 1px solid var(--border-strong, #cbd6e2); border-left: 1px solid var(--border-strong, #cbd6e2); background: inherit; transform: rotate(45deg); }
.apv-menu__grp + .apv-menu__grp { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border-strong, #cbd6e2); }
.apv-menu__item { display: flex; align-items: center; width: 100%; padding: 10px 20px; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; white-space: nowrap; cursor: pointer; }
.apv-menu__item:hover, .apv-menu__item:focus-visible { background: var(--surface-hover, #f5f8fa); outline: none; }

.apv-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1100; padding: 10px 16px; border-radius: 8px; background: #1f2937; color: #fff; font-size: 13px; transform: translateX(-50%); transition: opacity .3s ease; }
.apv-toast.is-out { opacity: 0; }

/* narrow screens: float over the list instead of squeezing it */
@media (max-width: 1100px) {
    .apv-open .app__main { padding-right: 16px; }
    .apv { box-shadow: 0 12px 40px rgba(16, 24, 40, .2); }
}
@media (max-width: 600px) {
    .apv { top: 64px; right: 0; bottom: 0; width: 100vw; max-width: none; border-radius: 0; }
}

[data-theme="dark"] .apv-pill--primary { color: #fff; }
[data-theme="dark"] .apv-toast { background: #e5e7eb; color: #111827; }

/* links styled as the old buttons */
a.apv-add, a.apv-gear { text-decoration: none; }
a.apv-gear { color: var(--text, #1f2937); }
.apv-card__label { display: inline-block; }

/* drawers: All Properties / Property history / Association History */
.apv-dw { position: fixed; inset: 0; z-index: 1200; }
.apv-dw__scrim { position: absolute; inset: 0; background: rgba(45, 62, 80, .45); }
.apv-dw__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(600px, 100vw); background: var(--surface, #fff); color: var(--text, #1f2937); box-shadow: -8px 0 30px rgba(16, 24, 40, .18); font-size: 14px; animation: apvIn .18s ease; }
.apv-dw__panel--wide { width: min(900px, 100vw); }
@keyframes apvIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.apv-dw__head { display: flex; align-items: center; gap: 8px; padding: 18px 20px 18px 40px; border-bottom: 1px solid var(--border, #dfe3eb); }
.apv-dw__head h2 { flex: 1 1 auto; margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apv-dw__tip { display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--text-muted, #516f90); cursor: help; }
.apv-dw__body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 22px 40px 32px; }
.apv-dw__intro { margin: 0 0 18px; line-height: 1.6; }
.apv-dw__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.apv-dw__bar--split { justify-content: space-between; }
.apv-dw__filters { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.apv-search { position: relative; display: inline-flex; align-items: center; }
.apv-search input { width: 220px; height: 34px; padding: 0 34px 0 14px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 999px; background: var(--surface, #fff); color: inherit; font: inherit; }
.apv-search input:focus { outline: 2px solid var(--brand, #2456e6); outline-offset: 0; border-color: transparent; }
.apv-search .apv-i { position: absolute; right: 12px; color: var(--text-muted, #516f90); pointer-events: none; }
.apv-pill--sm { height: 32px; padding: 0 14px; font-size: 13.5px; text-decoration: none; }
.apv-pill--xs { height: 26px; padding: 0 10px; font-size: 12.5px; text-decoration: none; }
.apv-check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.apv-pg { border-bottom: 0; }
.apv-pg__h { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.apv-pg__h b { font-size: 18px; font-weight: 600; }
.apv-pg__h small { color: var(--text-muted, #516f90); font-size: 13px; }
.apv-pg__h .apv-sec__caret { align-self: center; }
.apv-pg.is-open .apv-sec__caret { transform: none; }
.apv-pg__list { display: none; margin: 0 0 8px 26px; }
.apv-pg.is-open .apv-pg__list { display: block; }
.apv-pg__list dd { margin: 0; }
.apv-tablewrap { overflow-x: auto; border: 1px solid var(--border, #dfe3eb); border-radius: 6px; }
.apv-table { width: 100%; border-collapse: collapse; }
.apv-table th { padding: 12px 16px; border-bottom: 1px solid var(--border, #dfe3eb); background: var(--surface-2, #f5f8fa); font-weight: 500; text-align: left; white-space: nowrap; }
.apv-table td { padding: 14px 16px; border-bottom: 1px solid var(--border, #dfe3eb); line-height: 1.45; vertical-align: middle; }
.apv-table tr:last-child td { border-bottom: 0; }
.apv-table tbody tr:hover td { background: var(--surface-hover, #f5f8fa); }
.apv-table__empty { color: var(--text-muted, #516f90); text-align: center; }
.apv-sort { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.apv-badge { display: inline-block; padding: 2px 8px; border: 1px solid #00bda5; border-radius: 4px; background: #e5f8f6; color: #00574b; font-size: 12px; }
.apv-pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; color: var(--text-muted, #516f90); }
.apv-pager button { border: 0; background: none; color: inherit; font: inherit; }
.apv-pager .is-on { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 6px; color: var(--text, #1f2937); }

/* Add to playlist popover */
.apv-menu--pl { width: 280px; padding: 12px 0 8px; }
.apv-menu__title { margin: 0 16px 8px; font-weight: 600; }
.apv-menu__empty { margin: 0 16px 8px; color: var(--text-muted, #516f90); }
.apv-menu__check { gap: 8px; padding: 8px 16px; }
.apv-menu__new { display: flex; gap: 8px; margin: 8px 12px 4px; padding-top: 10px; border-top: 1px solid var(--border, #dfe3eb); }
.apv-menu__new input { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 6px; background: var(--surface, #fff); color: inherit; font: inherit; }
@media (max-width: 640px) { .apv-dw__head { padding-left: 20px; } .apv-dw__body { padding: 18px 20px 24px; } }

/* HubSpot-style filter triggers ("Property  All ▾") */
.apv-dw__filters { align-items: center; gap: 28px; }
.apv-flt { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.apv-flt__btn { display: inline-flex; align-items: center; gap: 2px; padding: 2px 0; border: 0; background: none; color: var(--text, #1f2937); font: inherit; font-weight: 600; cursor: pointer; }
.apv-flt__btn:hover, .apv-flt__btn[aria-expanded="true"] { color: var(--brand, #2456e6); }
.apv-flt__btn:focus-visible { outline: 2px solid var(--brand, #2456e6); outline-offset: 2px; border-radius: 4px; }
.apv-clearall { padding: 0; border: 0; background: none; color: var(--text, #1f2937); font: inherit; font-weight: 600; cursor: pointer; }
.apv-clearall:hover { color: var(--brand, #2456e6); text-decoration: underline; }
.apv-sort { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.apv-sort__ic { display: inline-flex; min-width: 14px; color: var(--text, #1f2937); }
.apv-i--sort { width: 14px; height: 14px; }

/* the dropdown popover */
.apv-dd { position: fixed; z-index: 1300; display: flex; flex-direction: column; min-width: 220px; max-width: 320px; max-height: min(420px, calc(100vh - 140px)); border: 1px solid var(--border-strong, #cbd6e2); border-radius: 14px; background: var(--surface, #fff); color: var(--text, #1f2937); box-shadow: 0 10px 30px rgba(16, 24, 40, .14); font-size: 14px; }
.apv-dd::before { content: ""; position: absolute; top: -8px; left: calc(var(--apv-arrow, 40px) - 7px); width: 14px; height: 14px; border-top: 1px solid var(--border-strong, #cbd6e2); border-left: 1px solid var(--border-strong, #cbd6e2); background: var(--surface, #fff); transform: rotate(45deg); }
.apv-dd--search { width: 300px; }
.apv-dd--search::before { background: var(--surface-2, #f5f8fa); }
.apv-dd__search { padding: 12px; border-radius: 14px 14px 0 0; background: var(--surface-2, #f5f8fa); }
.apv-search--dd { display: flex; }
.apv-search--dd input { width: 100%; height: 40px; border: 2px solid var(--brand, #2456e6); }
.apv-dd__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 0; }
.apv-dd__opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 20px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.apv-dd__opt:hover, .apv-dd__opt:focus-visible, .apv-dd__opt:focus-within { background: var(--surface-hover, #f5f8fa); outline: none; }
.apv-dd__opt.is-sel { background: var(--surface-2, #eaf0f6); font-weight: 600; }
.apv-cb { appearance: none; -webkit-appearance: none; display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; margin: 0; border: 1.5px solid var(--text-muted, #516f90); border-radius: 5px; background: var(--surface, #fff); cursor: pointer; }
.apv-cb:checked { border-color: var(--brand, #2456e6); background: var(--brand, #2456e6); }
.apv-cb:checked::after { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.apv-cb:focus-visible { outline: 2px solid var(--brand, #2456e6); outline-offset: 2px; }
.apv-dd__none { margin: 0; padding: 12px 20px; color: var(--text-muted, #516f90); }
.apv-dd__foot { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border, #dfe3eb); }
.apv-dd__deselect { padding: 4px 8px; border: 0; background: none; color: var(--text, #1f2937); font: inherit; font-weight: 600; cursor: pointer; }
.apv-dd__deselect:hover:not(:disabled) { color: var(--brand, #2456e6); }
.apv-dd__deselect:disabled { color: var(--text-muted, #99acc2); cursor: default; }
.apv-dd__foot--date { justify-content: flex-start; }
.apv-dd__custom { display: inline-flex; align-items: center; gap: 6px; }
.apv-dd__date { width: 108px; height: 30px; padding: 0 8px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 6px; background: var(--surface, #fff); color: inherit; font: inherit; font-size: 13px; }
.apv-dd__x { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--text-muted, #516f90); cursor: pointer; }
.apv-dd__x:hover { background: var(--surface-hover, #f5f8fa); }
.apv-dd__x .apv-i { width: 12px; height: 12px; }
.apv-dd:has(.apv-dd__date) { min-width: 300px; }
.apv-search--dd input, .apv-search--dd input:focus { border: 2px solid var(--brand, #2456e6); outline: none; }

/* Association History (HubSpot parity) */
.apv-tablewrap--plain { border: 0; border-radius: 0; }
.apv-tablewrap--plain .apv-table th { background: none; border-bottom: 1px solid var(--text, #33475b); color: var(--text, #33475b); font-weight: 500; line-height: 1.25; white-space: normal; vertical-align: bottom; }
.apv-table--assoc { table-layout: fixed; min-width: 1000px; }
.apv-table--assoc th:nth-child(1) { width: 200px; } .apv-table--assoc th:nth-child(2) { width: 130px; } .apv-table--assoc th:nth-child(3) { width: 180px; }
.apv-table--assoc th:nth-child(4) { width: 200px; } .apv-table--assoc th:nth-child(5) { width: 160px; } .apv-table--assoc th:nth-child(6) { width: 150px; }
.apv-table--assoc td, .apv-table--det td { padding: 10px 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apv-table--assoc th, .apv-table--det th { padding: 10px 24px; }
.apv-table--det { table-layout: fixed; }
.apv-table--det th:nth-child(1) { width: 36%; } .apv-table--det th:nth-child(2) { width: 26%; }
.apv-an { display: flex; align-items: center; gap: 8px; min-width: 0; }
.apv-an__link { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; color: var(--brand, #2456e6); font-weight: 600; text-decoration: none; }
.apv-an__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apv-an__link:hover .apv-an__txt { text-decoration: underline; }
.apv-an__ext { flex: 0 0 auto; margin-left: 6px; opacity: 0; }
.apv-an__link:hover .apv-an__ext, .apv-an__link:focus-visible .apv-an__ext { opacity: 1; }
.apv-an__plain { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apv-viewdet { display: none; flex: 0 0 auto; height: 26px; padding: 0 12px; border: 1px solid var(--border-strong, #7c98b6); border-radius: 999px; background: var(--surface, #fff); color: var(--text, #33475b); font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer; }
.apv-viewdet:hover { border-color: var(--brand, #2456e6); background: var(--brand-soft, #eef3fe); }
.apv-table--assoc tbody tr:hover .apv-viewdet, .apv-table--assoc tbody tr:focus-within .apv-viewdet { display: inline-flex; align-items: center; }
.apv-table--assoc tbody tr:hover td, .apv-table--det tbody tr:hover td { background: var(--surface-hover, #f5f8fa); }
.apv-src { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.apv-src__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apv-srctip { display: inline-flex; flex: 0 0 auto; color: var(--text-muted, #516f90); cursor: help; }
.apv-srctip .apv-i { width: 14px; height: 14px; }
.apv-d2 { display: block; font-weight: 600; line-height: 1.35; }
.apv-d2--t { color: var(--text-muted, #516f90); font-weight: 400; }
.apv-badge { border-color: #00a38d; background: #e5f8f6; color: #00574b; font-weight: 500; }
.apv-dw__back { display: inline-grid; place-items: center; width: 32px; height: 32px; margin: 0 8px 0 -12px; padding-right: 10px; border: 0; border-right: 1px solid var(--border, #dfe3eb); border-radius: 0; background: none; color: inherit; cursor: pointer; }
.apv-dw__back:hover { color: var(--brand, #2456e6); }
.apv-dw__back .apv-i { width: 18px; height: 18px; }
.apv-pager { gap: 14px; margin-top: 28px; }
.apv-pager button { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted, #7c98b6); }
.apv-pager .apv-i { width: 14px; height: 14px; }
.apv-pager .is-on { min-width: 22px; height: 28px; border-radius: 8px; font-weight: 600; }

/* empty association state (SVG art) */
.apv-empty { padding: 4px 12px 8px; }
svg.apv-empty__art { display: block; width: 96px; height: 96px; margin: 0 auto 10px; --apv-art: #1f5f5f; }
[data-theme="dark"] svg.apv-empty__art { --apv-art: #5ccbc6; --apv-art-ink: #e5e7eb; }

/* recording buttons: HubSpot sizes */
.apv-rec__tools .apv-pill { height: 36px; padding: 0 18px; font-weight: 600; }
.apv-rec__tools .apv-pill:not(.apv-pill--primary) { border-color: var(--border-strong, #cbd6e2); }

/* modals */
.apv-mdl { position: fixed; inset: 0; z-index: 1250; display: grid; place-items: center; padding: 16px; }
.apv-mdl__scrim { position: absolute; inset: 0; background: rgba(45, 62, 80, .6); }
.apv-mdl__box { position: relative; width: min(500px, 100%); border-radius: 14px; background: var(--surface, #fff); color: var(--text, #1f2937); box-shadow: 0 20px 50px rgba(16, 24, 40, .25); font-size: 14px; animation: apvPop .16s ease; }
.apv-mdl__box--wide { width: min(1024px, 100%); }
@keyframes apvPop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.apv-mdl__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 20px 40px; border-bottom: 1px solid var(--border, #dfe3eb); }
.apv-mdl__head h2 { margin: 0; font-size: 20px; font-weight: 500; }
.apv-mdl__body { padding: 24px 40px 28px; }
.apv-mdl__box .apv-fld:last-of-type { margin-bottom: 12px; }
.apv-mdl__box--wide .apv-fld { max-width: 425px; }
.apv-fld { display: block; margin-bottom: 18px; }
.apv-fld__l { display: block; margin-bottom: 8px; font-weight: 600; }
.apv-fld__count { display: block; margin-top: 4px; text-align: right; font-weight: 600; font-size: 13px; }
.apv-ta { display: block; width: 100%; padding: 10px 16px; border: 1px solid var(--border-strong, #7c98b6); border-radius: 4px; background: var(--surface, #fff); color: inherit; font: inherit; line-height: 1.5; resize: none; box-sizing: border-box; }
.apv-ta:focus, .apv-sel:focus-visible, .apv-sel[aria-expanded="true"] { outline: none; border-color: var(--brand, #2456e6); box-shadow: 0 0 0 1px var(--brand, #2456e6); }
.apv-sel { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--text, #33475b); border-radius: 4px; background: var(--surface, #fff); color: var(--text, #1f2937); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.apv-sel__v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apv-sel__v.is-ph { font-weight: 500; }
.apv-mdl__foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.apv-btn { height: 40px; padding: 0 22px; border: 1px solid var(--text, #33475b); border-radius: 999px; background: var(--surface, #fff); color: var(--text, #1f2937); font: inherit; font-weight: 600; cursor: pointer; }
.apv-btn:hover:not(:disabled) { background: var(--surface-hover, #f5f8fa); }
.apv-btn--primary { border-color: var(--brand, #2456e6); background: var(--brand, #2456e6); color: #fff; }
.apv-btn--primary:hover:not(:disabled) { background: var(--brand-hover, #1d47c4); }
.apv-btn:disabled { border-color: transparent; background: var(--surface-2, #eaf0f6); color: var(--text-muted, #99acc2); cursor: not-allowed; }
.apv-btn--sm { height: 32px; padding: 0 14px; font-size: 13px; }
.apv-copylink { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; }
.apv-dd--sel { max-width: none; border-radius: 10px; z-index: 1300; }
.apv-dd--sel::before { display: none; }
.apv-dd__grp { margin: 10px 16px 4px; font-weight: 600; }
.apv-dd__muted { margin: 0 16px 8px; color: var(--text-muted, #516f90); font-size: 13.5px; }
.apv-dd__foot--left { justify-content: flex-start; }
.apv-dd__name { flex: 1 1 auto; width: auto; }
.apv-dd__search--plain { padding: 10px 10px 4px; background: none; }
.apv-dd__opt--sm { padding: 7px 14px; font-size: 13.5px; }
.apv-dd__ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .apv-mdl__head { padding-left: 20px; } .apv-mdl__body { padding: 20px; } }

/* association card toolbar: search + Sort */
.apv-ctools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -4px 0 12px; }
.apv-ctools__search { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid var(--border-strong, #7c98b6); border-radius: 50%; background: var(--surface, #fff); color: var(--text, #33475b); cursor: pointer; }
.apv-ctools__search:hover, .apv-ctools__search.is-on { border-color: var(--brand, #2456e6); color: var(--brand, #2456e6); }
.apv-ctools__q { flex: 1 1 auto; }
.apv-ctools__q input { width: 100%; height: 30px; padding-right: 12px; }
.apv-ctools__sort { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; border-color: var(--border-strong, #7c98b6); background: var(--surface, #fff); color: var(--text, #33475b); font-weight: 500; cursor: pointer; }
.apv-ctools__sort[aria-expanded="true"] { border-color: var(--brand, #2456e6); background: var(--brand-soft, #eef3fe); }
.apv-ctools__sort .apv-i { width: 14px; height: 14px; }
.apv-cardwrap[hidden] { display: none; }
.apv-cnone { margin: 0 0 12px; }
button.apv-add { border: 0; }

/* card Sort popover */
.apv-dd--csort { width: 250px; padding-top: 4px; }
.apv-dd__grp--sm { margin: 8px 16px 2px; color: var(--text-muted, #516f90); font-size: 13px; font-weight: 400; }
.apv-dd__opt--chk { justify-content: space-between; padding: 7px 20px; }
.apv-dd__opt--chk .apv-i { color: var(--text, #33475b); }
.apv-seg--full { display: flex; width: 100%; }
.apv-seg--full .apv-seg__btn { flex: 1 1 0; height: 32px; font-weight: 500; }
.apv-seg__btn.is-pri { background: var(--brand, #2456e6); color: #fff; }

/* "+ Add" drawer */
.apv-dw__panel--add { width: min(600px, 100vw); }
.apv-dw__panel--add .apv-dw__body { padding-top: 12px; }
.apv-tabs { display: flex; margin-bottom: 18px; border-bottom: 1px solid var(--border, #dfe3eb); }
.apv-tabs__b { flex: 1 1 0; height: 44px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--text, #33475b); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.apv-tabs__b.is-on { border-bottom-color: var(--text, #33475b); }
.apv-tabs__b:hover { color: var(--brand, #2456e6); }
.apv-search--wide { display: flex; }
.apv-search--wide input { width: 100%; height: 40px; border-radius: 999px; }
.apv-pickbar { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 8px; }
.apv-picklist { margin: 0 -8px; }
.apv-pick { padding: 8px; }
.apv-pick.is-have { color: var(--text-muted, #7c98b6); cursor: default; }
.apv-pick.is-have .apv-cb { opacity: .5; }
.apv-formtop { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.apv-inp { display: block; width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--border-strong, #7c98b6); border-radius: 4px; background: var(--surface, #fff); color: inherit; font: inherit; box-sizing: border-box; }
.apv-inp:focus { outline: none; border-color: var(--brand, #2456e6); box-shadow: 0 0 0 1px var(--brand, #2456e6); }
.apv-dw__foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 40px; border-top: 1px solid var(--border, #dfe3eb); background: var(--surface, #fff); }
@media (max-width: 640px) { .apv-dw__foot { padding: 14px 20px; } }
.apv-dd--csort { width: 280px; }
.apv-seg--full .apv-seg__btn { white-space: nowrap; }
.apv-search--wide input, .apv-search--wide input:focus { border: 1px solid var(--border-strong, #7c98b6); outline: none; }
.apv-search--wide input:focus { border: 2px solid var(--brand, #2456e6); }

/* ---- Record previews: Contacts / Companies / Deals / Events (HubSpot parity) */
.apv--rec .apv__head { gap: 8px; padding: 14px 16px 14px 20px; border-bottom: 0; transition: border-color .15s ease; }
.apv--rec.is-scrolled .apv__head { border-bottom: 1px solid var(--border, #dfe3eb); }
.apv-av { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: var(--surface-2, #eaf0f6); color: var(--text, #33475b); }
.apv-av .apv-i { width: 18px; height: 18px; }
.apv--rec.is-scrolled .apv-av { width: 30px; height: 30px; }
.apv--rec.is-scrolled .apv-av .apv-i { width: 14px; height: 14px; }
.apv__mini { min-width: 0; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; opacity: 0; transition: opacity .15s ease; }
.apv--rec.is-scrolled .apv__mini { opacity: 1; }
.apv__sp { flex: 1 1 auto; }
.apv__more { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
.apv__more:hover, .apv__more[aria-expanded="true"] { background: var(--surface-hover, #f5f8fa); }
.apv__foot { flex: 0 0 auto; padding: 12px 20px 16px; background: var(--surface, #fff); box-shadow: 0 -6px 12px -10px rgba(16, 24, 40, .25); }
.apv__view { display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; text-decoration: none; box-sizing: border-box; }

/* title block */
.apv-rt { padding: 4px 24px 22px; border-bottom: 1px solid var(--border, #dfe3eb); }
.apv-rt__name { margin: 0 0 6px; font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.apv-rt__sub { display: flex; align-items: center; gap: 4px; margin: 0 0 4px; font-size: 14.5px; }
.apv-rt__dom { display: inline-flex; align-items: center; color: var(--brand, #2456e6); font-weight: 600; text-decoration: none; }
.apv-rt__dom:hover { text-decoration: underline; }
.apv-rt__kv { margin: 0 0 4px; }
.apv-rt__kv > div { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.apv-rt__kv dt { color: var(--text-muted, #516f90); font-weight: 600; }
.apv-rt__kv dd { display: inline-flex; align-items: center; gap: 2px; margin: 0; font-weight: 600; }
.apv-qa { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.apv-qa__b { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 52px; padding: 0; border: 0; background: none; color: var(--text, #33475b); font: inherit; font-size: 13.5px; text-decoration: none; cursor: pointer; }
.apv-qa__ic { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border-strong, #7c98b6); border-radius: 50%; background: var(--surface, #fff); }
.apv-qa__b:hover .apv-qa__ic, .apv-qa__b[aria-expanded="true"] .apv-qa__ic { border-color: var(--brand, #2456e6); color: var(--brand, #2456e6); background: var(--brand-soft, #eef3fe); }
.apv-qa__l { max-width: 52px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apv-qa__ic .apv-i { width: 17px; height: 17px; }

/* About this … rows with hover tools */
.apv-field--rec { position: relative; padding-right: 64px; }
.apv-field__tools { position: absolute; top: 6px; right: 0; display: none; gap: 2px; }
.apv-field--rec:hover .apv-field__tools, .apv-field--rec:focus-within .apv-field__tools { display: inline-flex; }
.apv-field--rec:hover { background: var(--surface-hover, #f8fafc); border-radius: 6px; }
.apv-ftool { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--text, #33475b); cursor: pointer; }
.apv-ftool:hover { background: var(--surface-2, #eaf0f6); }
.apv-i--spark { width: 14px; height: 14px; margin-right: 8px; }
.apv-menu__item.is-dis { color: var(--text-muted, #99acc2); cursor: default; }
.apv-menu__item[hidden] { display: none; }
.apv-menu--qm { width: 280px; padding-top: 0; }
.apv-menu__search { padding: 10px 12px 6px; }
.apv-search--sm { display: flex; }
.apv-search--sm input { width: 100%; height: 34px; }
.apv-menu--qm .apv-menu__list { max-height: 220px; overflow-y: auto; }
.apv-menu__foot .apv-menu__item b { font-weight: 600; }

/* activities */
.apv-actart { display: block; width: 110px; height: 88px; margin: 6px auto 8px; }
.apv-actempty { padding: 4px 8px 6px; text-align: center; }
.apv-actempty p { margin: 0 0 4px; line-height: 1.5; }
.apv-actempty__t { font-weight: 600; }
.apv-acttools { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.apv-acttools .apv-search--sm { flex: 0 1 140px; }
.apv-acttools .apv-actions { margin-left: auto; }
.apv-actchips { margin-bottom: 6px; }
.apv-chip-f { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 12px; border-radius: 6px; background: var(--surface-2, #eaf0f6); font-weight: 600; }
.apv-chip-f__x { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; cursor: pointer; }
.apv-chip-f__x .apv-i { width: 12px; height: 12px; }

/* info / payments / misc cards */
.apv-info { margin: 0 0 12px; line-height: 1.55; }
.apv-setup { display: flex; width: max-content; margin: 0 auto; text-decoration: none; }
.apv-add.is-dis { color: var(--text-muted, #99acc2); cursor: default; }
.apv-sn { padding: 14px 16px; border: 1px solid var(--border, #dfe3eb); border-radius: 6px; }
.apv-sn__k { margin: 0 0 10px; color: var(--text-muted, #516f90); font-size: 12px; letter-spacing: .14em; }
.apv-sn__t { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.apv-sn__b { margin-bottom: 14px; }
.apv-sn__h { margin: 0 0 4px; font-weight: 600; }
.apv-ao__row { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.apv-ao__tag { padding: 2px 10px; border-radius: 999px; background: var(--surface-2, #eaf0f6); font-size: 13px; font-weight: 600; }

/* Record summary (companies) */
.apv-ai { padding: 16px 18px; border: 1px solid #f2a3d1; border-radius: 12px; }
.apv-ai__gen { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--text-muted, #516f90); }
.apv-ai__t { margin: 0 0 12px; line-height: 1.55; }
.apv-ai__row { display: flex; align-items: center; gap: 4px; margin: 0 0 12px; }
.apv-ai__src { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; font-weight: 500; }
.apv-ai__src i { width: 16px; height: 16px; border-radius: 50%; background: var(--surface-2, #eaf0f6); }
.apv-ai__ask { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid #e66e50; border-radius: 999px; background: #fdf0ec; color: var(--text, #33475b); font: inherit; font-size: 13px; cursor: pointer; }
.apv-ai__ask .apv-i { width: 12px; height: 12px; }
.apv-ai__badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 5px; background: linear-gradient(90deg, #ff5c35, #e0218a); color: #fff; font-size: 11.5px; font-weight: 700; }
.apv-ai__badge .apv-i { width: 10px; height: 10px; }
.apv-btn--danger { border-color: #d9363e; background: #d9363e; color: #fff; }
.apv-btn--danger:hover:not(:disabled) { background: #b82a31; }

/* ---- Record preview menus & dialogs v2 (HubSpot parity) */
.apv-btn--block { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-bottom: 14px; }
.apv-dw__foot--split { justify-content: space-between; align-items: center; }
.apv-ecp__save { display: inline-flex; align-items: center; gap: 8px; }
.apv-ecp { margin: 0; padding: 0; list-style: none; }
.apv-ecp__row { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 8px; padding: 0 6px 0 10px; border: 1px solid var(--border, #dfe3eb); border-radius: 8px; background: var(--surface, #fff); cursor: grab; }
.apv-ecp__row.is-drag { opacity: .5; }
.apv-ecp__grip { color: var(--text-muted, #7c98b6); letter-spacing: -2px; user-select: none; }
.apv-ecp__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apv-linkbtn { padding: 0; border: 0; background: none; color: var(--brand, #2456e6); font: inherit; font-weight: 600; cursor: pointer; }
.apv-linkbtn:hover { text-decoration: underline; }
.apv-mdl__box--sm { width: min(520px, calc(100vw - 32px)); }
.apv-mdl__box--ra { width: min(760px, calc(100vw - 32px)); }
.apv-ra__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.apv-ra__bar .apv-flt { gap: 10px; }
.apv-ra__hd { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border, #dfe3eb); border-radius: 8px 8px 0 0; background: var(--surface-2, #f5f8fa); font-weight: 600; }
.apv-ra__root { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--border, #dfe3eb); border-top: 0; }
.apv-ra__root small { display: block; color: var(--text-muted, #516f90); }
.apv-ra__tog { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; cursor: pointer; }
.apv-ra__tog[aria-expanded="false"] .apv-sec__caret { transform: rotate(-90deg); }
.apv-ra__kids { margin: 0; padding: 0; list-style: none; border: 1px solid var(--border, #dfe3eb); border-top: 0; border-radius: 0 0 8px 8px; }
.apv-ra__kids li { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 52px; border-top: 1px solid var(--border, #eef1f5); }
.apv-ra__kids li:first-child { border-top: 0; }
.apv-ra__type { margin-left: auto; color: var(--text-muted, #516f90); }
.apv-mdl__box--mg { width: min(980px, calc(100vw - 32px)); }
.apv-mg__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.apv-mg__top h3 { margin: 0; font-size: 18px; font-weight: 600; }
.apv-mg__top .apv-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.apv-mg__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr); gap: 18px; align-items: start; }
.apv-mg__selrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.apv-mg__lbl { margin: 0 0 6px; font-weight: 600; }
.apv-mg__sel { flex: 1 1 200px; height: 38px; padding: 0 10px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 8px; background: var(--surface, #fff); font: inherit; }
.apv-mg__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.apv-mg__card { display: flex; flex-direction: column; gap: 4px; min-height: 120px; padding: 14px; border: 1px solid var(--border, #dfe3eb); border-radius: 8px; cursor: pointer; }
.apv-mg__card.is-on { border-color: var(--brand, #2456e6); box-shadow: 0 0 0 1px var(--brand, #2456e6); }
.apv-mg__card.is-empty { cursor: default; background: var(--surface-2, #f5f8fa); }
.apv-mg__card input { margin: 0 0 6px; accent-color: var(--brand, #2456e6); }
.apv-mg__radio { width: 14px; height: 14px; margin-bottom: 6px; border: 1.5px solid var(--border-strong, #cbd6e2); border-radius: 50%; }
.apv-mg__card .apv-link { display: inline-flex; align-items: center; gap: 4px; }
.apv-mg__k { margin: 6px 0 0; color: var(--text-muted, #516f90); font-size: 13px; }
.apv-mg__hint { margin: 0; font-size: 13px; }
.apv-mg__arrow { align-self: center; font-size: 22px; color: var(--text-muted, #7c98b6); }
.apv-mg__prev { padding: 16px; border: 1px solid var(--border, #dfe3eb); border-radius: 8px; background: var(--surface-2, #f5f8fa); }
.apv-mg__prev h4 { margin: 0 0 4px; font-size: 16px; }
@media (max-width: 760px) { .apv-mg__grid { grid-template-columns: 1fr; } .apv-mg__arrow { transform: rotate(90deg); justify-self: center; } }

/* ---- Quick actions: More menu, reorder, composer window (HubSpot parity) */
.apv-menu--qm { width: 300px; padding: 0; overflow: visible; }
.apv-menu--qm::before { display: none; }
.apv-menu--side::after { content: ""; position: absolute; top: calc(var(--apv-arrow-y, 40px) - 8px); right: -8px; width: 14px; height: 14px; border-top: 1px solid var(--border-strong, #cbd6e2); border-right: 1px solid var(--border-strong, #cbd6e2); background: var(--surface, #fff); transform: rotate(45deg); }
.apv-menu--below::before { display: block; }
.apv-qm__search { padding: 12px; border-radius: 14px 14px 0 0; background: #f2f2f2; }
.apv-qm__sbox { position: relative; display: flex; align-items: center; }
.apv-qm__sbox input { width: 100%; height: 40px; padding: 0 40px 0 18px; border: 1px solid var(--border-strong, #7c98b6); border-radius: 999px; background: var(--surface, #fff); color: inherit; font: inherit; box-sizing: border-box; }
.apv-qm__sbox input:focus { outline: none; border: 2px solid var(--brand, #2456e6); }
.apv-qm__sbox .apv-i { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; }
.apv-menu--qm .apv-menu__list { max-height: 228px; padding: 4px 0; overflow-y: auto; }
.apv-qm__item { gap: 14px; padding: 10px 16px; }
.apv-qm__item > span { flex: 1 1 auto; }
.apv-qm__ic { width: 18px; height: 18px; flex: 0 0 auto; }
.apv-qm__chev { width: 13px; height: 13px; }
.apv-qm__item[aria-expanded="true"], .apv-qm__item:hover { background: var(--surface-hover, #f5f8fa); }
.apv-qm__none { padding: 10px 16px; margin: 0; }
.apv-qm__foot { border-top: 1px solid var(--border, #dfe3eb); padding: 4px 0; }
.apv-qm__foot .apv-menu__item { padding: 10px 14px; }
.apv-qm__fly { position: absolute; min-width: 220px; }
.apv-qm__fly::before { display: none; }
.apv-ro__sel { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--border-strong, #7c98b6); border-radius: 8px; background: var(--surface, #fff); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.apv-ro__sel > span { flex: 1 1 auto; }
.apv-ro__sel:focus-visible, .apv-ro__sel[aria-expanded="true"] { outline: none; border: 2px solid var(--brand, #2456e6); }
.apv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.apv-cw { position: fixed; z-index: 1200; right: 460px; bottom: 24px; display: flex; flex-direction: column; width: min(580px, calc(100vw - 24px)); max-height: calc(100vh - 48px); border: 1px solid var(--border-strong, #cbd6e2); border-radius: 10px; background: var(--surface, #fff); color: var(--text, #33475b); box-shadow: 0 12px 40px rgba(16, 24, 40, .22); }
.apv-cw.is-max { inset: 24px !important; width: auto; max-height: none; }
.apv-cw.is-min .apv-cw__body, .apv-cw.is-min .apv-cw__foot { display: none; }
.apv-cw__grip { display: flex; justify-content: center; height: 8px; color: var(--text-muted, #7c98b6); cursor: move; }
.apv-cw__grip .apv-i { width: 16px; height: 10px; margin-top: -2px; }
.apv-cw__head { display: flex; align-items: center; gap: 8px; padding: 6px 16px 12px; border-bottom: 1px solid var(--border, #dfe3eb); cursor: move; }
.apv-cw__head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.apv-cw.is-min .apv-cw__head [data-cw="min"] .apv-i { transform: rotate(180deg); }
.apv-cw__hb { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: none; color: inherit; cursor: pointer; }
.apv-cw__hb:hover { background: var(--surface-hover, #f5f8fa); }
.apv-cw__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px 24px 0; }
.apv-cw__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border, #dfe3eb); }
.apv-cw__meta .apv-fld__l { display: block; margin-bottom: 4px; }
.apv-cw__meta b { display: inline-flex; align-items: center; min-height: 36px; }
.apv-cw__date { height: 36px; padding: 0 10px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 8px; background: var(--surface, #fff); color: inherit; font: inherit; }
.apv-cw__pick { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0; border: 0; background: none; color: var(--brand, #2456e6); font: inherit; font-weight: 600; cursor: pointer; }
.apv-cw__rows label { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border, #dfe3eb); }
.apv-cw__rows label > span:not(.apv-sr) { width: 60px; color: var(--text-muted, #516f90); }
.apv-cw__in { flex: 1 1 auto; height: 40px; border: 0; background: none; color: inherit; font: inherit; }
.apv-cw__in:focus { outline: none; }
.apv-cw__in--lg { font-size: 17px; font-weight: 500; }
.apv-cw__ta { display: block; width: 100%; min-height: 120px; padding: 14px 0; border: 0; background: none; color: inherit; font: inherit; line-height: 1.55; resize: none; box-sizing: border-box; }
.apv-cw__ta:focus { outline: none; }
.apv-cw__tools { display: flex; gap: 16px; padding: 8px 0 10px; color: var(--text-muted, #516f90); font-size: 14px; }
.apv-cw__assoc { padding: 10px 0; border-top: 1px solid var(--border, #dfe3eb); }
.apv-cw__assoc ul { margin: 8px 0 0; padding: 0; list-style: none; }
.apv-cw__assoc li label { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.apv-cw__todo { display: flex; align-items: center; gap: 8px; padding: 10px 0 12px; border-top: 1px solid var(--border, #dfe3eb); }
.apv-cw__foot { padding: 12px 24px 16px; border-top: 1px solid var(--border, #dfe3eb); }
.apv-cw__wa { padding: 24px 0 28px; text-align: center; }
.apv-cw__waic { width: 40px; height: 40px; color: #25a244; }
.apv-cw__wat { margin: 10px 0 6px; font-size: 16px; font-weight: 600; }
@media (max-width: 900px) { .apv-cw { right: 12px; bottom: 12px; } }

.apv-cw { position: fixed; }
.apv-cw__discard { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--border, #dfe3eb); border-radius: 0 0 10px 10px; background: var(--surface, #fff); box-shadow: 0 -8px 16px -12px rgba(16, 24, 40, .3); }
.apv-cw__discard p { flex: 1 1 100%; margin: 0 0 4px; font-weight: 600; }
.apv-cw__discard[hidden] { display: none; }

/* ---- Enrich record / Fill smart properties */
.apv-fs__hic { display: inline-grid; place-items: center; margin-right: auto; margin-left: 6px; color: var(--text, #33475b); }
.apv-fs__hic .apv-i { width: 18px; height: 18px; }
.apv-fs__l { display: block; margin: 0 0 8px; font-weight: 600; }
.apv-fs__opts { margin: 22px 0 0; padding: 0; border: 0; }
.apv-fs__opts label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; cursor: pointer; }
.apv-fs__opts input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand, #2456e6); }
.apv-fs__foot { flex-direction: column; align-items: flex-start; gap: 12px; background: var(--surface-2, #f5f8fa); }
.apv-fs__cur { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid var(--border-strong, #cbd6e2); border-radius: 6px; background: var(--surface, #fff); font-size: 13px; font-weight: 600; }
.apv-fs__cur .apv-i { width: 13px; height: 13px; }
.apv-fs__btns { display: inline-flex; align-items: center; gap: 16px; }
.apv-btn .apv-i--spark { width: 13px; height: 13px; margin-right: 6px; }
.apv-dd--fs { width: 360px; }
.apv-dd--fs .apv-dd__opt { flex-wrap: wrap; align-items: flex-start; }
.apv-dd--fs .apv-dd__opt small { flex: 1 1 100%; padding-left: 28px; color: var(--text-muted, #516f90); font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.apv-dd--fs .apv-dd__foot { display: flex; justify-content: space-between; }
.apv-en { margin: 0 0 14px; padding: 0; list-style: none; border: 1px solid var(--border, #dfe3eb); border-radius: 8px; }
.apv-en li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--border, #eef1f5); }
.apv-en li:first-child { border-top: 0; }
.apv-en li.is-new span { color: var(--text, #33475b); font-weight: 600; }
.apv-en__note { font-size: 13px; }
.apv-info .apv-i--spark { width: 13px; height: 13px; margin-right: 4px; vertical-align: -1px; }
.apv-spin { display: inline-block; width: 13px; height: 13px; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: apvSpin .7s linear infinite; vertical-align: -2px; }
@keyframes apvSpin { to { transform: rotate(360deg); } }

.apv-dw__panel--fs .apv-dw__head h2 { flex: 0 1 auto; }
.apv-dw__panel--fs .apv-fs__hic { margin-left: 10px; margin-right: auto; }
.apv-dd--fs { width: auto; }

/* ⋮ menu beside the button, HubSpot sizing */
.apv-menu--rec { min-width: 210px; padding: 4px 0; overflow-y: auto; border-radius: 12px; }
.apv-menu--rec::before { display: none; }
.apv-menu--rec .apv-menu__item { padding: 9px 20px; }
.apv-menu--rec .apv-menu__grp + .apv-menu__grp { margin-top: 4px; padding-top: 4px; }
.apv-menu--side { overflow: visible; }
.apv-menu--rec.apv-menu--side { overflow-y: auto; }
.apv-menu--rec.apv-menu--side::after { display: none; }
.apv-ex { margin: 0 0 14px; }
.apv-ex__opt { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.apv-ex__opt.is-locked { color: var(--text-muted, #516f90); }
.apv-ex__list { margin: -4px 0 0; padding-left: 52px; line-height: 1.7; }
.apv-ex__list[hidden] { display: none; }
.apv-ex__list li { list-style: disc; }
.apv-ex__opt.is-locked .apv-cb { opacity: .55; }

/* More menu - measured from HubSpot (304px, 16px radius, #ccc border, 40px rows, 20px icons) */
.apv-menu.apv-menu--qm { width: 304px; min-width: 0; padding: 0; border: 1px solid #ccc; border-radius: 16px; background: #fff; color: #000; box-shadow: 0 24px 48px rgba(20, 20, 20, .08); }
.apv-menu--qm .apv-qm__search { padding: 12px; border-radius: 15px 15px 0 0; background: #f0f0f0; }
.apv-menu--qm .apv-qm__sbox input { height: 40px; padding: 8px 40px 8px 16px; border: 1px solid #8a8a8a; border-radius: 999px; color: #333; font-size: 14px; }
.apv-menu--qm .apv-qm__sbox input:focus { outline: none; border: 1px solid #8a8a8a; }
.apv-menu--qm .apv-qm__sbox input::placeholder { color: #666; }
.apv-menu--qm .apv-qm__sbox .apv-i { right: 14px; width: 18px; height: 18px; color: #333; stroke-width: 1.5; }
.apv-menu--qm .apv-qm__sbox input::-webkit-search-cancel-button { display: none; }
.apv-menu--qm .apv-menu__list { max-height: 222px; padding: 0; overflow-y: scroll; }
.apv-menu--qm .apv-qm__item { gap: 16px; min-height: 40px; padding: 8px 20px; color: #000; font-size: 14px; line-height: 24px; }
.apv-menu--qm .apv-qm__item:hover, .apv-menu--qm .apv-qm__item:focus-visible, .apv-menu--qm .apv-qm__item[aria-expanded="true"] { background: #f5f5f5; outline: none; }
.apv-menu--qm .apv-qm__ic { width: 20px; height: 20px; color: #000; stroke-width: 1.5; }
.apv-menu--qm .apv-qm__chev { margin-left: auto; width: 14px; height: 14px; stroke-width: 1.5; }
.apv-menu--qm .apv-qm__foot { padding: 0; border-top: 1px solid #ccc; }
.apv-menu--qm .apv-qm__foot .apv-menu__item { padding: 10px 12px; margin: 4px 2px; width: calc(100% - 4px); border-radius: 8px; color: #333; font-size: 14px; }
.apv-menu--qm .apv-qm__foot .apv-menu__item b { font-weight: 600; }
.apv-menu--qm.apv-menu--side::after { right: -8px; width: 14px; height: 14px; border-top: 1px solid #ccc; border-right: 1px solid #ccc; background: #fff; }
.apv-menu--qm .apv-qm__fly { border: 1px solid #ccc; border-radius: 12px; box-shadow: 0 24px 48px rgba(20, 20, 20, .08); color: #000; }
.apv-menu--qm .apv-qm__fly .apv-menu__item { padding: 8px 20px; font-size: 14px; }
.apv-menu--qm .apv-qm__ic { stroke-width: 1.1; }
.apv-menu--qm .apv-qm__sbox .apv-i { stroke-width: 1.2; }

/* shared popups on list pages + Add existing Contract */
.apv-menu--qm .apv-qm__lock { width: 15px; height: 15px; margin-left: auto; color: #666; stroke-width: 1.3; }
.apv-dw__panel--ac .apv-dw__body { display: flex; flex-direction: column; }
.apv-ac__search { position: relative; display: flex; align-items: center; margin-bottom: 18px; }
.apv-ac__search input { width: 100%; height: 40px; padding: 8px 44px 8px 16px; border: 1px solid #8a8a8a; border-radius: 999px; background: #fff; color: inherit; font: inherit; box-sizing: border-box; }
.apv-ac__search input:focus { outline: none; border: 2px solid var(--brand, #2456e6); }
.apv-ac__search .apv-i { position: absolute; right: 16px; width: 18px; height: 18px; pointer-events: none; }
.apv-ac__none { margin: 0; }
.apv-ac__row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border, #eef1f5); }
/* record popups sit above the docked preview */
/* QA #344: the record popups' own classes are left out here (merge-design.css owns those prefixes, D09). */
/* QA #569: so are composer windows (.acx). This file loads after activity-composer.css, so 1300 here
   put the window over the app's popovers (AnchoredPopover, 1200): its Templates, Sequences,
   Documents and Quotes menus, snippets and the editor's pickers opened behind it, unseen. */
.popup-overlay { z-index: 1300; }

/* ---- Editable highlights in the preview title */
.apv-rt__name { display: flex; align-items: flex-start; gap: 6px; }
.apv-rt__nm { min-width: 0; }
.apv-rt__pen { display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; margin-top: 2px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--text, #33475b); opacity: 0; cursor: pointer; transition: opacity .12s ease; }
.apv-rt:hover .apv-rt__pen, .apv-rt__pen:focus-visible, .apv-rt__pen.is-on { opacity: 1; }
.apv-rt__pen:hover { background: var(--surface-hover, #f5f8fa); }
.apv-rt__pen .apv-i { width: 16px; height: 16px; }
.apv-rt__ed { display: inline-flex; align-items: center; gap: 4px; padding: 0 0 1px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.apv-rt__ed:hover, .apv-rt__ed.is-on, .apv-rt__ed:focus-visible { border-bottom-color: var(--brand, #2456e6); outline: none; }
.apv-rt__kv dd { flex: 1 1 auto; min-width: 0; }

.apv-hl { position: fixed; z-index: 1250; width: 360px; max-width: calc(100vw - 16px); border: 1px solid #ccc; border-radius: 16px; background: #fff; color: var(--text, #33475b); box-shadow: 0 24px 48px rgba(20, 20, 20, .12); }
.apv-hl__arrow { position: absolute; width: 14px; height: 14px; border: 1px solid #ccc; background: #fff; transform: rotate(45deg); }
.apv-hl--left .apv-hl__arrow { right: -8px; border-left: 0; border-bottom: 0; }
.apv-hl--below .apv-hl__arrow { top: -8px; border-right: 0; border-bottom: 0; }
.apv-hl__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 6px; }
.apv-hl__head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.apv-hl__body { padding: 14px 24px 6px; }
.apv-hl--pipe { width: 440px; }
.apv-hl--pipe .apv-fld { margin-bottom: 18px; }
.apv-hl__lb { display: block; margin-bottom: 8px; color: var(--text, #33475b); font-weight: 600; }
.apv-hl__sel { height: 44px; padding: 0 16px; border-color: #33475b; }
.apv-hl__foot { display: flex; gap: 12px; padding: 4px 24px 20px; }
.apv-hl__foot[hidden] { display: none; }
.apv-hl__f { display: block; margin-bottom: 10px; }
.apv-hl__l { display: block; margin-bottom: 2px; color: var(--text-muted, #516f90); font-size: 13px; }
.apv-hl__in { display: block; width: 100%; min-height: 26px; padding: 2px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: inherit; font: inherit; line-height: 1.5; resize: none; overflow: hidden; box-sizing: border-box; }
.apv-hl__in:hover { border-bottom-color: var(--border-strong, #cbd6e2); }
.apv-hl__in:focus { outline: none; border-bottom-color: var(--brand, #2456e6); }
.apv-hl--edit { width: 300px; }

.apv-hl--cal { width: 300px; }
.apv-cal { padding: 14px 16px 14px; }
.apv-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.apv-cal__head b { font-size: 15px; font-weight: 600; }
.apv-cal__nav { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: none; color: inherit; cursor: pointer; }
.apv-cal__nav:hover { background: var(--surface-hover, #f5f8fa); }
.apv-cal__prev { transform: rotate(90deg); }
.apv-cal__next { transform: rotate(-90deg); }
.apv-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.apv-cal__w { padding: 4px 0; font-size: 13px; font-weight: 600; }
.apv-cal__d { height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.apv-cal__d:hover, .apv-cal__d:focus-visible { background: var(--surface-hover, #eef3fe); outline: none; }
.apv-cal__d.is-out { color: var(--text-muted, #99acc2); font-weight: 400; }
.apv-cal__d.is-today { box-shadow: inset 0 0 0 1px var(--brand, #2456e6); }
.apv-cal__d.is-sel { background: var(--brand, #2456e6); color: #fff; }
.apv-cal__foot { display: flex; justify-content: space-around; margin-top: 10px; }
.apv-cal__pill { min-width: 90px; height: 30px; padding: 0 16px; border: 1px solid var(--border-strong, #7c98b6); border-radius: 999px; background: var(--surface, #fff); color: inherit; font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.apv-cal__pill:hover { background: var(--surface-hover, #f5f8fa); }
.apv-rt__name { display: block; }
.apv-rt__pen { display: inline-grid; vertical-align: -3px; margin: 0 0 0 4px; }

/* ✎ editor: under the pencil, HubSpot spacing */
.apv-hl--edit { width: 300px; }
.apv-hl--edit .apv-hl__body { padding: 22px 32px 10px 32px; }
.apv-hl--edit .apv-hl__f { margin-bottom: 14px; }
.apv-hl--edit .apv-hl__l { margin-bottom: 2px; color: #666; font-size: 14px; }
.apv-hl--edit .apv-hl__in { font-size: 14.5px; }
.apv-hl--edit .apv-hl__in::placeholder { color: var(--text, #33475b); }
.apv-hl--edit .apv-hl__foot { padding: 0 32px 20px; }

/* ---- Enrichment property details (HubSpot) */
.apv-dw__panel--en { width: min(1000px, 100vw); }
.apv-dw__panel--en .apv-dw__head h2 { font-size: 22px; font-weight: 500; }
.apv-en__empty { max-width: 560px; margin: 52px auto 0; text-align: center; line-height: 1.6; }
.apv-en__art { width: 120px; height: 120px; margin-bottom: 30px; }
.apv-en__h { margin: 0 0 22px; font-size: 16px; font-weight: 600; }
.apv-en__empty p { margin: 0 0 18px; }
.apv-en__foot { background: #f0f0f0; gap: 16px; }
.apv-en__cancel { color: var(--text, #33475b); font-weight: 600; }
.apv-en__t { width: 100%; border-collapse: collapse; }
.apv-en__t th, .apv-en__t td { padding: 10px 12px; border-bottom: 1px solid var(--border, #dfe3eb); text-align: left; }
.apv-en__t th { background: var(--surface-2, #f5f8fa); font-weight: 600; }
.apv-en__t th:first-child, .apv-en__t td:first-child { width: 36px; }
.apv-en__t tr.is-has td { color: var(--text-muted, #516f90); }
.apv-en__art { display: block; margin: 0 auto 30px; }
.apv-en__foot [data-en-go]:disabled { border-color: transparent; background: #f8f8f8; color: #8a8a8a; opacity: 1; }
