/* ==========================================================================
   Demo Droyds Omni — visual da réplica
   Feito a partir de capturas de tela: tema escuro no estilo Material
   (fundo #121212, cartões #1e1e1e, azul #2196f3, fonte Roboto).
   Tudo fica sob .om para não vazar para o resto do site.

   Atenção: o app.css do site zera box-shadow de todo <button>/<input> com
   !important, então aqui as bordas são sempre "border" de verdade.
   ========================================================================== */
.om {
  --om-fundo: #121212;
  --om-cartao: #1e1e1e;
  --om-borda: #2c2c2c;
  --om-texto: #f2f2f2;
  --om-mudo: #a5a5a5;
  --om-azul: #2196f3;
  --om-verde: #4caf50;
  --om-laranja: #fb8c00;
  --om-vermelho: #f4511e;

  display: flex; flex-direction: column;
  background: var(--om-fundo); color: var(--om-texto);
  border: 1px solid var(--om-borda); border-radius: 12px; overflow: hidden;
  font-family: 'Roboto', 'Inter', system-ui, sans-serif; font-size: 14px; line-height: 1.4;
  min-height: 560px;
}
/* neutraliza os estilos globais do site dentro da réplica */
.om p { margin: 0; color: inherit; }
.om h1, .om h2, .om h3 { margin: 0; font-family: inherit; color: var(--om-texto); }
.om ul { list-style: none; margin: 0; padding: 0; }
.om small { font-size: 12px; }
.om b { font-weight: 700; }
.om button { font: inherit; color: inherit; cursor: pointer; }
.om button:focus { outline: none; }
.om button:focus-visible { outline: 2px solid var(--om-azul); outline-offset: 2px; }
.om [hidden] { display: none !important; }
.om .mudo { color: var(--om-mudo); }
.om-ico { width: 22px; height: 22px; flex: none; }
.om-ico.azul, .om b.azul { color: var(--om-azul); }
.om-ico.verde, .om b.verde { color: var(--om-verde); }
.om b.laranja { color: var(--om-laranja); }
.om-ico.vermelho { color: #ff5252; }

/* ---------- barra superior ---------- */
.om-barra { display: flex; align-items: center; gap: 14px; height: 60px; flex: none; padding: 0 16px; border-bottom: 1px solid var(--om-borda); }
.om-logo { height: 34px; width: auto; }
.om-produto { font-size: 19px; color: var(--om-azul); }
.om-barra-dir { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.om-barra-icone { display: grid; place-items: center; }

/* ---------- menu lateral ---------- */
.om-meio { display: flex; flex: 1; min-height: 0; }
.om-lateral { display: none; width: 250px; flex: none; background: #1b1b1b; border-right: 1px solid var(--om-borda); }
.om-empresa { display: flex; justify-content: center; padding: 20px 12px; border-bottom: 1px solid var(--om-borda); }
.om-empresa span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 15px; }
.om-empresa .om-ico { width: 18px; height: 18px; }
.om-menu { padding: 14px 6px !important; display: flex; flex-direction: column; gap: 4px; }
.om-menu li { display: flex; align-items: center; gap: 28px; padding: 10px 12px; border-radius: 6px; font-weight: 500; font-size: 13.500px; }
.om-menu li[data-act] { cursor: pointer; }
.om-menu li .om-ico { color: #cfcfcf; }
.om-menu li.ativo { background: #3a3a3a; }
.om-menu-config { margin-top: 10px; }
.om-menu li .fim { margin-left: auto; }

/* ---------- conteúdo ---------- */
.om-conteudo { flex: 1; min-width: 0; padding: 20px 16px 32px; display: flex; flex-direction: column; gap: 16px; }
.om-conteudo > [data-dash-corpo] { display: flex; flex-direction: column; gap: 16px; }
.om-cartao { background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 6px; padding: 14px 16px; min-width: 0; }
.om-cartao h3 { font-size: 21px; font-weight: 400; margin-bottom: 10px; }
.om-duas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.om-nota { color: var(--om-mudo) !important; font-size: 13px; margin: -4px 0 8px !important; }

/* filtros */
.om-filtros { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; padding: 16px; background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 6px; }
.om-campo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 150px; flex: 1 1 150px; height: 48px; padding: 0 14px; border: 1px solid #6b6b6b; border-radius: 5px; background: transparent; font-size: 16px; text-align: left; }
.om-campo small { position: absolute; top: -9px; left: 10px; padding: 0 5px; background: var(--om-cartao); color: var(--om-mudo); }
.om-campo .om-ico { width: 18px; height: 18px; color: var(--om-mudo); }
.om-select { flex: 2 1 200px; min-width: 0; }
.om-select .om-campo { width: 100%; }
.om-select-lista { display: flex; flex-direction: column; margin-top: 4px; padding: 6px 0; border: 1px solid var(--om-borda); border-radius: 5px; background: #2a2a2a; scroll-margin: 16px; }
.om-select-lista button { padding: 11px 16px; border: 0; background: transparent; text-align: left; font-size: 15px; }
.om-select-lista button:hover, .om-select-lista button:focus-visible { background: #3a3a3a; }
.om-botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; margin-top: 6px; padding: 0 16px; border: 1px solid transparent; border-radius: 5px; background: var(--om-azul); color: #fff; font-weight: 500; white-space: nowrap; }
.om-botao.texto { background: transparent; }
.om-botao.escuro { background: #2a2a2a; margin: 0; font-size: 16px; }

/* indicadores */
.om-indicadores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.om-indicador { display: flex; align-items: center; gap: 12px; padding: 14px 12px; background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 6px; }
.om-indicador small { display: block; font-size: 16px; color: #cfcfcf; }
.om-indicador b { font-size: 16px; }
.om-indicador-icone { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.om-indicador-icone.azul { background: rgba(33, 150, 243, 0.14); color: var(--om-azul); }
.om-indicador-icone.verde { background: rgba(76, 175, 80, 0.14); color: var(--om-verde); }
.om-indicador-icone.laranja { background: rgba(251, 140, 0, 0.14); color: var(--om-laranja); }
.om-indicador-icone.cinza { background: rgba(255, 255, 255, 0.07); color: #777; }

/* gráficos de barras */
.om-grafico { padding: 6px 0 2px; }
.om-barras { display: flex; align-items: flex-end; gap: 3px; height: 210px; border-bottom: 1px solid #3a3a3a; background: repeating-linear-gradient(to top, transparent 0 41px, #2a2a2a 41px 42px); }
.om-barra-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.om-barra-col small { font-size: 9px; font-weight: 700; color: #ddd; }
.om-barra-col i { display: block; width: 78%; min-height: 0; background: #1976d2; border-radius: 1px 1px 0 0; }
.om-barra-col i.laranja { background: #f9a825; width: 60%; }
.om-eixo { display: flex; gap: 3px; margin-top: 6px; }
.om-eixo span { flex: 1; min-width: 0; text-align: center; font-size: 10px; color: var(--om-mudo); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tabelas */
.om-tabela-rolagem { overflow-x: auto; margin: 0 -16px -14px; }
.om-tabela { width: 100%; border-collapse: collapse; }
.om-tabela th { padding: 12px 16px; text-align: left; font-weight: 500; white-space: nowrap; border-bottom: 1px solid #3a3a3a; }
.om-tabela td { padding: 12px 16px; white-space: nowrap; border-bottom: 1px solid #2c2c2c; }
.om-tabela td:first-child { white-space: normal; min-width: 110px; }
.om-tabela-rolagem { scrollbar-width: thin; scrollbar-color: #444 transparent; }
.om-tabela tr:last-child td { border-bottom: 0; }
.om-tabela .dir { text-align: right; }
.om-tabela .vazio { text-align: center; color: var(--om-mudo); }
.om-etiqueta { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.om-etiqueta.verde { background: var(--om-verde); color: #fff; font-weight: 700; }
.om-etiqueta.laranja { background: #f9a825; color: #1a1a1a; }
.om-etiqueta.laranja-suave { background: rgba(251, 140, 0, 0.16); color: #ffa726; }
.om-etiqueta.cinza { background: #3a3a3a; color: #e0e0e0; }
.om-etiqueta.azul { background: rgba(33, 150, 243, 0.16); color: var(--om-azul); font-size: 10px; font-weight: 700; }
.om-personalizados { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.om-personalizados h2 { font-size: 23px; }

/* ---------- Gestão à Vista ---------- */
.om-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 24px; border-radius: 16px; background: linear-gradient(100deg, #2196f3, #1e3f7a); }
.om-banner h1 { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 900; letter-spacing: 0.01em; }
.om-banner h1 .om-ico { width: 38px; height: 38px; }
.om-banner p { margin-top: 12px !important; font-size: 16px; color: #e3f0ff !important; }
.om-aovivo { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-weight: 700; }
.om-aovivo .om-ico { animation: omPulso 1.6s ease-in-out infinite; }
@keyframes omPulso { 50% { opacity: 0.35; } }
.om-titulo-secao { margin: 34px 0 14px !important; padding-left: 14px; border-left: 6px solid var(--om-azul); font-size: 23px; font-weight: 900; }
.om-grade-cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 20px; }
.om-cartao-setor { background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 22px; }
.om-cartao-setor-topo { display: flex; align-items: center; gap: 16px; padding: 26px 20px; border-bottom: 1px solid var(--om-borda); }
.om-cartao-setor-topo div { flex: 1; min-width: 0; }
.om-cartao-setor-topo b { display: block; font-size: 18px; }
.om-cartao-setor-topo small { font-size: 15px; color: #cfcfcf; }
.om-predio { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); color: var(--om-azul); }
.om-situacoes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 20px; }
.om-situacao { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px 2px; border: 1px solid transparent; border-radius: 16px; background: rgba(255, 255, 255, 0.04); text-align: center; color: #9a9a9a; }
.om-situacao b { font-size: 14px; font-weight: 900; color: #fff; }
.om-situacao span { font-size: 12px; color: #eee; line-height: 1.35; overflow-wrap: anywhere; }
.om-situacao.azul { background: rgba(33, 150, 243, 0.14); color: var(--om-azul); }
.om-situacao.azul b { color: var(--om-azul); }
.om-situacao.laranja { background: rgba(251, 140, 0, 0.12); border-color: rgba(251, 140, 0, 0.45); color: var(--om-laranja); }
.om-situacao.laranja b { color: var(--om-laranja); }
.om-situacao.vermelho { background: rgba(244, 81, 30, 0.14); border-color: rgba(244, 81, 30, 0.45); color: var(--om-vermelho); }
.om-situacao.vermelho b { color: var(--om-vermelho); }
.om-situacao b.pisca { animation: omPisca 0.9s ease; }
@keyframes omPisca { 0% { transform: scale(1.9); color: #fff; } 100% { transform: scale(1); } }
.om-grade-atendentes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.om-atendente { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 20px; background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 22px; overflow: hidden; }
.om-atendente > b { font-size: 16px; font-weight: 900; text-align: center; padding: 0 8px; }
.om-avatar { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #262626; color: #9a9a9a; }
.om-avatar .om-ico { width: 34px; height: 34px; }
.om-avatar i { position: absolute; top: 4px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--om-verde); }
.om-atendente-numeros { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 10px; border-top: 1px solid var(--om-borda); border-bottom: 1px solid var(--om-borda); }
.om-atendente-numeros div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; }
.om-atendente-numeros div + div { border-left: 1px solid var(--om-borda); }
.om-atendente-numeros small { font-size: 13px; font-weight: 700; color: #cfcfcf; }
.om-atendente-rodape { display: flex; align-items: center; gap: 6px; padding: 10px 6px 14px; font-size: 13px; font-weight: 700; }
.om-atendente-rodape .om-ico { width: 16px; height: 16px; }

/* ---------- responsivo ---------- */
@media (min-width: 640px) {
  .om-lateral { display: block; }
  .om-conteudo { padding: 28px 28px 40px; }
}
@media (min-width: 1100px) {
  .om-duas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .om-indicadores:not(.tres) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .om-indicadores:not(.tres) .om-indicador small, .om-indicadores:not(.tres) .om-indicador b { font-size: 14px; }
  .om-lateral { width: 290px; }
}
@media (max-width: 639px) {
  .om-barra-dir { gap: 12px; }
  .om-barra-dir .om-ico:nth-child(-n+2) { display: none; }
  .om-situacoes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .om-banner h1 { font-size: 23px; }
  .om-indicadores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .om-indicador small, .om-indicador b { font-size: 14px; }
  .om-barra-col small { font-size: 7px; }
  .om-eixo span { font-size: 7px; }
  .om-eixo:has(span:nth-child(13)) span:nth-child(even) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .om-aovivo .om-ico, .om-situacao b.pisca { animation: none; }
}

/* ==========================================================================
   Peças comuns às telas com ações: modais, avisos, campos de digitar
   ========================================================================== */
body.om-modal-aberto { overflow: hidden; }
.om-fundo { position: fixed; inset: var(--demo-topo, 0px) 0 0 0; z-index: 900; display: flex; justify-content: center; align-items: flex-start; padding: 24px 12px; background: rgba(0, 0, 0, 0.55); overflow-y: auto; }
.om-modal { width: 100%; max-width: 700px; background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 22px; }
.om-modal.tam-medio { max-width: 600px; border-radius: 6px; }
.om-modal.tam-estreito { max-width: 500px; }
.om-modal-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; }
.om-modal-topo.linha { border-bottom: 1px solid var(--om-borda); }
.om-modal-topo h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 500; }
.om-modal-topo h2 .om-ico { width: 28px; height: 28px; }
.om-modal-subtitulo { padding: 0 18px 6px; font-size: 14px; }
.om-modal-corpo { display: flex; flex-direction: column; gap: 18px; padding: 16px 18px; }
.om-modal-corpo > p { font-size: 16px; }
/* dentro de modal os campos nao esticam na vertical */
.om-modal-corpo > .om-campo, .om-modal-corpo > div > .om-campo { flex: 0 0 auto; }
.om-modal-rodape { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 12px 18px 18px; }
.om-modal-rodape.linha { border-top: 1px solid var(--om-borda); }
.om-modal-rodape .om-botao { margin-top: 0; font-size: 16px; }
.om-botao.contorno { background: transparent; border-color: #e0e0e0; font-size: 16px; height: 44px; }
.om-botao.largo { flex: 1 1 150px; height: 44px; margin-top: 2px; font-size: 16px; }
.om-botao.desligado { color: #666; }
.om-botao.vermelho { background: #ef5350; }
.om-grade-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.om-campo.digitar { padding: 0; }
.om-campo.digitar input, .om-telefone input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; background: transparent; color: var(--om-texto) !important; font-size: 16px !important; }
.om-campo.digitar input:focus, .om-telefone input:focus { outline: none; }
.om-campo.digitar input::placeholder, .om-telefone input::placeholder { color: #cfcfcf; }
.om-campo.digitar:focus-within, .om-telefone:focus-within { border-color: #fff; }
.om-campo.com-icone { justify-content: flex-start; padding-left: 12px; }
.om-campo.com-icone .om-ico { width: 22px; height: 22px; color: #e0e0e0; }
.om-campo.com-icone input { padding-left: 4px; }
.om-icone-botao { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #f2f2f2; }
.om-icone-botao.azul { color: var(--om-azul); }
.om-icone-botao.vermelho { color: #f44336; }
.om-toasts { position: fixed; left: 50%; top: calc(var(--demo-topo, 0px) + 12px); transform: translateX(-50%); z-index: 10002; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.om-toast { padding: 12px 18px; border-radius: 6px; background: #2e7d32; color: #fff; font-weight: 500; white-space: nowrap; animation: omToast 0.25s ease; transition: opacity 0.3s; }
.om-toast.saindo { opacity: 0; }
@keyframes omToast { from { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   Tela de Pessoas (menu "Clientes")
   ========================================================================== */
.om-topo-pagina { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 0 16px; }
.om-titulo-azul { font-size: 32px; font-weight: 700; color: var(--om-azul) !important; }
.om-topo-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.om-topo-acoes .om-botao { margin-top: 0; height: 44px; font-size: 16px; }
.om-resumos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.om-resumo { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 112px; padding: 16px 22px; background: var(--om-cartao); border: 1px solid var(--om-borda); border-top: 3px solid #3a3a3a; border-radius: 22px; }
.om-resumo small { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 700; color: #9a9a9a; }
.om-resumo b { font-size: 16px; }
.om-resumo-icone { width: 62px; height: 62px; flex: none; border-radius: 18px; display: grid; place-items: center; }
.om-resumo-icone .om-ico { width: 30px; height: 30px; }
.om-resumo-icone.verde { background: rgba(76, 175, 80, 0.16); color: #66bb6a; }
.om-resumo-icone.azul { background: rgba(33, 150, 243, 0.16); color: var(--om-azul); }
.om-resumo-icone.laranja { background: rgba(251, 140, 0, 0.16); color: var(--om-laranja); }
.om-busca-linha { display: flex; flex-wrap: wrap; gap: 16px; }
.om-busca-linha .om-campo { flex: 3 1 240px; }
.om-avancados { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; padding: 16px; border-radius: 22px; background: #3a3a3a; }
.om-avancados .om-campo { background: #454545; border-color: #8a8a8a; }
.om-lista { border-radius: 22px; padding-bottom: 6px; }
.om-lista-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.om-lista-topo h3 { display: flex; align-items: center; gap: 14px; margin: 0; }
.om-lista-topo h3 .om-ico { width: 30px; height: 30px; }
.om-contagem { padding: 6px 12px; border: 1px solid var(--om-azul); border-radius: 999px; color: var(--om-azul); white-space: nowrap; }
.om-tabela.esquerda th, .om-tabela.esquerda td { text-align: left; }
.om-tabela.esquerda td { font-size: 15px; padding-top: 9px; padding-bottom: 9px; }
.om-tabela tr.nova td { background: rgba(33, 150, 243, 0.09); }
.om-link { color: #7c8cff; letter-spacing: 0.03em; }
.om-etiqueta.roxa { background: rgba(156, 39, 176, 0.18); color: #ab47bc; }
.om-etiqueta.ativo { gap: 5px; background: rgba(76, 175, 80, 0.14); color: #66bb6a; }
.om-etiqueta.inativo { gap: 5px; background: rgba(244, 67, 54, 0.14); color: #ef5350; }
.om-etiqueta .om-ico { width: 15px; height: 15px; }
.om-acoes-linha { display: inline-flex; align-items: center; gap: 6px; }

/* modais de Pessoas */
.om-telefone { display: flex; align-items: stretch; height: 56px; border: 1px solid #6b6b6b; border-radius: 5px; }
.om-pais { position: relative; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-right: 1px solid #6b6b6b; }
.om-pais small { position: absolute; top: -9px; left: 26px; padding: 0 5px; background: var(--om-cartao); color: #e0e0e0; }
.om-pais .om-ico { width: 18px; height: 18px; }
.om-bandeira { position: relative; width: 26px; height: 18px; border-radius: 2px; overflow: hidden; background: #1f9b3b; }
.om-bandeira::before { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; background: #f7d117; transform: translate(-50%, -50%) rotate(45deg) scaleY(0.72); }
.om-bandeira::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: #1a3d8f; transform: translate(-50%, -50%); }
.om-abas { display: flex; gap: 4px; border-bottom: 1px solid var(--om-borda); overflow-x: auto; scrollbar-width: none; }
.om-abas span { flex: none; padding: 12px 16px; font-size: 16px; font-weight: 500; border-bottom: 2px solid transparent; }
.om-abas span.ativa { border-bottom-color: #fff; }
.om-destaque { font-size: 16px; font-weight: 700; }
.om-templates { display: flex; flex-direction: column; border: 1px solid var(--om-borda); border-radius: 6px; }
.om-template { display: flex; align-items: center; gap: 22px; width: 100%; padding: 8px 18px; border: 0; background: transparent; text-align: left; }
.om-template:hover, .om-template:focus-visible { background: #2e2e2e; }
.om-template > i { width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--om-verde); }
.om-template > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.om-template b { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.om-template small { font-size: 13px; }
.om-previa { align-self: flex-start; max-width: 100%; padding: 10px 14px; border-radius: 2px; background: #d6d6d6; color: #1a1a1a; font-size: 14px; }
.om-previa p { margin: 6px 0 10px !important; white-space: pre-line; color: #1a1a1a !important; }
.om-previa div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.om-previa span { padding: 1px 8px; border: 1px solid #1a1a1a; border-radius: 999px; font-size: 10px; }
.om-template-nome { display: flex; align-items: center; gap: 18px; font-size: 15px !important; font-weight: 700; }
.om-conteudo-template { padding: 12px 14px; border-radius: 22px; background: #2e2e2e; }
.om-conteudo-template small { display: block; margin-bottom: 6px; font-size: 16px; color: #9a9a9a; }
.om-conteudo-template p { white-space: pre-line; color: #d6d6d6 !important; letter-spacing: 0.03em; }
.om-com-icone-fora { display: flex; align-items: flex-start; gap: 14px; }
.om-com-icone-fora > .om-ico { margin-top: 14px; color: #e0e0e0; }
.om-com-icone-fora > div { flex: 1; min-width: 0; }
.om-com-icone-fora .om-campo { flex: 1; width: 100%; }
.om-ajuda { display: block; margin: 6px 14px 0; font-size: 12px; line-height: 1.2; color: #d6d6d6; }
.om-rotulo { font-size: 16px !important; font-weight: 500; margin-bottom: -8px !important; }
.om-campos-exportar { display: flex; align-items: center; gap: 8px; padding: 22px 12px 10px; border-top: 1px solid var(--om-borda); font-size: 15px; }
.om-campos-exportar .fim { margin-left: auto; }

@media (min-width: 1100px) {
  .om-resumos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 639px) {
  .om-grade-2 { grid-template-columns: minmax(0, 1fr); }
  .om-titulo-azul { font-size: 26px; }
  .om-resumo { min-height: 86px; padding: 12px 14px; }
  .om-resumo-icone { width: 44px; height: 44px; border-radius: 12px; }
  .om-topo-acoes .om-botao { flex: 1 1 auto; padding: 0 10px; font-size: 14px; }
  .om-fundo { padding: 10px 8px; }
  .om-toast { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .om-toast { animation: none; } }

/* ==========================================================================
   Chat de atendimento e Kanban (omni-chat.js)
   Nessas telas o menu lateral fica recolhido, como no sistema.
   ========================================================================== */
.om[data-pagina="chat"] .om-lateral, .om[data-pagina="kanban"] .om-lateral { display: none; }
.om[data-pagina="chat"] .om-conteudo, .om[data-pagina="kanban"] .om-conteudo { padding: 0; gap: 0; }
.oc { display: flex; height: min(700px, calc(100vh - var(--demo-topo, 0px) - 110px)); min-height: 520px; background: #1e1e1e; }
.oc-lista { width: 316px; flex: none; display: flex; flex-direction: column; border-right: 1px solid var(--om-borda); overflow-y: auto; scrollbar-width: thin; }
.oc-abas { display: flex; align-items: center; gap: 2px; padding: 6px 6px; flex: none; }
.oc-abas span { display: inline-flex; align-items: center; gap: 6px; padding: 14px 9px; border-radius: 22px; font-size: 12px; font-weight: 500; }
.oc-abas span.ativa { background: rgba(33, 150, 243, 0.2); color: var(--om-azul); }
.oc-abas i { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; background: #d6d6d6; color: #222; font-size: 11px; font-style: normal; }
.oc-ferramentas { display: flex; align-items: center; gap: 2px; padding: 6px; border-top: 1px solid var(--om-borda); border-bottom: 1px solid var(--om-borda); flex: none; }
.oc-busca { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid #6b6b6b; border-radius: 5px; color: #bdbdbd; font-size: 16px; overflow: hidden; white-space: nowrap; }
.oc-busca .om-ico { color: #e0e0e0; }
.oc-filtros { display: flex; flex-direction: column; gap: 8px; padding: 8px 6px; border-bottom: 1px solid var(--om-borda); flex: none; }
.oc-filtros .om-campo { min-width: 0; height: 40px; }
.oc-filtros .om-campo small { background: #1e1e1e; }
.om-grade-2.junta { gap: 4px; }
.oc-canais { display: flex; justify-content: center; }
.oc-canais span { padding: 5px 12px; border-radius: 999px; background: #3a3a3a; font-size: 12px; }
.oc-secao { padding: 6px 14px !important; font-size: 12px; color: #9a9a9a !important; border-bottom: 1px solid var(--om-borda); }
.oc-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 14px; border: 0; border-bottom: 1px solid #2a2a2a; background: transparent; text-align: left; }
.oc-item.ativa { background: #37474f; }
.oc-avatar { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #ececec; color: #9a9a9a; font-size: 13px; }
.oc-avatar > i { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #3a3a3a; color: #e0e0e0; }
.oc-avatar > i .om-ico { width: 11px; height: 11px; }
.oc-avatar.azul { width: 40px; height: 40px; background: var(--om-azul); color: #fff; font-size: 15px; }
.oc-avatar.grande { width: 62px; height: 62px; background: #262626; color: #cfcfcf; font-size: 18px; }
.oc-item-meio { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.oc-item-topo { display: flex; align-items: center; gap: 5px; }
.oc-item-topo b { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-chip { flex: none; padding: 2px 8px; border-radius: 999px; background: #333; color: #9a9a9a; font-size: 9px; font-weight: 700; white-space: nowrap; }
.oc-chip.azul { background: rgba(33, 150, 243, 0.18); color: var(--om-azul); }
.oc-chip.verde { background: rgba(76, 175, 80, 0.16); color: #66bb6a; }
.oc-item-tags { display: flex; align-items: center; gap: 6px; }
.oc-item-tags .om-ico { width: 20px; height: 20px; }
.oc-tag { padding: 2px 8px; border-radius: 999px; background: #00c800; color: #063; font-size: 9px; font-weight: 700; color: #022; }
.oc-item-ultima { font-size: 14px; color: #8a8a8a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-naolidas { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--om-azul); color: #fff; font-size: 11px; font-weight: 700; }
.oc-vazio { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; text-align: center; color: #9a9a9a; }
.oc-vazio .om-ico { width: 56px; height: 56px; }

.oc-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; background: #121212; }
.oc-chat.vazio { align-items: center; justify-content: center; gap: 18px; background: #1e1e1e; color: #9a9a9a; font-size: 16px; }
.oc-chat.vazio .om-ico { width: 60px; height: 60px; color: #bdbdbd; }
.oc-topo { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 14px; background: #1e1e1e; flex: none; }
.oc-topo-meio { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.oc-topo-meio b { font-size: 16px; font-weight: 400; }
.oc-topo-acoes { display: flex; align-items: center; gap: 12px; flex: none; }
.oc-faixa { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #3a3a3a; font-size: 16px; flex: none; }
.oc-faixa .fim { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.oc-mensagens { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 18px 14px; scrollbar-width: thin; }
.oc-dia { align-self: center; margin-bottom: 8px; padding: 4px 16px; border-radius: 999px; background: #8a8a8a; color: #111; font-size: 12px; }
.oc-bolha { max-width: min(78%, 520px); padding: 10px 14px 8px; border-radius: 8px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; overflow-wrap: anywhere; }
.oc-bolha.minha { align-self: flex-end; background: var(--om-azul); color: #fff; }
.oc-bolha.dele { align-self: flex-start; background: #2a2a2a; }
.oc-bolha small { display: flex; align-items: center; gap: 6px; font-size: 13px; opacity: 0.85; }
.oc-bolha small .om-ico { width: 15px; height: 15px; color: #8fd0ff; }
.oc-compositor { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #1e1e1e; border-top: 1px solid var(--om-borda); flex: none; }
.oc-compositor > .om-icone-botao { width: 44px; height: 44px; border-radius: 5px; }
.oc-compositor > .om-icone-botao.ligado { background: #3a3a3a; }
.oc-campo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 10px 0 18px; border: 1px solid #3a3a3a; border-radius: 26px; background: #121212; }
.oc-mensagem { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--om-texto) !important; font-size: 16px !important; }
.oc-mensagem:focus { outline: none; }
.oc-mensagem::placeholder { color: #9a9a9a; }
.oc-enviar { color: #9fb3c8 !important; }
.oc-anexos { position: absolute; left: 12px; bottom: 76px; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 14px 20px 14px 22px; border-radius: 12px; background: #1e1e1e; border: 1px solid var(--om-borda); max-height: calc(100% - 150px); overflow-y: auto; }
.oc-anexos span { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 16px; font-weight: 500; white-space: nowrap; }
.oc-anexos i { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.oc-anexos i .om-ico { width: 20px; height: 20px; }

.oc-info { width: 340px; flex: none; padding: 14px 16px; background: #1e1e1e; border-left: 1px solid var(--om-borda); border-radius: 22px 0 0 22px; overflow-y: auto; }
.oc-info-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.oc-info-topo h3 { font-size: 21px; font-weight: 400; }
.oc-info-pessoa { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--om-borda); }
.oc-info-pessoa b { display: block; margin-bottom: 8px; font-size: 16px; }
.oc-info-secao { padding: 24px 12px 12px !important; font-size: 14px; font-weight: 700; color: #cfcfcf !important; }
.oc-info-linha { display: flex; align-items: center; gap: 8px; padding: 0 12px 18px !important; border-bottom: 1px solid var(--om-borda); }
.oc-ticket { display: flex; align-items: center; gap: 12px; padding: 8px 6px; }
.oc-ticket .om-ico:first-child { width: 16px; height: 16px; color: #777; }
.oc-ticket b { display: block; font-size: 16px; font-weight: 400; }
.oc-ticket small { color: #cfcfcf; font-size: 14px; }

/* modais do chat */
.om-modal-topo h2.forte { font-size: 21px; font-weight: 900; }
.oc-sub { font-size: 21px !important; color: #cfcfcf !important; }
.oc-sub.pequeno { margin-top: 6px !important; font-size: 14px !important; color: #e0e0e0 !important; }
.om-modal > .om-abas { padding: 0 24px; }
.oc-categoria { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 900; color: var(--om-azul) !important; }
.oc-categoria::after { content: ''; flex: 1; height: 1px; background: var(--om-borda); }
.oc-rapidas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.oc-rapida { padding: 14px 16px; border: 1px solid var(--om-borda); border-radius: 22px; }
.oc-rapida > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.oc-rapida > div > span { display: flex; gap: 4px; }
.oc-rapida b { font-size: 14px; }
.oc-rapida p { color: #9a9a9a !important; letter-spacing: 0.02em; }
.oc-mini { width: 40px; height: 40px; border: 0; border-radius: 6px; display: grid; place-items: center; background: #3a3a3a; color: #fff; }
.oc-mini .om-ico { width: 20px; height: 20px; }
.om-campo.area { height: auto; min-height: 76px; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
.oc-chave { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.oc-chave i { position: relative; width: 50px; height: 30px; flex: none; border-radius: 15px; background: #1565c0; }
.oc-chave i::after { content: ''; position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: #d1c4e9; }
.om-botao.claro { background: #90caf9; color: #fff; }

/* Kanban */
.ok { padding: 18px 12px 24px; background: #1e1e1e; min-height: 520px; }
.ok-topo { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--om-borda); }
.ok-titulo { font-size: 23px; font-weight: 900; margin: 6px 8px 12px !important; }
.ok-filtros { display: flex; flex-wrap: wrap; gap: 4px; }
.ok-filtros .om-campo { height: 40px; flex: 1 1 170px; }
.ok-filtros .om-campo small { background: #1e1e1e; }
.ok-botoes { display: flex; align-items: center; gap: 16px; }
.ok-alternar { display: inline-flex; border-radius: 8px; overflow: hidden; background: #3a3a3a; }
.ok-alternar span { display: grid; place-items: center; width: 40px; height: 32px; }
.ok-alternar span.ativa { background: #6b6b6b; }
.ok-mais { width: 40px; height: 40px; margin: 0; padding: 0; }
.ok-colunas { display: flex; gap: 16px; padding-top: 16px; overflow-x: auto; align-items: flex-start; }
.ok-coluna { width: 320px; flex: none; min-height: 360px; border-radius: 6px; background: #2a2a2a; padding-bottom: 12px; }
.ok-coluna-topo { display: flex; align-items: center; gap: 16px; padding: 12px; background: #3a3a3a; border-radius: 6px 6px 0 0; border-bottom: 1px solid #4a4a4a; }
.ok-coluna-topo i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.ok-coluna-topo i.laranja { background: rgba(251, 140, 0, 0.2); color: var(--om-laranja); }
.ok-coluna-topo i.azul { background: rgba(33, 150, 243, 0.2); color: var(--om-azul); }
.ok-coluna-topo b { font-size: 16px; }
.ok-cartao { display: flex; flex-direction: column; gap: 6px; margin: 12px 12px 0; padding: 14px 12px 10px; border: 1px solid #3a3a3a; border-radius: 8px; background: #1e1e1e; }
.ok-cartao b { font-size: 16px; padding-left: 40px; }
.ok-cartao span { display: flex; align-items: center; gap: 8px; padding-left: 40px; font-size: 16px; }
.ok-cartao span .om-ico { width: 15px; height: 15px; }
.ok-cartao p { margin-top: 10px !important; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ok-cartao em { align-self: flex-end; margin-top: 8px; padding: 8px 8px 0; width: 100%; text-align: right; border-top: 1px solid #333; font-style: normal; font-size: 16px; font-weight: 500; }
.ok-vazio { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 56px 12px; color: #9a9a9a; font-size: 16px; }

/* celular: lista ou conversa, uma de cada vez */
@media (max-width: 767px) {
  .oc { height: calc(100vh - var(--demo-topo, 0px) - 90px); height: calc(100dvh - var(--demo-topo, 0px) - 90px); min-height: 440px; }
  .oc-lista { width: 100%; border-right: 0; }
  .oc.com-chat .oc-lista { display: none; }
  .oc:not(.com-chat) .oc-chat { display: none; }
  .oc-topo { flex-wrap: wrap; }
  .oc-topo-acoes { width: 100%; justify-content: space-between; gap: 2px; }
  .oc-info { position: absolute; inset: 0; z-index: 3; width: auto; border-radius: 0; }
  .oc { position: relative; }
  .oc-rapidas { grid-template-columns: minmax(0, 1fr); }
  .ok-coluna { width: min(320px, 84vw); }
}

/* ==========================================================================
   Histórico de Atendimentos (omni-atendimentos.js) e Campanhas (omni-campanhas.js)
   ========================================================================== */
.oa-sub { margin-top: 10px !important; font-size: 16px; color: var(--om-mudo) !important; }
.oa-nota { margin-top: -8px !important; }
.om-filtros-av { background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 22px; }
.om-filtros-av-topo { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 22px; border: 0; border-radius: 22px; background: transparent; font-size: 16px; text-align: left; }
.om-filtros-av-topo .fim { margin-left: auto; }
.om-ico.vira { transform: rotate(180deg); }
.om-lista.sem-topo { padding-top: 0; }
.om-lista.sem-topo .om-tabela-rolagem { margin-top: 0; }
.oa-tabela td, .cp-tabela td { line-height: 1.5; }
.oa-tabela td small, .cp-tabela td small { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--om-mudo); }
.oa-tabela td small.azul { color: var(--om-azul); }
.oa-tabela td small .om-ico { width: 13px; height: 13px; }
.oa-tabela td b { display: inline; }
.oa-tabela td:nth-child(3) b { display: block; }
.oa-canal { display: flex; align-items: center; gap: 8px; }
.oa-canal .om-ico { width: 18px; height: 18px; color: var(--om-azul); }
.oa-motivos { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.om-etiqueta.forte { font-size: 11px; font-weight: 700; }
.om-etiqueta.mini { font-size: 10px; font-weight: 700; padding: 2px 8px; }
.om-etiqueta.andamento { background: rgba(33, 150, 243, 0.16); color: var(--om-azul); }
.om-etiqueta.roxa-cheia { background: #9c27b0; color: #fff; }
.oa-dica { position: relative; }
.oa-dica:hover::after { content: attr(data-dica); position: absolute; right: 100%; top: 50%; transform: translateY(-50%); margin-right: 6px; padding: 6px 10px; border-radius: 4px; background: #d6d6d6; color: #1a1a1a; font-size: 13px; white-space: nowrap; }
.om-grade-2.sempre { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.om-grade-2.sempre .om-campo { min-width: 0; }

/* Campanhas */
.cp-aviso { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 4px; background: rgba(33, 150, 243, 0.14); color: #64b5f6; font-size: 15px; }
.cp-aviso .om-ico { color: var(--om-azul); }
.cp-total, .cp-lista { border-radius: 22px; }
.cp-total-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px; font-size: 18px; }
.cp-total-topo h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 21px; font-weight: 700; }
.cp-total-topo .fim { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.cp-cartoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cp-num { display: flex; flex-direction: column; gap: 2px; min-height: 84px; padding: 12px 14px; border: 1px solid var(--om-borda); border-radius: 18px; font-size: 14px; }
.cp-num small { font-size: 13px; }
.cp-num.cinza { background: #2a2a2a; color: #8a8a8a; }
.cp-num.azul { background: rgba(33, 150, 243, 0.13); color: #42a5f5; }
.cp-num.verde { background: rgba(76, 175, 80, 0.13); color: #66bb6a; }
.cp-num.roxo { background: rgba(126, 87, 194, 0.16); color: #7e57c2; }
.cp-num.laranja { background: rgba(251, 140, 0, 0.13); color: #fb8c00; }
.cp-num.vermelho { background: rgba(244, 67, 54, 0.13); color: #ef5350; }
.cp-total .om-abas { margin: 16px 0 0; }
.om-abas.pequenas span { padding: 10px 16px; font-size: 14px; }
.om-abas span, .om-abas button { display: inline-flex; align-items: center; gap: 8px; }
.om-abas button { flex: none; padding: 12px 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 16px; font-weight: 500; }
.om-abas button.ativa { border-bottom-color: #fff; }
.cp-api { font-style: normal; font-size: 9px; font-weight: 900; letter-spacing: 0.04em; }
.cp-lista { position: relative; padding-top: 4px; }
.cp-lista .om-abas { margin: 0 -16px; padding: 0 4px; }
.cp-lista .om-tabela-rolagem { margin-bottom: 0; }
.cp-tabela td:nth-child(2) { white-space: normal; min-width: 170px; }
.om-modal .cp-tabela td:first-child { min-width: 200px; }
.cp-ver { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 6px; background: transparent; white-space: nowrap; }
.cp-ver .om-ico { width: 18px; height: 18px; }
.cp-ver.ligado, .cp-ver:hover { background: #333; }
.cp-mensagem { position: absolute; z-index: 5; width: min(380px, calc(100% - 16px)); padding: 14px 16px; border: 1px solid #3a3a3a; border-radius: 14px; background: #1e1e1e; font-size: 14px; white-space: pre-line; }
.cp-paginas { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 20px; padding: 12px 4px 0; border-top: 1px solid var(--om-borda); }
.cp-paginas .om-campo { flex: none; min-width: 0; width: 90px; height: 40px; }
.cp-filtros { padding: 4px 22px 20px; }
.cp-filtros-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px 24px; }
.cp-filtros-botoes { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.cp-filtros-botoes .om-botao { height: 36px; font-size: 16px; }

/* modais de Campanhas */
.om-modal.tam-largo { max-width: 800px; border-radius: 6px; }
.om-modal.tam-largo:has(.cp-rolagem) { max-width: 1000px; }
.cp-canal { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-secao { display: flex; flex-direction: column; gap: 18px; padding-top: 18px; border-top: 1px solid var(--om-borda); }
.cp-secao h3 { font-size: 18px; font-weight: 700; }
.cp-secao .om-campo { flex: 0 0 auto; }
.cp-agendar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--om-borda); font-size: 18px; }
.oc-chave.desligada i { background: #5a5a5a; }
.oc-chave.desligada i::after { right: auto; left: 4px; background: #bdbdbd; }
.cp-template-linha { display: flex; align-items: center; gap: 8px; }
.cp-respostas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 16px; }
.cp-respostas p { width: 100%; }
.cp-rolagem { overflow-x: auto; border-top: 1px solid var(--om-borda); scrollbar-width: thin; scrollbar-color: #444 transparent; }

@media (min-width: 640px) {
  .cp-cartoes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .om-resumos.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cp-cartoes { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .om-filtros-av-topo { padding: 14px 16px; }
  .cp-filtros { padding: 4px 14px 16px; }
  .cp-filtros-grade { gap: 16px; }
  .cp-total-topo .fim { display: none; }
  .cp-num { min-height: 0; padding: 10px 12px; }
}
/* muitas colunas: células mais justas para caber sem rolar em telas largas */
.oa-tabela th, .oa-tabela td, .cp-lista .cp-tabela th, .cp-lista .cp-tabela td { padding-left: 10px; padding-right: 10px; font-size: 14px; }
.oa-tabela td:first-child, .cp-lista .cp-tabela td:first-child { min-width: 0; }
.om-modal-corpo > .om-select { flex: 0 0 auto; }

/* ==========================================================================
   Configurações (omni-config.js): Setores, Agendas, Ocorrências, Tags,
   Canais e Templates
   ========================================================================== */
.om-menu li.om-submenu { padding-left: 56px; gap: 22px; font-size: 13px; }
.om-ico.lado { transform: rotate(-90deg); }
.om-meio { position: relative; }
.cf-submenu { position: absolute; left: 250px; top: 6px; z-index: 6; display: flex; flex-direction: column; width: 260px; padding: 6px 0; border-radius: 6px; background: #1e1e1e; border: 1px solid var(--om-borda); }
.cf-submenu span { display: flex; align-items: center; gap: 28px; padding: 11px 16px; font-size: 16px; font-weight: 500; }
.cf-submenu span.ativo { background: #3a3a3a; border-radius: 6px; }
.om-titulo-azul.branco { color: var(--om-texto) !important; }
.cf-busca { flex: 0 0 auto; max-width: 470px; }
.cf-campo { min-width: 0; flex: 1 1 150px; }
.cf-campo .om-campo { width: 100%; min-width: 0; }
.cf-campo .om-campo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-filtros { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.cf-filtros > .om-campo { flex: 2 1 220px; }
.cf-filtros.caixa { padding: 16px; border: 1px solid var(--om-borda); border-radius: 6px; background: var(--om-cartao); }

/* cartões (setores, agendas, canais) */
.cf-cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: start; }
.cf-cartoes.largos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.cf-cartao { position: relative; background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 6px; }
.cf-cartao-topo { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--om-borda); }
.cf-cartao-topo > div { flex: 1; min-width: 0; }
.cf-cartao-topo b { display: block; font-size: 20px; font-weight: 400; overflow-wrap: anywhere; }
.cf-bola { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #2a2a2a; color: #8a8a8a; }
.cf-bola.azul { background: rgba(33, 150, 243, 0.16); color: var(--om-azul); }
.cf-bola.verde { background: rgba(76, 175, 80, 0.16); color: #66bb6a; }
.cf-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; color: #bdbdbd; }
.cf-status i { width: 14px; height: 14px; border-radius: 50%; background: #43a047; }
.cf-status i.off { background: #e53935; }
.cf-status em { padding: 2px 8px; border-radius: 999px; background: #555; color: #eee; font-style: normal; font-size: 9px; font-weight: 700; }
.cf-status em.alta { background: #43a047; }
.cf-cartao-linha { display: flex; align-items: center; gap: 22px; padding: 22px 24px; font-size: 16px; font-weight: 500; }
.cf-cartao-linha span:not(.om-etiqueta) { flex: 1; }
.cf-cartao-linha em { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(33, 150, 243, 0.16); color: var(--om-azul); font-style: normal; font-size: 11px; }
.cf-pontos { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; }
.cf-pontos.aberto { background: #3a3a3a; }
.cf-menu { position: absolute; z-index: 5; top: 58px; right: 12px; display: flex; flex-direction: column; padding: 6px 0; border-radius: 6px; background: #2a2a2a; border: 1px solid #3a3a3a; }
.cf-menu span { display: flex; align-items: center; gap: 22px; padding: 9px 18px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.cf-menu span.linha { border-top: 1px solid #444; }
.cf-dados { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; }
.cf-dado { display: flex; align-items: center; gap: 22px; }
.cf-dado .om-ico { width: 20px; height: 20px; color: #bdbdbd; }
.cf-dado div { min-width: 0; display: flex; flex-direction: column; }
.cf-dado b { font-size: 16px; font-weight: 500; }
.cf-dado span { font-size: 14px; color: #bdbdbd; overflow-wrap: anywhere; }
.cf-dado span.om-link { color: #1e88e5; }
.cf-zero { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e0e0e0; border-radius: 50%; font-size: 11px; }
.cf-cor { padding: 2px 10px; border: 1px solid; border-radius: 999px; font-size: 12px; }
.cf-tabela td small { display: block; color: var(--om-mudo); font-size: 13px; }
.om-etiqueta.indigo { background: #3f51b5; color: #fff; }
.om-etiqueta.rosa { background: #e91e63; color: #fff; }

/* modais */
.cf-abas { padding: 0 18px; }
.om-modal-corpo .cf-campo { flex: 0 0 auto; }
.cf-linha { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cf-linha > .cf-campo { flex: 2 1 220px; }
.cf-linha > .cf-estreito { flex: 1 1 140px; max-width: none; }
.cf-estreito { max-width: 240px; }
.cf-metade { max-width: 360px; }
.cf-nota { flex: 1 1 180px; font-size: 15px; }
.cf-titulo { font-size: 16px; font-weight: 700; }
.cf-titulo.linha { padding-top: 18px; border-top: 1px solid var(--om-borda); font-weight: 500; }
.cf-chave { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.cf-chave i { position: relative; width: 38px; height: 16px; flex: none; border-radius: 8px; background: #6b6b6b; }
.cf-chave i::after { content: ''; position: absolute; top: -3px; left: -2px; width: 22px; height: 22px; border-radius: 50%; background: #d1c4e9; }
.cf-chave.ligada.verde i { background: #2e7d32; }
.cf-chave.ligada.azul i { background: #1565c0; }
.cf-chave.ligada i::after { left: auto; right: -2px; }
.cf-chave.ligada.verde i::after { background: #66bb6a; }
.cf-chave.ligada.azul i::after { background: #42a5f5; }
.cf-chips { height: auto; min-height: 56px; padding-top: 10px; padding-bottom: 10px; }
.cf-chips > span { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.cf-chips em { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: #3a3a3a; font-style: normal; font-size: 12px; }
.cf-chips em i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #1a3a5c; color: var(--om-azul); font-style: normal; font-size: 9px; }
.cf-secao-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-top: 1px solid var(--om-borda); border-bottom: 1px solid var(--om-borda); }
.cf-secao-topo.sem-linha { border: 0; padding: 0; }
.cf-secao-topo b { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.cf-secao-topo b.azul { color: var(--om-azul); }
.cf-mini { height: 32px; margin: 0; padding: 0 12px; font-size: 15px; }
.cf-dia { border: 1px solid var(--om-borda); border-radius: 22px; background: #252525; }
.cf-dia-topo { display: flex; align-items: center; gap: 14px; padding: 18px 16px; background: #1b222b; border-radius: 22px 22px 0 0; border-bottom: 1px solid var(--om-borda); }
.cf-dia-topo b { font-size: 18px; }
.cf-dia-topo .cf-chave { margin-left: auto; }
.cf-dia-vazio { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 12px !important; color: #6b6b6b !important; text-align: center; }
.cf-turnos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; padding: 18px 16px; }
.cf-turnos b { display: block; margin-bottom: 12px; color: var(--om-azul); font-size: 12px; font-weight: 900; letter-spacing: 0.05em; }
.cf-turnos > div > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-turnos small { background: #252525; }
.cf-caixa { border: 1px solid var(--om-borda); border-radius: 6px; overflow: hidden; }
.cf-caixa .om-tabela-rolagem { margin: 0; }
.cf-caixa.pad { display: flex; flex-direction: column; gap: 18px; padding: 14px; border-radius: 22px; }
.cf-vazio { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 16px; border: 1px dashed #5a5a5a; border-radius: 6px; color: #9a9a9a; text-align: center; font-size: 16px; }
.cf-vazio .om-ico { width: 44px; height: 44px; }
.cf-quatro { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px 24px; }
.cf-variaveis { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.300fr); gap: 14px 16px; align-items: center; }
.cf-variaveis code { color: #e0e0e0; background: none; font-size: 14px; padding: 0; }
.cf-variaveis .om-campo { height: 40px; }
.om-campo.area.alta { min-height: 130px; }
.cf-conectar { max-width: 400px; border-radius: 6px; overflow: hidden; }
.cf-conectar-topo { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px; background: var(--om-azul); }
.cf-conectar-topo h2 { font-size: 21px; font-weight: 400; }
.cf-conectar-corpo { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 24px; text-align: center; font-size: 16px; }
.cf-conectar-corpo b { font-size: 18px; }
.cf-conectar-corpo em { color: #66bb6a; font-style: normal; }
.cf-ok { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: #4caf50; color: #1e1e1e; }
.cf-ok .om-ico { width: 44px; height: 44px; }
.om-modal-rodape.centro { justify-content: center; }

@media (min-width: 1100px) { .cf-submenu { left: 290px; } }
@media (max-width: 639px) {
  .cf-variaveis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cf-variaveis code { grid-column: 1 / -1; margin-bottom: -6px; }
  .cf-cartao-linha, .cf-dados { padding: 16px; }
  .cf-estreito, .cf-metade { max-width: none; }
}
/* no computador o modal fica um pouco à esquerda, deixando lugar para o balão da Sys ao lado */
@media (min-width: 1180px) { .cf-fundo { justify-content: flex-start; padding-left: calc(50% - 567px); } }

/* ==========================================================================
   Configurações, 2ª parte (omni-config.js): Formulários, Grupos, Figurinhas,
   Mensagens Rápidas e o menu Sistema (Feriados, Alertas, Notificações, IA)
   ========================================================================== */
.cf-alternar { display: inline-flex; flex: 1 1 220px; border: 1px solid #3a3a3a; border-radius: 6px; overflow: hidden; height: 40px; align-self: center; }
.cf-alternar span { flex: 1; display: grid; place-items: center; padding: 0 14px; font-weight: 500; white-space: nowrap; }
.cf-alternar span.ativa { background: #3a3a3a; }
.cf-bloco { display: flex; flex-direction: column; gap: 16px; border-radius: 6px; }
.cf-bloco-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cf-bloco-topo.fim { justify-content: flex-end; }
.cf-bloco-topo > b { font-size: 20px; }
.cf-bloco-topo > span:not(.om-botao) { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.cf-bloco-topo .om-botao { margin-top: 0; }
.cf-bloco .cf-alternar { flex: 0 0 auto; height: 36px; }
.cf-pilha { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cf-pilha .om-campo, .cf-pilha .cf-campo { flex: 0 0 auto; }
.cf-voltar { display: flex; align-items: center; gap: 18px; }
.cf-duas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; align-items: start; }
.cf-chips em.simples { padding: 3px 10px; }
.cf-editor { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.cf-tela { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 12px; }
.cf-tela .om-ico { width: 14px; height: 14px; }
.cf-botao-tela { display: flex; flex-direction: column; gap: 14px; padding: 10px 8px 12px; background: #2a2a2a; border-radius: 4px; }
.cf-botao-tela small { background: #2a2a2a; }
.cf-componente { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cf-componente b { display: block; font-weight: 400; }
.cf-componente small { color: var(--om-mudo); font-size: 14px; }
.cf-meio { min-height: 80px; }
.cf-previa { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cf-fone { width: min(100%, 340px); border: 10px solid #1b2a36; border-radius: 26px; background: #fff; color: #1a1a1a; text-align: left; overflow: hidden; }
.cf-fone-topo { padding: 14px 16px 10px; border-bottom: 1px solid #ddd; }
.cf-fone-topo b { display: block; font-size: 16px; }
.cf-fone-topo small { color: #5a6b78; font-size: 11px; }
.cf-fone-corpo { display: flex; flex-direction: column; gap: 8px; min-height: 260px; padding: 18px 16px; }
.cf-fone-corpo strong { font-size: 18px; margin-bottom: 6px; }
.cf-fone-corpo label { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #1a1a1a; }
.cf-fone-corpo label i { color: #e53935; font-style: normal; }
.cf-fone-corpo span { height: 42px; border: 1px solid #cfd8dc; border-radius: 8px; }
.cf-fone-rodape { padding: 12px 16px; border-top: 1px solid #ddd; }
.cf-fone-rodape em { display: block; padding: 12px; border-radius: 999px; background: #008069; color: #fff; text-align: center; font-style: normal; font-weight: 700; }
.cf-bola.rosa { background: #ffccbc; color: #5d4037; font-size: 18px; }
.cf-dados.juntos { gap: 6px; padding-top: 16px; padding-bottom: 16px; }
.cf-part { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.cf-part .om-ico { width: 18px; height: 18px; }
.cf-cartao-rodape { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-top: 1px solid var(--om-borda); font-size: 16px; font-weight: 500; }
.cf-cartao-rodape.direita { justify-content: flex-end; padding: 10px 14px; }
.cf-cartao-topo.sem-linha { border-bottom: 0; }
.cf-figurinhas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 220px)); gap: 24px; }
.cf-fig { background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 22px; overflow: hidden; }
.cf-fig-img { display: grid; place-items: center; height: 140px; background: #262626; }
.cf-fig-img span { font-size: 64px; line-height: 1; }
.cf-fig-nome { padding: 12px; border-top: 1px solid var(--om-borda); border-bottom: 1px solid var(--om-borda); }
.cf-fig-nome b { display: block; }
.cf-fig-nome small { color: var(--om-mudo); font-size: 14px; }
.cf-fig-acoes { display: flex; justify-content: center; gap: 24px; padding: 14px; }
.cf-categoria { display: flex; align-items: center; gap: 10px; margin-top: 10px !important; font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; }
.cf-categoria .om-ico { color: var(--om-azul); }
.cf-categoria::after { content: ''; flex: 1; height: 1px; background: var(--om-borda); }
.cf-rapida { border-radius: 22px; }
.cf-rapida .cf-cartao-topo b { font-weight: 700; }
.cf-rapida-texto { margin: 0 16px 12px !important; padding: 14px 16px; border: 1px solid var(--om-borda); border-radius: 18px; background: #2a2a2a; }
.cf-rapida > small { display: block; margin: 0 16px 8px; font-weight: 700; }
.cf-etiquetas { display: flex; gap: 8px; margin: 0 16px 16px; }
.cf-etiquetas em { padding: 2px 9px; border-radius: 999px; background: #d6d6d6; color: #1a1a1a; font-style: normal; font-size: 10px; }
.cf-filtros-botoes { flex: 1 1 100%; display: flex; justify-content: flex-end; gap: 8px; }
.om-etiqueta.claro { background: #d6d6d6; color: #1a1a1a; }
.om-etiqueta.vermelho { background: #ef5350; color: #fff; }
.om-etiqueta.indigo-suave { background: rgba(63, 81, 181, 0.2); color: #5c6bc0; }
.cf-azul { overflow: hidden; }
.cf-azul .cf-conectar-topo h2 { font-weight: 500; }
.cf-detalhe { display: flex; flex-direction: column; gap: 4px; font-size: 16px; min-width: 0; }
.cf-detalhe b { font-weight: 500; overflow-wrap: anywhere; }
.cf-detalhe b.vermelho { color: #ff5252; }
.cf-json { margin: 6px 0 0; padding: 14px; border: 1px solid var(--om-borda); border-radius: 12px; background: #252525; color: #e0e0e0; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow-y: auto; }
.cf-variaveis-lista { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; }
.cf-variaveis-lista code { padding: 2px 8px; border-radius: 999px; background: #2a2a2a; color: #9a9a9a; font-size: 10px; }
.cf-eventos { display: flex; flex-direction: column; padding: 6px 0; }
.cf-eventos span { display: flex; align-items: center; gap: 12px; padding: 11px 24px; font-size: 16px; font-weight: 500; }
.cf-eventos i { width: 18px; height: 18px; flex: none; border: 2px solid #e0e0e0; border-radius: 2px; }
.om-abas span .cp-api { font-size: 9px; }

@media (min-width: 1100px) {
  .cf-duas { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .cf-editor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.cf-status:has(> .om-ico) { flex-wrap: nowrap; align-items: flex-start; }
.cf-status > .om-ico { width: 16px; height: 16px; margin-top: 2px; }
.cf-fone-corpo label { text-transform: none; letter-spacing: 0; }

/* ==========================================================================
   Fluxos de Conversa (omni-fluxos.js): lista, editor visual e propriedades
   Nessas telas o menu lateral fica recolhido, como no sistema.
   ========================================================================== */
.om[data-pagina="fluxos"] .om-lateral, .om[data-pagina="fluxo"] .om-lateral { display: none; }
.om[data-pagina="fluxo"] .om-conteudo { padding: 0; gap: 0; }
.fx-lista { display: flex; flex-direction: column; gap: 16px; }
.fx-titulo { display: flex; align-items: center; gap: 12px; }
.fx-titulo .om-ico { width: 30px; height: 30px; }
.fx-busca { flex: 1 1 220px; height: 44px; border: 0; background: #2a2a2a; }
.fx-filtro { flex: 0 0 auto; height: 44px; }
.fx-cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 24px; }
.fx-cartao { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: var(--om-cartao); border: 1px solid var(--om-borda); border-radius: 22px; }
.fx-cartao.inativo { opacity: 0.6; }
.fx-cartao-topo { display: flex; align-items: center; gap: 6px; }
.fx-cartao-topo .fim { margin-left: auto; display: inline-flex; gap: 16px; }
.fx-cartao > b { margin-top: 12px; font-size: 16px; }
.fx-cartao > small { color: #bdbdbd; overflow-wrap: anywhere; }
.fx-cartao-data { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--om-borda); }
.fx-cartao-data span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.fx-cartao-data .om-ico { width: 16px; height: 16px; }
.fx-editar { margin: 0; height: 44px; font-size: 16px; font-weight: 700; }

/* editor */
.fx { display: flex; min-height: 620px; background: #171717; }
.fx-paleta { width: 240px; flex: none; display: flex; flex-direction: column; gap: 12px; padding: 14px 12px; background: #1b1b1b; border-right: 1px solid var(--om-borda); }
.fx-voltar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px; color: #cfcfcf; }
.fx-voltar .om-ico { width: 18px; height: 18px; }
.fx-rotulo { font-size: 18px; color: #bdbdbd; }
.fx-componentes { display: flex; flex-direction: column; gap: 10px; }
.fx-comp { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 1px solid #3a3a3a; border-left: 4px solid var(--c); border-radius: 6px; background: #1e1e1e; text-align: left; font-size: 15px; }
.fx-comp .om-ico { width: 18px; height: 18px; }
.fx-comp:hover { background: #2a2a2a; }
.fx-acoes { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--om-borda); }
.fx-acoes .om-botao { margin: 0; height: 36px; font-size: 16px; }
.fx-acoes .fx-salvar { background: #66bb6a; }
.fx-acoes > div { display: flex; gap: 8px; }
.fx-acoes > div .om-botao { flex: 1; padding: 0 8px; height: 30px; }
.fx-vars { padding-top: 12px; border-top: 1px solid var(--om-borda); }
.cf-variaveis-lista.fx-vars code, .fx-vars-linha code { background: rgba(33, 150, 243, 0.16); color: #64b5f6; }
.fx-quadro { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fx-quadro-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 4px; }
.fx-seta { margin: 0; width: 48px; height: 44px; padding: 0; }
.fx-editando { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 12px; border-radius: 4px; background: var(--om-azul); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-editando .om-ico { width: 16px; height: 16px; }
.fx-rolagem { flex: 1; overflow: auto; padding: 8px 14px 60px; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.fx-tela { position: relative; width: 590px; height: 500px; margin: 0 auto; }
.fx-tela > svg { position: absolute; inset: 0; }
.fx-tela > svg path { fill: none; stroke: #bdbdbd; stroke-width: 1.500; stroke-dasharray: 4 4; }
.fx-zoom { position: absolute; left: 14px; bottom: 14px; display: inline-flex; background: #fff; color: #111; border-radius: 2px; }
.fx-zoom span { display: grid; place-items: center; width: 26px; height: 26px; font-weight: 700; }
.fx-zoom .om-ico { width: 14px; height: 14px; }

/* blocos do quadro */
.fx-no { position: absolute; border: 1px solid #333; border-radius: 4px; background: #1e1e1e; font-size: 13px; text-align: left; scroll-margin: 20px; }
.fx-no[role="button"] { cursor: pointer; }
.fx-no.novo { animation: fxNovo 0.5s ease; }
@keyframes fxNovo { from { opacity: 0; transform: scale(0.85); } }
.fx-no-topo { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 4px 4px 0 0; background: var(--c); color: #fff; font-weight: 700; }
.fx-no-topo .om-ico { width: 16px; height: 16px; }
.fx-no-corpo { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.fx-no-corpo b { display: inline-flex; align-items: center; gap: 6px; }
.fx-no-corpo b .om-ico { width: 14px; height: 14px; }
.fx-no-corpo small { color: #9a9a9a; font-size: 12px; }
.fx-no-corpo p { font-size: 13px; line-height: 1.45; }
.fx-no[data-tour="fx-no-inicio"] { height: 150px; overflow: hidden; }
.fx-verde { color: #66bb6a; }
.fx-azul { color: var(--om-azul); }
.fx-menu-texto { display: flex; flex-direction: column; justify-content: space-between; height: 76px; padding: 12px 10px 8px; }
.fx-opcao { position: relative; height: 27px; padding: 0 18px 0 10px; border-top: 1px solid #2c2c2c; background: #232323; line-height: 26px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-opcao i { position: absolute; right: -5px; top: 9px; width: 9px; height: 9px; background: #f57c00; border: 1px solid #fff; }

/* propriedades */
.fx-props { overflow: hidden; }
.fx-props-topo { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px; }
.fx-props-topo h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.fx-props .cp-api { font-size: 10px; }
.fx-props .cf-campo { flex: 0 0 auto; }
.fx-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.fx-excluir { margin: 6px 0 0; height: 36px; font-size: 16px; }
.fx-marca { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.fx-marca i { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 2px solid #e0e0e0; border-radius: 2px; }
.fx-marca.ligada i { border-color: var(--om-azul); background: var(--om-azul); color: #fff; }
.fx-marca i .om-ico { width: 14px; height: 14px; }
.fx-alerta { background: rgba(251, 140, 0, 0.14); color: #ffa726; }
.fx-alerta .om-ico { color: #ffa726; }
.fx-props .cp-aviso code { background: none; color: inherit; padding: 0; }
.fx-url, .fx-par, .fx-condicao { display: flex; gap: 6px; align-items: center; }
.fx-url .cf-campo, .fx-par .cf-campo, .fx-condicao .cf-campo { flex: 1 1 0; min-width: 0; }
.fx-url .cf-estreito { flex: 0 0 110px; }
.fx-par .om-campo, .fx-condicao .om-campo { height: 40px; }
.fx-condicao .om-campo { padding: 0 10px; font-size: 14px; }
.fx-mais { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.fx-sucesso { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 4px; background: rgba(76, 175, 80, 0.16); color: #66bb6a; font-size: 16px; }

/* "WhatsApp do cliente" (ilustração) */
.fx-fone-fundo { align-items: center; }
.fx-fone-caixa { width: min(100%, 360px); }
.fx-fone-legenda { margin-bottom: 8px !important; text-align: center; font-size: 13px; color: #cfcfcf !important; }
.fx-fone { display: flex; flex-direction: column; border: 8px solid #1b2a36; border-radius: 28px; background: #0b141a; overflow: hidden; }
.fx-fone-topo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #1f2c34; }
.fx-fone-topo .oc-avatar { width: 36px; height: 36px; background: #00a884; color: #fff; }
.fx-fone-topo b { display: block; font-size: 15px; }
.fx-fone-topo small { color: #8696a0; }
.fx-fone-conversa { display: flex; flex-direction: column; gap: 6px; max-height: min(430px, 52vh); padding: 12px 10px; overflow-y: auto; scrollbar-width: thin; }
.fx-bolha { align-self: flex-start; max-width: 88%; padding: 8px 10px; border-radius: 0 8px 8px 8px; background: #1f2c34; color: #e9edef; font-size: 14px; line-height: 1.4; }
.fx-bolha.eu { align-self: flex-end; border-radius: 8px 0 8px 8px; background: #005c4b; }
.fx-fone-opcoes { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.fx-fone-opcoes button { padding: 9px 10px; border: 1px solid #2a3942; border-radius: 6px; background: #111b21; color: #53bdeb !important; font-size: 14px; font-weight: 500; }
.fx-fone-opcoes button:disabled { opacity: 0.55; }
.fx-fone-fim { display: flex; flex-direction: column; gap: 6px; }
.fx-fone-nota { align-self: center; margin-top: 4px; padding: 4px 10px; border-radius: 6px; background: #182229; color: #8696a0; font-size: 12px; text-align: center; }

@media (max-width: 767px) {
  .fx { flex-direction: column; min-height: 0; }
  .fx-paleta { width: auto; border-right: 0; border-bottom: 1px solid var(--om-borda); padding: 10px; gap: 8px; }
  .fx-voltar, .fx-vars { display: none; }
  .fx-rotulo { font-size: 13px; }
  .fx-componentes { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .fx-comp { width: auto; flex: none; padding: 9px 10px; white-space: nowrap; scroll-margin: 16px; }
  .fx-acoes { flex-direction: row; flex-wrap: wrap; padding-top: 10px; }
  .fx-acoes > .om-botao { flex: 1 1 130px; }
  .fx-acoes > div { display: none; }
  .fx-rolagem { max-height: 440px; }
  .fx-url { flex-wrap: wrap; }
  .fx-condicao { flex-wrap: wrap; }
  .fx-condicao .cf-campo { flex: 1 1 120px; }
}
@media (prefers-reduced-motion: reduce) { .fx-no.novo { animation: none; } }
