/* Canal de escuta "Queremos te ouvir" — Igreja Batista Amoreiras.
   Identidade visual extraída de amoreiras.org. CSS próprio, mobile-first,
   sem dependências e sem recursos externos (fonte e logotipo são locais).
   Tema único (claro), por decisão de marca. Contraste mínimo AA.

   Contrastes principais (WCAG):
   creme sobre azul 8,0:1 · azul sobre branco 9,3:1 · texto #333 sobre branco 12,6:1
   texto #333 sobre creme 10,9:1 · texto #333 sobre verde 5,8:1 · erro sobre branco 8,0:1
   O verde (#78C258) NÃO é usado como cor de texto: só borda, marca e fundo com texto escuro. */

@font-face {
  font-family: "Kaushan Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fontes/kaushan-script-latin-400-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --azul: #2e4774;
  --creme: #f4eee5;
  --verde: #78c258;
  --branco: #ffffff;
  --texto: #333333;
  --preto: #0b0b0b;
  --erro: #9b1c1c;           /* único tom funcional fora da marca (erros de validação) */
  --azul-rgb: 46 71 116;     /* o mesmo azul, para linhas e realces translúcidos */

  --fonte-texto: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-pincel: "Kaushan Script", "Brush Script MT", cursive;
  --fonte-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--azul);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.painel { background: var(--creme); }

a { color: var(--azul); text-underline-offset: 3px; }
a:hover { color: var(--preto); }

:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--creme);
  color: var(--azul);
  font-weight: 700;
  padding: .75rem 1rem;
  z-index: 10;
}
.pular:focus { left: 0; outline-color: var(--azul); }

/* ---------- Topo ---------- */
.topo { background: var(--azul); color: var(--creme); }
.topo-interno {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.25rem 1rem .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.marca { display: inline-flex; align-items: center; gap: .75rem; color: var(--creme); text-decoration: none; }
.marca:hover { color: var(--creme); }
.logo { display: block; width: min(170px, 60vw); height: auto; }
.marca-nome { font-size: 1.4rem; font-weight: 700; line-height: 1.2; text-align: center; }
.topo :focus-visible, .abertura :focus-visible { outline-color: var(--creme); }

/* ---------- Faixa de abertura (página pública) ---------- */
.abertura { max-width: 35rem; margin: 0 auto; padding: .5rem 1rem 1.5rem; text-align: center; color: var(--creme); }
.titulo-pincel {
  font-family: var(--fonte-pincel);
  font-weight: 400;
  font-size: clamp(2.1rem, 9.6vw, 3.5rem);
  text-wrap: balance;
  line-height: 1.15;
  margin: 0 0 .6rem;
  color: var(--creme);
}
.abertura .subtitulo { font-size: 1.15rem; font-weight: 600; margin: 0 0 .75rem; color: var(--creme); }
.abertura .intro { font-size: 1rem; margin: 0 auto; color: var(--creme); max-width: 30rem; }

/* ---------- Conteúdo e rodapé ---------- */
.conteudo { flex: 1; width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1rem 2rem; }
.conteudo:focus { outline: none; }
body.painel .conteudo { padding-top: 1rem; }

.rodape { background: var(--preto); color: var(--creme); padding: 1.75rem 1rem calc(2rem + env(safe-area-inset-bottom)); font-size: .95rem; text-align: center; }
.rodape p { margin: 0 0 .4rem; }
.rodape-nome { font-weight: 700; font-size: 1.05rem; }
.rodape a { color: var(--creme); text-underline-offset: 3px; }
.rodape a:hover { color: var(--verde); }
.rodape :focus-visible { outline-color: var(--creme); }
.rodape-contato { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }

/* ---------- Cartão ---------- */
.cartao {
  background: var(--branco);
  color: var(--texto);
  border-radius: 16px;
  padding: 1.25rem 1rem 1.5rem;
  max-width: 35rem;
  margin: 0 auto;
}
body.painel .cartao { border: 1px solid rgb(var(--azul-rgb) / .25); border-radius: 12px; max-width: 42rem; }
body.painel .cartao-estreito { max-width: 26rem; }
body.painel .cartao-largo { max-width: 56rem; }

h1 { font-size: 1.5rem; font-weight: 600; line-height: 1.25; margin: 0 0 .75rem; color: var(--azul); }
h2 { font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 .5rem; color: var(--azul); }
p { margin: 0 0 .9rem; }
.intro { font-size: 1.05rem; }
.dica { color: var(--texto); font-size: .92rem; margin: 0 0 .5rem; }
.obrigatorio { font-weight: 400; color: var(--texto); font-size: .9rem; }
.subtitulo { margin: 0 0 1rem; }

/* ---------- Avisos ---------- */
.aviso-escuta { background: var(--creme); border-left: 6px solid var(--verde); border-radius: 8px; padding: .85rem 1rem; margin: 0 0 1.25rem; color: var(--texto); }
.aviso-escuta p { margin: 0; }

.busca { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.busca input { flex: 1; min-width: 12rem; }

.mensagem-erro, .mensagem-ok { border-radius: 8px; padding: .65rem .9rem; margin: 0 0 1rem; }
.mensagem-erro { background: var(--creme); color: var(--erro); border: 2px solid var(--erro); }
.mensagem-erro p { margin: 0 0 .25rem; font-weight: 600; }
.mensagem-erro ul { margin: 0; padding-left: 1.2rem; }
.mensagem-erro a { color: var(--erro); }
.mensagem-ok { background: var(--creme); color: var(--texto); border: 2px solid var(--verde); }
#avisos-form:empty, [role="alert"]:empty { display: none; }
#avisos-form { margin: 0; }

/* ---------- Formulários ---------- */
.formulario { margin-top: 1rem; }
.grupo { margin: 0 0 1.5rem; padding: 0; border: 0; min-width: 0; }
fieldset.grupo legend { font-weight: 700; padding: 0; margin-bottom: .6rem; color: var(--azul); }
label { font-weight: 600; display: inline-block; margin-bottom: .25rem; }

/* Opções como cartões tocáveis: o cartão inteiro é o alvo do toque (o input
   transparente cobre o cartão). Selecionado = fundo verde + borda azul + marca. */
.opcoes-grade { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.opcao { position: relative; margin-bottom: .6rem; }
.opcoes-grade .opcao { margin: 0; }
.opcao input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.opcao label {
  position: relative;
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 3.75rem;
  padding: .7rem .8rem;
  background: var(--creme);
  border: 2px solid var(--creme);
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
/* círculo do "radio" */
.opcao label::before {
  content: "";
  flex: none;
  align-self: flex-start;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: .1rem;
  background: var(--branco);
  border: 2px solid var(--azul);
  border-radius: 50%;
}
.opcoes-grade .opcao label::before { align-self: center; margin-top: 0; }
.opcao-texto { flex: 1; min-width: 0; }
.opcao label .dica { display: block; margin: .15rem 0 0; font-weight: 400; }
.opcao input:checked + label { background: var(--verde); border-color: var(--azul); color: var(--texto); }
/* marca de seleção (✓) desenhada em CSS dentro do círculo */
.opcao input:checked + label::after {
  content: "";
  position: absolute;
  left: calc(.8rem + .7rem);
  top: 50%;
  width: .36rem;
  height: .7rem;
  border: solid var(--azul);
  border-width: 0 3px 3px 0;
  transform: translate(-50%, -62%) rotate(45deg);
}
.identificar .opcao input:checked + label::after { top: calc(.7rem + .1rem + .7rem); }
.opcao input:focus-visible + label { outline: 3px solid var(--azul); outline-offset: 3px; }

/* 7 itens: o último ocupa a linha inteira, sem buraco. */
.opcoes-grade .opcao:last-child { grid-column: 1 / -1; }

@media (max-width: 340px) {
  .opcoes-grade { grid-template-columns: 1fr; }
}

/* ---------- Anexo ---------- */
.rotulo-grupo { display: block; font-weight: 700; color: var(--azul); margin-bottom: .2rem; }
/* Sem JS: o campo nativo aparece (com botão grande). Com JS: botão próprio. */
.anexo-input { display: block; width: 100%; font: inherit; color: var(--texto); }
.anexo-input::file-selector-button {
  font: inherit; font-weight: 700; min-height: 46px; padding: .5rem 1.2rem; margin-right: .75rem;
  background: var(--branco); color: var(--azul); border: 2px solid var(--azul); border-radius: 29px; cursor: pointer;
}
.botao-anexo { display: none; width: 100%; min-height: 56px; font-size: 1.05rem; }
.js .anexo-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.js .botao-anexo { display: flex; }
.botao-anexo[hidden] { display: none; }
.js .botao-anexo.desativado, .botao-anexo:disabled { opacity: .5; cursor: not-allowed; }
.js .anexo-input:focus-visible + .botao-anexo { outline: 3px solid var(--azul); outline-offset: 3px; }
.anexo-escolhido { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: .6rem; padding: .7rem .8rem; background: var(--creme); border-radius: 12px; }
.anexo-escolhido[hidden], .erro[hidden] { display: none; }
.anexo-info { margin: 0; flex: 1 1 10rem; min-width: 0; }
.anexo-nome { font-weight: 600; overflow-wrap: anywhere; }
.anexo-tamanho { white-space: nowrap; }
.botao-remover { min-height: 44px; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--texto);
  background: var(--branco);
  border: 2px solid var(--azul);
  border-radius: 10px;
  padding: .7rem .8rem;
}
textarea { resize: vertical; min-height: 8rem; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--erro); }
.erro { color: var(--erro); font-weight: 600; margin: .4rem 0 0; font-size: .95rem; }
.contador { text-align: right; color: var(--texto); font-size: .9rem; margin: .25rem 0 0; }
.campo { margin-bottom: 1rem; }

/* Identificação: campos revelados apenas com a opção marcada (sem JS). */
.campos-identificacao { display: none; margin-top: .75rem; padding: .9rem; border: 2px dashed rgb(var(--azul-rgb) / .45); border-radius: 12px; }
.identificar:has(#ident-sim:checked) .campos-identificacao { display: block; }

/* Armadilha anti-robô: fora da tela, inalcançável por teclado. */
.armadilha { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Botões (pílula) ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  background: var(--azul);
  color: var(--creme);
  border: 2px solid var(--azul);
  border-radius: 29px;
  padding: .6rem 1.4rem;
  min-height: 46px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.botao:hover { background: var(--preto); border-color: var(--preto); color: var(--creme); }
.botao-grande { width: 100%; font-size: 1.1rem; min-height: 56px; padding: .8rem 1.4rem; }
.botao-discreto { background: var(--branco); color: var(--azul); }
.botao-discreto:hover { background: var(--creme); color: var(--azul); border-color: var(--azul); }
.botao-atual { background: var(--preto); border-color: var(--preto); }
.topo .botao-discreto { background: transparent; color: var(--creme); border-color: var(--creme); }
.topo .botao-discreto:hover { background: var(--creme); color: var(--azul); }

/* ---------- Tela "Enviado" ---------- */
.confirmacao { text-align: center; }
.marca-ok {
  display: block;
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
  margin: .25rem auto 1rem;
  background: var(--verde);
  border-radius: 50%;
}
.marca-ok::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: .9rem;
  width: .95rem;
  height: 1.8rem;
  border: solid var(--texto);
  border-width: 0 5px 5px 0;
  transform: rotate(45deg);
}
.confirmacao h1 { font-size: 1.75rem; }
.protocolo-caixa { background: var(--creme); border: 2px solid var(--verde); border-radius: 12px; padding: 1rem; margin: 1rem 0; text-align: center; }
.protocolo-rotulo { display: block; font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.protocolo {
  display: block;
  font-family: var(--fonte-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: .1em;
  color: var(--azul);
  user-select: all;
  overflow-wrap: anywhere;
}
.confirmacao .aviso-escuta { text-align: left; }
.confirmacao .botao { width: 100%; }

/* ---------- Privacidade (recolhida) ---------- */
.privacidade { margin-top: 1.5rem; padding-top: .5rem; border-top: 2px solid var(--creme); font-size: .95rem; }
.privacidade summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; color: var(--azul); cursor: pointer; }
.privacidade ul { padding-left: 1.2rem; margin: .25rem 0 0; }
.privacidade li { margin-bottom: .5rem; }

/* ---------- Painel (sóbrio e denso) ---------- */
body.painel .topo-interno { justify-content: space-between; padding: .6rem 1rem; }
body.painel .logo { width: auto; height: 38px; }
.marca-painel { font-weight: 600; font-size: 1rem; }
.sair { display: flex; align-items: center; gap: .75rem; margin: 0; }
.sair-nome { font-size: .95rem; }

body.painel h1 { font-size: 1.4rem; }
body.painel .botao { min-height: 42px; padding: .4rem 1.1rem; }

.contadores { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 0; margin: 1rem 0; }
.contador-item { display: block; text-align: center; border: 2px solid var(--creme); border-radius: 10px; padding: .6rem .25rem; text-decoration: none; color: var(--texto); background: var(--creme); }
.contador-item:hover { color: var(--texto); border-color: rgb(var(--azul-rgb) / .45); }
.contador-item.ativo { border-color: var(--azul); background: var(--branco); }
.contador-num { display: block; font-size: 1.6rem; font-weight: 700; color: var(--azul); line-height: 1.2; }
.contador-rotulo { font-size: .9rem; }

.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filtro { border: 2px solid var(--azul); border-radius: 999px; padding: .25rem .9rem; text-decoration: none; background: var(--branco); color: var(--azul); min-height: 40px; display: inline-flex; align-items: center; font-weight: 600; }
.filtro:hover { background: var(--creme); color: var(--azul); }
.filtro.ativo { background: var(--azul); color: var(--creme); }

.lista-envios { list-style: none; margin: 0; padding: 0; }
.lista-envios li { border-top: 1px solid rgb(var(--azul-rgb) / .25); }
.envio-item { display: block; padding: .7rem .25rem; text-decoration: none; color: var(--texto); }
.envio-item:hover { background: var(--creme); color: var(--texto); }
.envio-topo { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .25rem; }
.envio-data { margin-left: auto; font-size: .9rem; }
.envio-previa { display: block; overflow-wrap: anywhere; }

.etiqueta { display: inline-block; font-size: .85rem; font-weight: 600; padding: .05rem .6rem; border-radius: 999px; background: var(--creme); color: var(--texto); border: 1px solid rgb(var(--azul-rgb) / .35); }
.tipo-problema { background: var(--branco); color: var(--erro); border-color: var(--erro); }
.tipo-sugestao { background: var(--branco); color: var(--azul); border-color: var(--azul); }
.tipo-bencao { background: var(--verde); color: var(--texto); border-color: var(--verde); }
.tipo-outro { background: var(--creme); color: var(--texto); }
.status-novo { background: var(--verde); color: var(--texto); border-color: var(--verde); }
.status-lido { background: var(--creme); color: var(--texto); }
.status-tratado { background: var(--azul); color: var(--creme); border-color: var(--azul); }

.vazio { padding: 1rem 0; }
.paginacao { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }

.meta { display: grid; gap: .5rem; margin: 1rem 0; }
.meta div { display: flex; gap: .75rem; flex-wrap: wrap; }
.meta dt { font-weight: 700; min-width: 7rem; }
.meta dd { margin: 0; overflow-wrap: anywhere; }
.mensagem-texto { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--creme); border-radius: 8px; padding: .9rem; }
.acoes-status { display: flex; flex-wrap: wrap; gap: .5rem; }

@media (min-width: 40rem) {
  .conteudo { padding: 0 1.5rem 2.5rem; }
  body.painel .conteudo { padding-top: 1.5rem; }
  .cartao { padding: 1.75rem 2rem 2rem; }
  .botao-grande, .confirmacao .botao { width: 100%; }
  .abertura { padding-bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.mono { font-family: var(--fonte-mono); font-size: .9rem; }
.so-leitor { position: absolute; left: -9999px; }

/* ---------- Menu do painel ---------- */
.menu ul { max-width: 64rem; margin: 0 auto; padding: 0 1rem .75rem; list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: center; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem; color: var(--creme); text-decoration: none; border-bottom: 3px solid transparent; font-weight: 600; }
.menu a:hover { border-bottom-color: var(--creme); color: var(--creme); }
.menu a[aria-current="page"] { border-bottom-color: var(--verde); }
.menu .sair { margin: 0; }
.menu .sair .botao { min-height: 44px; }
body.painel .topo-interno { flex-wrap: wrap; }

/* ---------- Etiquetas de nível e sentimento ---------- */
.nivel-alto { background: var(--erro); color: var(--branco); border-color: var(--erro); }
.nivel-medio { background: var(--branco); color: var(--erro); border-color: var(--erro); }
.nivel-baixo { background: var(--creme); color: var(--texto); border-color: var(--azul); }
.sentimento-positivo { background: var(--verde); color: var(--texto); border-color: var(--verde); }
.sentimento-neutro { background: var(--creme); color: var(--texto); }
.sentimento-negativo { background: var(--branco); color: var(--erro); border-color: var(--erro); }
.marca { color: var(--texto); border-radius: 3px; padding: 0 .1em; }
.marca-alto { background: #f3c4c4; }
.marca-medio { background: #f7dfb0; }
.marca-baixo { background: #dfe6f2; }
.filtros-rotulo { font-weight: 600; align-self: center; }
.dica-inline { font-size: .9rem; font-weight: 400; }

/* ---------- Listas em cartões (usuários, palavras, tokens) ---------- */
.cartoes-lista { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .75rem; }
.item-cartao { border: 1px solid rgb(var(--azul-rgb) / .3); border-radius: 10px; padding: .8rem 1rem; background: var(--branco); }
.item-cabeca { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.item-sub { margin: .2rem 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.editar summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--azul); font-weight: 600; }
.editar .formulario { margin: .5rem 0; }
.marcar { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 400; }
.marcar input { width: 22px; height: 22px; accent-color: var(--azul); }
.linha-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.linha-form .campo { margin: 0; flex: 1 1 12rem; }
select { min-height: 46px; }
.token-url { overflow-wrap: anywhere; background: var(--branco); padding: .6rem; border-radius: 8px; user-select: all; }

/* ---------- Análises ---------- */
.figura { margin: .5rem 0; }
.grafico { width: 100%; height: auto; display: block; }
.grafico .grade { stroke: rgb(var(--azul-rgb) / .2); stroke-width: 1; }
.grafico .rotulo { fill: var(--texto); font-size: 11px; font-family: var(--fonte-texto); }
.grafico .barra { fill: var(--azul); }
.grafico .celula { fill: var(--azul); }
.tabela-alt summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--azul); font-weight: 600; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid rgb(var(--azul-rgb) / .2); vertical-align: top; overflow-wrap: anywhere; }
.distribuicao th { width: 9rem; font-weight: 600; }
.distribuicao td:last-child { width: 3rem; text-align: right; }
progress { width: 100%; height: 14px; accent-color: var(--azul); }
.termos { columns: 2 12rem; padding-left: 1.5rem; }
.tabela-rolagem { overflow-x: auto; }
.contadores-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40rem) { .contadores-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Anexos múltiplos e gravador ---------- */
.anexo-acoes { display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 34rem) { .anexo-acoes { grid-template-columns: repeat(3, 1fr); } }
.anexo-lista { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.anexo-lista[hidden] { display: none; }
.anexo-item { display: flex; flex-direction: column; gap: .5rem; padding: .7rem .8rem; background: var(--creme); border-radius: 12px; }
.anexo-item .anexo-info { flex: none; }
.anexo-player { width: 100%; max-height: 16rem; border-radius: 8px; background: var(--preto); }
audio.anexo-player { background: transparent; max-height: none; }
.anexo-item .botao-remover { align-self: flex-start; }
.gravador { margin-top: .75rem; padding: .8rem; border: 2px solid var(--azul); border-radius: 12px; background: var(--branco); }
.gravador[hidden], .gravador-video[hidden] { display: none; }
.gravador-video { width: 100%; max-height: 14rem; border-radius: 8px; background: var(--preto); margin-bottom: .5rem; transform: scaleX(-1); }
.gravador-estado { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-weight: 600; }
.gravador-ponto { width: 14px; height: 14px; border-radius: 50%; background: var(--erro); animation: pulsar 1.2s ease-in-out infinite; }
.gravador-ponto.pausado { background: var(--texto); animation: none; }
@keyframes pulsar { 50% { opacity: .35; } }
.gravador-botoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.gravador-botoes .botao { min-height: 48px; padding: .4rem .5rem; }
@media (max-width: 22rem) { .gravador-botoes { grid-template-columns: 1fr; } }
.envio-estado { margin: .5rem 0 0; text-align: center; font-weight: 600; }
.envio-estado[hidden] { display: none; }
.anexos-painel video, .anexos-painel audio { width: 100%; max-height: 18rem; margin: .4rem 0; }
