/* Demo do CRM por dentro. Tudo com prefixo td-crm-. Usa as variáveis da página (:root). */
.td-crm {
  --td-crm-borda: rgba(245, 242, 234, .09);
  --td-crm-suave: rgba(245, 242, 234, .72);
  --td-crm-fraco: rgba(245, 242, 234, .62);
  --td-crm-vidro: rgba(245, 242, 234, .035);
  position: relative;
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--marfim, #F5F2EA);
  font-family: var(--texto, "Montserrat"), system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  container-type: inline-size;
}
.td-crm *, .td-crm *::before, .td-crm *::after { box-sizing: border-box; }

.td-crm-btn {
  appearance: none; -webkit-appearance: none;
  margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: inherit; cursor: pointer;
}
.td-crm-btn:focus-visible, .td-crm-quadro:focus-visible { outline: 2px solid var(--dourado, #C9A24B); outline-offset: 2px; }

.td-crm-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Selo */
.td-crm-cabeca { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.td-crm-selo {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, .35); background: rgba(201, 162, 75, .08);
  color: var(--marfim, #F5F2EA); font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.td-crm-selo-ponto { width: 6px; height: 6px; border-radius: 50%; background: var(--dourado, #C9A24B); }

/* Janela */
.td-crm-app {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--td-crm-borda);
  background: var(--navy-fundo, #060F1F);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(62, 111, 168, .12) inset;
}
.td-crm-topo {
  display: flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 14px;
  border-bottom: 1px solid var(--td-crm-borda);
  background: linear-gradient(180deg, rgba(19, 44, 79, .55), rgba(10, 27, 51, .55));
}
.td-crm-pontos { display: inline-flex; gap: 6px; }
.td-crm-pontos span { width: 10px; height: 10px; border-radius: 50%; background: rgba(245, 242, 234, .16); }
.td-crm-marca { font-family: var(--display, "Poppins"), sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.td-crm-busca {
  display: inline-flex; align-items: center; gap: 8px; flex: 1; max-width: 340px; margin-left: 8px;
  padding: 6px 12px; border-radius: 9px; background: rgba(245, 242, 234, .05); color: var(--td-crm-fraco); font-size: 12px;
}
.td-crm-busca .td-crm-ico { width: 15px; height: 15px; }
.td-crm-topo-acoes { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; }
.td-crm-sino { position: relative; display: inline-flex; color: var(--td-crm-suave); }
.td-crm-sino-badge {
  position: absolute; top: -5px; right: -7px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: var(--dourado, #C9A24B); color: var(--navy, #0A1B33);
  font-size: 9px; font-weight: 700; line-height: 15px; text-align: center;
}

.td-crm-corpo { display: grid; grid-template-columns: 196px minmax(0, 1fr); height: 580px; }

/* Barra lateral */
.td-crm-lateral {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 10px;
  border-right: 1px solid var(--td-crm-borda);
  background: linear-gradient(180deg, rgba(10, 27, 51, .9), rgba(6, 15, 31, .9));
}
.td-crm-aba {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; color: var(--td-crm-suave); font-size: 13px; font-weight: 500;
  transition: background .2s, color .2s;
}
.td-crm-aba:hover { background: var(--td-crm-vidro); color: var(--marfim, #F5F2EA); }
.td-crm-aba--ativa { background: rgba(62, 111, 168, .2); color: var(--marfim, #F5F2EA); }
.td-crm-aba--ativa::before {
  content: ""; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--dourado, #C9A24B);
}
.td-crm-aba-txt { white-space: nowrap; }
.td-crm-aba-badge {
  margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--azul, #3E6FA8); color: var(--marfim, #F5F2EA); font-size: 10px; font-weight: 700; line-height: 18px; text-align: center;
}
.td-crm-aba-badge[hidden] { display: none; }

/* Palco e painéis */
.td-crm-palco { position: relative; min-width: 0; overflow: hidden; background: var(--navy, #0A1B33); }
.td-crm-painel { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.td-crm-painel[hidden] { display: none; }
.td-crm-painel--rola { overflow-y: auto; }
.td-crm-painel-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px 6px; }
.td-crm-titulo { margin: 0; font-family: var(--display, "Poppins"), sans-serif; font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--marfim, #F5F2EA); }
.td-crm-sub { margin: 2px 0 0; font-size: 12px; color: var(--td-crm-fraco); line-height: 1.4; }
.td-crm-rotulo { margin: 0 0 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--td-crm-fraco); }
.td-crm-metricas { display: flex; gap: 8px; flex-wrap: wrap; }
.td-crm-metrica { display: flex; flex-direction: column; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--td-crm-borda); background: var(--td-crm-vidro); }
.td-crm-metrica-k { font-size: 10.5px; color: var(--td-crm-fraco); }
.td-crm-metrica-v { font-family: var(--display, "Poppins"), sans-serif; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.td-crm-metrica-v--ouro { color: var(--dourado, #C9A24B); }

/* Kanban */
.td-crm-quadro {
  flex: 1; min-height: 0; display: flex; gap: 10px; padding: 12px 18px 18px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: rgba(245, 242, 234, .2) transparent;
}
.td-crm-coluna {
  flex: 0 0 184px; display: flex; flex-direction: column; min-height: 0;
  border-radius: 12px; background: rgba(6, 15, 31, .55); border: 1px solid var(--td-crm-borda);
  scroll-snap-align: start; overflow: hidden;
}
.td-crm-coluna-topo { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 10px 0; border-top: 3px solid var(--td-crm-cor, #3E6FA8); }
.td-crm-coluna-nome { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-crm-coluna-qtd { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(245, 242, 234, .08); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.td-crm-coluna-soma { padding: 2px 10px 8px; font-size: 11px; color: var(--td-crm-fraco); font-variant-numeric: tabular-nums; }
.td-crm-lista { display: flex; flex-direction: column; gap: 8px; padding: 0 8px 10px; min-height: 60px; overflow-y: auto; scrollbar-width: none; }
.td-crm-card {
  position: relative; padding: 10px; border-radius: 10px;
  background: var(--navy-medio, #132C4F); border: 1px solid rgba(245, 242, 234, .07);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.td-crm-card--movendo { z-index: 3; transition: transform .85s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 0 1px var(--dourado, #C9A24B); }
.td-crm-card--saindo { transition: opacity .4s, transform .4s; opacity: 0; transform: scale(.92); }
.td-crm-card--chegando { animation: td-crm-chega .7s ease-out; }
@keyframes td-crm-chega { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.td-crm-card-topo { display: flex; align-items: center; gap: 8px; }
.td-crm-card-id { display: flex; flex-direction: column; min-width: 0; }
.td-crm-card-nome { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-crm-card-emp { font-size: 11px; color: var(--td-crm-fraco); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-crm-card-base { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 9px; }
.td-crm-valor { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }

.td-crm-avatar {
  position: relative; flex: none; display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
}
.td-crm-avatar--g { width: 52px; height: 52px; font-size: 17px; }
.td-crm-av--a { background: #3E6FA8; color: #F5F2EA; }
.td-crm-av--b { background: #C9A24B; color: #0A1B33; }
.td-crm-av--c { background: #F5F2EA; color: #0A1B33; }
.td-crm-av--d { background: #2B5180; color: #F5F2EA; }

.td-crm-canal { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 600; background: rgba(245, 242, 234, .07); color: var(--td-crm-suave); white-space: nowrap; }
.td-crm-canal .td-crm-ico { width: 13px; height: 13px; }
.td-crm-canal--wa { color: #7FD6A6; }
.td-crm-canal--ig { color: #E9A6C8; }
.td-crm-canal--em { color: #A9C4E6; }
.td-crm-canal--ads { color: #9DB8E8; }
.td-crm-canal--gg { color: #E8CF8F; }
.td-crm-canal--ind { color: #E3C27A; }
.td-crm-card .td-crm-canal-txt { display: none; }

.td-crm-aviso {
  position: absolute; left: 50%; bottom: 14px; z-index: 5; display: flex; align-items: center; gap: 8px;
  max-width: calc(100% - 28px); padding: 9px 14px; border-radius: 12px; font-size: 12px;
  background: rgba(6, 15, 31, .94); border: 1px solid rgba(201, 162, 75, .4); box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .35s, transform .35s;
}
.td-crm-aviso b { font-weight: 700; }
.td-crm-aviso--on { opacity: 1; transform: translate(-50%, 0); animation: td-crm-some 2.4s 1.6s forwards; }
@keyframes td-crm-some { to { opacity: 0; } }
.td-crm-aviso-ico { display: inline-flex; color: var(--dourado, #C9A24B); }

/* Ficha */
.td-crm-ficha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px 18px 18px; }
.td-crm-ficha-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.td-crm-bloco { padding: 14px; border-radius: 12px; border: 1px solid var(--td-crm-borda); background: var(--td-crm-vidro); }
.td-crm-bloco--cheio { flex: 1; }
.td-crm-perfil { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.td-crm-perfil-etapa { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: auto; }
.td-crm-perfil-valor { font-family: var(--display, "Poppins"), sans-serif; font-weight: 600; font-size: 15px; }
.td-crm-etapa { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(201, 162, 75, .14); color: var(--dourado, #C9A24B); white-space: nowrap; }
.td-crm-etapa--peq { margin-left: auto; background: rgba(62, 111, 168, .22); color: var(--marfim, #F5F2EA); }
.td-crm-dados { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.td-crm-dado { display: flex; flex-direction: column; min-width: 0; }
.td-crm-dado--largo { grid-column: 1 / -1; }
.td-crm-dado-k { font-size: 10.5px; color: var(--td-crm-fraco); }
.td-crm-dado-v { font-size: 12.5px; font-weight: 500; overflow-wrap: anywhere; }
.td-crm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.td-crm-tag { padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 600; background: rgba(62, 111, 168, .2); color: #C6D7EE; }
.td-crm-origem { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.td-crm-origem-txt { flex: 1; min-width: 160px; font-size: 12px; color: var(--td-crm-suave); }

.td-crm-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.td-crm-tl::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 1px; background: var(--td-crm-borda); }
.td-crm-tl-item { position: relative; display: flex; gap: 12px; padding: 0 0 14px; }
.td-crm-tl-item:last-child { padding-bottom: 0; }
.td-crm-tl-ico { position: relative; flex: none; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--navy-medio, #132C4F); border: 1px solid rgba(62, 111, 168, .55); color: #A9C4E6; }
.td-crm-tl-ico .td-crm-ico { width: 14px; height: 14px; }
.td-crm-tl-txt { display: flex; flex-direction: column; min-width: 0; padding-top: 2px; }
.td-crm-tl-quando { font-size: 10.5px; color: var(--td-crm-fraco); font-variant-numeric: tabular-nums; }
.td-crm-tl-titulo { font-size: 12.5px; font-weight: 600; }
.td-crm-tl-det { font-size: 11.5px; color: var(--td-crm-suave); }
.td-crm-tl--anima .td-crm-tl-item { animation: td-crm-chega .5s ease-out both; animation-delay: calc(var(--td-crm-i, 0) * .22s); }

/* Conversas */
.td-crm-inbox { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); height: 100%; min-height: 0; }
.td-crm-inbox-lado { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--td-crm-borda); }
.td-crm-filtros { display: flex; gap: 5px; padding: 14px 12px 10px; overflow-x: auto; scrollbar-width: none; }
.td-crm-filtro { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; white-space: nowrap; border-radius: 999px; border: 1px solid var(--td-crm-borda); font-size: 11px; font-weight: 600; color: var(--td-crm-suave); }
.td-crm-filtro .td-crm-ico { width: 13px; height: 13px; }
.td-crm-filtro--ativo { background: var(--marfim, #F5F2EA); border-color: var(--marfim, #F5F2EA); color: var(--navy, #0A1B33); }
.td-crm-convs { list-style: none; margin: 0; padding: 0 6px 10px; overflow-y: auto; min-height: 0; flex: 1; }
.td-crm-conv-li { margin: 0; padding: 0; }
.td-crm-conv { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 8px; border-radius: 10px; transition: background .2s; }
.td-crm-conv:hover { background: var(--td-crm-vidro); }
.td-crm-conv--ativa { background: rgba(62, 111, 168, .18); }
.td-crm-conv--nova { animation: td-crm-chega .6s ease-out, td-crm-brilho 2s .6s ease-out; }
@keyframes td-crm-brilho { 0% { box-shadow: 0 0 0 1px rgba(201, 162, 75, .7); } 100% { box-shadow: 0 0 0 1px transparent; } }
.td-crm-avatar-canal { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-fundo, #060F1F); padding: 0; }
.td-crm-avatar-canal .td-crm-ico { width: 11px; height: 11px; }
.td-crm-conv-meio { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.td-crm-conv-nome { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-crm-conv-prev { font-size: 11.5px; color: var(--td-crm-fraco); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-crm-conv-fim { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.td-crm-conv-hora { font-size: 10.5px; color: var(--td-crm-fraco); white-space: nowrap; }
.td-crm-conv-nao { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--dourado, #C9A24B); color: var(--navy, #0A1B33); font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; }
.td-crm-vazio { padding: 16px 10px; font-size: 12px; color: var(--td-crm-fraco); list-style: none; }
.td-crm-thread { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.td-crm-thread-topo { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--td-crm-borda); }
.td-crm-thread-id { display: flex; flex-direction: column; min-width: 0; }
.td-crm-msgs { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.td-crm-msg { display: flex; flex-direction: column; gap: 3px; max-width: 78%; padding: 9px 12px; border-radius: 12px; font-size: 12.5px; }
.td-crm-msg--in { align-self: flex-start; background: var(--navy-medio, #132C4F); border-bottom-left-radius: 4px; }
.td-crm-msg--out { align-self: flex-end; background: #2B5180; border-bottom-right-radius: 4px; }
.td-crm-msg-meta { font-size: 10px; color: var(--td-crm-suave); align-self: flex-end; }
.td-crm-compor { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 8px 8px 8px 14px; border-radius: 12px; border: 1px solid var(--td-crm-borda); background: rgba(6, 15, 31, .5); }
.td-crm-compor-campo { flex: 1; font-size: 12px; color: var(--td-crm-fraco); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-crm-compor-btn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--azul, #3E6FA8); color: var(--marfim, #F5F2EA); }
.td-crm-compor-btn .td-crm-ico { width: 15px; height: 15px; }

/* Tarefas */
.td-crm-tarefas { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; padding: 16px 18px 18px; align-items: start; }
.td-crm-tarefas-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.td-crm-tlista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.td-crm-tarefa { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(6, 15, 31, .45); border: 1px solid transparent; transition: opacity .3s; }
.td-crm-tarefa--nova { animation: td-crm-chega .6s ease-out, td-crm-brilho 2.2s .6s ease-out; }
.td-crm-caixa { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(245, 242, 234, .45); color: transparent; transition: background .2s, border-color .2s, color .2s; }
.td-crm-caixa .td-crm-ico { width: 13px; height: 13px; stroke-width: 2.4; }
.td-crm-tarefa--feita .td-crm-caixa { background: var(--dourado, #C9A24B); border-color: var(--dourado, #C9A24B); color: var(--navy, #0A1B33); }
.td-crm-tarefa--feita .td-crm-tarefa-t { text-decoration: line-through; color: var(--td-crm-fraco); }
.td-crm-tarefa-tipo { display: inline-flex; color: #A9C4E6; }
.td-crm-tarefa-tipo .td-crm-ico { width: 16px; height: 16px; }
.td-crm-tarefa-meio { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.td-crm-tarefa-t { font-size: 12.5px; font-weight: 600; }
.td-crm-tarefa-l { font-size: 11px; color: var(--td-crm-fraco); }
.td-crm-auto { display: inline-flex; align-items: center; gap: 2px; color: var(--dourado, #C9A24B); font-weight: 600; }
.td-crm-auto .td-crm-ico { width: 11px; height: 11px; }
.td-crm-tarefa-h { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--td-crm-suave); font-variant-numeric: tabular-nums; white-space: nowrap; }
.td-crm-tarefa-h .td-crm-ico { width: 13px; height: 13px; }
.td-crm-lembretes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.td-crm-lembrete { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--td-crm-suave); }
.td-crm-lembrete .td-crm-ico { width: 15px; height: 15px; color: var(--dourado, #C9A24B); margin-top: 1px; }
.td-crm-nota { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--td-crm-borda); font-size: 11.5px; color: var(--td-crm-fraco); }
.td-crm-nota .td-crm-ico { width: 14px; height: 14px; color: var(--dourado, #C9A24B); }

/* Telas menores (pela largura do próprio bloco) */
@container (max-width: 860px) {
  .td-crm-corpo { grid-template-columns: 64px minmax(0, 1fr); }
  .td-crm-aba { justify-content: center; padding: 11px 0; }
  .td-crm-aba-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .td-crm-aba-badge { position: absolute; top: 3px; right: 6px; margin: 0; }
  .td-crm-busca span { display: none; }
  .td-crm-busca { flex: none; }
}
@container (max-width: 640px) {
  .td-crm-corpo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 520px; height: auto; }
  .td-crm-lateral { flex-direction: row; gap: 2px; padding: 6px; border-right: 0; border-bottom: 1px solid var(--td-crm-borda); }
  .td-crm-aba { flex: 1; flex-direction: column; gap: 3px; padding: 8px 2px; }
  .td-crm-aba-txt { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 10.5px; }
  .td-crm-aba--ativa::before { left: 25%; right: 25%; top: auto; bottom: -6px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .td-crm-aba-badge { right: 10%; }
  .td-crm-topo { gap: 10px; }
  .td-crm-busca { display: none; }
  .td-crm-painel-topo { padding: 12px 12px 4px; }
  .td-crm-metrica { padding: 5px 9px; }
  .td-crm-quadro { padding: 10px 12px 14px; }
  .td-crm-coluna { flex-basis: 168px; }
  .td-crm-ficha, .td-crm-tarefas { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .td-crm-inbox { grid-template-columns: minmax(0, 1fr); grid-template-rows: 210px minmax(0, 1fr); }
  .td-crm-inbox-lado { border-right: 0; border-bottom: 1px solid var(--td-crm-borda); }
  .td-crm-filtros { padding: 10px 10px 6px; }
  .td-crm-msgs { padding: 12px; }
  .td-crm-msg { max-width: 88%; }
}
@container (max-width: 400px) {
  .td-crm-dados { grid-template-columns: minmax(0, 1fr); }
  .td-crm-perfil-etapa { align-items: flex-start; margin-left: 0; width: 100%; flex-direction: row; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .td-crm-card--movendo, .td-crm-card--chegando, .td-crm-tl--anima .td-crm-tl-item, .td-crm-conv--nova, .td-crm-tarefa--nova { animation: none; transition: none; }
  .td-crm-aviso { transition: none; }
}
