/* outfit-latin-ext-wght-normal */
@font-face {
  font-family: 'Outfit Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://code-components.website-files.com/6acdf11b37dcbb26677362b4%2Fmodule%2F562d506c56800e98f6dc-outfit-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* outfit-latin-wght-normal */
@font-face {
  font-family: 'Outfit Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://code-components.website-files.com/6acdf11b37dcbb26677362b4%2Fmodule%2F9361ca49fa8244163822-outfit-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Keep in sync with marketing-demo/src/visual-tokens.css.
   Each Webflow library bundles its own copy; no runtime cross-library dependency. */
:host, :host {
  --ortium-radius-frame: 8px;
  --ortium-radius-panel: 6px;
  --ortium-radius-control: 4px;
}

.research-explorer, .research-explorer * { box-sizing: border-box; }
.research-explorer { container: research-explorer / inline-size; width:100%; max-width:880px; padding:0; font-family:"Outfit Variable","Outfit",sans-serif; color:#111827; line-height:1.45; text-align:left; -webkit-font-smoothing:antialiased; }
.research-explorer :is(h2,h3,h4,p,figure,blockquote) { margin:0; }
.research-explorer .rex-shell { background:#fff; border:1px solid #e5e7eb; border-radius: var(--ortium-radius-frame); box-shadow:0 4px 18px #11182706; overflow:hidden; }
.research-explorer .rex-toolbar { display:flex; justify-content:space-between; align-items:center; padding:16px 28px; background:#fafbfc; border-bottom:1px solid #eef0f3; color:#6b7280; font-size:12px; }
.research-explorer .rex-toolbar > span:first-child { display:flex; gap:8px; align-items:center; }
.research-explorer .rex-toolbar svg { width:18px; height:18px; color:#2563eb; }
.research-explorer .rex-company { display:flex; align-items:center; justify-content:space-between; padding:22px 24px; gap:16px; }
.research-explorer .rex-company > div:first-child { display:flex; align-items:center; gap:12px; }
.research-explorer .rex-company img { width:32px; height:32px; object-fit:contain; }
.research-explorer h2 { font-size:19px; font-weight:500; letter-spacing:-.4px; line-height:20px; }
.research-explorer .rex-company-identity { height:32px; display:flex; flex-direction:column; justify-content:space-between; }
.research-explorer .rex-company-identity > span { line-height:12px; }
.research-explorer .rex-company span { font-size:12px; color:#9299a5; }
.research-explorer .rex-competitors { text-align:right; font-size:13px; color:#4b5563; }
.research-explorer .rex-competitors i { display:inline-block; width:3px; height:3px; background:#c7cdd5; border-radius:50%; vertical-align:middle; margin:0 8px; }
.research-explorer .rex-tabs { display:flex; justify-content:flex-start; gap:24px; margin:0 24px; }
.research-explorer .rex-tab-navigation { display:flex; align-items:center; gap:10px; margin:0 24px; }
.research-explorer .rex-tab-navigation .rex-tabs { margin:0; min-width:0; }
.research-explorer .rex-playback { flex:0 0 24px; width:24px; height:24px; margin:0 0 4px auto; padding:5px; border:0; border-radius: var(--ortium-radius-control); background:transparent; color:#9ca3af; cursor:pointer; }
.research-explorer .rex-playback:hover { background:#f3f4f6; color:#4b5563; }
.research-explorer .rex-playback:disabled { opacity:.45; cursor:default; }
.research-explorer .rex-playback svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.research-explorer .rex-tabs button { flex:0 0 auto; font-family:inherit; color:#6b7280; background:none; border:0; border-bottom:2px solid transparent; padding:8px 0 12px; cursor:pointer; text-align:left; font-size:13px; line-height:1.4; white-space:nowrap; }
.research-explorer .rex-tabs button[aria-selected=true] { color:#111827; font-weight:500; border-bottom-color:#2563eb; }
.research-explorer .rex-tabs small { display:block; font-size:10px; color:#9299a5; margin-top:5px; }
.research-explorer :focus-visible { outline:2px solid #2563eb; outline-offset:3px; }
.research-explorer .rex-panels { display:grid; }
.research-explorer .rex-panel { grid-area:1 / 1; padding:20px 24px 24px; min-width:0; display:flex; visibility:hidden; }
.research-explorer .rex-panel[data-active=true] { visibility:visible; }
.research-explorer .rex-panel-content { display:flex; flex-direction:column; justify-content:space-between; width:100%; }
.research-explorer .rex-panel[data-active=true] .rex-panel-content { animation:rex-reveal .25s ease-out both; }
.research-explorer [data-chart-reveal=true] :is(.rex-platform-bars i, .rex-clusters i, .rex-pillar-track i) { transform-origin:left center; animation:rex-bar-grow 1.1s cubic-bezier(.333333,1,.666667,1) both; }
.research-explorer [data-chart-reveal=true] :is(.rex-activity path, .rex-organic-line .recharts-line-curve) { animation:rex-line-trace 1.2s ease-out backwards; }
@keyframes rex-bar-grow { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes rex-line-trace { from { clip-path:inset(-2px 100% -2px -2px) fill-box; } to { clip-path:inset(-2px -2px -2px -2px) fill-box; } }
.research-explorer .rex-ready { display:flex; align-items:center; gap:6px; font-size:11px; }
.research-explorer .rex-ready i { width:6px; height:6px; border-radius:50%; background:#22c55e; }
.research-explorer .rex-detail { margin-top:auto; padding-top:26px; }
.research-explorer .rex-detail h4 { margin-bottom:12px; }
.research-explorer .rex-detail > div { display:grid; grid-template-columns:1fr 1.7fr; gap:14px; padding:10px 0; border-top:1px solid #eef0f3; font-size:11px; }
.research-explorer .rex-detail > div > span { color:#9299a5; }
.research-explorer .rex-detail p { color:#4b5563; }
.research-explorer .rex-section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:24px; }
.research-explorer h3 { font-size:18px; font-weight:500; letter-spacing:-.3px; }
.research-explorer .rex-section-heading { padding-top:10px; }
.research-explorer .rex-section-heading h3 { font-size:16px; }
.research-explorer .rex-section-heading > span { font-size:10px; color:#6b7280; background:#f3f4f6; border:1px solid #e5e7eb; border-radius: var(--ortium-radius-control); padding:4px 7px; white-space:nowrap; }
.research-explorer h4 { font-size:13px; font-weight:500; }
.research-explorer .rex-ad-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:32px; }
.research-explorer .rex-platform { display:flex; align-items:center; gap:9px; margin-top:17px; font-size:13px; }
.research-explorer .rex-platform strong { margin-left:auto; font-weight:500; font-variant-numeric:tabular-nums; }
.research-explorer .rex-platform-mark { display:grid; place-items:center; width:24px; height:24px; border:1px solid #e5e7eb; border-radius: var(--ortium-radius-control); font-size:12px; color:#2563eb; }
.research-explorer figure img { display:block; width:100%; border:1px solid #e5e7eb; border-radius: var(--ortium-radius-control); }
.research-explorer figcaption { font-size:10px; color:#9299a5; margin-top:10px; }
.research-explorer figcaption strong { display:block; font-size:12px; font-weight:400; color:#4b5563; margin-top:3px; }
.research-explorer .rex-bottom-note { display:none; }
.research-explorer .rex-bottom-note > span, .research-explorer .rex-quote > span { color:#9299a5; font-size:11px; }
.research-explorer .rex-bottom-note p { margin-top:4px; font-size:13px; color:#4b5563; }
.research-explorer .rex-bars { margin-top:18px; display:grid; gap:16px; }
.research-explorer .rex-bars > div > div:first-child { display:flex; justify-content:space-between; font-size:12px; color:#6b7280; margin-bottom:6px; }
.research-explorer .rex-bars strong { font-weight:500; }
.research-explorer .rex-track { height:7px; background:#f3f4f6; border-radius:3px; overflow:hidden; }
.research-explorer .rex-track i { display:block; height:100%; border-radius:inherit; }
.research-explorer .rex-quote { margin-top:22px; padding:15px 18px; background:#fafbfc; border-left:2px solid #d1d5db; }
.research-explorer blockquote { margin-top:6px; font-size:14px; color:#4b5563; }
.research-explorer .rex-search-summary { display:flex; gap:24px; justify-content:space-between; align-items:center; margin-bottom:22px; }
.research-explorer .rex-search-summary span { font-size:11px; color:#9299a5; }
.research-explorer .rex-search-summary strong { display:block; font-size:27px; font-weight:500; }
.research-explorer .rex-search-summary svg { width:45%; max-width:250px; }
.research-explorer table { width:100%; border-collapse:collapse; font-size:12px; text-align:left; }
.research-explorer th { font-weight:400; color:#9299a5; font-size:11px; padding:0 8px 12px 0; }
.research-explorer td { padding:13px 8px 13px 0; border-top:1px solid #edf0f3; color:#4b5563; }
.research-explorer td:last-child,.research-explorer th:last-child { text-align:right; padding-right:0; }
.research-explorer .rex-description { font-size:12px; color:#6b7280; margin-bottom:23px; }
.research-explorer .rex-matrix td:not(:first-child),.research-explorer .rex-matrix th:not(:first-child) { text-align:center; }
.research-explorer .rex-matrix svg { width:17px; height:17px; color:#047857; vertical-align:middle; }
.research-explorer .rex-positioning > div { display:grid; grid-template-columns:95px 1fr; gap:16px; padding:17px 0; border-bottom:1px solid #edf0f3; }
.research-explorer .rex-positioning > div:first-child { padding-top:0; }
.research-explorer .rex-positioning > div:last-child { border:0; }
.research-explorer .rex-positioning span { font-size:12px; color:#9299a5; }
.research-explorer .rex-positioning p { font-size:12px; color:#6b7280; margin-top:4px; }
.research-explorer footer { padding:0 28px 20px; font-size:10px; color:#9ca3af; }
.research-explorer[data-entered=true] .rex-tabs small { animation:rex-reveal .6s ease-out both; }
@keyframes rex-reveal { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
.research-explorer .rex-stat-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:0; border-radius:0; margin-bottom:18px; }
.research-explorer .rex-stat-row > div { padding:10px 16px; min-width:0; }
.research-explorer .rex-stat-row > div:first-child { padding-left:0; }
.research-explorer .rex-stat-row span { display:block; font-size:10px; line-height:1.35; margin-bottom:3px; color:#6b7280; }
.research-explorer .rex-stat-row strong { display:block; font-size:24px; line-height:1.1; font-weight:500; color:#111827; font-variant-numeric:tabular-nums; }
.research-explorer .rex-chart-pair { display:grid; grid-template-columns:1fr 1fr; gap:26px; flex:1; }
.research-explorer .rex-chart-pair > div { container-type:inline-size; display:flex; flex-direction:column; min-width:0; }
.research-explorer .rex-chart-pair > div:first-child { padding-right:14px; }
.research-explorer .rex-chart-pair h4 { font-size:12px; margin-bottom:18px; }
.research-explorer .rex-platform-bars { display:flex; flex-direction:column; justify-content:space-between; flex:1; min-height:110px; padding-bottom:32px; }
.research-explorer .rex-platform-bars > div { display:grid; grid-template-columns:80px minmax(0,1fr) 24px; gap:10px; align-items:center; font-size:11px; color:#6b7280; }
.research-explorer .rex-platform-bars i { display:block; height:11px; border-radius: var(--ortium-radius-control); background:#4BC0C0; }
.research-explorer .rex-platform-bars strong { font-weight:400; text-align:right; }
.research-explorer .rex-ad-trend h4 { font-size:13px; margin-bottom:0; }
.research-explorer .rex-ad-trend .rex-activity { width:100%; height:145px; min-height:145px; flex:1; }
.research-explorer .rex-competitor-list { display:flex; align-items:center; gap:14px; margin-top:4px; }
.research-explorer .rex-competitor-list > span { display:flex; align-items:center; gap:6px; color:#4b5563; font-size:12px; }
.research-explorer .rex-competitor-list img { width:16px; height:16px; object-fit:contain; }
.research-explorer .rex-activity-legend { display:flex; justify-content:center; width:100%; gap:12px; margin-top:4px; font-size:10px; }
.research-explorer .rex-activity-legend span { display:flex; align-items:center; gap:5px; }
.research-explorer .rex-activity-legend i { width:6px; height:6px; border-radius:50%; }
.research-explorer .rex-activity path { fill:none; stroke-width:1.5; vector-effect:non-scaling-stroke; stroke-linecap:round; stroke-linejoin:round; }
.research-explorer .rex-activity text { fill:#9ca3af; font-size:9px; }
.research-explorer .rex-creative-row { display:flex; flex-direction:column; gap:18px; align-items:stretch; margin-top:0; padding-top:20px; }
.research-explorer .rex-ad-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.research-explorer .rex-creative-row h4 { color:#6b7280; font-size:11px; margin-bottom:8px; }
.research-explorer .rex-creative-row h3 { font-size:16px; line-height:1.3; }
.research-explorer .rex-creative-row p { font-size:12px; color:#6b7280; margin-top:7px; }
.research-explorer .rex-creative-row img { display:block; width:100%; height:auto; aspect-ratio:1200 / 627; object-fit:contain; background:#f5f5f3; border:1px solid #e5e7eb; border-radius: var(--ortium-radius-control); }
.research-explorer .rex-tag { display:inline-block; margin:10px 5px 0 0; padding:3px 6px; background:#f3f4f6; border-radius: var(--ortium-radius-control); font-size:9px; color:#6b7280; }
.research-explorer .rex-organic { display:flex; flex-direction:column; justify-content:space-between; gap:20px; flex:1; }
.research-explorer .rex-organic-card header p { font-size:12px; color:#6b7280; margin-top:4px; }
.research-explorer .rex-organic-stats { grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:0; margin-bottom:18px; }
.research-explorer .rex-organic-stats > div { padding:10px; min-width:0; }
.research-explorer .rex-organic-stats span { font-size:10px; min-height:0; }
.research-explorer .rex-organic-stats strong { color:#9ca3af; }
.research-explorer .rex-organic-stats .rex-positive { color:#22c55e; }
.research-explorer .rex-organic-charts { display:grid; grid-template-columns:1fr 1.2fr; gap:24px; }
.research-explorer .rex-organic-charts > * { min-width:0; }
.research-explorer .rex-buyer-donuts.rex-intent { display:block; }
.research-explorer .rex-intent > section { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); column-gap:12px; align-items:center; }
.research-explorer .rex-intent > section > h4 { grid-column:1 / -1; }
.research-explorer .rex-intent .rex-donut-chart { width:100%; max-width:130px; margin-bottom:0; }
.research-explorer .rex-intent ul { min-width:0; }
.research-explorer .rex-organic-line { height:160px; margin-top:8px; }
.research-explorer .rex-ai .rex-organic-line { height:166px; }
.research-explorer .rex-organic-keywords { margin-top:12px; }
.research-explorer .rex-ai > section:last-child { margin-top:0; }
.research-explorer .rex-organic-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; font-size:10px; color:#6b7280; margin-top:4px; }
.research-explorer .rex-organic-legend span { display:flex; align-items:center; gap:5px; }
.research-explorer .rex-organic-legend i { width:6px; height:6px; border-radius:50%; }
.research-explorer .rex-cluster-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px; margin:16px 0; }
.research-explorer .rex-cluster-heading span { font-size:10px; color:#9ca3af; }
.research-explorer .rex-organic-keywords > .rex-cluster-heading,
.research-explorer .rex-ai > section:last-child > .rex-cluster-heading { margin-top:0; }
.research-explorer .rex-clusters { display:grid; gap:12px; }
.research-explorer .rex-clusters > div { display:grid; grid-template-columns:1.25fr 1.7fr 30px; gap:12px; align-items:center; font-size:11px; color:#6b7280; }
.research-explorer .rex-clusters i { display:block; height:11px; border-radius: var(--ortium-radius-control); background:#4ECDC4; }
.research-explorer .rex-clusters strong { text-align:right; font-weight:500; }
.research-explorer .rex-organic-stats .rex-negative { color:#ef4444; }
.research-explorer .rex-source-heading { margin:0 0 18px; }
.research-explorer .rex-ai-sources { gap:14px; }
.research-explorer .rex-ai-sources > div { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 24px; gap:8px; }
.research-explorer .rex-ai-sources > div > span { overflow-wrap:anywhere; }
.research-explorer .rex-ai-sources i { background:#3B82F6; }
.research-explorer .rex-positioning-profile { gap:0; }
.research-explorer .rex-positioning-profile > section { margin-top:24px; }
.research-explorer .rex-positioning-stats { margin-bottom:0; }
.research-explorer .rex-positioning-stats > div { display:flex; flex-direction:column; justify-content:space-between; }
.research-explorer .rex-pillar-heading { margin:0 0 12px; }
.research-explorer .rex-pillar-instruction { color:#9ca3af; font-size:11px; margin-bottom:10px; }
.research-explorer .rex-pillar-bars { display:grid; gap:8px; }
.research-explorer .rex-pillar-bars button { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1.7fr) 30px; gap:12px; align-items:center; width:100%; padding:6px; border:0; border-radius: var(--ortium-radius-control); background:none; color:#4b5563; font:inherit; font-size:11px; text-align:left; cursor:pointer; }
.research-explorer .rex-pillar-bars button:hover { background:#f9fafb; }
.research-explorer .rex-pillar-bars button[aria-pressed=true] { background:#eff6ff; color:#111827; }
.research-explorer .rex-pillar-bars button > span:first-child { line-height:1.4; }
.research-explorer .rex-pillar-bars button[aria-pressed=true] > span:first-child { font-weight:500; }
.research-explorer .rex-pillar-bars strong { font-weight:400; color:#6b7280; text-align:right; }
.research-explorer .rex-pillar-track i { display:block; height:12px; background:#8B5CF6; border-radius: var(--ortium-radius-control); }
.research-explorer .rex-pillar-details { display:grid; margin-top:48px; }
.research-explorer .rex-pillar-detail { grid-area:1 / 1; min-width:0; visibility:hidden; display:flex; flex-direction:column; gap:20px; }
.research-explorer .rex-pillar-detail[data-active=true] { visibility:visible; }
.research-explorer .rex-panel:not([data-active=true]) .rex-pillar-detail { visibility:hidden; }
.research-explorer .rex-pillar-summary { display:grid; grid-template-columns:1fr 1fr; gap:24px; flex:1; }
.research-explorer .rex-pillar-summary h4 { font-size:12px; color:#374151; }
.research-explorer .rex-pillar-summary p { font-size:12px; line-height:1.6; color:#6b7280; margin-top:5px; }
.research-explorer .rex-pillar-summary .rex-pillar-source { color:#2563eb; }
.research-explorer .rex-pillar-detail > .rex-stat-row > div { padding-bottom:0; }
/* Keep the shared frame at every width; rebalance its contents instead. */
@container research-explorer (max-width:760px) {
 .research-explorer .rex-pillar-details { margin-top:28px; }
 .research-explorer .rex-creative-row h3 > span { display:block; }
 .research-explorer .rex-ai { gap:36px; }
 .research-explorer .rex-intent > section { grid-template-columns:1fr; justify-items:start; }
 .research-explorer .rex-intent .rex-donut-chart { width:100px; }
 .research-explorer .rex-buyer-donuts.rex-intent ul { margin-top:12px; }
 .research-explorer .rex-organic-card:not(.rex-positioning-profile) > section:first-child { display:flex; flex-direction:column; flex:1; }
 .research-explorer .rex-organic-charts { flex:1; }
 .research-explorer .rex-organic-trend, .research-explorer .rex-ai .rex-organic-charts > section { display:flex; flex-direction:column; }
 .research-explorer .rex-organic-trend .rex-organic-line { flex:1; min-height:160px; }
 .research-explorer .rex-ai .rex-organic-line { flex:1; min-height:166px; }
 .research-explorer .rex-ai-sources { flex:1; align-content:space-between; }
 .research-explorer .rex-positioning-profile > section { display:flex; flex-direction:column; flex:1; }
 .research-explorer .rex-pillar-bars { flex:1; align-content:space-between; }
}
@container research-explorer (min-width:521px) and (max-width:760px) {
 .research-explorer .rex-pillar-bars button { grid-template-columns:minmax(0,1.5fr) minmax(0,1.4fr) 30px; gap:8px; padding:5px; }
 .research-explorer .rex-pillar-summary { grid-template-columns:1.3fr 1fr; }
}
@container research-explorer (max-width:520px) {
 .research-explorer .rex-pillar-summary { grid-template-columns:1fr; gap:14px; }
 .research-explorer .rex-pillar-bars button { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 25px; gap:8px; font-size:10px; }
 .research-explorer .rex-organic-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .research-explorer .rex-organic-stats > div:nth-child(3) { padding-left:0; }
 .research-explorer .rex-organic-stats span { min-height:0; }
 .research-explorer .rex-organic-charts { grid-template-columns:1fr; gap:24px; }
 .research-explorer .rex-clusters > div { grid-template-columns:1.2fr 1fr 26px; gap:8px; font-size:10px; }
}
.research-explorer .rex-buyer-donuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.research-explorer .rex-buyer-donuts section { min-width:0; }
.research-explorer .rex-buyer-donuts h4 { font-size:14px; margin-bottom:8px; }
.research-explorer .rex-donut-chart { position:relative; width:min(150px,100%); aspect-ratio:1; margin-bottom:8px; }
.research-explorer .rex-donut-reveal { position:absolute; inset:0; }
.research-explorer .rex-donut-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; pointer-events:none; }
.research-explorer .rex-donut-center strong { font-size:14px; font-weight:600; color:#111827; font-variant-numeric:tabular-nums; }
.research-explorer .rex-donut-center span { margin-top:2px; font-size:9px; line-height:1; color:#6b7280; }
.research-explorer .rex-buyer-donuts ul { list-style:none; padding:0; margin:0; display:grid; gap:2px; width:max-content; max-width:100%; }
.research-explorer .rex-buyer-donuts li { display:grid; grid-template-columns:8px minmax(0,1fr) auto; gap:6px; align-items:center; font-size:11px; line-height:1.5; color:#6b7280; }
.research-explorer .rex-buyer-donuts li > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.research-explorer .rex-buyer-donuts li i { width:8px; height:8px; border-radius:2px; }
.research-explorer .rex-buyer-donuts li strong { color:#9ca3af; font-weight:400; font-variant-numeric:tabular-nums; }
.research-explorer .rex-purchase-drivers { margin-top:41px; }
.research-explorer .rex-purchase-drivers h4 { margin-bottom:14px; }
.research-explorer .rex-profile-table th { color:#374151; font-weight:500; padding:0 12px 8px 0; border-bottom:1px solid #d1d5db; }
.research-explorer .rex-profile-table td { padding:8px 12px 8px 0; border-top:0; border-bottom:1px solid #f3f4f6; color:#6b7280; vertical-align:top; }
.research-explorer .rex-profile-table tr:last-child td { border-bottom:0; padding-bottom:0; }
.research-explorer .rex-profile-table :is(th,td):not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; }
@container research-explorer (max-width:760px) {
 .research-explorer .rex-purchase-drivers { margin-top:28px; }
 .research-explorer .rex-panel-content > .rex-buyer-donuts { flex:1; align-content:space-between; }
 .research-explorer .rex-panel-content > .rex-buyer-donuts .rex-donut-chart { width:min(180px,100%); }
}
@container research-explorer (max-width:520px) {
 .research-explorer .rex-buyer-donuts { gap:12px; }
 .research-explorer .rex-buyer-donuts h4 { font-size:11px; min-height:32px; }
 .research-explorer .rex-buyer-donuts li { font-size:9px; grid-template-columns:5px minmax(0,1fr) auto; gap:4px; }
 .research-explorer .rex-buyer-donuts li i { width:5px; height:5px; }
 /* Three readable chart rows use the space that the wider tab reserves.
    Keep the organic intent chart's separate horizontal layout intact. */
 .research-explorer .rex-panel-content > .rex-buyer-donuts { grid-template-columns:1fr; gap:20px; }
 .research-explorer .rex-panel-content > .rex-buyer-donuts > section { display:grid; grid-template-columns:clamp(112px,32cqw,140px) minmax(0,1fr); column-gap:20px; align-items:center; }
 .research-explorer .rex-panel-content > .rex-buyer-donuts h4 { grid-column:1 / -1; min-height:0; font-size:12px; margin-bottom:8px; }
 .research-explorer .rex-panel-content > .rex-buyer-donuts .rex-donut-chart { width:100%; margin-bottom:0; }
 .research-explorer .rex-panel-content > .rex-buyer-donuts ul { width:100%; gap:5px; }
 .research-explorer .rex-panel-content > .rex-buyer-donuts li { grid-template-columns:6px minmax(0,1fr) auto; font-size:10px; gap:5px; }
 .research-explorer .rex-panel-content > .rex-buyer-donuts li > span { white-space:normal; overflow:visible; }
 .research-explorer .rex-section-heading h3 { font-size:15px; }
 .research-explorer .rex-intent h4 { min-height:0; }
 .research-explorer .rex-intent ul { width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px 20px; }
}
@media (prefers-reduced-motion:reduce) { .research-explorer * { animation:none !important; } }
@container research-explorer (max-width:520px) {
 .research-explorer .rex-toolbar { padding:12px 18px; }
 .research-explorer .rex-company { padding:24px 18px; }
 .research-explorer .rex-tabs { margin-inline:18px; }
 .research-explorer .rex-tab-navigation { margin-inline:18px; gap:6px; }
 .research-explorer .rex-tabs { gap:8px; }
 .research-explorer .rex-tabs button { font-size:10px; }
 .research-explorer .rex-tabs small { font-size:9px; }
 .research-explorer .rex-panel { padding:24px 18px 18px; }
 .research-explorer .rex-section-heading { align-items:flex-start; }
 .research-explorer h3 { font-size:16px; }
 .research-explorer .rex-ad-layout { gap:18px; grid-template-columns:1fr 1.2fr; }
 .research-explorer .rex-competitors { font-size:11px; }
 .research-explorer .rex-company span { font-size:10px; }
 .research-explorer table { font-size:10px; }
 .research-explorer th { font-size:9px; }
 .research-explorer .rex-positioning > div { grid-template-columns:68px 1fr; gap:10px; }
 .research-explorer footer { padding-inline:18px; }
}
@container research-explorer (max-width:360px) {
 .research-explorer .rex-tabs { gap:4px; }
 .research-explorer .rex-tabs button { font-size:9px; padding-inline:0; }
 .research-explorer .rex-tab-navigation { gap:4px; }
 .research-explorer .rex-playback { flex-basis:18px; width:18px; padding-inline:2px; }
 .research-explorer .rex-tabs small { font-size:8px; }
}
@container research-explorer (max-width:520px) {
 .research-explorer .rex-chart-pair, .research-explorer .rex-creative-row { grid-template-columns:1fr; gap:22px; }
 .research-explorer .rex-chart-pair > div:first-child { padding-right:0; }
 .research-explorer .rex-platform-bars { min-height:130px; padding-bottom:0; }
 .research-explorer .rex-activity { transform:none; }
 .research-explorer .rex-activity-legend { width:100%; }
 .research-explorer .rex-stat-row > div { padding:10px 8px; }
 .research-explorer .rex-stat-row strong { font-size:21px; }
 .research-explorer .rex-section-heading { flex-wrap:wrap; }
}

