/* BF Ultra — Esquemas Elétricos (busca, veículo, injeção e visualizador)
   Mesmo vocabulário da /planos: faixas brancas, cards de borda fina, kicker vermelho, títulos 800. */

.esq{background:var(--bg);color:var(--text);font-family:var(--font)}
.esq *{box-sizing:border-box}
.esq [hidden]{display:none !important}
.esq-wrap{max-width:1120px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.esq-kicker{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin:0 0 8px}
.esq h1{font-size:clamp(24px,3.4vw,38px);font-weight:800;line-height:1.12;letter-spacing:-.02em;margin:0 0 10px;text-wrap:balance;color:var(--text)}
.esq h2{font-size:18px;font-weight:800;margin:0;letter-spacing:-.01em;color:var(--text)}
.esq-lead{font-size:15px;line-height:1.6;color:var(--text-2);margin:0;max-width:640px}
.esq-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;border-radius:var(--r-md);background:var(--red);color:#fff !important;font:700 15px/1 var(--font);text-decoration:none !important;border:0;cursor:pointer;box-shadow:0 8px 24px rgba(180,0,0,.22)}
.esq-btn:hover{background:#9a0000}
.esq-btn--out{background:var(--bg-card);color:var(--text) !important;border:1px solid var(--border-2);box-shadow:none}
.esq-btn--out:hover{background:var(--bg-2)}
.esq-btn--sm{min-height:36px;padding:0 14px;font-size:13px}
.esq :focus-visible{outline:3px solid rgba(180,0,0,.35);outline-offset:2px}
.esq-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;padding:3px 9px;border-radius:var(--r-pill);white-space:nowrap}
.esq-b-free{background:rgba(45,139,85,.12);color:var(--green)}
.esq-b-excl{background:rgba(180,0,0,.08);color:var(--red)}
.esq-lbl{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-3);margin-bottom:6px}
.esq-sel{width:100%;height:42px;background:var(--bg-2);border:1px solid var(--border-2);border-radius:var(--r-md);color:var(--text);font:500 13px var(--font);padding:0 10px;cursor:pointer}
.esq-sel:disabled{opacity:.5;cursor:not-allowed}
.esq-crumb{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--text-3);margin:0 0 12px}
.esq-crumb a{color:var(--text-2);text-decoration:none;font-weight:600}
.esq-crumb a:hover{color:var(--red)}
.esq-num{font-variant-numeric:tabular-nums}
.esq-mk{flex:none;width:42px;height:42px;border-radius:10px;background:var(--bg-2);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:11px;color:var(--text-2);overflow:hidden}
.esq-mk img{max-width:30px;max-height:30px;object-fit:contain}
.esq-chips{display:flex;flex-wrap:wrap;gap:6px}
.esq-chip{min-height:38px;padding:0 14px;border:1px solid var(--border-2);border-radius:var(--r-pill);background:var(--bg-card);color:var(--text-2);font:700 12px var(--font);cursor:pointer;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.esq-chip[aria-pressed="true"],.esq-chip.is-on{background:var(--red);border-color:var(--red);color:#fff}
.esq-chip small{font-weight:600;opacity:.75}

/* Busca */
.esq-sbox{position:relative;max-width:640px}
.esq-sbox input{width:100%;height:54px;border-radius:var(--r-lg);border:1px solid var(--border-2);background:#fff;padding:0 16px 0 46px;font:500 15px var(--font);color:var(--text);box-shadow:0 8px 24px rgba(17,16,16,.06)}
.esq-sbox input:focus{outline:none;border-color:var(--red)}
.esq-sbox>svg{position:absolute;left:16px;top:18px;color:var(--text-3)}
.esq-sres{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:0 18px 50px rgba(17,16,16,.16);z-index:30;max-height:380px;overflow:auto;padding:6px}
.esq-sres h4{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);margin:8px 10px 4px}
.esq-sres a{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:var(--r-md);font-size:13px;color:var(--text);text-decoration:none}
.esq-sres a:hover,.esq-sres a.on{background:var(--bg-2)}
.esq-sres a span{margin-left:auto;font-size:11px;color:var(--text-3);white-space:nowrap}
.esq-sres p{margin:10px;color:var(--text-3);font-size:13px}

/* Topo das páginas de lista */
.esq-hero{background:#fff;border-bottom:1px solid var(--border)}
.esq-hero .esq-wrap{padding-block:30px 26px;display:grid;gap:16px}
.esq-covnums{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;padding:0;list-style:none;font-size:13px;color:var(--text-2)}
.esq-covnums b{font-size:19px;font-weight:800;color:var(--text);margin-right:5px}
.esq-sec{padding-block:26px 48px}
.esq-modes{display:inline-flex;background:var(--bg-2);border-radius:var(--r-pill);padding:4px;gap:4px}
.esq-modes button{border:0;background:none;padding:9px 16px;border-radius:var(--r-pill);font:700 13px var(--font);color:var(--text-2);cursor:pointer}
.esq-modes button[aria-pressed="true"]{background:#fff;color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.esq-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:16px;margin-top:16px}

/* Faixa de ícones dos sistemas */
.esq-icons{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:14px -16px 0;padding:4px 16px 6px;scroll-snap-type:x proximity}
.esq-icons::-webkit-scrollbar{display:none}
.esq-ic{flex:none;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:6px;width:86px;padding:10px 4px 9px;border:1px solid var(--border);border-radius:var(--r-lg);background:#fff;color:var(--text-2);font:600 11px/1.25 var(--font);text-align:center;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
.esq-ic svg{width:24px;height:24px}
.esq-ic:hover{border-color:var(--border-2);color:var(--text)}
.esq-ic[aria-pressed="true"]{border-color:var(--red);background:rgba(180,0,0,.05);color:var(--red)}
.esq-ic span{display:block;min-height:28px}

.esq-resinfo{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:22px 0 12px;flex-wrap:wrap}
.esq-resinfo p{margin:0;font-size:13px;color:var(--text-3)}
.esq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.esq-card{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:16px;display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--text);transition:border-color .15s,box-shadow .15s}
.esq-card:hover{border-color:var(--border-2);box-shadow:0 8px 24px rgba(17,16,16,.07)}
.esq-card__h{display:flex;gap:12px;align-items:center}
.esq-card h3{font-size:16px;font-weight:700;margin:0;line-height:1.2;color:var(--text)}
.esq-card h3 small{display:block;font-size:12px;font-weight:500;color:var(--text-3);margin-top:3px}
.esq-vers{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--border);padding-top:10px}
.esq-vers div{display:flex;justify-content:space-between;gap:8px;font-size:12px;align-items:center}
.esq-vers b{font-weight:600}
.esq-vers .esq-muted{font-weight:500}
.esq-injtag{font-size:11px;font-weight:700;color:var(--text-2);background:var(--bg-2);border-radius:6px;padding:3px 7px;white-space:nowrap}
.esq-card__f{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--text-3)}
.esq-card__f b{color:var(--text)}
.esq-chipic{flex:none;width:42px;height:42px;border-radius:10px;background:var(--black);color:#fff;display:flex;align-items:center;justify-content:center}
.esq-muted{color:var(--text-3)}
.esq-empty{background:#fff;border:1px dashed var(--border-2);border-radius:var(--r-lg);padding:26px;text-align:center;color:var(--text-2)}

/* Veículo */
.esq-vhead{background:#fff;border-bottom:1px solid var(--border)}
.esq-vhead .esq-wrap{padding-block:22px 20px;display:grid;gap:14px}
.esq-vhead__row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.esq-vhead__row h1{margin:0}
.esq-injline{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;font-size:13px;color:var(--text-2)}
.esq-injline a{color:var(--red);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.esq-vlay{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.esq-grp{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);margin-bottom:12px;overflow:hidden}
.esq-grp__h{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--border)}
.esq-grp__h h2{font-size:15px}
.esq-grp__h svg{color:var(--text-3)}
.esq-grp__h span{margin-left:auto;font-size:12px;color:var(--text-3)}
.esq-row{display:flex;align-items:center;gap:12px;width:100%;padding:13px 16px;border-top:1px solid var(--border);text-align:left;font-size:14px;color:var(--text);text-decoration:none}
.esq-grp__h + .esq-row{border-top:0}
.esq-row:hover{background:var(--bg)}
.esq-row__t{min-width:0;flex:1}
.esq-row__t b{display:block;font-weight:600}
.esq-row__t small{display:block;font-size:12px;color:var(--text-3);margin-top:2px}
.esq-row>svg{flex:none;color:var(--text-3)}
.esq-side{position:sticky;top:calc(var(--h,60px) + 16px);display:grid;gap:12px}
.esq-panel{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:16px}
.esq-panel h3{font-size:14px;font-weight:700;margin:0 0 4px}
.esq-panel p{font-size:12px;color:var(--text-3);margin:0 0 12px;line-height:1.5}
.esq-clist{display:flex;flex-direction:column;gap:2px}
.esq-clist a,.esq-clist button{display:flex;gap:10px;align-items:center;border:0;background:none;padding:8px;border-radius:var(--r-md);cursor:pointer;text-align:left;font:400 13px var(--font);color:var(--text);text-decoration:none;width:100%}
.esq-clist a:hover,.esq-clist button:hover{background:var(--bg-2)}
.esq-code{font-weight:800;font-size:11px;background:var(--bg-2);border-radius:5px;padding:3px 6px;min-width:44px;text-align:center;color:var(--text);white-space:nowrap}
.esq-clist span:last-child{margin-left:auto;font-size:11px;color:var(--text-3);white-space:nowrap}

/* Injeção */
.esq-ihead{background:var(--black);color:#fff}
.esq-ihead .esq-wrap{padding-block:26px 24px;display:grid;gap:10px}
.esq-ihead .esq-crumb,.esq-ihead .esq-crumb a{color:rgba(255,255,255,.72)}
.esq-ihead h1{color:#fff;margin:0}
.esq-ihead .esq-lead{color:rgba(255,255,255,.78)}
.esq-ihead .esq-kicker{color:#ff9c9c}
.esq-specs{display:flex;flex-wrap:wrap;gap:8px}
.esq-specs span{font-size:12px;font-weight:600;background:rgba(255,255,255,.1);border-radius:var(--r-pill);padding:5px 12px}
.esq-ilay{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}

/* Visualizador */
.esq-vw{display:flex;flex-direction:column;background:#fff}
.esq-vbar{background:#fff;border-bottom:1px solid var(--border);padding:8px max(12px,env(safe-area-inset-right,0px)) 8px max(12px,env(safe-area-inset-left,0px));display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.esq-ibtn{flex:none;width:40px;height:40px;border-radius:var(--r-md);border:1px solid var(--border);background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text);text-decoration:none}
.esq-ibtn:hover{background:var(--bg-2)}
.esq-ibtn[aria-disabled="true"],.esq-ibtn:disabled{opacity:.35;pointer-events:none}
.esq-switch{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 240px;border:1px solid var(--border);background:#fff;border-radius:var(--r-md);height:40px;padding:0 12px;cursor:pointer;text-align:left;font-family:var(--font);color:var(--text)}
.esq-switch:hover{background:var(--bg-2)}
.esq-switch__t{min-width:0;flex:1;overflow:hidden}
.esq-switch__t b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.esq-switch__t small{display:block;font-size:11px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:-1px}
.esq-tools{display:flex;gap:6px;margin-left:auto;align-items:center}
.esq-avchip{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px;border-radius:var(--r-md);border:1px solid rgba(180,0,0,.25);background:rgba(180,0,0,.06);color:var(--red);font:700 13px var(--font);cursor:pointer}
.esq-stage{position:relative;height:min(78vh,780px);min-height:380px;background:radial-gradient(circle,rgba(17,16,16,.07) 1px,transparent 1.2px) 0 0/22px 22px,var(--bg);overflow:hidden;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.esq-stage.drag{cursor:grabbing}
.esq-stage>svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.esq-zoom{position:absolute;left:max(12px,env(safe-area-inset-left,0px));bottom:12px;display:flex;flex-direction:column;gap:6px;z-index:5}
.esq-csearch{position:absolute;left:max(12px,env(safe-area-inset-left,0px));top:12px;z-index:6;width:min(320px,calc(100% - 24px))}
.esq-csearch input{width:100%;height:40px;border-radius:var(--r-md);border:1px solid var(--border-2);background:#fff;padding:0 12px 0 36px;font:500 13px var(--font);box-shadow:0 4px 16px rgba(0,0,0,.06)}
.esq-csearch>svg{position:absolute;left:11px;top:11px;color:var(--text-3)}
.esq-csearch .esq-sres{top:44px}
.esq-csearch .esq-sres button{display:flex;width:100%;gap:10px;align-items:center;border:0;background:none;padding:9px 10px;border-radius:var(--r-md);cursor:pointer;font:400 13px var(--font);color:var(--text);text-align:left}
.esq-csearch .esq-sres button:hover,.esq-csearch .esq-sres button.on{background:var(--bg-2)}
.esq-csearch .esq-sres button span{margin-left:auto;font-size:11px;color:var(--text-3)}
.esq-toast{position:absolute;left:50%;top:60px;transform:translateX(-50%);background:var(--black);color:#fff;font-size:13px;font-weight:600;padding:10px 16px;border-radius:var(--r-md);z-index:8;box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:calc(100% - 32px);text-align:center}
.esq-hint{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);background:rgba(17,16,16,.78);color:#fff;font-size:12px;font-weight:600;padding:7px 12px;border-radius:var(--r-pill);z-index:4;pointer-events:none;white-space:nowrap;transition:opacity .4s}

/* Painel flutuante (componente, fio, avisos) */
.esq-sheet{position:absolute;z-index:20;background:#fff;border:1px solid var(--border);box-shadow:0 18px 50px rgba(17,16,16,.18);overflow:auto;top:12px;right:max(12px,env(safe-area-inset-right,0px));width:360px;max-height:calc(100% - 24px);border-radius:var(--r-xl)}
.esq-sheet__h{display:flex;gap:10px;align-items:flex-start;padding:16px 16px 12px;border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff;z-index:1}
.esq-sheet__h h3{font-size:16px;font-weight:800;margin:0;line-height:1.25}
.esq-sheet__h small{display:block;font-size:12px;color:var(--text-3);font-weight:500;margin-top:2px}
.esq-sheet__h .esq-ibtn{margin-left:auto;width:34px;height:34px}
.esq-sheet__b{padding:14px 16px 18px;display:grid;gap:12px}
.esq-sheet__b p{margin:0;font-size:13px;line-height:1.55;color:var(--text-2)}
.esq-pinrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;font-size:13px;padding:8px 6px;border-top:1px solid var(--border);border-radius:6px;cursor:pointer}
.esq-pinrow:first-child{border-top:0}
.esq-pinrow:hover,.esq-pinrow.on{background:var(--bg-2)}
.esq-pinrow small{display:block;color:var(--text-3);font-size:11px;margin-top:2px}
.esq-sw{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:12px;white-space:nowrap}
.esq-sw i{width:22px;height:10px;border-radius:3px;border:1px solid rgba(0,0,0,.25);display:block}
.esq-av{border-radius:var(--r-lg);padding:12px 14px;font-size:13px;line-height:1.5;display:grid;gap:4px;color:var(--text)}
.esq-av b{font-size:13px}
.esq-av small{color:var(--text-3)}
.esq-av--atencao{background:rgba(180,0,0,.06);border:1px solid rgba(180,0,0,.18)}
.esq-av--atencao b{color:var(--red)}
.esq-av--dica{background:rgba(42,111,214,.06);border:1px solid rgba(42,111,214,.18)}
.esq-av--dica b{color:#2a6fd6}
.esq-av--observacao{background:rgba(45,139,85,.07);border:1px solid rgba(45,139,85,.2)}
.esq-av--observacao b{color:var(--green)}
.esq-lock{background:var(--bg);border:1px dashed var(--border-2);border-radius:var(--r-lg);padding:16px;display:grid;gap:10px;justify-items:center;text-align:center}
.esq-lock p{text-align:center}
.esq-med{display:grid;gap:6px}
.esq-med div{display:flex;justify-content:space-between;gap:10px;font-size:13px;border-top:1px solid var(--border);padding-top:6px}
.esq-med div:first-child{border-top:0;padding-top:0}
.esq-med b{font-variant-numeric:tabular-nums;text-align:right;max-width:60%}
.esq-ends{display:flex;flex-wrap:wrap;gap:6px}
.esq-ends button,.esq-ends span{border:1px solid var(--border-2);background:#fff;border-radius:var(--r-pill);padding:4px 10px;font:600 12px var(--font);color:var(--text);cursor:pointer}
.esq-ends span{cursor:default;color:var(--text-2)}
.esq-scrim{display:none}

/* Modais (troca de esquema, legenda) */
.esq-modal{position:fixed;inset:0;z-index:9990;display:flex;align-items:center;justify-content:center;padding:16px}
.esq-modal__bg{position:absolute;inset:0;background:rgba(17,16,16,.35)}
.esq-modal__box{position:relative;background:#fff;border-radius:var(--r-xl);width:min(520px,100%);max-height:min(82vh,680px);overflow:auto;box-shadow:0 24px 60px rgba(17,16,16,.25)}
.esq-swl{display:flex;flex-direction:column;gap:2px}
.esq-swl h4{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);margin:12px 4px 4px;display:flex;align-items:center;gap:6px}
.esq-swl h4 svg{width:14px;height:14px}
.esq-swl a{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:var(--r-md);text-decoration:none;font-size:13px;color:var(--text)}
.esq-swl a:hover{background:var(--bg-2)}
.esq-swl a.cur{background:rgba(180,0,0,.06);color:var(--red);font-weight:700}
.esq-swl a span{margin-left:auto}
.esq-sw-search{width:100%;height:40px;border:1px solid var(--border-2);border-radius:var(--r-md);padding:0 12px;font:500 13px var(--font)}
.esq-legend{display:grid}
.esq-legend div{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0;border-top:1px solid var(--border)}
.esq-legend div:first-child{border-top:0}
.esq-legend svg{width:56px;height:34px}
.esq-legend b{display:block;font-size:13px}
.esq-legend span{font-size:12px;color:var(--text-3);line-height:1.45}

/* Conteúdo abaixo do visualizador (texto para quem lê e para busca) */
.esq-info{padding-block:28px 56px}
.esq-info__grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}
.esq-prose{font-size:15px;line-height:1.7;color:var(--text-2)}
.esq-prose p{margin:0 0 12px}
.esq-ctab{width:100%;border-collapse:collapse;font-size:13px}
.esq-ctab th,.esq-ctab td{padding:9px 10px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
.esq-ctab th{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3)}
.esq-ctab tr:last-child td{border-bottom:0}

/* SVG do esquema */
.esq-svg{font-family:var(--font)}
.esq-svg .gl{fill:none;stroke:#111010;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.esq-svg .gld{fill:#111010}
.esq-svg .gldash{stroke-dasharray:3 3}
.esq-svg .glt{font-weight:800;font-size:11px;fill:#111010;text-anchor:middle}
.esq-svg .ecb{fill:#fff;stroke:#3a3a38;stroke-width:1.3}
.esq-svg .ect{fill:#fff;stroke:#3a3a38;stroke-width:1}
.esq-svg .ectt{font-weight:800;font-size:11px;fill:#111010;text-anchor:middle}
.esq-svg .ecn{font-weight:500;font-size:11px;fill:#4A4A48;text-anchor:middle}
.esq-svg .ecv{font-weight:700;font-size:10px;fill:#B40000;text-anchor:middle}
.esq-svg .epb{fill:#fff;stroke:#3a3a38;stroke-width:1}
.esq-svg .ept{font-weight:700;font-size:10px;fill:#111010;text-anchor:middle}
.esq-svg .ec{cursor:pointer}
.esq-svg .ec:focus,.esq-svg .erf:focus{outline:none}
.esq-svg .ec:focus-visible .ecb,.esq-svg .erf:focus-visible .erfb{stroke:#B40000;stroke-width:2.4}
.esq-svg .ec:hover .ecb{stroke:#B40000}
.esq-svg .ec-lk .ecb{fill:#F0EFED;stroke:#9a9996;stroke-dasharray:4 3}
.esq-svg .eclk{fill:none;stroke:#6B6B69;stroke-width:1.6}
.esq-svg .eclp{fill:#fff;stroke:#9a9996;stroke-width:1.2}
.esq-svg .eclw{stroke:#b9b8b5;stroke-width:2;stroke-dasharray:2 4;fill:none}
.esq-svg .egb{fill:#E4E3E0;fill-opacity:.55;stroke:#9a9996;stroke-width:1;stroke-dasharray:5 4}
.esq-svg .egt{font-weight:600;font-size:11px;fill:#4A4A48}
.esq-svg .ewo{stroke:#3a3a38;stroke-width:5.2;stroke-opacity:.32}
.esq-svg .ewo-l{stroke-opacity:.75}
.esq-svg .ewl{stroke:#b9b8b5;stroke-width:3;stroke-dasharray:2 5;stroke-linecap:round}
.esq-svg .ewt{font-weight:700;font-size:10px;fill:#4A4A48;text-anchor:middle;paint-order:stroke;stroke:#FAFAF8;stroke-width:3px}
.esq-svg .ew{cursor:pointer}
.esq-svg .en circle{fill:#111010}
.esq-svg .ent{font-weight:600;font-size:9.5px;fill:#6B6B69}
.esq-svg .ecx rect{fill:#fff;stroke:#3a3a38;stroke-width:1}
.esq-svg .ecxt{font-weight:500;font-size:9.5px;fill:#4A4A48;text-anchor:middle}
.esq-svg .egdt{font-weight:600;font-size:10px;fill:#4A4A48;text-anchor:middle}
.esq-svg .erf{cursor:pointer}
.esq-svg .erfb{fill:#fff;stroke:#2a6fd6;stroke-width:1.4}
.esq-svg .erf:hover .erfb{fill:#eef4fd}
.esq-svg .erft{font-weight:700;font-size:11px;fill:#2a6fd6}
.esq-svg .erfs{font-weight:500;font-size:9.5px;fill:#4A4A48}
.esq-svg .etgb{fill:#fff;stroke:#9a9996;stroke-width:1}
.esq-svg .etgt{font-weight:700;font-size:10px;fill:#4A4A48;text-anchor:middle}
.esq-svg .eav{cursor:pointer}
.esq-svg .eav circle{fill:#B40000}
.esq-svg .eav text{font-weight:800;font-size:12px;fill:#fff;text-anchor:middle}
.esq-svg .efcb{stroke:#3a3a38;stroke-width:1.2}
.esq-svg .efce{fill:#000;fill-opacity:.08}
.esq-svg .efcv rect{fill:#fff;stroke:#3a3a38;stroke-width:.8}
.esq-svg .efcv.on rect{stroke-width:1.5}
.esq-svg .efcv text{font-weight:700;font-size:8.5px;fill:#111010;text-anchor:middle}
.esq-svg .efct{font-weight:500;font-size:9.5px;fill:#6B6B69;text-anchor:middle}
.esq-svg .etw path{fill:none;stroke:#B40000;stroke-width:1.4;stroke-dasharray:5 5}
.esq-svg .etwt{font-weight:700;font-size:10px;fill:#B40000}
.esq-svg .ejd{fill:#111010}
/* seleção */
.esq-svg.dim .ec,.esq-svg.dim .ew,.esq-svg.dim .en,.esq-svg.dim .ecx,.esq-svg.dim .egd,.esq-svg.dim .erf,.esq-svg.dim .eg,.esq-svg.dim .ewt,.esq-svg.dim .etw{opacity:.16;transition:opacity .2s}
.esq-svg.dim .on{opacity:1}
.esq-svg .ec.sel .ecb{stroke:#B40000;stroke-width:2.4}
.esq-svg .ep.on .epb{fill:#ffe9a8;stroke:#B40000;stroke-width:1.6}
.esq-svg .efcv.hi rect{fill:#ffe9a8;stroke:#B40000;stroke-width:1.6}
.esq-svg .ew.on .ewo{stroke:#B40000;stroke-opacity:.35;stroke-width:8}

@media (max-width:900px){
  .esq-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .esq-vlay,.esq-ilay,.esq-info__grid{grid-template-columns:minmax(0,1fr)}
  .esq-side{position:static}
}
@media (max-width:640px){
  .esq-vbar .esq-hide-m{display:none}
  .esq-switch{order:3;flex-basis:100%}
  .esq-stage{height:72vh}
  .esq-sheet{left:0;right:0;bottom:0;top:auto;width:auto;max-height:72%;border-radius:var(--r-xl) var(--r-xl) 0 0;padding-bottom:env(safe-area-inset-bottom,0px)}
  .esq-scrim{display:block;position:absolute;inset:0;background:rgba(17,16,16,.22);z-index:19}
  .esq-csearch{width:calc(100% - 24px)}
}
@media (prefers-reduced-motion:reduce){.esq *{transition:none !important}}

/* ===== v5.45: páginas de lista no padrão do site (.wrap, cartão de busca da home/GDA, títulos com barra) ===== */
.esq-pad{padding-top:28px;padding-bottom:64px}
.esq-h1{font-size:26px;font-weight:800;line-height:1.2;margin:0 0 8px;letter-spacing:-.01em}
.esq .esq-lead{font-size:14px;color:var(--text-3);max-width:720px;margin:0}
.esq-search{background:var(--bg-card);border:.5px solid var(--border);border-radius:var(--r-lg);padding:22px 24px;margin:22px 0 8px;box-shadow:var(--shadow-sm);display:grid;gap:14px}
.esq-sgrid .filter-select:disabled{cursor:not-allowed}
.esq-sgrid .btn svg{flex:none}
.esq-search .esq-sbox{max-width:none}
.esq-search .esq-sbox input,.esq-sbox--sm input{height:42px;border-radius:var(--r-md);box-shadow:none;font-size:13px;padding-left:38px;background:var(--bg-2);border:.5px solid var(--border-2)}
.esq-search .esq-sbox>svg,.esq-sbox--sm>svg{left:13px;top:13px}
.esq-sh{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.esq-sh h2{margin:0;display:flex;align-items:center;gap:8px;font-size:18px;font-weight:800;letter-spacing:-.2px}
.esq-sh h2::before{content:'';flex:none;width:3px;height:16px;border-radius:2px;background:var(--red)}
.esq-sec2{margin-top:34px}
.esq-clr{border:0;background:none;color:var(--red);font:700 12px var(--font);cursor:pointer}
.esq-icons{margin:0;padding:2px 0 6px}
.esq-ic{width:104px;padding:12px 6px 10px;gap:8px;border:.5px solid var(--border)}
.esq-ic__b{width:40px;height:40px;border-radius:10px;background:rgba(180,0,0,.07);color:var(--red);display:flex;align-items:center;justify-content:center}
.esq-ic span:last-child{min-height:28px;color:var(--text-2)}
.esq-ic[aria-pressed="true"] .esq-ic__b{background:var(--red);color:#fff}
.esq-vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.esq-vcard .vehicle-card__modelo{display:block}
.esq-vcard__vers{display:flex;flex-direction:column;gap:3px;padding:10px 16px;font-size:12px;color:var(--text-2);border-bottom:.5px solid var(--border);min-height:58px}
.esq-mk--dark{background:var(--black);color:#fff}
.esq-mk{width:42px;height:42px}
/* veículo */
.esq-vh{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:6px 0 10px}
.esq-vh__t{flex:1;min-width:220px}
.esq-vh h1{font-size:24px;font-weight:800;line-height:1.2;margin:0 0 4px;letter-spacing:-.01em}
.esq-vh p{margin:0;font-size:13px;color:var(--text-3)}
.esq-vh__cta{flex:none}
.esq-vdesc{margin:0 0 4px !important}
.esq-vbar2{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin:16px 0 18px}
.esq-vsel{display:flex;flex-direction:column;min-width:220px}
.esq-sbox--sm{flex:1;min-width:220px;max-width:380px}
.esq-vlinks{display:flex;gap:8px;flex-wrap:wrap}
.esq-pilllink{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:var(--r-md);border:.5px solid var(--border-2);background:var(--bg-card);font-size:13px;font-weight:600;color:var(--text);text-decoration:none}
.esq-pilllink:hover{border-color:var(--red);color:var(--red)}
.esq-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.esq-groups .esq-grp{margin:0}
.esq-grp__h span{background:var(--bg-2);border-radius:99px;padding:2px 8px;font-weight:700}
.esq-row__ic{flex:none;width:34px;height:34px;border-radius:9px;background:rgba(180,0,0,.07);color:var(--red);display:flex;align-items:center;justify-content:center}
.esq-cgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px}
.esq-cgrid button{display:flex;gap:10px;align-items:center;border:.5px solid var(--border);background:var(--bg-card);border-radius:var(--r-md);padding:8px 10px;cursor:pointer;font:400 13px var(--font);color:var(--text);text-align:left}
.esq-cgrid button:hover{border-color:var(--red)}
.esq-cgrid__n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.esq-ilay{margin-top:18px}
@media (max-width:900px){.esq-groups{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
  .esq-pad{padding-top:18px}
  .esq-h1{font-size:21px}
  .esq-search{padding:16px;margin-top:16px}
  .esq-vh h1{font-size:19px}
  .esq-sbox--sm,.esq-vsel{max-width:none;flex-basis:100%}
  .esq-ic{width:92px}
}

/* ===== v5.45: visualizador — barra compacta, ampliar (tela cheia), lista por componente, visão combinada ===== */
.esq-vtop{padding-top:14px;padding-bottom:10px}
.esq-vtop .esq-crumb{margin-bottom:4px}
.esq .esq-vh1{font-size:clamp(18px,2vw,22px);font-weight:800;line-height:1.25;margin:0;letter-spacing:-.01em}
.esq-vbar{padding:8px 0}
.esq-vbar__in{display:flex;align-items:center;gap:8px}
.esq-vbar .esq-switch{flex:1 1 auto;max-width:520px}
.esq-tools{position:relative}
.esq-ibtn{position:relative}
.esq-ibtn[aria-pressed="true"]{background:var(--black);border-color:var(--black);color:#fff}
.esq-ibtn--av{color:var(--red);border-color:rgba(180,0,0,.25);background:rgba(180,0,0,.05)}
.esq-dot{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;border-radius:9px;background:var(--red);color:#fff;font:700 10px/17px var(--font);text-align:center;padding:0 4px;border:2px solid #fff;box-sizing:content-box}
.esq-show-m{display:none}
.esq-more{position:relative}
.esq-menu{position:absolute;right:0;top:46px;z-index:40;background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:0 18px 50px rgba(17,16,16,.18);min-width:250px;max-width:min(320px,calc(100vw - 24px));padding:6px}
.esq-menu button,.esq-menu a{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:10px;border-radius:var(--r-md);font:500 13px var(--font);color:var(--text);text-align:left;cursor:pointer;text-decoration:none}
.esq-menu button:hover,.esq-menu a:hover{background:var(--bg-2)}
.esq-menu svg{flex:none;color:var(--text-3)}
.esq-menu small{display:block;color:var(--text-3);font-size:11px}
.esq-menu hr{border:0;border-top:1px solid var(--border);margin:4px 6px}
.esq-menu h5{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);margin:8px 10px 2px}
.esq-menu .esq-lockt{margin-left:auto;font-size:10px;font-weight:700;color:var(--red)}
.esq-comchip{flex:none;display:inline-flex;align-items:center;gap:6px;height:40px;max-width:240px;padding:0 10px 0 12px;border-radius:var(--r-md);border:1px solid rgba(42,111,214,.35);background:rgba(42,111,214,.07);color:#1f5bb5;font:700 12px var(--font);cursor:pointer}
.esq-comchip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.esq-comchip[hidden]{display:none}
.esq-busy{position:absolute;inset:0;z-index:9;background:rgba(250,250,248,.6);display:flex;align-items:center;justify-content:center}
.esq-busy[hidden]{display:none}
.esq-busy span{width:28px;height:28px;border-radius:50%;border:3px solid var(--border-2);border-top-color:var(--red);animation:esqspin .8s linear infinite}
@keyframes esqspin{to{transform:rotate(360deg)}}
/* lista por componente */
.esq-list{background:var(--bg);min-height:380px;max-height:min(78vh,780px);overflow:auto;-webkit-overflow-scrolling:touch}
.esq-list[hidden]{display:none}
.esq-list__in{padding-top:16px;padding-bottom:28px;display:grid;gap:10px}
.esq-list__bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.esq-list__bar input{flex:1 1 220px;height:40px;border-radius:var(--r-md);border:1px solid var(--border-2);padding:0 12px;font:500 13px var(--font);background:#fff}
.esq-list__bar small{color:var(--text-3);font-size:12px}
.esq-lc{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden}
.esq-lc__h{display:flex;align-items:center;gap:10px;padding:12px 14px;border:0;background:none;width:100%;text-align:left;cursor:pointer;font-family:var(--font);color:var(--text)}
.esq-lc__h .esq-code{flex:none}
.esq-lc__h b{font-size:14px;display:block;line-height:1.3}
.esq-lc__h small{display:block;font-size:11px;color:var(--text-3)}
.esq-lc__h>svg:last-child{margin-left:auto;flex:none;color:var(--text-3);transition:transform .2s}
.esq-lc.open .esq-lc__h>svg:last-child{transform:rotate(180deg)}
.esq-lc__b{display:none;padding:0 14px 12px}
.esq-lc.open .esq-lc__b{display:block}
.esq-lp{display:grid;grid-template-columns:52px minmax(0,1fr);gap:4px 10px;padding:9px 0;border-top:1px solid var(--border);font-size:13px}
.esq-lp>b{font-size:13px}
.esq-lp__f{color:var(--text-2)}
.esq-lp__to{grid-column:2;font-size:12px;color:var(--text-3);display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
.esq-lc__go{display:inline-flex;align-items:center;gap:6px;margin-top:8px;border:1px solid var(--border);background:#fff;border-radius:var(--r-md);height:34px;padding:0 12px;font:600 12px var(--font);cursor:pointer;color:var(--text)}
.esq-lc__lk{font-size:12px;color:var(--text-3);padding:4px 0 2px}
.esq-lc__lk a{color:var(--red);font-weight:700}
/* ampliar: o esquema ocupa a tela toda, com a barra mínima */
.esq-vw.esq-full{position:fixed;inset:0;z-index:100000;height:100vh;height:100dvh}
.esq-vw.esq-full .esq-vtop{display:none}
.esq-vw.esq-full .esq-vbar .wrap{max-width:none}
.esq-vw.esq-full .esq-stage{flex:1 1 auto;height:auto;min-height:0}
.esq-vw.esq-full .esq-list{flex:1 1 auto;max-height:none}
body.esq-noscroll{overflow:hidden}
@media (max-width:640px){
  .esq-vtop{padding-top:8px;padding-bottom:6px}
  .esq-vtop .esq-crumb{display:none}
  .esq .esq-vh1{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-2)}
  .esq-vbar{padding:6px 0}
  .esq-vbar__in{gap:6px}
  .esq-vbar .wrap{padding:0 10px}
  .esq-vbar .esq-switch{order:0;flex:1 1 auto;flex-basis:auto;height:38px;padding:0 10px}
  .esq-vbar .esq-ibtn{width:38px;height:38px}
  .esq-show-m{display:block}
  .esq-comchip{position:absolute;left:10px;top:calc(100% + 6px);z-index:7;height:32px;box-shadow:0 4px 14px rgba(0,0,0,.08);background:#eef4fd}
  .esq-vbar{position:relative}
  .esq-stage{height:calc(100svh - var(--h,60px) - 82px);min-height:320px}
  .esq-list{max-height:none;height:calc(100svh - var(--h,60px) - 82px)}
  .esq-vw.esq-full .esq-stage,.esq-vw.esq-full .esq-list{height:auto}
  .esq-csearch{top:auto;bottom:12px;left:62px;width:calc(100% - 74px)}
  .esq-hint{bottom:62px;white-space:normal;width:max-content;max-width:calc(100% - 40px);text-align:center}
}

/* ===== v5.46: título no tamanho do GDA, faixa de sistemas equilibrada, banner atrás da busca ===== */
.esq .esq-h1{font-size:28px;font-weight:800;line-height:1.2;letter-spacing:-.01em;margin:0 0 8px}
.esq .esq-ic{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;width:108px;min-height:104px;padding:14px 8px 12px}
.esq .esq-ic .esq-ic__b{display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;min-height:0;border-radius:11px}
.esq .esq-ic .esq-ic__b svg{width:22px;height:22px;flex:none;display:block}
.esq .esq-ic span:last-child{display:flex;align-items:center;justify-content:center;flex:1;min-height:30px;line-height:1.25;text-align:center}
.esq-hero{position:relative;margin:22px 0 8px}
.esq-hero__ban{position:relative;aspect-ratio:1440/330;overflow:hidden;border-radius:var(--r-lg);background:var(--bg-2)}
.esq-hero__sl{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;display:block}
.esq-hero__sl.on{opacity:1;z-index:1}
.esq-hero__sl img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.esq-hero__nav{position:absolute;top:32%;z-index:3;width:36px;height:36px;border-radius:50%;border:0;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;cursor:pointer}
.esq-hero__nav:hover{background:rgba(0,0,0,.6)}
.esq-hero__nav--p{left:12px}.esq-hero__nav--n{right:12px}
.esq-hero__dots{position:absolute;top:10px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:6px}
.esq-hero__dots button{width:8px;height:8px;border-radius:4px;border:0;padding:0;background:rgba(255,255,255,.5);cursor:pointer;transition:all .3s}
.esq-hero__dots button.on{width:22px;background:#fff}
.esq-hero .esq-search{position:relative;z-index:4;margin:-96px 0 0;box-shadow:var(--shadow-md)}
@media (max-width:767px){
  .esq .esq-h1{font-size:22px}
  .esq .esq-ic{width:96px;min-height:98px}
  .esq-hero__ban{aspect-ratio:1050/550}
  .esq-hero .esq-search{margin-top:-64px;padding:16px}
  .esq-hero .esq-search .filter-label{display:none}
}

.esq-lc__nt{margin:0 0 6px;font-size:13px;color:var(--text-2);line-height:1.5}
