/* Vender (CRM) e Lista Inteligente. Classes com prefixo vd-. Mesma escala e cores do resto do Flow. */

/* ---------- moldura das telas ---------- */
.vd-abas { margin-top: -6px; }
.vd-sub { font-size: 12.5px; }
.vd-barra { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.vd-barra select { width: auto; max-width: 240px; }
.vd-rot-inline { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 13px; }
.vd-visoes { display: inline-flex; background: var(--cinza-cartao); border-radius: 8px; padding: 3px; }
.vd-visoes a { display: inline-flex; gap: 6px; align-items: center; height: 32px; padding: 0 12px; border-radius: 6px; text-decoration: none; color: var(--tinta-2); font-weight: 700; font-size: 13px; white-space: nowrap; }
.vd-visoes a.on { background: var(--cartao); color: var(--tinta); box-shadow: 0 1px 3px rgba(10, 35, 66, .12); }
.vd-resumo { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.vd-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--cinza-cartao); color: var(--tinta-2); border: 0; border-radius: 14px; padding: 4px 11px; font: 700 12.5px var(--sans); white-space: nowrap; }
.vd-chip-esfr { background: var(--amarelo-claro); color: var(--amarelo-texto); }
button.vd-chip { cursor: pointer; }
button.vd-chip:hover { background: var(--ceu-claro); }
.vd-esc-cel { white-space: nowrap; }
.vd-filtro-ativo { font-size: 13px; color: var(--tinta-2); display: flex; gap: 6px; align-items: center; margin: -4px 0 10px; }

/* ---------- status, estrelas, avatar, próxima tarefa ---------- */
.vd-st { display: inline-flex; align-items: center; font: 800 10.5px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; border-radius: 5px; white-space: nowrap; }
.vd-st-nova { background: var(--marinho); color: #fff; }
.vd-st-andamento { background: var(--ceu); color: var(--marinho); }
.vd-st-pausada { background: var(--cinza-cartao); color: var(--tinta-2); }
.vd-st-esfriando { background: var(--amarelo-claro); color: var(--amarelo-texto); }
.vd-st-vendida { background: var(--verde); color: var(--marinho); }
.vd-st-perdida { background: var(--vermelho-claro); color: var(--vermelho); }
.vd-estrelas { display: inline-flex; gap: 1px; color: var(--linha-2); vertical-align: -2px; }
.vd-estrelas .on { color: var(--amarelo); }
.vd-estrelas .on svg { fill: currentColor; }
.vd-av-vazio { background: var(--cinza-cartao) !important; color: var(--tinta-3); }
.vd-prox { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--tinta-2); background: var(--papel); border-radius: 6px; padding: 5px 7px; min-width: 0; }
.vd-prox.atrasada { background: var(--vermelho-claro); color: var(--vermelho); }
.vd-prox-tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-prox time { font-weight: 700; white-space: nowrap; }
.vd-atr { color: var(--vermelho); font-weight: 700; }

/* ---------- quadro do funil ---------- */
.vd-quadro { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; max-width: 100%; scroll-snap-type: x proximity; }
.vd-col { flex: 0 0 272px; background: var(--cinza-cartao); border-radius: 12px; display: flex; flex-direction: column; height: calc(100vh - 300px); min-height: 320px; scroll-snap-align: start; border: 2px solid transparent; }
.vd-col.alvo { border-color: var(--azul); background: var(--ceu-fundo); }
.vd-col-cab { padding: 12px 12px 8px; display: grid; gap: 2px; border-bottom: 1px solid var(--linha); }
.vd-col-tit { display: flex; align-items: center; gap: 5px; min-width: 0; }
.vd-col-tit b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.vd-i { border: 0; background: none; color: var(--tinta-3); cursor: pointer; padding: 2px; display: inline-grid; margin-left: auto; border-radius: 4px; }
.vd-i:hover { color: var(--azul-texto); background: var(--cartao); }
.vd-col-valor { font-weight: 800; font-size: 15px; }
.vd-col-corpo { padding: 10px; display: grid; gap: 8px; overflow-y: auto; align-content: start; }
.vd-col-vazia { color: var(--tinta-3); font-size: 12.5px; text-align: center; padding: 18px 6px; border: 1px dashed var(--linha-2); border-radius: 8px; }
.vd-mais { font-size: 12.5px; font-weight: 700; text-align: center; padding: 6px; }
.vd-info-pop { padding: 8px 10px; display: grid; gap: 6px; }
.vd-info-pop dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: 13px; }
.vd-info-pop dt { color: var(--tinta-2); }
.vd-info-pop dd { margin: 0; font-weight: 700; text-align: right; }
.vd-cartao { background: var(--cartao); border: 1px solid var(--linha); border-left: 4px solid var(--ceu); border-radius: 10px; padding: 9px 10px 10px; display: grid; gap: 6px; min-width: 0; }
.vd-cartao:hover { border-color: var(--linha-2); box-shadow: 0 2px 10px rgba(10, 35, 66, .08); }
.vd-cartao.arrastando { opacity: .5; }
.vd-c-nova { border-left-color: var(--marinho); }
.vd-c-andamento { border-left-color: var(--ceu); }
.vd-c-pausada { border-left-color: var(--linha-2); }
.vd-c-esfriando { border-left-color: var(--amarelo); }
.vd-c-vendida { border-left-color: var(--verde); }
.vd-c-perdida { border-left-color: var(--vermelho); }
.vd-c-topo { display: flex; justify-content: space-between; align-items: center; }
.vd-c-topo .btn-kebab { width: 26px; height: 26px; background: none; }
.vd-c-topo .btn-kebab:hover { background: var(--ceu-claro); }
.vd-c-nome { font-weight: 800; color: var(--tinta); text-decoration: none; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.vd-c-nome:hover { color: var(--azul-texto); text-decoration: underline; }
.vd-c-emp { font-size: 12.5px; color: var(--tinta-2); margin-top: -3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-c-linha { display: flex; align-items: center; gap: 8px; }
.vd-c-q { border: 0; background: none; padding: 2px 3px; border-radius: 5px; cursor: pointer; display: inline-flex; }
.vd-c-q:hover { background: var(--amarelo-claro); }
.vd-c-valor { margin-left: auto; font-size: 13px; white-space: nowrap; }
.vd-c-valor .mudo { font-weight: 600; font-size: 12px; }
.vd-c-criar { display: inline-flex; gap: 5px; align-items: center; border: 1px dashed var(--linha-2); background: none; border-radius: 6px; padding: 5px 8px; color: var(--azul-texto); font: 700 12.5px var(--sans); cursor: pointer; }
.vd-c-criar:hover { border-color: var(--azul); background: var(--ceu-fundo); }

/* ---------- filtros, estatísticas, atalho de tarefas ---------- */
.vd-filtros { display: grid; gap: 12px; }
.vd-filtros hr { border: 0; border-top: 1px solid var(--linha); margin: 2px 0; width: 100%; }
.vd-filtros .campo > span { font-weight: 700; font-size: 13px; }
.vd-filtros input[type=date] { padding: 0 6px; }
.vd-predef { display: flex; flex-wrap: wrap; gap: 6px; }
.gaveta .g-corpo + .vd-g-rod, .vd-g-rod { position: sticky; bottom: 0; background: var(--cartao); margin: 0 -18px -16px; }
.vd-tab-est td button.link { font-size: 14px; }
.vd-tab-est th[scope=row] { text-align: left; font: 700 13px var(--sans); text-transform: none; letter-spacing: 0; color: var(--tinta); }
.vd-atalho { display: grid; gap: 8px; }
.vd-at-it { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1px solid var(--linha); border-radius: 10px; padding: 8px 10px; }
.vd-at-it small { display: block; color: var(--tinta-2); }
.vd-at-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--ceu-claro); color: var(--marinho); display: grid; place-items: center; flex: none; }
.vd-aviso-atr { display: flex; gap: 6px; align-items: center; background: var(--vermelho-claro); color: var(--vermelho); font-weight: 700; padding: 8px 10px; border-radius: 8px; text-decoration: none; }

/* ---------- listagem e ações em massa ---------- */
.vd-massa { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--ceu-fundo); border: 1px solid var(--ceu-medio); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
.vd-massa select { width: auto; max-width: 260px; height: 32px; }
.tabela td.vd-cx, .tabela th:first-child:has(#vd-sel-todas) { width: 1%; }
.vd-tab-neg .vd-prox { max-width: 230px; }
.vd-tr-atr td { background: #FFF8F8; }
.vd-tipo-cel { color: var(--tinta-2); font-weight: 600; font-size: 13px; }
td.nw { white-space: nowrap; }
.vd-atalhos-t { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.vd-atalho-t { display: grid; gap: 1px; background: var(--cartao); border: 1px solid var(--linha); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--tinta); }
.vd-atalho-t b { font-size: 22px; font-weight: 800; }
.vd-atalho-t span { font: 800 11px var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--tinta-2); }
.vd-atalho-t:hover { border-color: var(--azul); }
.vd-atalho-t.on { background: var(--ceu); border-color: var(--ceu); }
.vd-atalho-t.on span { color: var(--marinho); }

/* ---------- página da negociação ---------- */
.vd-neg-cab { display: flex; gap: 16px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.vd-neg-id { min-width: 0; display: grid; gap: 4px; }
.vd-neg-id .pg-trilha a { color: var(--tinta-3); text-decoration: none; }
.vd-neg-id .pg-trilha a:hover { color: var(--azul-texto); text-decoration: underline; }
.vd-neg-id h1 { cursor: text; overflow-wrap: anywhere; border-radius: 6px; padding: 0 4px; margin-left: -4px; }
.vd-neg-id h1:hover { background: var(--cinza-cartao); }
.vd-neg-chips { gap: 6px; }
.vd-chip-q { gap: 6px; }
.vd-neg-acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn.vd-btn-venda { background: var(--verde); color: var(--marinho); }
.btn.vd-btn-venda:hover { background: #7DE8BA; }
.btn.vd-btn-perda { background: var(--cartao); color: var(--vermelho); border: 1px solid var(--vermelho); }
.btn.vd-btn-perda:hover { background: var(--vermelho-claro); }
.vd-faixa-flow { display: flex; gap: 8px; align-items: center; background: var(--verde-claro); color: var(--verde-texto); font-weight: 700; border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; }
.vd-etapas { display: flex; gap: 2px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 2px; }
.vd-etapa { flex: 1 0 120px; display: grid; gap: 1px; text-align: left; border: 0; background: var(--cinza-cartao); color: var(--tinta-2); padding: 8px 16px 8px 18px; font: 700 13px var(--sans); cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); min-width: 0; }
.vd-etapa:first-child { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); border-radius: 8px 0 0 8px; padding-left: 12px; }
.vd-etapa span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-etapa small { font-weight: 600; font-size: 11.5px; opacity: .85; }
.vd-etapa.feita { background: var(--ceu-claro); color: var(--marinho); }
.vd-etapa.on { background: var(--marinho); color: #fff; }
.vd-etapa:not([disabled]):hover { background: var(--ceu); color: var(--marinho); }
.vd-etapa[disabled] { cursor: default; }
.vd-playbook { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--tinta-2); background: var(--ceu-fundo); border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; }
.vd-neg-grade { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.vd-neg-lado, .vd-neg-principal { display: grid; gap: 14px; min-width: 0; }
.vd-bloco { display: grid; gap: 10px; padding: 14px 16px; }
.vd-bloco h3 { margin: 0; display: flex; gap: 6px; align-items: center; }
.vd-det { display: grid; gap: 1px; border-bottom: 1px solid var(--linha); padding: 2px 4px 8px; min-width: 0; border-radius: 4px; }
.vd-det small { color: var(--tinta-3); font-weight: 600; font-size: 12px; }
.vd-det span { overflow-wrap: anywhere; }
.vd-det[data-ed] { cursor: pointer; }
.vd-det[data-ed]:hover { background: var(--ceu-fundo); }
.vd-contato { display: flex; justify-content: space-between; gap: 8px; align-items: center; border-bottom: 1px solid var(--linha); padding-bottom: 8px; min-width: 0; }
.vd-contato > div { min-width: 0; display: grid; }
.vd-contato a { font-weight: 700; text-decoration: none; }
.vd-contato small { color: var(--tinta-2); font-size: 12.5px; overflow-wrap: anywhere; }
.vd-tarefa { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: start; border: 1px solid var(--linha); border-radius: 10px; padding: 10px; }
.vd-tarefa.feita { opacity: .7; }
.vd-tarefa-corpo { display: grid; gap: 3px; min-width: 0; }
.vd-tarefa-corpo p { font-size: 13px; }
.vd-tarefa-acoes { display: flex; gap: 2px; }
.vd-anotar { display: grid; gap: 8px; margin-bottom: 6px; }
.vd-anotar select { width: auto; height: 32px; }
.vd-hist { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.vd-hist::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: var(--linha); }
.vd-h { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--linha); position: relative; }
.vd-h:last-child { border-bottom: 0; }
.vd-h-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cinza-cartao); color: var(--tinta-2); z-index: 1; }
.vd-h-anotacao .vd-h-ic { background: var(--amarelo-claro); color: var(--amarelo-texto); }
.vd-h-status .vd-h-ic { background: var(--marinho); color: #fff; }
.vd-h-etapa .vd-h-ic { background: var(--ceu-claro); color: var(--marinho); }
.vd-h.fixada { background: var(--amarelo-claro); border-radius: 8px; padding-left: 6px; padding-right: 6px; }
.vd-h-corpo { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.vd-h-tit { display: flex; justify-content: space-between; gap: 10px; width: 100%; flex-wrap: wrap; }
.vd-h-tit time { color: var(--tinta-3); font-size: 12.5px; white-space: nowrap; }
.vd-h-texto { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--papel); border-radius: 6px; padding: 6px 9px; width: 100%; }
.vd-prod-topo { margin-bottom: 10px; }
.vd-totais { display: flex; gap: 6px 18px; flex-wrap: wrap; color: var(--tinta-2); font-size: 13px; }
.vd-totais b { color: var(--tinta); }
.vd-resumo-prod { background: var(--ceu-fundo); border-radius: 8px; padding: 8px 12px; }
.vd-mkt { display: grid; gap: 12px; justify-items: start; }
.vd-mkt-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; width: 100%; }
.vd-mkt-grade > div { display: grid; gap: 1px; background: var(--papel); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.vd-mkt-grade small { color: var(--tinta-3); font-weight: 600; font-size: 12px; }
.vd-mkt-grade b { overflow-wrap: anywhere; }
.vd-mkt-conv { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; width: 100%; }
.vd-mkt-conv li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--linha); padding: 4px 0; }
.vd-bloco-lead { gap: 8px; }
.vd-bl-it { display: flex; justify-content: space-between; gap: 8px; align-items: center; text-decoration: none; color: inherit; border: 1px solid var(--linha); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.vd-bl-it:hover { border-color: var(--azul); background: var(--ceu-fundo); }
.vd-bl-it > span:first-child { display: grid; min-width: 0; }
.vd-bl-it b { color: var(--azul-texto); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-bl-it small { color: var(--tinta-2); font-size: 12px; }
.vd-bl-dir { display: grid; justify-items: end; gap: 3px; flex: none; }

/* ---------- formulários, buscas ---------- */
.vd-form { display: grid; gap: 12px; }
.vd-form .campo > span { font-weight: 700; font-size: 13px; }
.vd-busca-campo { position: relative; }
.vd-sug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--cartao); border: 1px solid var(--linha); border-radius: 10px; box-shadow: var(--sombra); padding: 4px; z-index: 130; max-height: 260px; overflow: auto; }
.vd-sug button { display: grid; width: 100%; text-align: left; background: none; border: 0; border-radius: 6px; padding: 7px 9px; cursor: pointer; font-weight: 600; color: var(--tinta); }
.vd-sug button:hover { background: var(--ceu-fundo); }
.vd-sug button small { color: var(--tinta-2); font-weight: 500; }
.vd-sug p { padding: 8px; font-size: 13px; }
.vd-escolhido { display: flex; justify-content: space-between; gap: 8px; align-items: center; border: 1px solid var(--linha-2); border-radius: 8px; padding: 6px 6px 6px 11px; background: var(--ceu-fundo); min-width: 0; }
.vd-escolhido span { display: grid; min-width: 0; font-weight: 500; }
.vd-escolhido small { color: var(--tinta-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-tipos { display: flex; flex-wrap: wrap; gap: 6px; }
.vd-tipo input { position: absolute; opacity: 0; pointer-events: none; }
.vd-tipo span { display: inline-flex; gap: 6px; align-items: center; height: 34px; padding: 0 11px; border: 1px solid var(--linha-2); border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--tinta-2); }
.vd-tipo input:checked + span { background: var(--marinho); border-color: var(--marinho); color: #fff; }
.vd-tipo input:focus-visible + span { outline: 2px solid var(--azul); outline-offset: 2px; }
.vd-pergunta { border: 1px solid var(--linha); border-radius: 10px; padding: 10px 12px; display: grid; gap: 7px; margin: 0; }
.vd-pergunta legend { font-weight: 800; padding: 0 4px; font-size: 13px; }

/* ---------- Analisar e Metas ---------- */
.vd-rel-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.vd-rel-cartao { display: grid; gap: 12px; margin-top: 14px; align-content: start; }
.vd-rel-grade .vd-rel-cartao { margin-top: 0; }
.vd-kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: 14px; }
.vd-kv span { color: var(--tinta-2); }
.vd-kv b { text-align: right; }
.vd-barras-h { display: grid; gap: 7px; }
.vd-bh { display: grid; grid-template-columns: minmax(90px, 38%) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.vd-bh-rot { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tinta-2); }
.vd-bh-trilho { height: 10px; background: var(--cinza-cartao); border-radius: 5px; overflow: hidden; }
.vd-bh-trilho i { display: block; height: 100%; background: var(--azul); border-radius: 5px; }
.vd-conv { display: grid; gap: 12px; }
.vd-conv-et { display: grid; gap: 4px; }
.vd-conv-barra { display: flex; height: 14px; background: var(--cinza-cartao); border-radius: 7px; overflow: hidden; }
.vd-conv-barra i { display: block; height: 100%; }
.vd-conv-barra i.c-av { background: var(--azul); }
.vd-conv-barra i.c-vd { background: var(--verde); }
.vd-conv-barra i.c-pd { background: var(--vermelho); }
.vd-conv-barra i.c-an { background: var(--linha-2); }
.vd-leg { justify-content: flex-start; }
.vd-abas-mini { display: inline-flex; background: var(--cinza-cartao); border-radius: 8px; padding: 3px; gap: 2px; justify-self: start; flex-wrap: wrap; }
.vd-abas-mini button { border: 0; background: none; border-radius: 6px; padding: 6px 12px; font: 700 13px var(--sans); color: var(--tinta-2); cursor: pointer; }
.vd-abas-mini button.on { background: var(--cartao); color: var(--tinta); box-shadow: 0 1px 3px rgba(10, 35, 66, .12); }
.vd-metas { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.vd-meta { display: grid; gap: 8px; }
.vd-meta small { display: block; }
.vd-meta.encerrada { opacity: .75; }
.vd-meta-num { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.vd-meta-num b { font-size: 22px; font-weight: 800; }
.vd-meta-pct { margin-left: auto; font-weight: 800; background: var(--cinza-cartao); border-radius: 12px; padding: 2px 9px; font-size: 13px; }
.vd-meta-pct.ok { background: var(--verde); color: var(--marinho); }
.vd-meta-barra { position: relative; height: 12px; background: var(--cinza-cartao); border-radius: 6px; overflow: hidden; }
.vd-meta-barra i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.vd-meta-barra i.proj { background: var(--ceu-medio); }
.vd-meta-barra i.real { background: var(--azul); }

/* ---------- Configurações ---------- */
.vd-cfg-topo { margin-bottom: 14px; gap: 12px; }
.vd-cfg-topo .sec { max-width: 720px; }
.vd-cfg-funil { display: grid; gap: 12px; margin-bottom: 14px; }
.vd-cfg-etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vd-cfg-etapas li { display: flex; gap: 10px; align-items: center; border: 1px solid var(--linha); border-radius: 10px; padding: 8px 10px; flex-wrap: wrap; }
.vd-cfg-ord { width: 26px; height: 26px; border-radius: 50%; background: var(--marinho); color: #fff; display: grid; place-items: center; font: 800 12px var(--sans); flex: none; }
.vd-cfg-et { display: grid; flex: 1; min-width: 160px; }
.vd-cfg-lista { display: grid; gap: 12px; align-content: start; }
.vd-quals { display: grid; gap: 8px; max-width: 460px; }
.vd-qual { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; align-items: center; }

/* ---------- Lista Inteligente ---------- */
.vd-li-passo { display: grid; gap: 10px; margin-bottom: 14px; }
.vd-li-passo h2, .vd-li-res h2 { display: flex; gap: 10px; align-items: center; }
.vd-li-n { width: 26px; height: 26px; border-radius: 50%; background: var(--marinho); color: #fff; display: grid; place-items: center; font: 800 13px var(--sans); flex: none; }
.vd-li-passo .op span small, .vd-cfg-lista .op span small { display: block; font-weight: 500; color: var(--tinta-2); }
.vd-li-passo .mono { font-size: 13px; overflow-wrap: anywhere; }
.vd-li-base select { width: auto; max-width: 100%; flex: 0 1 380px; }
.vd-li-res { display: grid; gap: 10px; margin-bottom: 14px; }
.vd-li-grade { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.vd-li-filtros { display: grid; gap: 12px; background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: 14px; }
.vd-li-filtros h3 { display: flex; gap: 6px; align-items: center; }
.vd-li-filtros select { width: 138px; flex: none; }
.vd-li-tab { display: grid; gap: 10px; min-width: 0; }
.vd-li-acoes { gap: 10px; }
.vd-li-tagok { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--verde-claro); color: var(--verde-texto); border-radius: 10px; padding: 9px 12px; font-size: 13px; }
.vd-li-tagok span { flex: 1; min-width: 200px; }
.vd-li-tagok a { color: var(--verde-texto); font-weight: 700; }
.vd-li-chance { display: inline-block; width: 56px; height: 6px; background: var(--cinza-cartao); border-radius: 3px; overflow: hidden; margin-right: 8px; vertical-align: middle; }
.vd-li-chance i { display: block; height: 100%; background: var(--azul); }
.vd-li-como { margin-bottom: 14px; display: grid; gap: 12px; }
.vd-li-como summary { cursor: pointer; }
.vd-li-como[open] summary { margin-bottom: 10px; }
.vd-li-por { display: grid; gap: 8px; padding: 8px 10px; white-space: normal; }
.vd-li-por .vd-bh { grid-template-columns: 165px minmax(50px, 1fr) auto; }

/* ---------- celular ---------- */
@media (max-width: 1080px) {
  .vd-neg-grade { grid-template-columns: 280px minmax(0, 1fr); }
  .vd-li-grade { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .vd-neg-grade, .vd-rel-grade { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .vd-barra select, .vd-barra .btn-filtro { flex: 1 1 calc(50% - 6px); max-width: none; min-width: 0; }
  .vd-visoes { flex: 1 1 100%; }
  .vd-visoes a { flex: 1; justify-content: center; }
  .vd-rot-inline { flex: 1 1 100%; flex-wrap: wrap; }
  .vd-rot-inline select { flex: 1; }
  .vd-col { flex-basis: 84vw; height: calc(100vh - 330px); min-height: 360px; }
  .vd-quadro { margin: 0 -16px; padding: 0 16px 12px; max-width: none; width: calc(100% + 32px); }
  .vd-esc-cel { display: none; }
  .vd-neg-cab { align-items: flex-start; }
  .vd-neg-acoes { width: 100%; }
  .vd-neg-acoes .btn { flex: 1; }
  .vd-etapa { flex-basis: 132px; }
  .vd-li-filtros select { width: 120px; }
  .vd-bh { grid-template-columns: minmax(70px, 34%) minmax(0, 1fr) auto; }
  .vd-massa select { flex: 1 1 100%; max-width: none; }
  .vd-metas { grid-template-columns: 1fr; }
  .vd-qual { grid-template-columns: 1fr; gap: 4px; }
}

/* arrastar no quadro (mouse e toque) */
.vd-cartao[data-arrasta="1"] { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.vd-fantasma { position: fixed; z-index: 300; pointer-events: none; transform: rotate(2deg); box-shadow: var(--sombra); opacity: .95; margin: 0; }
body.vd-arrastando, body.vd-arrastando * { cursor: grabbing !important; user-select: none; }

/* listas com filtros em linha (empresas, tarefas, produtos) e colunas da listagem */
.vd-filtros-linha select { width: auto; max-width: 260px; }
.vd-tab-neg td:nth-child(2) { min-width: 220px; }
.vd-tab-neg td:nth-child(3), .vd-tab-neg td:nth-child(9) { white-space: nowrap; }
.vd-tab-neg .vd-prox { max-width: 200px; }
@media (max-width: 760px) {
  .vd-filtros-linha select { flex: 1 1 calc(50% - 6px); max-width: none; min-width: 0; }
}
.vd-tab-neg td.num, .vd-li-tab td.num { white-space: nowrap; }
.vd-tab-t td.num { white-space: nowrap; }
@media (max-width: 760px) {
  #vd-rel .numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #vd-rel .num-cartao b { font-size: 20px; }
}
