:root {
  --roxo-950: #1e1033;
  --roxo-900: #2b1748;
  --roxo-medalha: #472a60;
  --roxo-700: #5a2a9e;
  --roxo-500: #7c3aed;
  --roxo-100: #efe8fb;
  --roxo-50: #f7f3fd;
  --laranja: #f4722e;
  --laranja-100: #fde9dd;
  --fundo: #f4f1f9;
  --card: #ffffff;
  --texto: #1d1530;
  --suave: #6b6280;
  --linha: #e7e1f1;
  --verde: #17915f;
  --verde-100: #dff3ea;
  --vermelho: #d23c4f;
  --vermelho-100: #fbe3e6;
  --cinza-100: #ecebf0;
  --raio: 18px;
  --sombra: 0 1px 2px rgba(30, 16, 51, 0.06), 0 6px 18px rgba(30, 16, 51, 0.06);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: #ddd6ea;
  color: var(--texto);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.app {
  max-width: 440px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--fundo);
  position: relative;
  padding-bottom: 108px;
  box-shadow: 0 0 40px rgba(30, 16, 51, 0.15);
}
h1, h2, h3, .num { font-family: "Baloo 2", "Inter", sans-serif; }
h2 { font-size: 19px; margin: 0 0 4px; line-height: 1.2; }
h3 { font-size: 16px; margin: 0; line-height: 1.2; }
p { margin: 0; }
.suave { color: var(--suave); }
.peq { font-size: 13px; }
.micro { font-size: 11.5px; letter-spacing: 0.02em; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(120deg, var(--roxo-950) 0%, var(--roxo-700) 70%, #8f3f8f 100%);
  color: #fff;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
}
/* lev+ em destaque à esquerda; time e atualização à direita */
.topo-linha { display: flex; align-items: center; gap: 12px; }
.marca b { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 36px; line-height: 0.9; letter-spacing: -0.8px; }
.marca .mais { color: var(--laranja); margin-left: 1px; }

/* Login / troca de senha / aviso */
.acesso { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(120% 80% at 50% 25%, var(--roxo-700) 0%, var(--roxo-900) 55%, var(--roxo-950) 100%); color: #fff; overflow-y: auto; }
.acesso-caixa { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.acesso-logo { text-align: center; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 64px; line-height: 0.9; letter-spacing: -1.5px; }
.acesso-logo span { color: var(--laranja); }
.acesso-sub { text-align: center; opacity: 0.85; margin-bottom: 8px; }
.acesso form { display: flex; flex-direction: column; gap: 12px; }
.acesso label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.acesso input { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); color: #fff; }
.acesso input:focus { outline: 2px solid var(--laranja); border-color: transparent; }
.acesso button { font: inherit; font-weight: 700; font-size: 16px; padding: 13px; border: 0; border-radius: 12px; cursor: pointer; background: var(--laranja); color: #fff; }
.acesso-lembrar { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; font-size: 13px !important; opacity: 0.9; }
.acesso-lembrar input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--laranja); flex: none; }
.acesso-lembrar small { opacity: 0.7; }
.acesso-msg { min-height: 1.4em; text-align: center; font-size: 13.5px; color: #ffd2b8; }
.acesso-aviso { background: rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 14px; text-align: center; }
.acesso-by { text-align: center; font-size: 11px; opacity: 0.45; letter-spacing: 0.08em; margin-top: 18px; }

/* Atalho da conta no topo (iniciais; ponto vermelho se a conexão com o Ploomes venceu) */
.conta-topo { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  font-weight: 800; font-size: 13px; color: #fff; background: rgba(255, 255, 255, 0.16); border: 1.5px solid rgba(255, 255, 255, 0.35); }
.conta-topo.vencido::after { content: ""; position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--vermelho); border: 2px solid #fff; }
.topo .direita { margin-left: auto; }

/* Carregando: a marca lev+ com o "+" girando */
@keyframes levmais-girar { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.15); } 100% { transform: rotate(360deg) scale(1); } }
.mais-gira { display: inline-block; color: var(--laranja); animation: levmais-girar 1.2s ease-in-out infinite; transform-origin: 50% 55%; }
.carregando { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 48px 16px; text-align: center; }
.carregando-logo { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 46px; line-height: 0.9; color: var(--roxo-700); letter-spacing: -1px; }
.carregando p { color: var(--suave); font-size: 13.5px; }
.acesso .carregando-logo { color: #fff; font-size: 64px; }
.acesso .carregando p { color: #fff; opacity: 0.85; }
@media (prefers-reduced-motion: reduce) { .mais-gira { animation-duration: 3s; } }

/* Tela de abertura */
.abertura {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(120% 80% at 50% 30%, var(--roxo-700) 0%, var(--roxo-900) 55%, var(--roxo-950) 100%);
  color: #fff; transition: opacity 0.45s ease, visibility 0.45s;
}
.abertura.sai { opacity: 0; visibility: hidden; }
.abertura-logo { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 84px; line-height: 0.9; letter-spacing: -2px; }
.abertura-logo span { color: var(--laranja); }
.abertura-slogan { font-size: 15px; opacity: 0.85; }
.abertura-by { position: absolute; bottom: calc(32px + env(safe-area-inset-bottom)); font-size: 11px; opacity: 0.45; letter-spacing: 0.08em; }
.assinatura { text-align: center; font-size: 10.5px; color: var(--suave); opacity: 0.6; letter-spacing: 0.06em; padding: 2px 0 0; }
.topo .direita { margin-left: auto; text-align: right; }
.topo .direita b { display: block; font-size: 13px; }
.topo .direita small { font-size: 11px; opacity: 0.75; }

main { padding: 14px 16px 8px; }
.tela { display: none; flex-direction: column; gap: 14px; }
.tela.ativa { display: flex; }

/* Cartões */
.card {
  background: var(--card);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  padding: 16px;
}
.card.escuro { background: var(--roxo-medalha); color: #fff; }
.card.escuro .suave { color: #cdbfe0; }
.card.escuro .parc .suave { color: var(--suave); }
.cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: var(--roxo-100); color: var(--roxo-700); white-space: nowrap;
}
.chip.ok { background: var(--verde-100); color: var(--verde); }
.chip.nao { background: var(--vermelho-100); color: var(--vermelho); }
.chip.conf { background: var(--cinza-100); color: var(--suave); }
.chip.lar { background: var(--laranja-100); color: #b8501a; }
.card.escuro .chip { background: rgba(255, 255, 255, 0.14); color: #fff; }

.ola h1 { font-size: 24px; margin: 0; line-height: 1.1; }

/* Título atual */
.titulo-atual { display: flex; gap: 14px; align-items: center; }
.titulo-atual img { width: 96px; height: 96px; border-radius: 16px; flex: none; }
.titulo-atual h2 { font-size: 24px; }
.barra { height: 10px; border-radius: 99px; background: var(--cinza-100); overflow: hidden; }
.card.escuro .barra { background: rgba(255, 255, 255, 0.15); }
.barra i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--roxo-500), var(--laranja)); }
.barra.verde i { background: var(--verde); }
.barra.vermelho i { background: var(--vermelho); }
.prog { margin-top: 14px; }
.prog .linha-txt { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }

/* Gatilhos */
.gatilho { padding: 10px 0; border-top: 1px solid var(--linha); }
.gatilho:first-of-type { border-top: 0; padding-top: 0; }
.gatilho .linha-txt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 14px; }
.resultado { margin-top: 10px; padding: 14px; border-radius: 14px; background: var(--roxo-50); }
.resultado .num { font-size: 32px; line-height: 1; font-weight: 700; }
.resultado.alerta { background: var(--vermelho-100); }
.resultado.alerta .num { color: var(--vermelho); }
.resultado.bom { background: var(--verde-100); }
.resultado.bom .num { color: var(--verde); }

/* Grade de números */
.grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: var(--roxo-50); border-radius: 14px; padding: 12px; }
.kpi .num { font-size: 22px; font-weight: 700; line-height: 1.1; display: block; margin: 2px 0; }
.kpi.alerta { background: var(--vermelho-100); }
.kpi.alerta .num { color: var(--vermelho); }
.kpi.bom .num { color: var(--verde); }

/* Gráfico de barras simples */
.barras { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding-top: 8px; }
.barras .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.barras .col .b { width: 100%; border-radius: 8px 8px 4px 4px; background: var(--roxo-500); position: relative; min-height: 3px; }
.barras .col .b.proj { background: repeating-linear-gradient(135deg, var(--laranja-100) 0 6px, #fbd2b8 6px 12px); border: 1.5px dashed var(--laranja); }
.barras .col .b.atual { background: var(--laranja); }
.barras .col .v { font-size: 11.5px; font-weight: 700; }
.barras .col .m { font-size: 12px; color: var(--suave); }
.linha-meta { position: relative; }
.linha-meta .meta { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--vermelho); }
.linha-meta .meta span { position: absolute; right: 0; top: -18px; font-size: 11px; font-weight: 700; color: var(--vermelho); background: var(--card); padding: 0 4px; }

/* Listas */
.lista { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--linha); }
.item:first-child { border-top: 0; }
.item .rot { flex: 1; min-width: 0; }
.item .val { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 18px; }
.item .barra { margin-top: 5px; height: 7px; }
.ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--roxo-100); color: var(--roxo-700); font-weight: 800; font-size: 13px; }
.ico.ok { background: var(--verde-100); color: var(--verde); }
.ico.nao { background: var(--vermelho-100); color: var(--vermelho); }
.ico.conf { background: var(--cinza-100); color: var(--suave); }
.ico.lar { background: var(--laranja-100); color: #b8501a; }

.cta {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit;
  background: linear-gradient(120deg, var(--laranja) 0%, #f89a4f 100%); color: #fff;
  border-radius: var(--raio); padding: 16px; box-shadow: var(--sombra); border: 0; width: 100%; text-align: left; font: inherit; cursor: pointer;
}
.cta b { font-family: "Baloo 2", sans-serif; font-size: 18px; display: block; line-height: 1.15; }
.cta .seta { margin-left: auto; font-size: 22px; }

.aviso { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: var(--laranja-100); color: #7a3a14; font-size: 13px; }
.aviso b { color: #b8501a; }

/* Simulador */
.presets { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.presets button {
  flex: none; border: 1.5px solid var(--linha); background: var(--card); color: var(--texto);
  font: inherit; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; cursor: pointer;
}
.presets button.on { border-color: var(--roxo-500); background: var(--roxo-100); color: var(--roxo-700); }
.campo { padding: 12px 0; border-top: 1px solid var(--linha); }
.campo:first-of-type { border-top: 0; padding-top: 4px; }
.campo .linha-txt { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.campo .linha-txt label { font-weight: 600; font-size: 14px; }
.campo .linha-txt output { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 18px; color: var(--roxo-700); }
input[type="range"] { width: 100%; accent-color: var(--roxo-500); height: 28px; margin: 0; }
.dica { font-size: 12px; color: var(--suave); margin-top: 2px; }
.res-sim { position: sticky; top: 64px; z-index: 5; }
.taxas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; margin: 10px 0 4px; }
.taxas .t { background: var(--roxo-50); border-radius: 8px; padding: 4px 8px; font-weight: 700; }
.taxas .t.zero { color: var(--suave); font-weight: 500; }
.total-sim { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.total-sim .num { font-size: 34px; font-weight: 800; line-height: 1; color: var(--laranja); }
.score-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 4px; }
.score-mini div { text-align: center; background: var(--roxo-50); border-radius: 10px; padding: 6px 2px; font-size: 11px; color: var(--suave); }
.score-mini b { display: block; font-size: 15px; color: var(--texto); font-family: "Baloo 2", sans-serif; }
.luz { font-family: "Baloo 2", sans-serif; font-weight: 800; padding: 2px 10px; border-radius: 8px; color: #fff; }
.luz.azul { background: #2f6fd6; } .luz.verde { background: var(--verde); } .luz.laranja { background: #e08a1e; } .luz.vermelho { background: var(--vermelho); }

/* Jornada */
.trilha { display: flex; justify-content: space-between; align-items: center; position: relative; padding: 4px 4px 0; }
.trilha::before { content: ""; position: absolute; left: 30px; right: 30px; top: 34px; height: 3px; background: var(--linha); }
.trilha button { position: relative; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; color: var(--suave); font-size: 12px; font-weight: 600; }
.trilha img { width: 60px; height: 60px; border-radius: 14px; border: 3px solid transparent; filter: grayscale(0.7) opacity(0.6); transition: 0.15s; }
.trilha button.feito img, .trilha button.atual img { filter: none; }
.trilha button.atual img { border-color: var(--laranja); }
.trilha button.sel { color: var(--roxo-700); }
.trilha button.sel img { transform: scale(1.08); box-shadow: 0 6px 16px rgba(71, 42, 96, 0.35); }
.titulo-det { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.titulo-det img { width: 84px; height: 84px; border-radius: 16px; }
.paga { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.paga div { background: var(--roxo-50); border-radius: 12px; padding: 10px 8px; text-align: center; }
.paga b { display: block; font-family: "Baloo 2", sans-serif; font-size: 17px; }
.paga small { color: var(--suave); font-size: 11.5px; }
.paga .tot { background: var(--roxo-medalha); color: #fff; }
.paga .tot small { color: #d5c8e6; }

table.tab { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.tab th, table.tab td { padding: 7px 4px; text-align: center; border-top: 1px solid var(--linha); }
table.tab th { font-size: 11.5px; color: var(--suave); font-weight: 600; border-top: 0; }
table.tab td:first-child, table.tab th:first-child { text-align: left; font-weight: 600; color: var(--texto); }
.rolagem { overflow-x: auto; }

/* Equipe */
.pessoa { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--roxo-500), var(--laranja)); flex: none; }
.avatar.vazio { background: var(--cinza-100); color: var(--suave); }
.pessoa img { width: 40px; height: 40px; border-radius: 10px; }

/* Navegação inferior */
nav.abas {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 440px; z-index: 20;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--linha);
  display: grid; grid-template-columns: repeat(6, 1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
nav.abas a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; text-decoration: none; color: var(--suave); font-size: 11px; font-weight: 600; border-radius: 12px; }
nav.abas a svg { width: 24px; height: 24px; }
nav.abas a.on { color: var(--roxo-700); }
nav.abas a.on svg { stroke: var(--roxo-700); }
nav.abas a.on::after { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--laranja); margin-top: 1px; }
/* botão central de Check-in (laranja, em destaque) */
nav.abas a.nav-checkin { position: relative; color: #b8501a; }
nav.abas a.nav-checkin .bola { width: 48px; height: 48px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--laranja), #f89a4f); box-shadow: 0 6px 16px rgba(244, 114, 46, 0.45); border: 3px solid #fff; }
nav.abas a.nav-checkin .bola svg { width: 24px; height: 24px; stroke: #fff; }
nav.abas a.nav-checkin.on { color: #b8501a; }
nav.abas a.nav-checkin.on::after { background: var(--laranja); }
nav.abas a.nav-checkin.aberta .bola { background: linear-gradient(135deg, #17915f, #3dbb86); box-shadow: 0 6px 16px rgba(23, 145, 95, 0.45); }
.busca { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--linha); background: #fff; }

/* lev. negócios discreto, centralizado sob os ícones */
.nav-marca { grid-column: 1 / -1; text-align: center; font-family: "Baloo 2", sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--suave); opacity: 0.75; padding-top: 2px; line-height: 1.2; }
.nav-marca b { font-size: 15px; letter-spacing: -0.2px; text-transform: none; color: var(--roxo-700); }
.nav-marca span { color: var(--laranja); }

/* Itens clicáveis */
a.item, a.kpi, a.card-link { text-decoration: none; color: inherit; display: flex; }
a.kpi { display: block; position: relative; }
a.kpi::after, a.item::after { content: "›"; color: var(--suave); font-size: 20px; line-height: 1; }
a.kpi::after { position: absolute; right: 10px; top: 8px; }
a.item:active, a.kpi:active, .parc:active { background: var(--roxo-50); }

/* Lista de parceiros e ficha */
.voltar { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--roxo-700); cursor: pointer; }
.filtros { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.filtros a { flex: none; text-decoration: none; border: 1.5px solid var(--linha); background: var(--card); color: var(--texto); font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 999px; }
.filtros a.on { border-color: var(--roxo-500); background: var(--roxo-100); color: var(--roxo-700); }
.filtros a b { font-family: "Baloo 2", sans-serif; }
.grupo-tit { font-size: 12px; font-weight: 700; color: var(--suave); text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 2px -6px; }
.parc { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linha); text-decoration: none; color: inherit; }
.parc:first-child { border-top: 0; }
.parc .rot { flex: 1; min-width: 0; }
.parc .rot span { display: block; }
.parc .rot b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.parc .dir { text-align: right; flex: none; }
.parc .dir b { font-family: "Baloo 2", sans-serif; font-size: 16px; display: block; }
.ini { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 13px; color: #fff; background: var(--roxo-500); }
.ini.ATIVO { background: var(--verde); } .ini.IMPRODUTIVO { background: var(--vermelho); } .ini.BLOQUEADO { background: #8a8299; }
.ini.PRE { background: var(--laranja); } .ini.SEM { background: #b9b2c7; }
.spark { display: block; }
.ficha-cab { display: flex; gap: 12px; align-items: center; }
.ficha-cab .ini { width: 52px; height: 52px; border-radius: 16px; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13.5px; }
.dl dt { color: var(--suave); }
.dl dd { margin: 0; font-weight: 600; text-align: right; }
.vazio { text-align: center; padding: 24px 8px; color: var(--suave); }

/* Faixa "Painel de <GC> · visto por <gestor>" */
.faixa-gc { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding: 10px 12px; border-radius: 14px; background: var(--laranja-100); color: #7a3a14; font-size: 13px; }
.faixa-gc a { flex: none; text-decoration: none; font-weight: 700; color: #b8501a; }

/* Alternador (PPC: Simular | Jornada) */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--cinza-100); border-radius: 12px; padding: 4px; gap: 4px; }
.seg a { text-align: center; text-decoration: none; color: var(--suave); font-weight: 700; font-size: 13.5px; padding: 8px 0; border-radius: 9px; }
.seg a.on { background: var(--card); color: var(--roxo-700); box-shadow: 0 1px 3px rgba(30, 16, 51, 0.12); }

/* Botões de contato */
.contatos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.contatos a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; text-decoration: none; font-size: 12.5px; font-weight: 700; background: var(--roxo-50); color: var(--roxo-700); }
.contatos a.wa { background: #e3f7ea; color: #128c4a; }
.contatos a.off { opacity: 0.4; pointer-events: none; }
.contatos svg { width: 22px; height: 22px; }
.wa-mini { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e3f7ea; color: #128c4a; flex: none; text-decoration: none; }
.wa-mini svg { width: 18px; height: 18px; }

/* Feed de interações e tarefas */
.evento { padding: 12px 0; border-top: 1px solid var(--linha); }
.evento:first-child { border-top: 0; padding-top: 2px; }
.evento .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--suave); margin-bottom: 4px; }
.evento .meta a { color: var(--roxo-700); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evento p { font-size: 13.5px; white-space: pre-line; }
.evento .chips { margin-top: 6px; }

/* Funil */
.etapa-tit { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px; color: var(--roxo-700); margin: 10px 0 2px; }
.etapa-tit:first-child { margin-top: 0; }
.funil-barra { display: flex; gap: 3px; height: 8px; margin-top: 8px; }
.funil-barra i { flex: 1; border-radius: 3px; background: var(--cinza-100); }
.funil-barra i.cheio { background: var(--roxo-500); }

.rodape { text-align: center; font-size: 11.5px; color: var(--suave); padding: 6px 0 4px; }
