/* GERADO por deploy/gerar-tema-escuro.py a partir do style.css (não editar à mão; ajustes em deploy/tema-escuro-base.css). */
/* ---- convertido automaticamente ---- */
html.escuro nav.menu a:hover { background: #262626; }
html.escuro nav.menu a.ativo { color: #dbdbdb; background: var(--surface); }
html.escuro .pn-kpi.verde { background: #1f2421; border-color: #3d4742; }
html.escuro .pn-kpi.verde b, html.escuro .pn-kpi.verde span { color: #a0eed8; }
html.escuro .pn-barra { background: var(--surface-2, #252525); }
html.escuro .pn-rank tr.top td { background: #23221f; }
html.escuro .k-card.quente { border-color: #4e4843; }
html.escuro .btn.quente-on { border-color: #4e4843; color: #f49e7b; }
html.escuro .k-sr.alerta { color: #ee8981; border-color: #453c3c; background: #231e1e; }
html.escuro .k-sr.hoje { color: #eccd93; border-color: #4c4941; background: #252320; }
html.escuro .acomp-sem_resposta > header { background: #22201e; }
html.escuro .ia-embreve { background: #201f24; color: #ad86ea; }
@media print {
html.escuro .imp-logo { background: #262626; }
html.escuro .imp-cab p { color: #c0c0c0; }
html.escuro .imp-msg { border: 1px solid #424242; }
html.escuro .imp-msg.eu { background: #232323; }
html.escuro .imp-msg.nota { background: #272622; }
}
html.escuro .tag.tipo-erro { background: #241f1f; color: #ee8981; }
html.escuro .tag.tipo-melhoria { background: #202225; color: #82a7ed; }
html.escuro .tag.tipo-ideia { background: #211f24; color: #ad86ea; }
html.escuro .av-btn.av-nem_tanto.ativo { color: #f3e6b9; }
html.escuro .modelo-ico.perigo:hover { background: #262121; color: #ec8383; }
html.escuro .btn.ligado { color: #90ebb2; }
html.escuro .ia-embreve.ligada { background: #232825; color: #9ce9b9; }
html.escuro .ia-teste { border: 1px dashed #3c3a43; background: #1e1d21; }
html.escuro .ia-est.ativa { background: #201f24; color: #ad86e9; }
html.escuro .ia-est.transferida { background: #232825; color: #9ce9b9; }
html.escuro .ia-est.sem_resposta { background: #2d2c27; color: #f3a97d; }
html.escuro .tag.tag-zoe { background: #201f24; color: #ad86e9; }
html.escuro .fn-etapa-barra { background: var(--surface-2, #212122); }
html.escuro .fn-erros tr.grave td { background: #221d1d; }
html.escuro .ia-est.br-ativa { background: #201f24; color: #ad86e9; }
html.escuro .ia-est.br-analise { background: #212527; color: #93cdec; }
html.escuro .ia-est.br-humano { background: #232825; color: #9ce9b9; }
html.escuro .ia-est.br-sem_resposta, html.escuro .ia-est.br-nao_elegivel { background: #2d2c27; color: #f3a97d; }
html.escuro .in-segredo code { background: var(--surface-2, #212122); }
@media (max-width: 760px) {
html.escuro table[data-rotulada] tr { background: var(--surface, var(--surface)); }
}
html.escuro .cadeado-bloq { color: #ed8a83; }
html.escuro .vis { background: #262626; }
html.escuro .vis-topo { background: #262626; }
html.escuro .vis-img { background: var(--surface); }
html.escuro .vis-frame { background: var(--surface); }
html.escuro .tag.ia-analisando { background: #201f24; color: #ad86e9; }
html.escuro .tag.ia-ok { background: #232825; color: #9ce9b9; }
html.escuro .tag.ia-bad { background: #262121; color: #ea8686; }
html.escuro .tag.ia-pend { background: #2d2c27; color: #f3a97d; }
html.escuro .ia-titulo { color: #ad86ea; }
html.escuro .ia-checks tr.linha-bad td { background: #221d1d; }
html.escuro .ia-checks tr.linha-pend td { background: #23221f; }
html.escuro .pc-azul { background: #202225; color: #82a7ed; }
html.escuro .pc-amarelo { background: #2d2c27; color: #f3a97d; }
html.escuro .pc-verde { background: #232825; color: #9ce9b9; }
html.escuro .pc-roxo { background: #201f24; color: #ad86e9; }
html.escuro .pc-preto { background: #262626; }
html.escuro .pc-vermelho { background: #262121; color: #ea8686; }
html.escuro .pc-comissao { background: #1f2421; color: #a0eed8; }
html.escuro .pc-hist-col i { background: #2f3032; }
html.escuro .pc-hist-col.atual i { background: #262626; }
html.escuro .pc-gerente-av { background: #262626; }
html.escuro .pc-ok-ico { background: #232825; color: #9ce9b9; }
html.escuro .pc-pend { background: #23221f; }
html.escuro .pc-pend h2 { color: #f3a97d; }
html.escuro .pc-cond { border-color: #424d46; background: #1e231f; }
html.escuro .pc-cond-item { background: var(--surface); border: 1px solid #3a433d; }
html.escuro .pc-cond-item b { color: #9ce9b9; }
html.escuro .pc-resp { border-color: #3e4349; background: #1e2022; }
html.escuro .pc-ev.recado_z3 { background: #1c1e21; }
html.escuro .pc-ev.recado_parceiro { background: #1e221f; }
html.escuro .k-parceiro { color: #9ce9b9; background: #1f2421; }
html.escuro .ch-atraso { color: #ee8981; }
html.escuro .ch-msg.eu { border-color: #383c41; background: #1c1e21; }
html.escuro .chipbtn.ch-p-imediato.ativo { background: #262121; color: #ea8686; }
html.escuro .chipbtn.ch-p-urgente.ativo { background: #2d2c27; color: #f3a97d; }
html.escuro .tag.tipo-suporte { background: #1f2421; color: #a0eed8; }
html.escuro .tag.tipo-acesso { background: #2d2c27; color: #f3a97d; }
html.escuro .ch-aba-n { background: #262626; }
html.escuro .tag.tipo-solicitacao, html.escuro .tag.tipo-demanda { background: #202225; color: #82a7ed; }
html.escuro .tag.tipo-documentos { background: #211f24; color: #ad86ea; }
html.escuro .tag.tipo-financeiro { background: #1f2421; color: #a0eed8; }
html.escuro .ch-seg-n { background: #262626; }

/* ---- base e ajustes manuais (deploy/tema-escuro-base.css) ---- */
/* Modo escuro (classe "escuro" no <html>): cores base e ajustes que a conversão automática não resolve. */
html.escuro {
  /* Preto e branco: cinzas neutros (sem azul); cor só nos textos de situação (verde, vermelho…). */
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --line: #262626;
  --line-2: #333333;
  --blue: #f2f2f2;
  --blue-soft: rgba(255, 255, 255, 0.08);
  --ice: #e6e6e6;
  --white: #f2f2f2;
  --muted: #a3a3a3;
  --dim: #6b6b6b;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --preto: #f2f2f2;
  color-scheme: dark;
}
html.escuro body { background: var(--bg); color: var(--white); }
html.escuro .panel { box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.25); }
/* Botão principal: claro com texto escuro (no claro ele é preto com texto branco). */
html.escuro .btn.primary { background: #f2f2f2; border-color: #f2f2f2; color: #0a0a0a; }
html.escuro .btn.primary:hover { background: #ffffff; border-color: #ffffff; color: #0a0a0a; }
html.escuro .btn:hover { background: var(--surface-2); }
html.escuro .modal { background: rgba(0, 0, 0, .62); }
html.escuro main a:not([class]), html.escuro .modal a:not([class]), html.escuro a.dica { color: var(--ice); }
html.escuro a.btn, html.escuro .pc-kpi, html.escuro .ch-item, html.escuro .pc-op, html.escuro .pc-funil-item, html.escuro .ch-aba, html.escuro .k-card, html.escuro .wa-item { color: inherit; }
html.escuro .dica { color: var(--muted); }
html.escuro input::placeholder, html.escuro textarea::placeholder { color: #6b6b6b; }
html.escuro table th { color: var(--muted); }
html.escuro .vazio { border-color: var(--line-2); }
html.escuro img.logo-escuro-inverter { filter: invert(1); }
/* Kpi de destaque: continua escuro, com borda para separar do fundo. */
html.escuro .pc-kpi.destaque { background: linear-gradient(135deg, #222222, #111111); border-color: #3a3a3a; }
html.escuro .pc-hist-col.atual i { background: #f2f2f2; } html.escuro .pc-hist-col i { background: #3a3a3a; }
html.escuro .pc-gerente-av, html.escuro .wa-av { background: #f2f2f2; color: #0a0a0a; }
html.escuro .ch-seg-n, html.escuro .ch-aba-n { background: #f2f2f2; color: #0a0a0a; }
html.escuro .ch-seg a.ativo { background: var(--surface-2); }
html.escuro .pc-op.ativo, html.escuro .ch-aba.ativo { border-color: #f2f2f2; box-shadow: inset 0 0 0 1px #f2f2f2; }
html.escuro .pc-cond-item { background: var(--surface); }
html.escuro .pc-st.pc-preto { background: #f2f2f2; color: #0a0a0a; }
/* Barras de rolagem discretas. */
html.escuro ::-webkit-scrollbar { width: 10px; height: 10px; }
html.escuro ::-webkit-scrollbar-thumb { background: #333333; border-radius: 8px; }
html.escuro ::-webkit-scrollbar-track { background: transparent; }
/* Botão do tema no menu da conta. */
.tema-btn { display: flex; align-items: center; gap: 8px; }
/* --preto no escuro é claro (destaques, bordas e barras); na barra do topo e no login continua preto. */
html.escuro .topbar, html.escuro .login, html.escuro .lg { --preto: #0a0b0d; }
/* Onde o "preto" é fundo de texto branco: texto escuro. */
html.escuro .fin-menu a.ativo, html.escuro .calc-nota, html.escuro .seg-abas a.ativo, html.escuro .k-op.meu, html.escuro .doc-ico { color: #0a0a0a; }
html.escuro #toast div { background: #f2f2f2; color: #0a0a0a; border-color: #f2f2f2; }
/* Cartão de destaque do Financeiro: grafite como o do painel do parceiro. */
html.escuro .pn-kpi.escuro { background: linear-gradient(135deg, #222222, #111111); border-color: #3a3a3a; }

/* Destaques que usavam azul viram branco/cinza. */
html.escuro .chipbtn.ativo { border-color: #f2f2f2; background: rgba(255,255,255,.08); color: #f2f2f2; }
html.escuro input:focus, html.escuro select:focus, html.escuro textarea:focus { border-color: #8a8a8a; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
html.escuro .aviso.info { border-color: #3a3a3a; background: #1a1a1a; color: #d4d4d4; }
html.escuro .ia-painel { border-left-color: #8a8a8a; }
html.escuro .k-resumo-total { background: #1c1c1c; border-color: #333333; color: #4ade80; }
