/* Raio-X do grupo — estilo (pv-raiox.js). Cores por variável do tema; classes sempre com prefixo
   pvr- (o portal tem .q, .d, .l globais que já quebraram um balão). Texto em tinta, cor na marca. */
.pvr{--pvr-ref:var(--ink-3);--pvr-c1:#eb6834;--pvr-c2:#1baf7a;position:relative}
@media (prefers-color-scheme:dark){ :root:not([data-theme=light]) .pvr{--pvr-ref:#A19D94;--pvr-c1:#d95926;--pvr-c2:#199e70} }
:root[data-theme=dark] .pvr{--pvr-ref:#A19D94;--pvr-c1:#d95926;--pvr-c2:#199e70}
.pvr .pos{color:var(--good)} .pvr .neg{color:var(--crit)}
.pvr-passo,.pvr-card h4{font-size:14px;font-weight:700;color:var(--ink);margin:0 0 8px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pvr-passo b,.pvr-card h4 b{width:22px;height:22px;border-radius:50%;background:var(--brand-bright);color:#fff;font-size:12px;display:grid;place-items:center;flex:none}
.pvr-passo span,.pvr-nota{font-size:12px;font-weight:400;color:var(--ink-3)}
.pvr-grupos{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;margin-bottom:14px}
.pvr-g{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:10px 12px;cursor:pointer;font:inherit;display:flex;flex-direction:column;gap:2px;transition:border-color .15s,box-shadow .15s,transform .15s}
.pvr-g:hover{border-color:var(--brand-bright);transform:translateY(-1px)}
.pvr-g.on{border-color:var(--brand-bright);box-shadow:0 0 0 2px var(--brand-bright) inset}
.pvr-g b{font-size:13.5px;color:var(--ink)}
.pvr-g span{font-size:11.5px;color:var(--ink-3)}
.pvr-g i{font-style:normal;font-size:11px;color:var(--brand-bright);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pvr-g:focus-visible,.pvr-chips button:focus-visible,.pvr-focos button:focus-visible,.pvr-tab button:focus-visible{outline:2px solid var(--brand-bright);outline-offset:2px}
.pvr-barra{display:flex;gap:10px 16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:10px}
.pvr-focos{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--ink-3)}
.pvr-focos button{border:1px solid var(--line-2);background:var(--surface);border-radius:999px;padding:5px 12px;font:inherit;font-size:12px;font-weight:600;color:var(--ink-2);cursor:pointer}
.pvr-focos button.on{background:var(--brand-bright);border-color:var(--brand-bright);color:#fff}
.pvr-chips{display:flex;gap:3px;flex-wrap:wrap;background:var(--surface-2);border-radius:10px;padding:3px}
.pvr-chips button{border:0;background:transparent;font:inherit;font-size:11.5px;font-weight:600;color:var(--ink-2);padding:4px 9px;border-radius:8px;cursor:pointer}
.pvr-chips button.on{background:var(--surface);color:var(--brand-bright);box-shadow:0 1px 3px rgba(10,26,60,.14)}
.pvr-frase{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--brand-bright);border-radius:14px;padding:14px 16px;font-size:15px;line-height:1.55;color:var(--ink);margin-bottom:12px}
.pvr-frase b{font-weight:700} .pvr-frase .pvr-num{font-size:18px}
.pvr-frase small{display:block;margin-top:6px;font-size:11.5px;color:var(--ink-3)}
.pvr-fora{font-size:12px;color:var(--ink-3)}
.pvr-vazio{color:var(--ink-3)}
.pvr-lk{border:0;background:transparent;font:inherit;font-size:12.5px;font-weight:600;color:var(--brand-bright);cursor:pointer;padding:0;text-decoration:underline}
.pvr-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin-bottom:12px;min-width:0}
.pvr-exp{font-size:12.5px;line-height:1.5;color:var(--ink-2);margin:0 0 8px}
.pvr-duo{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:12px}
@media (max-width:1100px){.pvr-duo{grid-template-columns:minmax(0,1fr)}}
.pvr.semdado .pvr-card,.pvr.semdado .pvr-duo{display:none}
.pvr.carregando .pvr-corpo{opacity:.55;transition:opacity .15s}
.pvr-plot{position:relative}
.pvr-svg{display:block;width:100%;user-select:none}
.pvr-svg [hidden]{display:none}
.pvr-grid{stroke:var(--line);stroke-width:1}
.pvr-zero{stroke:var(--ink-3);stroke-width:1;opacity:.55}
.pvr-ax{font-size:10.5px;fill:var(--ink-3);font-variant-numeric:tabular-nums}
.pvr-eixo{font-size:11px;fill:var(--ink-3)}
.pvr-faixa{fill:var(--ink-3);opacity:.12}
.pvr-med{stroke:var(--ink-2);stroke-width:1.2;stroke-dasharray:2 3}
.pvr-bench{stroke:var(--pvr-ref);stroke-width:1.6;stroke-dasharray:6 4}
.pvr-guia{stroke:var(--brand-bright);stroke-width:1.2}
.pvr-rot{font-size:11px;font-weight:600;fill:var(--ink-2)}
.pvr-rot.forte{fill:var(--ink);font-weight:700}
.pvr-rot.foco{fill:var(--ink);font-weight:800}
.pvr-rotv{font-size:10.5px;fill:var(--ink-3);font-variant-numeric:tabular-nums}
.pvr-d{fill:var(--ink-3);fill-opacity:.42;stroke:var(--surface);stroke-width:1.5;cursor:pointer;transition:fill-opacity .12s,stroke .12s}
.pvr-d.nosso{fill:var(--surface);fill-opacity:1;stroke:var(--brand-bright);stroke-width:2}
.pvr-d.extra,.pvr-d.foco{fill-opacity:1;stroke-width:2}
.pvr-d.foco{cursor:default}
.pvr-d.hl{fill-opacity:1;stroke:var(--ink);stroke-width:2}
.pvr-banda{fill:var(--ink-3);opacity:.14}
.pvr-lmed{fill:none;stroke:var(--ink-2);stroke-width:1.2;stroke-dasharray:2 3}
.pvr-l{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.pvr-l.foco{stroke-width:2.6}
.pvr-l.bench{stroke-width:1.6;stroke-dasharray:6 4}
.pvr-cross{stroke:var(--ink-2);stroke-width:1;stroke-dasharray:3 3;pointer-events:none}
.pvr-hit{fill:transparent;cursor:crosshair}
.pvr-anim.go{animation:pvr-wipe .7s cubic-bezier(.22,.8,.2,1) both}
@keyframes pvr-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 -10% 0 0)}}
@media (prefers-reduced-motion:reduce){.pvr-anim.go{animation:none}}
.pvr-melhor{fill:var(--good);opacity:.07}
.pvr-quad{font-size:10.5px;fill:var(--ink-3)}
.pvr-quad.bom{fill:var(--good);font-weight:700}
.pvr-leg{display:flex;gap:6px 16px;flex-wrap:wrap;font-size:12px;color:var(--ink-2);margin-bottom:6px;align-items:center}
.pvr-lg{display:inline-flex;align-items:center;gap:6px}
.pvr-lg i{width:14px;height:3px;border-radius:2px;display:inline-block}
.pvr-lg i.tr{background:repeating-linear-gradient(90deg,var(--pvr-ref) 0 5px,transparent 5px 8px)!important}
.pvr-lg i.fx{height:10px;background:var(--ink-3);opacity:.22}
.pvr-lg.pvr-dica{color:var(--ink-3);font-size:11.5px}
.pvr-lg button{border:0;background:var(--surface-2);border-radius:50%;width:18px;height:18px;line-height:1;cursor:pointer;color:var(--ink-2);font-size:13px}
.pvr-tab{max-height:345px;overflow:auto;border:1px solid var(--line);border-radius:12px}
.pvr-tab table{width:100%;border-collapse:collapse;font-size:12.5px;font-variant-numeric:tabular-nums}
.pvr-tab th{position:sticky;top:0;background:var(--surface-2);font-weight:600;color:var(--ink-2);font-size:11px;padding:7px 6px;text-align:left;white-space:nowrap;z-index:1}
.pvr-tab th.n,.pvr-tab td.n{text-align:right;white-space:nowrap}
.pvr-tab th button{border:0;background:transparent;font:inherit;font-weight:600;color:var(--ink-2);cursor:pointer;padding:0}
.pvr-tab th button.on{color:var(--brand-bright)} .pvr-tab th button.on::after{content:" ▾"}
.pvr-tab td{padding:6px 6px;border-top:1px solid var(--line);color:var(--ink)}
.pvr-tab tbody tr{cursor:pointer}
.pvr-tab tbody tr:hover,.pvr-tab tbody tr.hl{background:var(--surface-2)}
.pvr-tab tr.foco{background:var(--brand-soft)} .pvr-tab tr.foco td{font-weight:700}
.pvr-tab td.nm{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pvr-tab td.nm i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}
.pvr-tab .st{color:var(--brand-bright);margin-right:4px}
.pvr-tip{position:fixed;z-index:300;pointer-events:none;min-width:190px;max-width:320px;background:rgba(15,27,51,.96);color:#EAF1FB;border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:8px 10px;font-size:12px;box-shadow:0 8px 24px rgba(10,26,60,.28)}
.pvr-tn{font-weight:700;margin-bottom:5px;line-height:1.3}
.pvr-tl{display:flex;align-items:center;gap:6px;padding:1.5px 0}
.pvr-tl b{margin-left:auto;padding-left:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.pvr-tip .pvr-tl b.pos{color:#6FD9A4} .pvr-tip .pvr-tl b.neg{color:#FF9AA8}
.pvr-tl i{width:10px;height:3px;border-radius:2px;display:inline-block;flex:none}
.pvr-tl.sep{border-top:1px solid rgba(255,255,255,.16);margin-top:4px;padding-top:5px}
.pvr-th{margin-top:5px;font-size:11px;opacity:.7}
/* abas do "Comparar no mercado": o Raio-X na frente, as ferramentas antigas ao lado, menores */
#cart-subtabs .pvr-sep{font-size:11.5px;color:var(--ink-3);padding:0 4px 0 12px;align-self:center;white-space:nowrap}

/* ── comparar QUALQUER fundo: busca por CNPJ ou nome, e o convidado no grupo (11/2026) ── */
.pvr-busca{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin:12px 0 4px}
.pvr-busca>label{font-size:13px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.pvr-bq{position:relative;flex:1 1 380px;max-width:620px}
.pvr-q{width:100%;box-sizing:border-box;padding:10px 14px;border:1px solid var(--line-2,#cfd7e6);border-radius:12px;font:inherit;font-size:13.5px;background:var(--surface);color:var(--ink)}
.pvr-q:focus-visible{outline:2px solid var(--brand-bright);outline-offset:1px}
.pvr-sug{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;background:var(--surface);border:1px solid var(--line-2,#cfd7e6);border-radius:14px;box-shadow:0 18px 40px -18px rgba(15,28,51,.35);padding:6px;max-height:340px;overflow:auto}
.pvr-sug[hidden]{display:none}
.pvr-sug button{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;border:0;background:transparent;font:inherit;padding:9px 12px;border-radius:10px;cursor:pointer;color:var(--ink)}
.pvr-sug button:hover,.pvr-sug button:focus-visible{background:var(--surface-2);outline:0}
.pvr-sug button b{font-size:13.5px;font-weight:650}
.pvr-sug button span{font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.pvr-sv{padding:12px;font-size:13px;color:var(--ink-3)}
.pvr-convs{display:flex;gap:8px;flex-wrap:wrap}
.pvr-cv{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink-2);background:var(--surface);border:1px dashed var(--line-2,#cfd7e6);border-radius:99px;padding:5px 6px 5px 12px}
.pvr-cv b{color:var(--ink);font-weight:650}
.pvr-cv button{border:0;background:var(--surface-2);color:var(--ink-2);width:22px;height:22px;border-radius:50%;cursor:pointer;font-size:15px;line-height:1}
.pvr-cv button:hover{background:var(--crit-soft);color:var(--crit)}
.pvr-cvt{font-size:10.5px;font-weight:700;color:var(--ink-3);background:var(--surface-2);border-radius:99px;padding:1px 8px;margin-left:6px;white-space:nowrap}
.pvr-svg .pvr-d.conv{stroke-dasharray:3 2;stroke-width:2}
.pvr-si{display:flex;align-items:stretch;gap:4px}
.pvr-si>button:first-child{flex:1;min-width:0}
.pvr-sug button span em{font-style:normal;color:var(--brand-bright);font-weight:600}
.pvr-sug .pvr-ig{flex:none;width:auto;align-items:flex-end;justify-content:center;text-align:right;font-size:12px;font-weight:650;color:var(--ink-2);border-left:1px solid var(--line);border-radius:0 10px 10px 0;padding:6px 12px}
.pvr-sug .pvr-ig small{font-size:11px;font-weight:500;color:var(--ink-3);max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
