/* Pedido 33 (vídeo do Nelson, 29/11/2026): Ao vivo = painel do gestor. Blocos por atendente pela largura toda, cartões
   enxutos em grade que quebra linha, sem rolagem lateral (só a vertical). Alto contraste do padrão do lote 14.
   O prefixo com :not(#av) vence as regras gerais de botões e da lista (que usam :not(#v)/:not(#l130) várias vezes). */
#at-lista.at-aovivo{display:block!important;overflow-x:hidden!important;max-width:100%}
.av-painel{display:flex;flex-direction:column;gap:10px;min-width:0;max-width:100%;overflow-x:hidden}
.av-resumo{margin:0;color:#3D4A5C;font-size:.875rem}
.av-resumo strong{color:#0F1B2D;font-size:.95rem}
.av-blocos{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;min-width:0}
.av-bloco{--av-n:1;flex:1 1 calc(var(--av-n) * 186px + 30px);min-width:min(100%,230px);max-width:100%;box-sizing:border-box;background:#F3F5F8;border:1px solid #C7D0DB;border-radius:12px;padding:8px;box-shadow:0 1px 2px rgba(15,27,45,.08)}
.av-bloco-fila{background:#FFF7EC;border-color:#F0C48E}
.av-bloco-topo{display:flex;align-items:center;gap:6px;margin:0 0 7px;padding:0 2px 6px;border-bottom:2px solid #12355B}
.av-bloco-fila .av-bloco-topo{border-bottom-color:#B45309}
.av-bloco-topo h4{margin:0;flex:1;min-width:0;font-size:.95rem;font-weight:800;color:#12355B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-conta{font:700 .78rem/1 "IBM Plex Mono",ui-monospace,monospace;padding:3px 7px;border-radius:6px;background:#E3ECF6;color:#12355B}
.av-conta-alerta{font-size:.75rem;font-weight:800;padding:3px 7px;border-radius:6px;background:#FDE3E1;color:#B42318;border:1px solid #F3B8B3;white-space:nowrap}
.av-grade{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px;min-width:0}
.av-livres{margin:0;padding:6px 10px;border:1px dashed #97A6B8;border-radius:10px;background:#fff;color:#3D4A5C;font-size:.85rem}
.av-vazio,.av-carregando{margin:8px 2px;color:#3D4A5C;font-style:italic}
html body:not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av) #atendimento .av-cartao{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:54px!important;max-height:none!important;margin:0!important;padding:6px 8px!important;box-sizing:border-box!important;text-align:left!important;background:#fff!important;color:#0F1B2D!important;border:1px solid #C7D0DB!important;border-left:4px solid #13795B!important;border-radius:9px!important;box-shadow:none!important;cursor:pointer;font:inherit!important;white-space:normal!important;overflow:hidden!important}
html body:not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av) #atendimento .av-cartao:hover{border-color:#12355B!important;background:#F5F8FC!important}
html body:not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av) #atendimento .av-cartao:focus-visible{outline:3px solid #C9A045!important;outline-offset:1px}
html body:not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av) #atendimento .av-cartao.av-espera-laranja{border-left-color:#B45309!important}
html body:not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av) #atendimento .av-cartao.av-espera-vermelha{border-left-color:#B42318!important}
html body:not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av) #atendimento .av-cartao.av-espera-critica{border-left-color:#7A1410!important;background:#FFF6F5!important}
.av-avatar{flex:0 0 34px;width:34px;height:34px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#E3ECF6;color:#12355B;font-weight:800}
.av-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.av-texto{display:flex;flex-direction:column;min-width:0;flex:1;gap:1px}
.av-nome{font-size:.85rem;font-weight:800;line-height:1.2;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.av-canal,.av-tempo{font-size:.72rem;line-height:1.2;color:#3D4A5C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-aguardando .av-tempo{color:#B42318;font-weight:800}
.av-cartao.av-aguardando.av-espera-verde .av-tempo{color:#13795B}
@media (max-width:640px){.av-bloco{flex-basis:100%}.av-grade{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
/* Pedido 32/33: no Ao vivo e no Kanban por fase não há abas da fila (Espera/Meus/…) nem seleção em lote de cartões da lista.
   O [hidden] das abas perdia para o display:flex!important do topo compacto (mesmo prefixo + id): agora vence. */
html body:not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av) #atendimento .at-fila-conteudo>[hidden]:is(#at-fila-abas,#at-fila-ferramentas,#at-canais-botoes,.fu-barra){display:none!important}
html body:not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av):not(#av) #atendimento .at-grade:is(.modo-aovivo,.modo-fases) :is(.lg-barra,#at-equipe-contagens){display:none!important}
