/* AF CRM — Atendimentos avulsos + roteiro da primeira entrevista (20/09/2026)
   Classes proprias (afe-*): o Tailwind compilado nao tem classe nova. */

.afe-roteiro, .afe-form, .afe-detalhe, .afe-modal, .afe-painel-ficha {
  --afe-borda: hsl(var(--border, 214 32% 91%));
  --afe-txt: hsl(var(--foreground, 222 47% 11%));
  --afe-fraco: hsl(var(--muted-foreground, 215 16% 47%));
  --afe-fundo: hsl(var(--card, 0 0% 100%));
  --afe-sutil: hsl(var(--muted, 210 40% 96%));
  --afe-marca: hsl(var(--primary, 222 47% 11%));
  --afe-marca-txt: hsl(var(--primary-foreground, 210 40% 98%));
  /* campo: fundo de "ainda em branco", borda de hover e anel de foco */
  --afe-vazio: hsl(215 28% 95.5%);
  --afe-borda-campo: hsl(215 18% 84%);
  --afe-borda-forte: hsl(215 20% 72%);
  --afe-anel: hsl(24 72% 48%);
  --afe-anel-suave: hsl(24 72% 48% / .16);
}
.dark .afe-roteiro, .dark .afe-form, .dark .afe-detalhe,
.dark .afe-modal, .dark .afe-painel-ficha {
  --afe-vazio: hsl(0 0% 100% / .05);
  --afe-borda-campo: hsl(215 16% 34%);
  --afe-borda-forte: hsl(215 16% 46%);
  --afe-anel: hsl(28 84% 60%);
  --afe-anel-suave: hsl(28 84% 60% / .22);
}

/* ---------------------------------------------------------------- campos */
.afe-itens { display: flex; flex-wrap: wrap; gap: 16px 16px; }
.afe-campo { display: flex; flex-direction: column; gap: 4px; flex: 1 1 100%; min-width: 0; }
.afe-campo-meia { flex: 1 1 calc(50% - 8px); }
.afe-campo-larga { flex: 1 1 100%; }
@media (max-width: 720px) { .afe-campo-meia { flex: 1 1 100%; } }

.afe-rot {
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
  color: var(--afe-fraco); line-height: 1.35;
}
/* A caixa e' o que diz "clique aqui e escreva". Campo vazio vem com um fundo
   levemente acinzentado; ao receber conteudo (ou foco) fica branco. Assim da'
   para varrer a tela e ver o que ainda falta responder. */
.afe-linha, .afe-area, .afe-cel {
  box-sizing: border-box;
  width: 100%; font: inherit; font-size: 13.5px; color: var(--afe-txt);
  background: var(--afe-vazio); border: 1px solid var(--afe-borda-campo);
  border-radius: 8px; padding: 8px 10px; outline: none;
  transition: border-color .12s, background-color .12s, box-shadow .12s;
}
.afe-area { resize: vertical; min-height: 44px; line-height: 1.45; }
.afe-linha:hover, .afe-area:hover { border-color: var(--afe-borda-forte); }
.afe-linha:focus, .afe-area:focus, .afe-cel:focus {
  border-color: var(--afe-anel); background: var(--afe-fundo);
  box-shadow: 0 0 0 3px var(--afe-anel-suave);
}
/* respondido: fundo branco e borda um tom mais firme */
.afe-linha:not(:placeholder-shown), .afe-area:not(:placeholder-shown) {
  background: var(--afe-fundo); border-color: var(--afe-borda-forte);
}
select.afe-linha { padding: 7px 9px; background: var(--afe-fundo); cursor: pointer; }
/* data e hora ja' mostram a mascara dd/mm/aaaa, entao nao entram na regra
   do :placeholder-shown — ficam sempre com cara de campo preenchivel */
.afe-linha[type="date"], .afe-linha[type="datetime-local"], .afe-linha[type="time"] {
  background: var(--afe-fundo); border-color: var(--afe-borda-forte); cursor: text;
}
/* o Sim/Nao/Nao sabe acompanha o novo arredondamento */
.afe-sn { border-radius: 9px; }
.afe-op { padding: 7px 13px; }
/* o rotulo acende junto com o campo */
.afe-campo:focus-within > .afe-rot { color: var(--afe-txt); }
.afe-mini { max-width: 210px; }
.afe-linha-curta { flex: 1 1 140px; min-width: 120px; }

/* sim / nao / nao sabe */
.afe-sn-linha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.afe-sn { display: inline-flex; border: 1px solid var(--afe-borda); border-radius: 8px; overflow: hidden; }
.afe-op {
  font: inherit; font-size: 12px; padding: 4px 11px; background: transparent;
  color: var(--afe-fraco); border: 0; border-right: 1px solid var(--afe-borda); cursor: pointer;
}
.afe-op:last-child { border-right: 0; }
.afe-op:hover { background: var(--afe-sutil); }
.afe-op-on { background: var(--afe-marca); color: var(--afe-marca-txt); font-weight: 600; }
.afe-op-on:hover { background: var(--afe-marca); }

/* tabelas do roteiro */
.afe-grade-rolagem { overflow-x: auto; border: 1px solid var(--afe-borda); border-radius: 8px; }
.afe-grade { width: 100%; border-collapse: collapse; min-width: 560px; }
.afe-grade th {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700;
  color: var(--afe-fraco); text-align: left; padding: 6px 8px; background: var(--afe-sutil);
  border-bottom: 1px solid var(--afe-borda); white-space: nowrap;
}
.afe-grade td { border-bottom: 1px solid var(--afe-borda); border-right: 1px solid var(--afe-borda); padding: 0; }
.afe-grade td:last-child { border-right: 0; }
.afe-grade tr:last-child td { border-bottom: 0; }
.afe-cel {
  border: 0; border-radius: 0; background: transparent;
  padding: 8px 9px; font-size: 12.5px;
}
.afe-grade td:hover .afe-cel { background: var(--afe-vazio); }
.afe-cel:focus {
  background: var(--afe-fundo); box-shadow: inset 0 0 0 2px var(--afe-anel);
  border-radius: 4px;
}
.afe-cel:not(:placeholder-shown) { background: transparent; font-weight: 500; }

/* --------------------------------------------------------------- grupos */
.afe-roteiro { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.afe-grupo { border: 1px solid var(--afe-borda); border-radius: 12px; overflow: hidden; background: var(--afe-fundo); }
.afe-grupo-titulo {
  width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 14px;
  background: transparent; border: 0; cursor: pointer; text-align: left; font: inherit;
  color: var(--afe-txt);
}
.afe-grupo-titulo:hover { background: var(--afe-sutil); }
.afe-titulo-txt { font-size: 13.5px; font-weight: 650; flex: 1 1 auto; }
.afe-seta { display: inline-block; transition: transform .16s; color: var(--afe-fraco); font-size: 15px; line-height: 1; }
.afe-aberto > .afe-grupo-titulo .afe-seta { transform: rotate(90deg); }
.afe-contador { font-size: 11px; color: var(--afe-fraco); white-space: nowrap; }
.afe-tem-resposta .afe-titulo-txt { color: hsl(24 72% 44%); }
.afe-grupo > .afe-itens { display: none; padding: 4px 14px 16px; }
.afe-aberto > .afe-itens { display: flex; }

/* ---------------------------------------------------------------- barra */
.afe-barra {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  justify-content: space-between; padding: 10px 12px; border: 1px solid var(--afe-borda);
  border-radius: 12px; background: var(--afe-sutil);
}
.afe-barra-campos { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; flex: 1 1 260px; }
.afe-barra-acoes { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.afe-mini-rot { display: flex; flex-direction: column; gap: 3px; }
.afe-mini-rot > span { font-size: 11px; font-weight: 600; color: var(--afe-fraco); }
.afe-cresce { flex: 1 1 160px; }
.afe-cresce .afe-mini { max-width: none; }
.afe-marca { font-size: 11px; color: var(--afe-fraco); margin-right: 4px; }
.afe-marca-sujo { color: hsl(24 80% 45%); font-weight: 600; }

.afe-bt {
  font: inherit; font-size: 12.5px; font-weight: 550; padding: 6px 12px; cursor: pointer;
  border: 1px solid var(--afe-borda); border-radius: 8px; background: var(--afe-fundo);
  color: var(--afe-txt); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: background .12s, border-color .12s;
}
.afe-bt:hover { background: var(--afe-sutil); }
.afe-bt:disabled { opacity: .55; cursor: default; }
.afe-bt-forte { background: var(--afe-marca); color: var(--afe-marca-txt); border-color: var(--afe-marca); }
.afe-bt-forte:hover { background: var(--afe-marca); filter: brightness(1.12); }
.afe-bt-fraco { background: transparent; color: var(--afe-fraco); }
.afe-bt-perigo { color: hsl(0 70% 46%); border-color: hsl(0 70% 46% / .35); }
.afe-bt-perigo:hover { background: hsl(0 70% 46% / .08); }

.afe-topo { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; }
.afe-dica { font-size: 12px; color: var(--afe-fraco); margin: 0 0 6px; line-height: 1.5; }
.afe-carregando, .afe-vazio { padding: 18px 4px; font-size: 13px; color: var(--afe-fraco); }
.afe-erro { padding: 12px; font-size: 13px; color: hsl(0 70% 46%); }

/* --------------------------------------------------------- painel ficha */
.afe-painel-ficha { padding: 4px 0 24px; }
[role="tab"].afe-aba-ficha-on { background: var(--afe-fundo); color: var(--afe-txt); font-weight: 600; }

/* ------------------------------------------------------------- overlay  */
.afe-overlay {
  position: fixed; inset: 0; z-index: 2147483000; background: rgba(15, 18, 24, .58);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(2px);
}
.afe-janela {
  width: min(1240px, 100%); height: min(860px, 100%); display: flex; flex-direction: column;
  background: hsl(var(--background, 0 0% 100%)); color: hsl(var(--foreground, 222 47% 11%));
  border: 1px solid var(--afe-borda, hsl(214 32% 91%)); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .34);
}
.afe-cabecalho {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid hsl(var(--border, 214 32% 91%));
}
.afe-cabecalho h2 { margin: 0; font-size: 17px; font-weight: 680; letter-spacing: -.01em; }
.afe-cabecalho p { margin: 2px 0 0; font-size: 12px; color: hsl(var(--muted-foreground, 215 16% 47%)); }
.afe-fechar {
  font: inherit; font-size: 22px; line-height: 1; width: 32px; height: 32px; cursor: pointer;
  border: 1px solid hsl(var(--border, 214 32% 91%)); border-radius: 8px; background: transparent;
  color: hsl(var(--muted-foreground, 215 16% 47%));
}
.afe-fechar:hover { background: hsl(var(--muted, 210 40% 96%)); }
.afe-corpo { flex: 1 1 auto; display: flex; min-height: 0; }
.afe-coluna {
  width: 330px; flex: 0 0 330px; border-right: 1px solid hsl(var(--border, 214 32% 91%));
  display: flex; flex-direction: column; min-height: 0;
}
.afe-filtros { padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid hsl(var(--border, 214 32% 91%)); }
.afe-busca { flex: 1 1 100%; }
.afe-bt-novo { margin-left: auto; }
.afe-lista { flex: 1 1 auto; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.afe-item {
  display: flex; flex-direction: column; gap: 3px; text-align: left; font: inherit; cursor: pointer;
  padding: 9px 11px; border: 1px solid hsl(var(--border, 214 32% 91%)); border-radius: 10px;
  background: transparent; color: inherit;
}
.afe-item:hover { background: hsl(var(--muted, 210 40% 96%)); }
.afe-item-on { border-color: hsl(var(--ring, 222 47% 11%)); background: hsl(var(--muted, 210 40% 96%)); }
.afe-item-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.afe-item-topo strong { font-size: 13px; font-weight: 640; }
.afe-item-sub { font-size: 11px; color: hsl(var(--muted-foreground, 215 16% 47%)); }
.afe-item-txt { font-size: 11.5px; color: hsl(var(--muted-foreground, 215 16% 47%)); line-height: 1.35; }
.afe-etiq {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 999px; white-space: nowrap;
  background: hsl(var(--muted, 210 40% 96%)); color: hsl(var(--muted-foreground, 215 16% 47%));
}
.afe-etiq-em_aberto { background: hsl(38 92% 50% / .16); color: hsl(32 82% 38%); }
.afe-etiq-vinculado { background: hsl(152 60% 40% / .16); color: hsl(155 62% 30%); }
.afe-etiq-descartado { background: hsl(215 16% 47% / .16); color: hsl(215 16% 42%); }

.afe-detalhe { flex: 1 1 auto; overflow-y: auto; padding: 16px 20px 32px; min-width: 0; }
.afe-detalhe-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.afe-detalhe-topo h3 { margin: 0; font-size: 16px; font-weight: 660; }
.afe-detalhe-acoes { display: flex; gap: 7px; flex-wrap: wrap; }
/* seletor segmentado (em vez de dois textos soltos com um risco embaixo) */
.afe-abas {
  display: inline-flex; gap: 3px; margin: 16px 0 18px; padding: 3px;
  width: max-content; max-width: 100%;
  background: var(--afe-sutil); border: 1px solid var(--afe-borda); border-radius: 11px;
}
.afe-aba {
  font: inherit; font-size: 13px; font-weight: 560; padding: 7px 15px; cursor: pointer;
  background: transparent; border: 0; border-radius: 8px; color: var(--afe-fraco);
  transition: background-color .12s, color .12s, box-shadow .12s;
}
.afe-aba:hover { color: var(--afe-txt); background: hsl(0 0% 100% / .5); }
.afe-aba:focus-visible { outline: 2px solid var(--afe-anel); outline-offset: 1px; }
.afe-aba:disabled { opacity: .4; cursor: default; }
.afe-aba-on, .afe-aba-on:hover {
  background: var(--afe-fundo); color: var(--afe-txt); font-weight: 660;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .04);
}
.dark .afe-aba:hover { background: hsl(0 0% 100% / .06); }
.dark .afe-aba-on, .dark .afe-aba-on:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.afe-detalhe-corpo { display: flex; flex-direction: column; gap: 14px; }
.afe-form { display: flex; flex-direction: column; gap: 14px; }
.afe-vazio-grande { max-width: 520px; margin: 60px auto; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.afe-vazio-grande strong { font-size: 15px; }
.afe-vazio-grande p { font-size: 13px; color: hsl(var(--muted-foreground, 215 16% 47%)); line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .afe-overlay { padding: 0; }
  .afe-janela { height: 100%; max-height: 100%; border-radius: 0; }
  .afe-corpo { flex-direction: column; }
  .afe-coluna {
    width: auto; flex: 0 0 auto; max-height: 38vh; border-right: 0;
    border-bottom: 1px solid hsl(var(--border, 214 32% 91%));
  }
  .afe-cabecalho { padding: 12px 14px; }
  .afe-detalhe { padding: 14px 14px 40px; }
  .afe-detalhe-topo { flex-direction: column; align-items: stretch; gap: 10px; }
  .afe-detalhe-acoes { flex: 1 1 100%; }
  .afe-detalhe-acoes > .afe-bt { flex: 1 1 auto; justify-content: center; }
  /* ARMADILHA: `.afe-barra-campos` tem `flex: 1 1 260px`, pensado para a barra
     em LINHA. Quando ela vira COLUNA no celular, o flex-basis passa a valer
     como ALTURA — 260px de vazio empurrando data, situação e botão para baixo
     da tela. Aqui o basis volta a ser o conteúdo. */
  .afe-barra { flex-direction: column; align-items: stretch; }
  .afe-barra-campos { flex: 0 0 auto; width: 100%; align-items: stretch; }
  .afe-barra-campos > .afe-mini-rot { flex: 1 1 100%; min-width: 0; }
  .afe-barra-acoes { justify-content: flex-start; }
  .afe-barra-acoes > .afe-bt { flex: 1 1 auto; justify-content: center; }
  .afe-mini, .afe-cresce .afe-mini { max-width: none; width: 100%; }
  .afe-modal { width: 100%; max-height: 92vh; border-radius: 14px 14px 0 0; }
  .afe-modal-fundo { align-items: flex-end; padding: 0; }
  .afe-cartao { flex: 1 1 100%; }
  .afe-abas { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .afe-aba { white-space: nowrap; }
}

/* nada pode furar a largura da tela */
.afe-janela, .afe-corpo, .afe-coluna, .afe-detalhe, .afe-detalhe-corpo,
.afe-form, .afe-roteiro, .afe-grupo, .afe-itens, .afe-campo, .afe-barra,
.afe-item, .afe-resultado, .afe-modal {
  min-width: 0;
  max-width: 100%;
}
.afe-detalhe, .afe-lista, .afe-painel-ficha { overflow-x: hidden; }
.afe-item-topo strong, .afe-item-sub, .afe-item-txt,
.afe-resultado strong, .afe-resultado span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.afe-item-topo strong { white-space: nowrap; }
.afe-detalhe-topo h3 { min-width: 0; overflow-wrap: anywhere; }

/* dedo: alvos maiores em tela sensivel ao toque */
@media (pointer: coarse) {
  .afe-bt { min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
  .afe-aba { min-height: 44px; }
  .afe-op { min-height: 38px; padding: 6px 14px; font-size: 13px; }
  .afe-grupo-titulo { min-height: 48px; }
  .afe-linha, .afe-cel { min-height: 40px; font-size: 16px; }
  .afe-area { font-size: 16px; }
  select.afe-linha { min-height: 40px; }
  .afe-fechar { width: 40px; height: 40px; font-size: 24px; }
  .afe-cartao { min-height: 64px; }
  .afe-resultado { min-height: 48px; }
  .afe-item { min-height: 56px; }
}

/* ---------------------------------------------------------------- modal */
.afe-modal-fundo {
  position: fixed; inset: 0; z-index: 2147483100; background: rgba(15, 18, 24, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.afe-modal {
  width: min(560px, 100%); background: hsl(var(--background, 0 0% 100%));
  color: hsl(var(--foreground, 222 47% 11%)); border: 1px solid hsl(var(--border, 214 32% 91%));
  border-radius: 14px; padding: 20px; box-shadow: 0 20px 52px rgba(0, 0, 0, .3);
  display: flex; flex-direction: column; gap: 12px; max-height: 88vh; overflow-y: auto;
}
.afe-modal-larga { width: min(620px, 100%); }
.afe-modal h3 { margin: 0; font-size: 16px; font-weight: 660; }
.afe-modal-txt { margin: 0; font-size: 12.5px; color: hsl(var(--muted-foreground, 215 16% 47%)); line-height: 1.5; }
.afe-modal-ops { display: flex; gap: 10px; flex-wrap: wrap; }
.afe-cartao {
  flex: 1 1 210px; display: flex; flex-direction: column; gap: 5px; text-align: left; font: inherit;
  padding: 13px 14px; cursor: pointer; border: 1px solid hsl(var(--border, 214 32% 91%));
  border-radius: 11px; background: transparent; color: inherit;
}
.afe-cartao:hover { border-color: hsl(24 72% 48%); background: hsl(var(--muted, 210 40% 96%)); }
.afe-cartao strong { font-size: 13.5px; font-weight: 640; }
.afe-cartao span { font-size: 11.5px; color: hsl(var(--muted-foreground, 215 16% 47%)); line-height: 1.4; }
.afe-modal-pe { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.afe-resultados { display: flex; flex-direction: column; gap: 5px; max-height: 300px; overflow-y: auto; }
.afe-resultado {
  display: flex; flex-direction: column; gap: 2px; text-align: left; font: inherit; cursor: pointer;
  padding: 8px 11px; border: 1px solid hsl(var(--border, 214 32% 91%)); border-radius: 9px;
  background: transparent; color: inherit;
}
.afe-resultado:hover { background: hsl(var(--muted, 210 40% 96%)); }
.afe-resultado-on { border-color: hsl(24 72% 48%); background: hsl(24 72% 48% / .08); }
.afe-resultado strong { font-size: 13px; }
.afe-resultado span { font-size: 11px; color: hsl(var(--muted-foreground, 215 16% 47%)); }

/* -------------------------------------------- "proximo passo" apos salvar */
.afe-aba-proxima {
  color: var(--afe-txt);
  box-shadow: inset 0 0 0 2px var(--afe-anel);
  animation: afe-chamar 1.5s ease-in-out 3;
}
@keyframes afe-chamar {
  0%, 100% { box-shadow: inset 0 0 0 2px var(--afe-anel); }
  50%      { box-shadow: inset 0 0 0 2px var(--afe-anel), 0 0 0 5px var(--afe-anel-suave); }
}
@media (prefers-reduced-motion: reduce) { .afe-aba-proxima { animation: none; } }

.afe-proximo {
  margin: -8px 0 16px; padding: 10px 13px; border-radius: 10px;
  font-size: 13px; line-height: 1.5; color: var(--afe-txt);
  background: var(--afe-anel-suave); border: 1px solid var(--afe-anel);
}
.afe-proximo strong { font-weight: 660; }
.afe-liga {
  font: inherit; font-weight: 650; padding: 0; border: 0; background: none;
  color: var(--afe-anel); text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.afe-liga:hover { text-decoration-thickness: 2px; }

/* roteiro montado antes das respostas chegarem: visivel, mas ainda nao editavel */
.afe-roteiro-espera { opacity: .55; pointer-events: none; }

/* ---------------------------------------------------------------- toast */
.afe-toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 2147483600; max-width: 380px;
  padding: 11px 15px; border-radius: 10px; font-size: 13px; line-height: 1.4;
  background: hsl(222 47% 11%); color: hsl(210 40% 98%); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: opacity .4s, transform .4s;
}
.afe-toast-erro { background: hsl(0 66% 42%); }
.afe-saindo { opacity: 0; transform: translateY(8px); }

/* ----------------------------------------------------------- modo escuro */
.dark .afe-grupo { background: hsl(var(--card, 222 47% 11%)); }
.dark .afe-tem-resposta .afe-titulo-txt { color: hsl(28 84% 62%); }
.dark .afe-cartao:hover, .dark .afe-resultado-on { border-color: hsl(28 84% 60%); }
.dark .afe-resultado-on { background: hsl(28 84% 60% / .12); }
.dark .afe-marca-sujo { color: hsl(28 84% 64%); }
.dark .afe-bt-perigo { color: hsl(0 76% 66%); border-color: hsl(0 76% 66% / .35); }
.dark .afe-etiq-em_aberto { background: hsl(38 92% 55% / .18); color: hsl(38 92% 68%); }
.dark .afe-etiq-vinculado { background: hsl(152 60% 48% / .18); color: hsl(152 60% 64%); }
.dark .afe-toast { background: hsl(210 40% 96%); color: hsl(222 47% 11%); }
.dark .afe-toast-erro { background: hsl(0 72% 58%); color: hsl(0 0% 100%); }
.dark .afe-overlay, .dark .afe-modal-fundo { background: rgba(0, 0, 0, .66); }

.afe-oculto { display: none !important; }

/* marcador de pergunta essencial */
.afe-ess {
  display: inline-block;
  margin-right: 5px;
  font-size: 9px;
  line-height: 1;
  vertical-align: 1px;
  color: hsl(24 72% 48%);
}
.afe-rot-ess { color: var(--afe-txt); font-weight: 650; }
.dark .afe-ess { color: hsl(28 84% 62%); }
.afe-cartao-ess strong { color: hsl(24 72% 44%); }
.dark .afe-cartao-ess strong { color: hsl(28 84% 62%); }
