/* AMLPRO — Instant Search page (isx). Uses the site palette from refresh.css (--rf-*).
   Gradient buttons carry a solid background-color under the gradient: their hover
   swaps the gradient for a colour that fades in, and from transparent it flashed white. */
.isx { background: #f8f8f9; }
.isx-hero-in { padding-bottom: 150px; }
.isx-main { padding-bottom: clamp(56px, 8vw, 96px); }
/* z-index: the card rides 112px up into the hero, whose text block (z-index 1,
   150px of bottom padding) would otherwise lie over the name box and take its clicks */
.isx-wrap { max-width: 1280px; margin: -112px auto 0; padding: 0 clamp(16px, 4vw, 32px); position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; }

/* entrance */
.isx-in { animation: isxUp .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes isxUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- search card ---------- */
.isx-card { background: #fff; border: 1px solid var(--rf-line); border-radius: 18px; box-shadow: 0 1px 2px rgba(22, 23, 39, .05), 0 24px 48px -28px rgba(22, 23, 39, .35); }
.isx-form { padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 12px; }
/* sticky search bar once results are on screen */
.isx-form.is-sticky { position: sticky; top: 85px; z-index: 20; transition: box-shadow .25s ease, padding .25s ease; }
.isx-form.is-stuck { box-shadow: 0 1px 2px rgba(22, 23, 39, .06), 0 18px 40px -18px rgba(22, 23, 39, .4); }
@media (max-width: 999px) { .isx-form.is-sticky { top: 74px; } }
@media (max-width: 640px) {
  .isx-form.is-sticky { top: 72px; }
  .isx-form.is-stuck { padding: 10px; gap: 8px; }
  .isx-form.is-stuck .isx-label, .isx-form.is-stuck .isx-meta { display: none; }
  .isx-form.is-stuck .isx-field { flex-wrap: nowrap; }
  .isx-form.is-stuck .isx-submit { width: auto; height: 44px; padding: 0 14px; }
  .isx-form.is-stuck .isx-submit-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.isx-label { font-size: 13px; font-weight: 600; color: var(--rf-ink); }
.isx-field { position: relative; display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 8px 0 18px; border: 1.5px solid #d9d9e0; border-radius: 14px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.isx-field:hover { border-color: #c4c4cf; }
.isx-field:focus-within { border-color: var(--rf-violet); box-shadow: 0 0 0 4px rgba(128, 70, 225, .14); }
.isx-field-ico { color: var(--rf-muted); display: grid; place-items: center; transition: color .2s ease, transform .3s ease; }
.isx-field:focus-within .isx-field-ico { color: var(--rf-violet); transform: scale(1.06); }
.isx-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 17px/1 'Sora', system-ui, sans-serif; color: var(--rf-ink); }
.isx-input::placeholder { color: #9a9aab; font-weight: 400; }
.isx-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.isx-clear { flex-shrink: 0; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--rf-muted); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.isx-clear:hover { background: var(--rf-soft); color: var(--rf-ink); }
.isx-submit { flex-shrink: 0; position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px 0 22px; border: 1px solid #5a24b4; border-radius: 11px; background: linear-gradient(180deg, #6e35d0 0%, #642ac3 100%); background-color: #642ac3; color: #fff; font: 600 15px 'Sora', system-ui, sans-serif; cursor: pointer; box-shadow: 0 1px 2px rgba(22, 23, 39, .14), 0 8px 18px -10px rgba(100, 42, 195, .75), inset 0 1px 0 rgba(255, 255, 255, .18); transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.isx-submit:hover { background: var(--rf-btn-hover); transform: translateY(-1px); }
.isx-submit:active { transform: none; }
.isx-submit:focus-visible, .isx-clear:focus-visible, .isx-try button:focus-visible, .isx-st:focus-visible { outline: 2px solid var(--rf-violet); outline-offset: 2px; }
.isx-submit-arr { transition: transform .2s ease; }
.isx-submit:hover .isx-submit-arr { transform: translateX(3px); }
.isx-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: isxSpin .7s linear infinite; }
.isx-submit.is-busy { pointer-events: none; }
.isx-submit.is-busy .isx-spin { display: block; }
.isx-submit.is-busy .isx-submit-arr { display: none; }
@keyframes isxSpin { to { transform: rotate(360deg); } }
.isx-err { font-size: 13px; color: #b42318; }
.isx-field.is-invalid { border-color: #e0786e; box-shadow: 0 0 0 4px rgba(224, 120, 110, .14); }

.isx-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 4px; }
.isx-scope { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.isx-scope li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--rf-text); }
.isx-scope svg { color: var(--rf-violet); }
.isx-try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--rf-muted); }
.isx-try button { border: 1px solid var(--rf-line); background: var(--rf-soft); color: var(--rf-ink); border-radius: 999px; padding: 5px 11px; font: 500 12.5px 'Sora', system-ui, sans-serif; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.isx-try button:hover { border-color: #c9b6ef; background: #faf8fe; color: var(--rf-btn); }

/* ---------- states ---------- */
.isx-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: clamp(36px, 6vw, 56px) 20px; background: #fff; border: 1px dashed #d9d9e0; border-radius: 18px; animation: isxUp .45s ease both; }
.isx-state h2 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--rf-ink); overflow-wrap: anywhere; }
.isx-state p { max-width: 520px; font-size: 14.5px; line-height: 1.6; color: var(--rf-text); }
.isx-state-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #f1edfb; color: var(--rf-btn); margin-bottom: 4px; }
.isx-state-ico.is-ok { background: #e8f6ee; color: #12805c; }
.isx-state-ico.is-err { background: #fdecea; color: #b42318; }
.isx-idle .isx-state-ico svg { animation: isxFloat 3.2s ease-in-out infinite; }
@keyframes isxFloat { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(2px, -2px) rotate(-8deg); } }
.isx-btn-ghost { margin-top: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid #dcdce3; background: #fff; color: var(--rf-ink); font: 600 14px 'Sora', system-ui, sans-serif; cursor: pointer; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.isx-btn-ghost:hover { border-color: #b9a6e4; background: #faf8fe; color: var(--rf-btn); }

.isx-loading { background: transparent; border: 0; padding: 0; align-items: stretch; gap: 12px; text-align: left; }
.isx-loadbar { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--rf-text); padding: 2px 4px 6px; }
.isx-radar { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c9b6ef; flex-shrink: 0; }
.isx-radar::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--rf-violet); }
.isx-radar i { position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--rf-violet); animation: isxPing 1.3s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes isxPing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.isx-skel { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 10px 16px; padding: 22px; background: #fff; border: 1px solid var(--rf-line); border-radius: 16px; }
.isx-skel i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eeeef2 0%, #f7f7f9 50%, #eeeef2 100%); background-size: 200% 100%; animation: isxShim 1.2s linear infinite; }
.isx-skel .s-av { grid-row: 1 / 4; width: 48px; height: 48px; border-radius: 14px; }
.isx-skel .s-l1 { width: 42%; height: 16px; }
.isx-skel .s-l2 { width: 68%; }
.isx-skel .s-l3 { width: 30%; }
@keyframes isxShim { from { background-position: 200% 0; } to { background-position: 0 0; } }

/* ---------- results panel ---------- */
.isx-panel { background: #fff; border: 1px solid var(--rf-line); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(22, 23, 39, .04), 0 24px 48px -32px rgba(22, 23, 39, .28); animation: isxUp .5s cubic-bezier(.2, .8, .2, 1) both; }
.isx-phead { position: relative; overflow: hidden; padding: 24px 24px 0; background: linear-gradient(180deg, #faf8fe 0%, #fff 100%); border-bottom: 1px solid var(--rf-line); display: flex; flex-direction: column; gap: 20px; }
.isx-phead-dots { position: absolute; top: 0; right: 0; width: 46%; height: 100%; background-image: radial-gradient(rgba(128, 70, 225, .16) 1px, transparent 1.2px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(240deg, #000 0%, transparent 65%); mask-image: linear-gradient(240deg, #000 0%, transparent 65%); pointer-events: none; animation: isxDrift 18s linear infinite; }
@keyframes isxDrift { from { background-position: 0 0; } to { background-position: 32px 32px; } }
.isx-phead-top { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 20px; }
.isx-phead-ico { position: relative; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #fff; border: 1px solid #e7defa; color: var(--rf-btn); box-shadow: 0 8px 20px -12px rgba(100, 42, 195, .45); }
.isx-phead-ico i { position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--rf-violet); opacity: 0; animation: isxHalo 2.6s ease-out infinite; }
@keyframes isxHalo { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.isx-phead-txt { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.isx-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rf-btn); }
.isx-sample { height: 20px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; background: #fff6e5; border: 1px solid #f2dcae; color: #8a5300; font-size: 10.5px; letter-spacing: .08em; cursor: help; }
.isx-count { font-size: clamp(21px, 2.3vw, 27px); font-weight: 600; letter-spacing: -.02em; color: var(--rf-ink); line-height: 1.25; overflow-wrap: anywhere; }
.isx-count b { font-weight: 700; font-variant-numeric: tabular-nums; }
.isx-count span[data-isx-noun] { color: var(--rf-text); font-weight: 500; }
.isx-qv { color: var(--rf-btn); }
.isx-took { font-size: 13px; color: var(--rf-muted); }
.isx-took span:not(:empty)::after { content: ' · '; }

.isx-kpis { margin: 0; display: flex; align-items: stretch; background: #fff; border: 1px solid var(--rf-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(22, 23, 39, .04); }
.isx-kpis > div { padding: 10px 18px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.isx-kpis > div + div { border-left: 1px solid var(--rf-line); }
.isx-kpis dt { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rf-muted); white-space: nowrap; }
.isx-kpis dd { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--rf-ink); font-variant-numeric: tabular-nums; }
.isx-kpis dd[data-isx-kpi="top"] { color: #a8281d; }

.isx-phead-bar { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.isx-sort { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; font-size: 13px; color: var(--rf-muted); flex-shrink: 0; }
.isx-sort select { height: 36px; padding: 0 30px 0 12px; border: 1px solid #dcdce3; border-radius: 9px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737386' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; font: 500 13px 'Sora', system-ui, sans-serif; color: var(--rf-ink); cursor: pointer; transition: border-color .2s ease; }
.isx-sort select:hover { border-color: #b9a6e4; }
.isx-sort select:focus-visible { outline: 2px solid var(--rf-violet); outline-offset: 1px; }

/* filter tabs (underline style, sliding indicator) */
.isx-sum { position: relative; display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.isx-sum::-webkit-scrollbar { display: none; }
.isx-st { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 0; background: transparent; color: var(--rf-text); font: 500 14px 'Sora', system-ui, sans-serif; white-space: nowrap; cursor: pointer; transition: color .2s ease; }
.isx-st::before { content: ''; position: absolute; inset: 6px 2px; border-radius: 9px; background: var(--rf-soft); opacity: 0; transition: opacity .2s ease; }
.isx-st:hover::before { opacity: 1; }
.isx-st > * { position: relative; }
.isx-st:hover { color: var(--rf-ink); }
.isx-st:focus-visible { outline: 2px solid var(--rf-violet); outline-offset: -4px; border-radius: 10px; }
.isx-st[disabled] { cursor: default; opacity: .45; }
.isx-st[disabled]::before { display: none; }
.isx-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.isx-st b { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; background: #ececf1; color: var(--rf-text); transition: background-color .2s ease, color .2s ease; }
.isx-st[aria-pressed="true"] { color: var(--rf-ink); font-weight: 600; }
.isx-st[aria-pressed="true"] b { background: var(--rf-btn); color: #fff; }
.isx-ind { position: absolute; bottom: 0; left: 0; height: 2.5px; border-radius: 2px 2px 0 0; background: var(--rf-btn); transition: transform .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.isx-st.c-all { --c: var(--rf-violet); }
.isx-st.c-sanctions { --c: #d6453a; }
.isx-st.c-pep { --c: #e09a1c; }
.isx-st.c-watchlist { --c: #3f7fd6; }
.isx-st.c-media { --c: #9a9aab; }

/* ---------- rows ---------- */
.isx-thead, .isx-row { display: grid; grid-template-columns: 42px minmax(0, 2.4fr) minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .8fr) 118px 32px; align-items: center; gap: 16px; padding: 0 24px; }
.isx-thead { height: 40px; background: #fafafb; border-bottom: 1px solid var(--rf-line); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rf-muted); }
.isx-list { list-style: none; margin: 0; padding: 0; }
.isx-res { position: relative; border-bottom: 1px solid #efeff3; animation: isxUp .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
.isx-res:last-child { border-bottom: 0; }
.isx-row { width: 100%; min-height: 72px; padding-top: 12px; padding-bottom: 12px; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background-color .2s ease; }
.isx-row:hover { background: #fbfaff; }
.isx-row:focus-visible { outline: 2px solid var(--rf-violet); outline-offset: -2px; }
.isx-res.is-open { background: #fbfaff; }
.isx-res.is-open::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rf-violet); }

.isx-av { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; transition: transform .25s ease; }
.isx-row:hover .isx-av { transform: scale(1.05); }
.isx-av.a-sanctions { background: #fdecea; color: #a8281d; }
.isx-av.a-pep { background: #fff4e0; color: #8a5300; }
.isx-av.a-watchlist { background: #eaf1fb; color: #1d4f91; }
.isx-av.a-media { background: #f1f1f4; color: #434357; }
.isx-who { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.isx-name { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--rf-ink); line-height: 1.3; overflow-wrap: anywhere; transition: color .2s ease; }
.isx-row:hover .isx-name { color: var(--rf-btn); }
.isx-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.isx-tag { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px 0 7px; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid transparent; }
.isx-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t-sanctions { background: #fdf1f0; color: #a8281d; border-color: #f6d3cf; }
.t-pep { background: #fff7e8; color: #8a5300; border-color: #f3dfb6; }
.t-watchlist { background: #f0f5fc; color: #1d4f91; border-color: #d3e0f3; }
.t-media { background: #f5f5f7; color: #434357; border-color: #e3e3e8; }
.isx-aka { font-size: 12.5px; color: var(--rf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.isx-cell { font-size: 13.5px; color: var(--rf-text); min-width: 0; overflow-wrap: anywhere; }
.isx-cell.is-na { color: #a5a5b4; }
.isx-match { display: flex; flex-direction: column; gap: 6px; }
.isx-match-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.isx-match-top b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--rf-ink); }
.isx-match-top small { font-size: 11px; font-weight: 600; color: var(--c); white-space: nowrap; }
.isx-meter { height: 5px; border-radius: 999px; background: #ececf1; overflow: hidden; }
.isx-meter i { display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: inherit; background: var(--c); transform-origin: left; animation: isxGrow .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(250ms + var(--i, 0) * 55ms); }
@keyframes isxGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.isx-match.is-high { --c: #c2362b; }
.isx-match.is-mid { --c: #b97a0b; }
.isx-match.is-low { --c: #7a7a8c; }
.isx-chev { justify-self: end; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--rf-line); display: grid; place-items: center; color: var(--rf-muted); background: #fff; transition: transform .25s ease, border-color .2s ease, color .2s ease, background-color .2s ease; }
.isx-row:hover .isx-chev { border-color: #c9b6ef; color: var(--rf-btn); }
.isx-res.is-open .isx-chev { transform: rotate(180deg); background: var(--rf-btn); border-color: var(--rf-btn); color: #fff; }
.isx-filter-empty { padding: 32px 16px; text-align: center; font-size: 14px; color: var(--rf-muted); }
.isx-meta-m { display: none; }

.isx-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.isx-detail.is-open { grid-template-rows: 1fr; }
.isx-detail > div { overflow: hidden; }
.isx-detail-in { margin: 0 22px 20px 80px; padding: 16px 18px; background: #fff; border: 1px solid #ebe7f5; border-radius: 14px; display: flex; flex-direction: column; gap: 16px; }
.isx-kv { display: flex; flex-wrap: wrap; gap: 8px; }
.isx-kv span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--rf-soft); font-size: 12.5px; color: var(--rf-muted); }
.isx-kv b { font-weight: 600; color: var(--rf-ink); }
.isx-h4 { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rf-muted); margin: 0 0 8px; }
.isx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.isx-table th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--rf-muted); padding: 8px 12px; background: #fafafb; border-bottom: 1px solid var(--rf-line); }
.isx-table td { padding: 10px 12px; border-bottom: 1px solid #efeff3; color: var(--rf-ink); vertical-align: top; overflow-wrap: anywhere; }
.isx-table td:last-child { font-family: ui-monospace, 'JetBrains Mono', monospace; font-size: 12px; color: var(--rf-text); }
.isx-table tr:last-child td { border-bottom: 0; }
.isx-tablewrap { border: 1px solid var(--rf-line); border-radius: 10px; overflow: hidden; }
.isx-pos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.isx-pos li { padding: 7px 11px; border: 1px solid var(--rf-line); border-radius: 8px; font-size: 13px; color: var(--rf-ink); }
.isx-pos li span { color: var(--rf-muted); margin-left: 6px; }
.isx-note { font-size: 13.5px; line-height: 1.6; color: var(--rf-text); }

.isx-foot { font-size: 13.5px; line-height: 1.6; color: var(--rf-muted); text-align: center; max-width: 640px; margin: 0 auto; }
.isx-foot a { color: var(--rf-btn); font-weight: 600; }
.isx-foot a:hover { color: var(--rf-btn-hover); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .isx-phead-top { grid-template-columns: auto minmax(0, 1fr); }
  .isx-kpis { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 1000px) {
  .isx-thead { display: none; }
  .isx-row { grid-template-columns: 42px minmax(0, 1fr) 104px 32px; grid-template-areas: "a w m c" ". x x x"; row-gap: 8px; }
  .isx-row > .isx-av { grid-area: a; align-self: start; }
  .isx-row > .isx-who { grid-area: w; }
  .isx-row > .isx-match { grid-area: m; align-self: start; }
  .isx-row > .isx-chev { grid-area: c; align-self: start; }
  .isx-row > .isx-cell { display: none; }
  .isx-meta-m { grid-area: x; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--rf-text); }
  .isx-meta-m span { display: inline-flex; align-items: center; gap: 5px; }
  .isx-meta-m svg { color: #9a9aab; }
  .isx-detail-in { margin-left: 80px; }
}
@media (max-width: 640px) {
  .isx-hero-in { padding-bottom: 130px; }
  .isx-wrap { margin-top: -96px; gap: 22px; }
  .isx-field { height: auto; flex-wrap: wrap; padding: 6px; gap: 6px; border-radius: 13px; }
  .isx-field-ico { padding-left: 10px; }
  .isx-input { height: 48px; font-size: 16px; }
  .isx-submit { width: 100%; justify-content: center; height: 50px; }
  .isx-meta { flex-direction: column; align-items: flex-start; }
  .isx-panel { border-radius: 16px; }
  .isx-phead { padding: 18px 16px 0; gap: 16px; }
  .isx-phead-top { gap: 14px; }
  .isx-phead-ico { width: 44px; height: 44px; border-radius: 13px; }
  .isx-kpis { justify-self: stretch; }
  .isx-kpis > div { flex: 1; padding: 9px 12px; }
  .isx-kpis dt { font-size: 10px; white-space: normal; }
  .isx-kpis dd { font-size: 17px; }
  .isx-phead-bar { flex-direction: column-reverse; align-items: stretch; gap: 4px; }
  .isx-sort { padding-bottom: 0; justify-content: flex-end; }
  .isx-st { height: 42px; padding: 0 11px; font-size: 13px; }
  .isx-phead-dots { width: 100%; }
  .isx-row { padding-left: 14px; padding-right: 12px; gap: 12px; grid-template-columns: 38px minmax(0, 1fr) 32px; grid-template-areas: "a w c" ". m m" ". x x"; }
  .isx-av { width: 38px; height: 38px; border-radius: 11px; font-size: 12.5px; }
  .isx-row > .isx-match { align-self: stretch; max-width: 220px; }
  .isx-aka { white-space: normal; }
  .isx-detail-in { margin: 0 12px 14px; padding: 12px; }
  .isx-table thead { display: none; }
  .isx-table, .isx-table tbody, .isx-table tr, .isx-table td { display: block; width: 100%; }
  .isx-table tr { padding: 8px 10px; border-bottom: 1px solid #efeff3; }
  .isx-table tr:last-child { border-bottom: 0; }
  .isx-table td { padding: 2px 0; border: 0; display: flex; gap: 10px; }
  .isx-table td::before { content: attr(data-th); flex: 0 0 86px; font-family: 'Sora', system-ui, sans-serif; font-size: 11.5px; font-weight: 600; color: var(--rf-muted); }
}
@media (prefers-reduced-motion: reduce) {
  .isx-in, .isx-res, .isx-state, .isx-panel, .isx-meter i, .isx-phead-dots, .isx-phead-ico i { animation: none; }
  .isx-ind { transition: none; }
  .isx-idle .isx-state-ico svg, .isx-radar i, .isx-skel i { animation: none; }
  .isx-detail, .isx-chev, .isx-av { transition: none; }
  .isx-submit:hover, .isx-row:hover .isx-av { transform: none; }
}

/* ---------- motion layer ---------- */
/* hold entrance animations while the site loader is on screen (class set by JS only) */
.isx-hold .isx-in, .isx-hold .isx-float li { animation-play-state: paused; }

.isx-hero .pz-hero-in { z-index: 1; }
.isx-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.isx-glow i { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(128, 70, 225, .28) 0%, rgba(128, 70, 225, 0) 65%); filter: blur(10px); }
.isx-glow i:first-child { left: -120px; top: -220px; animation: isxOrbA 16s ease-in-out infinite alternate; }
.isx-glow i:last-child { right: -160px; bottom: -300px; background: radial-gradient(circle, rgba(180, 145, 238, .2) 0%, rgba(180, 145, 238, 0) 65%); animation: isxOrbB 20s ease-in-out infinite alternate; }
@keyframes isxOrbA { to { transform: translate(180px, 90px); } }
@keyframes isxOrbB { to { transform: translate(-200px, -60px); } }
.isx-scan { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, rgba(180, 145, 238, 0) 0%, rgba(180, 145, 238, .07) 85%, rgba(180, 145, 238, .35) 100%); border-bottom: 1px solid rgba(180, 145, 238, .25); pointer-events: none; animation: isxScan 7s cubic-bezier(.45, 0, .55, 1) infinite; opacity: 0; }
@keyframes isxScan { 0% { transform: translateY(-120px); opacity: 0; } 15% { opacity: 1; } 60% { opacity: .8; } 75%, 100% { transform: translateY(420px); opacity: 0; } }
.isx-float { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.isx-float li { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #c6c6d4; font-size: 12.5px; font-weight: 500; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: isxBob 8s ease-in-out infinite, isxFadeIn .8s ease both; animation-delay: var(--t), .6s; }
.isx-float li svg { color: #b491ee; }
@keyframes isxBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes isxFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1100px) { .isx-float { display: none; } }
.isx-kicker { display: inline-flex; align-items: center; gap: 9px; }
.isx-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #b491ee; animation: isxDot 2s ease-out infinite; }
@keyframes isxDot { 0% { box-shadow: 0 0 0 0 rgba(180, 145, 238, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(180, 145, 238, 0); } }

/* submit sheen */
.isx-submit { overflow: hidden; }
.isx-sheen { position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); animation: isxSheen 4.5s ease-in-out infinite 1.5s; pointer-events: none; }
@keyframes isxSheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.isx-field:focus-within .isx-field-ico svg { animation: isxLens .6s cubic-bezier(.4, 0, .2, 1); }
@keyframes isxLens { 35% { transform: rotate(-16deg) scale(1.1); } 70% { transform: rotate(8deg); } }
.isx-scope li { animation: isxUp .5s ease both; }
.isx-scope li:nth-child(1) { animation-delay: .45s; } .isx-scope li:nth-child(2) { animation-delay: .52s; } .isx-scope li:nth-child(3) { animation-delay: .59s; } .isx-scope li:nth-child(4) { animation-delay: .66s; }
.isx-hold .isx-scope li { animation-play-state: paused; }

/* idle: orbit illustration */
.isx-idle .isx-state-ico { display: none; }
.isx-orbit { position: relative; width: 168px; height: 168px; margin-bottom: 8px; }
.o-ring { position: absolute; border-radius: 50%; border: 1px solid #e7defa; inset: 0; }
.o-ring.r2 { inset: 26px; border-style: dashed; border-color: #ddd0f6; animation: isxRot 30s linear infinite; }
.o-ring.r3 { inset: 52px; background: #faf8fe; }
.o-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(128, 70, 225, .18), rgba(128, 70, 225, 0) 70deg, transparent 360deg); animation: isxRot 4s linear infinite; -webkit-mask: radial-gradient(circle, transparent 30px, #000 31px); mask: radial-gradient(circle, transparent 30px, #000 31px); }
.o-core { position: absolute; inset: 60px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--rf-btn); border: 1px solid #e7defa; box-shadow: 0 10px 24px -12px rgba(100, 42, 195, .5); }
.o-core svg { animation: isxFloat 3.2s ease-in-out infinite; }
.o-node { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--rf-line); box-shadow: 0 6px 14px -8px rgba(22, 23, 39, .3); color: var(--rf-muted); animation: isxNode 4s ease-in-out infinite; }
.o-node.n1 { left: 50%; top: 0; color: #c2362b; animation-delay: 0s; }
.o-node.n2 { left: 100%; top: 50%; color: #b97a0b; animation-delay: 1s; }
.o-node.n3 { left: 50%; top: 100%; color: #2f6bc0; animation-delay: 2s; }
.o-node.n4 { left: 0; top: 50%; color: #737386; animation-delay: 3s; }
@keyframes isxRot { to { transform: rotate(360deg); } }
@keyframes isxNode { 0%, 100% { transform: scale(1); box-shadow: 0 6px 14px -8px rgba(22, 23, 39, .3); } 12% { transform: scale(1.14); box-shadow: 0 0 0 5px rgba(128, 70, 225, .12), 0 8px 18px -8px rgba(100, 42, 195, .5); } 30% { transform: scale(1); } }

/* loading: step checklist + progress */
.isx-loadbar { flex-wrap: wrap; position: relative; padding: 14px 16px 18px; background: #fff; border: 1px solid var(--rf-line); border-radius: 14px; overflow: hidden; }
.isx-steps { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.isx-steps li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #a5a5b4; animation: isxStepTxt .3s ease forwards; animation-delay: calc(var(--s) * .26s + .15s); }
.st-d { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #dcdce3; display: grid; place-items: center; color: transparent; animation: isxStepDot .3s ease forwards; animation-delay: calc(var(--s) * .26s + .15s); }
.st-d svg { width: 11px; height: 11px; }
@keyframes isxStepTxt { to { color: var(--rf-ink); } }
@keyframes isxStepDot { to { background: #12805c; border-color: #12805c; color: #fff; } }
.isx-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #f1edfb; }
.isx-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #8046e1, #b491ee); transform-origin: left; animation: isxProg 1.3s cubic-bezier(.3, .6, .3, 1) forwards; }
@keyframes isxProg { from { transform: scaleX(0); } to { transform: scaleX(.92); } }

/* result rows: hover lift of the chevron + slightly livelier entrance */
.isx-res { animation-name: isxRowIn; }
@keyframes isxRowIn { from { opacity: 0; transform: translateY(10px) scale(.995); } to { opacity: 1; transform: none; } }
.isx-row:hover .isx-chev { transform: translateY(1px); }
.isx-res.is-open .isx-row:hover .isx-chev { transform: rotate(180deg); }
.isx-detail.is-open .isx-detail-in > * { animation: isxUp .4s ease both; }
.isx-detail.is-open .isx-detail-in > *:nth-child(2) { animation-delay: .06s; }
.isx-detail.is-open .isx-detail-in > *:nth-child(3) { animation-delay: .12s; }
.isx-detail.is-open .isx-detail-in > *:nth-child(4) { animation-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .isx-glow i, .isx-scan, .isx-float li, .isx-kicker i, .isx-sheen, .o-ring, .o-sweep, .o-core svg, .o-node, .isx-detail.is-open .isx-detail-in > * { animation: none !important; }
  .isx-scan, .isx-sheen, .o-sweep { display: none; }
}

/* ---------- live search (v11) ---------- */
/* the paid categories: listed in the search card, locked */
.isx-scope li.is-locked { color: var(--rf-muted); }
.isx-scope li.is-locked svg { color: #a5a5b4; }
.isx-scope .isx-lock { margin-left: -2px; }
/* their tabs show how many records they hold, and open the upgrade */
.isx-st.c-risk { --c: #1f8f7a; }
.isx-st.is-locked b { min-width: 22px; padding: 0 6px; }
.isx-st.is-locked[aria-pressed="true"] b { background: var(--rf-btn); color: #fff; }

.isx-upgrade { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: clamp(32px, 5vw, 48px) 20px; animation: isxUp .4s ease both; }
.isx-upgrade-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #f1edfb; color: var(--rf-btn); margin-bottom: 4px; }
.isx-upgrade-count { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #f1edfb; color: var(--rf-btn); font-size: 13px; font-weight: 600; }
.isx-upgrade h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--rf-ink); }
.isx-upgrade p { max-width: 540px; font-size: 14.5px; line-height: 1.6; color: var(--rf-text); }
.isx-upgrade p.isx-upgrade-count { max-width: none; font-size: 13px; color: var(--rf-btn); }
.isx-upgrade p.isx-upgrade-also { font-size: 13px; color: var(--rf-muted); }
.isx-upgrade-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 4px; }
.isx-upgrade-cta .isx-btn-ghost { margin-top: 0; display: inline-flex; align-items: center; }
.isx-upgrade-go { height: 42px; padding: 0 20px; border-radius: 10px; display: inline-flex; align-items: center; border: 1px solid #5a24b4; background: linear-gradient(180deg, #6e35d0 0%, #642ac3 100%); background-color: #642ac3; color: #fff; font: 600 14px 'Sora', system-ui, sans-serif; box-shadow: 0 8px 18px -10px rgba(100, 42, 195, .75); transition: transform .2s ease, background-color .2s ease; }
.isx-upgrade-go:hover { background: var(--rf-btn-hover); color: #fff; transform: translateY(-1px); }
.isx-upgrade-src { height: 42px; padding: 0 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--rf-btn); font: 600 14px 'Sora', system-ui, sans-serif; }
.isx-upgrade-src svg { transition: transform .2s ease; }
.isx-upgrade-src:hover { color: var(--rf-btn-hover); }
.isx-upgrade-src:hover svg { transform: translateX(3px); }
.isx-upgrade-go:focus-visible, .isx-upgrade-cta .isx-btn-ghost:focus-visible, .isx-upgrade-src:focus-visible { outline: 2px solid var(--rf-violet); outline-offset: 2px; }
.isx-empty p a, .isx-empty-locked a { color: var(--rf-btn); font-weight: 600; }
.isx-state p.isx-empty-locked { font-size: 13.5px; color: var(--rf-text); }

/* a relative or associate of a match, not a name match itself */
.isx-rel { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--rf-btn); }
.isx-match.is-rel { --c: var(--rf-btn); }
.isx-match.is-rel b { color: #a5a5b4; }
.isx-note + .isx-note { margin-top: 8px; }

/* Cloudflare's check: invisible; a box appears here only if Cloudflare asks */
.isx-ts { display: flex; justify-content: center; }
.isx-ts:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  .isx-upgrade { animation: none; }
  .isx-upgrade-go:hover { transform: none; }
}

/* why a record matched, and what the free answer left out of it (v12) */
.isx-hit { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--rf-text); }
.isx-hit svg { color: var(--rf-violet); flex-shrink: 0; }
.isx-more-note { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--rf-btn); white-space: nowrap; }
.isx-more-note:hover { color: var(--rf-btn-hover); text-decoration: underline; }
.isx-more-note svg { color: var(--rf-violet-soft); }
.isx-more-note:focus-visible { outline: 2px solid var(--rf-violet); outline-offset: 2px; border-radius: 4px; }
.isx-pos li.isx-li-more { border: 0; padding: 7px 4px; }
.isx-kv .isx-more-note { height: 28px; padding: 0 4px; }
.isx-note + .isx-more-note { margin-top: 6px; }
.isx-aka mark.isx-aka-hit { background: #f1edfb; color: var(--rf-btn); font-weight: 600; padding: 0 4px; border-radius: 4px; }
