.column-empty{min-height:142px;padding:20px 12px 14px!important;gap:10px!important}
.column-empty .vs-logo-window{display:block;width:90px;height:44px;position:relative;overflow:hidden;flex-shrink:0}
.column-empty .vs-logo-window img{position:absolute;width:136px;height:136px;max-width:none;left:-23px;top:-45px;object-fit:contain}
[data-theme="dark"] .column-empty .vs-logo-window img{filter:invert(1)}
/* Mudanças aprovadas apenas para Pipeline no tema claro. */
html.crm-pipeline:not([data-theme="dark"]){--border:#000;--text-muted:#000}
html.crm-pipeline:not([data-theme="dark"]) .main :is(.column-total,.column-count,.temp-pill,.column-empty,.search,.icon-btn){color:#000}
html.crm-pipeline:not([data-theme="dark"]) .main input::placeholder{color:#000;opacity:1}
html.crm-pipeline:not([data-theme="dark"]) :is(#newLeadBtn,.topbar .avatar,.btn-review){background:#fff!important;color:#000!important;border:1px solid #000!important}
html.crm-pipeline:not([data-theme="dark"]) .stage-dot{background:#000!important}
html.crm-pipeline:not([data-theme="dark"]) .icon-btn .dot{background:#000;border-color:#fff}
html.crm-pipeline:not([data-theme="dark"]) #pipelineSubtabs .report-tab.active{background:#000;color:#fff;border-color:#000}
.column-head{min-height:26px}
.temp-filter-row{min-height:26px}
.column[data-stage="entrega"] .column-body{margin-top:26px}
.column-empty{height:154px;justify-content:flex-start!important;padding-top:30px!important}
.column-empty>span:last-child{line-height:1.4;min-height:32px}

/* Identidade completa nos estados vazios, preservando o logo original. */
.column-empty .vs-logo-window{width:140px;height:76px}
.column-empty .vs-logo-window img{width:212px;height:212px;left:-36px;top:-66px}
.column-empty{height:178px;padding-top:18px!important}
.owner-chip.alan-camel.has-photo{background-size:190%;background-position:center}
#avatarBtn.has-photo{background-position:center 30%}
.credit-section-title{font-size:15px;font-weight:600;margin:0 0 14px}

/* V7: manter os símbolos inteiros e a foto no painel de vendedores. */
.owner-chip.alan-camel.has-photo{background-size:contain!important;background-repeat:no-repeat;background-position:center!important;background-color:#fff!important}
.efficiency-avatar.has-photo{background-size:cover;background-position:center 30%;color:transparent!important;text-indent:-999px;overflow:hidden}
.column-empty .vs-logo-window{width:140px!important;height:72px!important}
.column-empty .vs-logo-window img{width:212px!important;height:212px!important;left:-36px!important;top:-70px!important}

/* V7: manter os símbolos inteiros e a foto no painel de vendedores. */
.owner-chip.alan-camel.has-photo{background-size:contain!important;background-repeat:no-repeat;background-position:center!important;background-color:#fff!important}
.efficiency-avatar.has-photo{background-size:cover;background-position:center 30%;color:transparent!important;text-indent:-999px;overflow:hidden}
.column-empty .vs-logo-window{width:140px!important;height:72px!important}
.column-empty .vs-logo-window img{width:212px!important;height:212px!important;left:-36px!important;top:-70px!important}

/* V8: logo com metade do tamanho, conjunto junto à linha inferior. */
.column-empty{justify-content:flex-end!important;padding:18px 12px 10px!important;gap:6px!important}
.column-empty .vs-logo-window{width:70px!important;height:36px!important}
.column-empty .vs-logo-window img{width:106px!important;height:106px!important;left:-18px!important;top:-35px!important}
.column-empty>span:last-child{min-height:0!important;line-height:1.4}

/* V9: imagem real no botão de conta, independente do fundo do botão. */
#avatarBtn.has-photo{position:relative!important;padding:0!important;text-indent:0!important;overflow:hidden!important}
#avatarBtn>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center 30%!important;border:0!important;border-radius:inherit!important}

/* V10: sem divisor horizontal entre as abas e o funil. */
html.crm-pipeline .topbar{border-bottom:0!important}

/* V12: conjunto centralizado, ligeiramente abaixo do centro. */
.column-empty{justify-content:center!important;padding:38px 12px 10px!important;gap:6px!important;box-sizing:border-box!important}

/* V13: dimensões iguais, perdas visíveis e revisão sinalizada. */
#board .column .card,#board .column-empty{height:178px!important;min-height:178px!important;box-sizing:border-box!important}
#board .column .card{display:flex;flex-direction:column;overflow:visible}
#board .card .card-bottom{margin-top:auto}
#board .column[data-stage="perdidos"] .card.lost{display:flex!important}
#board .column[data-stage="perdidos"] .card.loss-filter-hidden{display:none!important}
#board .card-company{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#board .card-contact{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@keyframes crm-review-pulse{50%{background-color:#d4d4d4;box-shadow:inset 3px 0 #111}}
#monthResetBtn.urgent,#bellBtn.review-pending,#reviewBellNotice:not([hidden]){animation:crm-review-pulse 1.4s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){#monthResetBtn.urgent,#bellBtn.review-pending{animation:none;box-shadow:inset 3px 0 #111}}

/* Controles da direita seguem a tipografia e a altura das abas; avatar preservado. */
.topbar :is(.search,#newLeadBtn,#themeToggleBtn,#bellBtn){font-family:inherit!important;font-size:11px!important;font-weight:600!important;line-height:1.3!important;min-height:27px!important;height:27px!important;padding:6px 10px!important;box-sizing:border-box!important}
.topbar .search input{font:inherit!important;line-height:1.3!important;padding:0!important}

/* V14: tamanho compacto do Lead como referência para todos os cards. */
#board .column .card,#board .column-empty{height:166px!important;min-height:166px!important;box-sizing:border-box!important}

/* V16: títulos com a mesma largura e coluna de perdas alinhada. */
#board .column{width:186px!important;flex:0 0 186px!important}
#board .column-head{display:flex!important;width:100%;box-sizing:border-box}
#board .column-title,#board .column-title-btn{flex:1!important;min-width:0}
#board #lostStageFilter{height:26px;min-height:26px;box-sizing:border-box;margin:0 0 8px;font:inherit;font-size:11px}
#board .column[data-stage="perdidos"] .column-body{margin-top:0!important}
#board .column .card,#board .column-empty{height:166px!important;min-height:166px!important;max-height:166px!important;box-sizing:border-box!important}
#board .lost-reason-select{width:100%;font-size:10px;margin-top:4px;min-height:22px;flex-shrink:0}

/* Busca com uma única caixa, sem moldura interna. */
.topbar .search #searchInput{border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;min-width:0}
.topbar .search:focus-within,.topbar .search:has(input.crm-filled){background:#f3f3f3!important;box-shadow:inset 3px 0 #111!important}

/* V17: mais respiro entre título, total e filtros do funil. */
#board .column-head{padding-bottom:10px!important}
#board .column-total{padding-bottom:20px!important}
#board .temp-filter-row{min-height:34px!important;box-sizing:border-box}
#board .column[data-stage="entrega"] .column-body{margin-top:34px!important}

/* V18: altura mais compacta conforme a referência aprovada. */
#board .column .card,#board .column-empty{height:126px!important;min-height:126px!important;max-height:126px!important;box-sizing:border-box!important}
#board .column-empty{padding:20px 10px 8px!important}
#board .column[data-stage="perdidos"] .card{padding-top:7px;padding-bottom:7px}
#board .lost-reason-select{height:20px!important;min-height:20px!important;margin-top:2px}

/* V19: distribuir as fases por toda a largura disponível. */
#board{width:100%!important;min-width:1166px!important;box-sizing:border-box!important;justify-content:space-between!important;gap:10px!important}
#board>.column{width:186px!important;flex:0 0 186px!important}

/* V20: título e quantidade na mesma linha, seleção da faixa inteira. */
#board .column-head{height:32px!important;min-height:32px!important;padding:0 10px!important;align-items:center!important;border-bottom:1px solid #bbb!important;position:relative;cursor:pointer}
#board .column-head .column-title-btn,#board .column-head .column-title{height:30px!important;display:flex!important;align-items:center!important;padding:0!important;line-height:1!important;background:transparent!important;box-shadow:none!important;border:0!important;margin:0!important}
#board .column-head .column-count{height:30px!important;display:flex!important;align-items:center!important;line-height:1!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;align-self:center!important}
#board .column-head:hover,#board .column-head.stage-selected{background:#e5e5e5!important;box-shadow:inset 3px 0 #000!important}
