/* Painel de leads do Mateus. Usa os tokens de base.css (areia, verde, latão) e as fontes de fontes.css.
   Cada token tem valor de reserva, para o painel não quebrar se o nome mudar no site. */

body.painel {
  --p-areia: var(--areia, #EFE8DC);
  --p-areia-2: var(--areia-2, #E6DDCD);
  --p-cartao: var(--cartao, #FAF7F1);
  --p-verde: var(--verde, #0F2E27);
  --p-verde-2: var(--verde-2, #17392F);
  --p-verde-3: var(--verde-3, #24503F);
  --p-musgo: var(--musgo, #3D6B57);
  --p-texto: var(--texto, #253A33);
  --p-apagado: var(--apagado, #55665E);
  --p-creme: var(--creme-esc, #EDE6D6);
  --p-apoio-esc: var(--apoio-esc, #B4C2B6);
  --p-latao: var(--latao, #B8873B);
  --p-latao-esc: var(--latao-esc, #8F6626);
  --p-nevoa: var(--latao-nevoa, #F1E4CA);
  --p-linha: rgba(15, 46, 39, .14);
  --p-linha-suave: rgba(15, 46, 39, .09);
  --p-ease: var(--ease, cubic-bezier(.2, .7, .2, 1));
  --p-titulo: var(--f-titulo, 'Cabinet Grotesk', 'Segoe UI', system-ui, sans-serif);
  --p-fonte: var(--f-texto, 'Fustat', 'Segoe UI', system-ui, sans-serif);

  margin: 0;
  font-family: var(--p-fonte);
  font-size: 17px;
  line-height: 1.5;
  color: var(--p-texto);
  background: var(--p-areia);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.painel.gaveta-aberta { overflow: hidden; }

.painel *, .painel *::before, .painel *::after { box-sizing: border-box; }
:where(.painel) h1, :where(.painel) h2, :where(.painel) h3, :where(.painel) p, :where(.painel) ul, :where(.painel) dl, :where(.painel) dd { margin: 0; }
:where(.painel) ul { padding: 0; list-style: none; }
:where(.painel) button, :where(.painel) input, :where(.painel) select, :where(.painel) textarea { font: inherit; color: inherit; }
:where(.painel) button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(.painel) a { color: inherit; }
.painel :focus-visible { outline: 2px solid var(--p-latao-esc); outline-offset: 2px; }
.painel .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.painel i { font-style: normal; }

/* Botão principal (verde, texto creme) */
.painel .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; border: 1px solid transparent;
  transition: background-color .25s var(--p-ease), border-color .25s var(--p-ease);
}
.painel .btn-primario { background: var(--p-verde); color: var(--p-creme); }
.painel .btn-primario:hover { background: var(--p-verde-3); }
.painel .icone-zap { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- Faixa da prévia ---------- */
.previa { background: var(--p-verde); color: var(--p-creme); }
.previa-in {
  max-width: 1200px; margin: 0 auto; padding: 8px clamp(16px, 3vw, 32px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; min-height: 44px;
}
.previa-txt { font-size: 15px; line-height: 1.35; }
.previa-acao { display: flex; align-items: center; }
.previa-limpar, .previa-sim, .previa-nao {
  min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid rgba(237, 230, 214, .3); color: var(--p-creme);
  transition: border-color .2s var(--p-ease), background-color .2s var(--p-ease);
}
.previa-limpar:hover, .previa-nao:hover { border-color: rgba(237, 230, 214, .65); }
.previa-sim { background: var(--p-latao); border-color: var(--p-latao); color: var(--p-verde); }
.previa-sim:hover { background: #C99A4D; border-color: #C99A4D; }
.previa-conf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; }
.previa-conf[hidden] { display: none; }

/* ---------- Topo ---------- */
.topo { border-bottom: 1px solid var(--p-linha); }
.topo-in {
  max-width: 1200px; margin: 0 auto; padding: 16px clamp(16px, 3vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
}
.marca { display: flex; align-items: center; gap: 12px; min-width: 0; }
.marca-colchete {
  flex: none; width: 9px; height: 24px; border: 2px solid var(--p-latao); border-right: 0; border-radius: 2px 0 0 2px; margin-right: -4px;
}
.marca-nome { font-family: var(--p-titulo); font-weight: 800; font-size: 21px; letter-spacing: -.03em; line-height: 1.1; color: var(--p-verde); }
.marca-painel {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--p-verde); color: var(--p-creme); font-size: 14px; font-weight: 600;
}
.topo-links { display: flex; align-items: center; gap: 8px 20px; }
.link-site {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 16px;
  text-decoration: underline; text-decoration-color: rgba(15, 46, 39, .3); text-underline-offset: 4px;
}
.link-site:hover { text-decoration-color: var(--p-verde); }
.btn-copiar {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid rgba(15, 46, 39, .25); font-weight: 600; font-size: 16px; background: var(--p-cartao);
  transition: border-color .2s var(--p-ease), background-color .2s var(--p-ease);
}
.btn-copiar:hover { border-color: var(--p-verde); }
.btn-copiar.ok { background: var(--p-verde); border-color: var(--p-verde); color: var(--p-creme); }

/* ---------- Miolo ---------- */
.miolo { max-width: 1200px; margin: 0 auto; padding: 32px clamp(16px, 3vw, 32px) 80px; }

.saudacao h1 {
  font-family: var(--p-titulo); font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  font-size: clamp(32px, 4.8vw, 50px); color: var(--p-verde);
}
.resumo { margin-top: 10px; font-size: 18px; max-width: 46em; color: var(--p-apagado); }
.resumo strong { color: var(--p-verde); font-weight: 700; }

/* ---------- Indicadores ---------- */
.indicadores { margin-top: 36px; }
.ind-tit { font-family: var(--p-titulo); font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; color: var(--p-verde); }
.ind { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; margin: 16px 0 0; }
.ind-i { display: flex; flex-direction: column; min-width: 0; padding-top: 14px; border-top: 1.5px solid var(--p-linha); }
.ind-i dt { order: 2; margin-top: 10px; font-size: 17px; font-weight: 600; line-height: 1.25; }
.ind-n {
  order: 1; font-family: var(--p-titulo); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  font-size: clamp(40px, 6vw, 68px); font-variant-numeric: tabular-nums; color: var(--p-verde);
}
.ind-destaque { border-top-color: var(--p-latao); }
.ind-destaque .ind-n { color: var(--p-latao-esc); }
.ind-sub { order: 3; margin: 4px 0 0; font-size: 15px; color: var(--p-apagado); line-height: 1.35; }

/* ---------- Abas ---------- */
.abas-wrap {
  margin-top: 40px; border-bottom: 1px solid var(--p-linha);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.abas-wrap::-webkit-scrollbar { display: none; }
.abas { display: flex; gap: 32px; min-width: max-content; padding: 0 2px; }
.aba {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 2px;
  font-size: 18px; font-weight: 600; color: var(--p-apagado); white-space: nowrap;
  transition: color .2s var(--p-ease);
}
.aba::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--p-latao); transform: scaleX(0); transition: transform .35s var(--p-ease);
}
.aba:hover, .aba[aria-selected="true"] { color: var(--p-verde); }
.aba[aria-selected="true"]::after { transform: scaleX(1); }
.aba-n {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px;
  background: var(--p-latao); color: var(--p-verde); font-size: 14px; font-weight: 700;
}
.aba-n.zero { background: rgba(15, 46, 39, .09); color: var(--p-apagado); }

.aba-painel { margin-top: 24px; outline: none; }

/* ---------- Barra de filtros ---------- */
.barra { display: grid; gap: 12px; margin-bottom: 16px; }
.barra-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.busca { position: relative; flex: 1 1 auto; max-width: 360px; display: block; }
.busca svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--p-apagado); pointer-events: none; }
.busca input {
  width: 100%; height: 46px; padding: 0 14px 0 44px; border-radius: 12px; border: 1px solid var(--p-linha);
  background: var(--p-cartao); font-size: 16px; -webkit-appearance: none; appearance: none;
}
.busca input::placeholder { color: #5E6F67; }
.busca input:hover { border-color: rgba(15, 46, 39, .38); }
.total { font-size: 15px; color: var(--p-apagado); white-space: nowrap; }

.fila { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fila-rot { flex: none; width: 58px; font-size: 15px; font-weight: 600; color: var(--p-apagado); }
.chips {
  display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none;
  padding: 4px; margin: -4px 0 -4px -4px; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--p-linha); background: var(--p-cartao); font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color .2s var(--p-ease), border-color .2s var(--p-ease), color .2s var(--p-ease);
}
.chip:hover { border-color: rgba(15, 46, 39, .42); }
.chip .n { font-weight: 500; color: var(--p-apagado); }
.chip[aria-pressed="true"] { background: var(--p-verde); border-color: var(--p-verde); color: var(--p-creme); }
.chip[aria-pressed="true"] .n { color: var(--p-apoio-esc); }
.chip.vazio { opacity: .55; }

/* ---------- Lista ---------- */
.lista {
  background: var(--p-cartao); border: 1px solid var(--p-linha); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 46, 39, .05), 0 10px 30px rgba(60, 44, 20, .06);
  --cols: minmax(0, 1.55fr) minmax(0, 1.5fr) 150px 112px 150px 84px;
}
.lista-cab, .linha {
  display: grid; grid-template-columns: var(--cols); column-gap: 16px; align-items: center; padding: 0 20px;
}
.lista-cab {
  min-height: 46px; font-size: 14px; font-weight: 600; color: var(--p-apagado);
  background: var(--p-areia-2); border-bottom: 1px solid var(--p-linha);
}
.lista-cab > :last-child { text-align: right; }
.lista ul { margin: 0; }
.lista li + li .linha { border-top: 1px solid var(--p-linha-suave); }

.linha {
  width: 100%; min-height: 68px; padding-top: 10px; padding-bottom: 10px; text-align: left;
  transition: background-color .15s var(--p-ease);
}
.linha:hover { background: rgba(230, 221, 205, .45); }
.linha[aria-current="true"] { background: var(--p-nevoa); box-shadow: inset 3px 0 0 var(--p-latao); }
.linha:focus-visible { outline-offset: -3px; }

.c-nome { grid-column: 1; grid-row: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.c-meio { grid-column: 2; grid-row: 1; min-width: 0; }
.meta { display: contents; }
.c-origem { grid-column: 3; grid-row: 1; min-width: 0; }
.c-resp { grid-column: 4; grid-row: 1; font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-status { grid-column: 5; grid-row: 1; }
.c-quando { grid-column: 6; grid-row: 1; text-align: right; font-size: 15px; color: var(--p-apagado); white-space: nowrap; }

.nome { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nome b { font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--p-verde); }
.fone { font-size: 15px; color: var(--p-apagado); }
.tag-real {
  flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  background: var(--p-verde); color: var(--p-creme); font-size: 14px; font-weight: 600;
}

.meio-l1 { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meio-l1.apagado { color: var(--p-apagado); }
.meio-l1 .val { font-family: var(--p-titulo); font-weight: 800; letter-spacing: -.02em; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--p-verde); }
.meio-l2 { display: block; font-size: 15px; color: var(--p-apagado); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-med {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-left: 8px; border-radius: 6px;
  background: var(--p-nevoa); color: var(--p-latao-esc); font-size: 14px; font-weight: 600; vertical-align: 1px;
}

/* mini barra de destinos */
.bd { display: flex; gap: 2px; height: 8px; margin-top: 7px; max-width: 220px; }
.bd i { display: block; min-width: 3px; border-radius: 2px; }
.bd-grossa { height: 14px; max-width: none; margin-top: 0; gap: 3px; }
.bd-grossa i { border-radius: 4px; }

.tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; max-width: 100%;
  background: rgba(15, 46, 39, .07); font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.st-novo { background: var(--p-nevoa); color: #6E4C12; }
.st-andamento { background: rgba(15, 46, 39, .09); color: var(--p-verde); }
.st-ganho { background: rgba(61, 107, 87, .2); color: #1B4332; }
.st-perdido { background: rgba(15, 46, 39, .06); color: #55665E; }

.vazio-lista { padding: 40px 20px; text-align: center; }
.vazio-lista p { font-size: 17px; color: var(--p-apagado); }
.vazio-lista button {
  margin-top: 14px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(15, 46, 39, .25); font-weight: 600; font-size: 16px;
}
.vazio-lista button:hover { border-color: var(--p-verde); }

/* ---------- Gaveta ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(15, 46, 39, .42); opacity: 0; transition: opacity .35s var(--p-ease);
}
.scrim[hidden] { display: none; }
.scrim.on { opacity: 1; }
.gaveta {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(540px, 100vw); background: var(--p-cartao);
  display: flex; flex-direction: column; box-shadow: -24px 0 60px rgba(15, 46, 39, .2);
  transform: translateX(104%); transition: transform .45s var(--p-ease);
}
.gaveta[hidden] { display: none; }
.gaveta.on { transform: none; }
.gv-corpo { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.gv-topo {
  flex: none; display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  padding: 0 12px 0 20px; border-bottom: 1px solid var(--p-linha);
}
.gv-topo-t { font-size: 16px; font-weight: 600; color: var(--p-apagado); }
.gv-voltar {
  display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px 0 4px; margin-left: -8px;
  font-size: 17px; font-weight: 600;
}
.gv-fechar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.gv-fechar:hover { background: rgba(15, 46, 39, .08); }
.gv-rolagem { flex: 1 1 auto; overflow-y: auto; padding: 24px 20px 28px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.gv-cab h2:focus { outline: none; }
.gv-cab h2 {
  font-family: var(--p-titulo); font-weight: 800; font-size: 30px; line-height: 1.08; letter-spacing: -.03em;
  overflow-wrap: anywhere; color: var(--p-verde);
}
.gv-cab .gv-sub { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.gv-sec { margin-top: 28px; }
.gv-sec h3 { font-family: var(--p-titulo); font-weight: 700; font-size: 18px; letter-spacing: -.02em; line-height: 1.2; color: var(--p-verde); }
.gv-sec-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gv-placar { font-family: var(--p-titulo); font-weight: 800; font-size: 26px; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.gv-placar b { color: var(--p-latao-esc); font-weight: 800; }
.gv-placar i { margin-left: 6px; font-family: var(--p-fonte); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--p-apagado); }
.gv-barra { margin-top: 16px; }

.fatos { margin: 16px 0 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px 16px; font-size: 17px; }
.fatos dt { color: var(--p-apagado); font-size: 16px; }
.fatos dd { margin: 0; overflow-wrap: anywhere; }

.dest { margin: 14px 0 0; }
.dest li {
  display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0;
  border-top: 1px solid var(--p-linha-suave);
}
.dest li:first-child { border-top: 0; }
.dest .sw { width: 14px; height: 14px; border-radius: 4px; }
.dest .dn { font-size: 17px; line-height: 1.25; min-width: 0; }
.dest .dn i { margin-left: 8px; font-weight: 700; color: var(--p-apagado); }
.dest .dv { font-size: 15px; text-align: right; line-height: 1.3; color: var(--p-apagado); }
.dest .dv b { font-size: 17px; color: var(--p-verde); font-weight: 700; }
.dest .dv i { display: block; font-size: 14px; }
.nota-sem { margin-top: 10px; font-size: 14px; color: var(--p-apagado); }

.campos { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo label { font-size: 15px; font-weight: 600; }
.campo select {
  height: 50px; padding: 0 40px 0 14px; border-radius: 12px; border: 1px solid rgba(15, 46, 39, .28);
  background: var(--p-cartao) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230F2E27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 17px; -webkit-appearance: none; appearance: none; width: 100%; text-overflow: ellipsis;
}
.campo select:hover { border-color: var(--p-verde); }
.campo-largo { grid-column: 1 / -1; }
.campo textarea {
  min-height: 124px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(15, 46, 39, .28); background: var(--p-cartao);
  font-size: 17px; line-height: 1.45; resize: vertical; width: 100%;
}
.campo textarea:hover { border-color: var(--p-verde); }
.ajuda { font-size: 15px; color: var(--p-apagado); }

.msg { margin-top: 28px; }
.msg-rot { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.balao {
  padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--p-areia); font-size: 16px; line-height: 1.5;
  border: 1px solid var(--p-linha-suave); overflow-wrap: anywhere;
}
.gv-rodape {
  flex: none; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--p-linha); background: var(--p-cartao);
}
.gv-rodape .btn { width: 100%; }

/* ---------- Visão geral ---------- */
.geral { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.geral-col { display: grid; gap: 20px; min-width: 0; }
.bloco {
  background: var(--p-cartao); border: 1px solid var(--p-linha); border-radius: 18px; padding: 26px 26px 28px;
  box-shadow: 0 1px 2px rgba(15, 46, 39, .05), 0 10px 30px rgba(60, 44, 20, .05);
}
.bloco-esc { background: var(--p-verde); color: var(--p-creme); border-color: var(--p-verde); box-shadow: none; }
.bloco h2 { font-family: var(--p-titulo); font-weight: 700; font-size: 23px; line-height: 1.12; letter-spacing: -.025em; color: var(--p-verde); }
.bloco-esc h2 { color: var(--p-creme); }
.bloco .leg { margin-top: 6px; font-size: 16px; color: var(--p-apagado); line-height: 1.4; }
.bloco .leg-baixo { margin-top: 18px; }
.bloco-esc .leg { color: var(--p-apoio-esc); }

.bl { margin-top: 16px; }
.bl-topo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; font-size: 16px; }
.bl-nome { font-weight: 500; min-width: 0; }
.bl-nome .ex { color: var(--p-apagado); font-weight: 400; }
.bl-valor { flex: none; font-weight: 700; text-align: right; }
.bl-valor i { font-weight: 500; color: var(--p-apagado); margin-left: 10px; }
.bl-trilho { height: 12px; margin-top: 7px; border-radius: 6px; background: rgba(15, 46, 39, .08); overflow: hidden; }
.bl-trilho span { display: block; height: 100%; min-width: 4px; border-radius: 6px; background: var(--p-verde-3); transition: width .8s var(--p-ease); }
.bl.destaque .bl-trilho span { background: var(--p-latao); }
.bl.destaque .bl-valor { color: var(--p-latao-esc); }
.bloco-esc .bl-valor i { color: var(--p-apoio-esc); }
.bloco-esc .bl-trilho { background: rgba(237, 230, 214, .12); }
.bloco-esc .bl-trilho span { background: rgba(180, 194, 182, .55); }
.bloco-esc .bl.destaque .bl-trilho span { background: var(--p-latao); }
.bloco-esc .bl.destaque .bl-valor { color: #E3B567; }

.pauta { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(237, 230, 214, .16); font-size: 19px; line-height: 1.4; }
.pauta strong { color: #E3B567; font-weight: 700; }
.nota-base { margin-top: 10px; font-size: 15px; color: var(--p-apoio-esc); }
.sem-dado { margin-top: 16px; font-size: 16px; color: var(--p-apagado); }

/* ---------- Aviso ---------- */
.aviso-vivo {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70; transform: translate(-50%, 16px);
  background: var(--p-verde); color: var(--p-creme); padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--p-ease), transform .3s var(--p-ease); white-space: nowrap; max-width: calc(100vw - 32px);
}
.aviso-vivo.on { opacity: 1; transform: translate(-50%, 0); }
.sem-js { padding: 20px; }

/* ---------- Telas médias ---------- */
@media (max-width: 1080px) {
  .lista { --cols: minmax(0, 1.45fr) minmax(0, 1.35fr) 124px 100px 146px 80px; }
  .geral { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Celular ---------- */
@media (max-width: 800px) {
  .previa-in { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .topo-in { padding-top: 14px; padding-bottom: 14px; gap: 6px 16px; }
  .topo-links { width: 100%; justify-content: space-between; }
  .miolo { padding-top: 24px; padding-bottom: 64px; }
  .resumo { font-size: 17px; }
  .indicadores { margin-top: 28px; }
  .ind { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .ind-n { font-size: clamp(44px, 14vw, 58px); }
  .ind-i dt { font-size: 16px; }
  .abas-wrap { margin-top: 32px; margin-left: calc(-1 * clamp(16px, 3vw, 32px)); margin-right: calc(-1 * clamp(16px, 3vw, 32px)); padding: 0 clamp(16px, 3vw, 32px); }
  .abas { gap: 26px; }
  .aba { min-height: 54px; }

  .barra-topo { gap: 12px; }
  .busca { max-width: none; }
  .total { display: none; }
  .fila { margin-right: calc(-1 * clamp(16px, 3vw, 32px)); }
  .fila-rot { width: 54px; }
  .chip { height: 44px; padding: 0 16px; }
  .chips { padding-right: 16px; }

  .lista { border-radius: 14px; }
  .lista-cab { display: none; }
  .linha {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "nome status" "meio meio" "meta meta";
    gap: 8px 12px; align-items: start; padding: 14px 16px; min-height: 0;
  }
  .c-nome { grid-area: nome; }
  .c-status { grid-area: status; justify-self: end; }
  .c-meio { grid-area: meio; }
  .meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 15px; }
  .c-origem, .c-resp, .c-quando { grid-column: auto; grid-row: auto; }
  .c-resp { font-size: 15px; color: var(--p-apagado); max-width: 100%; }
  .c-resp::before { content: 'Com '; }
  .c-quando { margin-left: auto; }
  .meio-l1, .meio-l2 { white-space: normal; }
  .c-meio:empty { display: none; }
  .bd { max-width: none; }

  .gaveta { width: 100vw; box-shadow: none; }
  .gv-voltar { display: inline-flex; }
  .gv-fechar { display: none; }
  .gv-topo { padding-left: 16px; justify-content: flex-start; }
  .gv-topo-t { display: none; }
  .gv-rolagem { padding: 20px 16px 24px; }
  .gv-rodape { padding-left: 16px; padding-right: 16px; }
  .gv-cab h2 { font-size: 28px; }
  .fatos { grid-template-columns: 96px minmax(0, 1fr); }
  .bloco { padding: 20px 18px 22px; border-radius: 16px; }
  .bloco h2 { font-size: 22px; }
  .pauta { font-size: 18px; }
  .aviso-vivo { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .campos { grid-template-columns: minmax(0, 1fr); }
  .marca-nome { font-size: 20px; }
  .btn-copiar { padding: 0 14px; }
  .dest li { grid-template-columns: 14px minmax(0, 1fr); }
  .dest .dv { grid-column: 2; text-align: left; }
  .dest .dv i { display: inline; margin-left: 8px; }
  .bl-valor i { margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .gaveta, .scrim, .aviso-vivo, .bl-trilho span, .aba::after { transition: none !important; }
}
