/* CRM RW: ajuste visual do Evo CRM. Ver rw-ui.js e README.md. */
.rw-hide { display: none !important; }
.rw-ch { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.rw-ic { width: 18px; height: 18px; flex: 0 0 18px; }
.rw-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.rw-l { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-s { font-size: 11.5px; opacity: .55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

/* Lista de conversas: selo da rede no avatar (mesmo lugar e tamanho do selo original) */
.rw-badge { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px;
  border-radius: 9999px; background: var(--background); border: 2px solid var(--background); cursor: help; }
.rw-badge .rw-ic { width: 13px; height: 13px; flex: 0 0 13px; }

/* Lista de conversas: etiqueta ao lado do nome, no formato da etiqueta "Post" do CRM */
.rw-chip { display: inline-flex; align-items: center; gap: 4px; height: 16px; padding: 0 6px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 6px; font-size: 10px; font-weight: 500; line-height: 1;
  color: var(--muted-foreground); white-space: nowrap; }
.rw-chip .rw-ic { width: 10px; height: 10px; flex: 0 0 10px; }

/* "Com o bot": botao discreto ao lado de Filtros + lista suspensa */
.rw-bot { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 9999px;
  border: 1px solid var(--border); background: transparent; color: var(--muted-foreground); font-size: 12.5px;
  font-weight: 500; cursor: pointer; white-space: nowrap; }
.rw-bot:hover { color: inherit; }
.rw-bot .rw-ic { width: 15px; height: 15px; flex: 0 0 15px; }
.rw-bot b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9999px; background: #f59e0b; color: #111;
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.rw-pop { position: fixed; z-index: 60; width: 340px; max-width: calc(100vw - 16px); max-height: 60vh; overflow: auto;
  background: var(--background); border: 1px solid var(--border); border-radius: 12px; padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.rw-pop-h { display: flex; align-items: center; gap: 8px; padding: 6px 8px 2px; font-weight: 600; font-size: 14px; }
.rw-pop-h .rw-ic { width: 16px; height: 16px; }
.rw-pop-d { padding: 2px 8px 8px; font-size: 12px; color: var(--muted-foreground); line-height: 1.35; }
.rw-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; background: transparent;
  color: inherit; text-align: left; border-radius: 8px; cursor: pointer; }
.rw-row:hover { background: color-mix(in oklab, var(--border) 45%, transparent); }
.rw-row .rw-tx { flex: 1; }
.rw-t { font-size: 11.5px; color: var(--muted-foreground); flex-shrink: 0; }
