/* GERADO por gerar_tema_escuro.php — não editar à mão (ajustes finos ficam em tema-escuro.css). */

/* ===== agenda-compromisso.css ===== */
html[data-bs-theme="dark"] .ag-tipo {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .ag-tipo:has(input:checked) {
    background: color-mix(in srgb, var(--ag-cor) 10%, #13181d);
}
html[data-bs-theme="dark"] .ag-pessoa span {
    border: 1px solid #292f38;
    background: #13181d;
}

/* ===== app.css ===== */
html[data-bs-theme="dark"] .app-sidebar__busca input:focus {
    background: #13181d;
}
html[data-bs-theme="dark"] .tag-pill--verde {
    color: #9adeb0;
}
html[data-bs-theme="dark"] .tag-pill--azul {
    background: #0e1b2d;
    color: #98bee2;
}
html[data-bs-theme="dark"] .tag-pill--laranja {
    color: #dba872;
}
html[data-bs-theme="dark"] .tag-pill--rosa {
    color: #c47898;
}
html[data-bs-theme="dark"] .tag-pill--cinza {
    background: #191b1f;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .badge-status-inativo {
    background-color: #252f38;
}
html[data-bs-theme="dark"] .pagina-login__cartao {
    background: #13181d;
}
html[data-bs-theme="dark"] .tarefas-alerta {
    background: #2c0f0c;
    color: #d68077;
    border: 1px solid #4a221d;
}
html[data-bs-theme="dark"] .tarefas-alerta:hover {
    background: #2f120e;
    color: #db8f88;
}
html[data-bs-theme="dark"] .tarefas-foco--alerta:not(.ativo) {
    border-color: #4f2520;
    color: #d68077;
}
html[data-bs-theme="dark"] .tarefas-bloco--atraso {
    color: #d17066;
}
html[data-bs-theme="dark"] .tarefa-item {
    border-left: 4px solid #2e3239;
}
html[data-bs-theme="dark"] .tarefa-tag--fiscal {
    background: #0e1b2d;
    color: #98bee2;
}
html[data-bs-theme="dark"] .tarefa-progresso__barra {
    background: #1a1d24;
}
html[data-bs-theme="dark"] .avatar-iniciais--vazio {
    background: #1a1d24;
}
html[data-bs-theme="dark"] .prazo--atraso {
    color: #d17066;
}
html[data-bs-theme="dark"] .prazo--hoje {
    color: #e6ae58;
}
html[data-bs-theme="dark"] .prazo--breve {
    color: #98bee2;
}
html[data-bs-theme="dark"] .tarefa-prio--alta {
    background: #2c0f0c;
    color: #d68077;
}
html[data-bs-theme="dark"] .tarefa-prio--media {
    background: #2f220b;
    color: #e8be77;
}
html[data-bs-theme="dark"] .tarefa-prio--baixa {
    background: #181b21;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .legal-resumo__item--aviso {
    border-color: #5a4421;
    background: #2d220c;
}
html[data-bs-theme="dark"] .legal-resumo__item--aviso strong {
    color: #e8be77;
}
html[data-bs-theme="dark"] .legal-resumo__item--perigo {
    border-color: #4f2520;
    background: #2a100c;
}
html[data-bs-theme="dark"] .legal-resumo__item--perigo strong {
    color: #d68077;
}
html[data-bs-theme="dark"] .legal-chip--neutro {
    background: #181b21;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .legal-chip--aviso {
    background: #2f220b;
    color: #e8be77;
}
html[data-bs-theme="dark"] .legal-chip--perigo {
    background: #2c0f0c;
    color: #d68077;
}
html[data-bs-theme="dark"] .legal-chip--ok {
    background: #15281d;
    color: #9ae2be;
}
html[data-bs-theme="dark"] .combo__limpar:hover {
    color: #d17066;
}
html[data-bs-theme="dark"] .combo__marca {
    background: #39300a;
}
html[data-bs-theme="dark"] .combo__erro {
    background: #2c0f0c;
    color: #d68077;
}
html[data-bs-theme="dark"] .legal-cartao--sem {
    border-left: 4px solid #2e3239;
}
html[data-bs-theme="dark"] .tarefa-check.alerta-icone--critico {
    color: #d17066;
}
html[data-bs-theme="dark"] .tarefa-check.alerta-icone--bom {
    color: #81e0bb;
}
html[data-bs-theme="dark"] .tarefa-tag--neutra {
    background: #181b21;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .kc-temp--quente {
    background: #2c0f0c;
    color: #d17066;
}
html[data-bs-theme="dark"] .kc-temp--morno {
    background: #2f220b;
    color: #e8b86b;
}
html[data-bs-theme="dark"] .kc-temp--frio {
    background: #0e1f2b;
    color: #6ba5d2;
}
html[data-bs-theme="dark"] .kc-acao {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kc-acao--wa:hover {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .legal-chip--info {
    background: #0b1c2f;
    color: #6795da;
}

/* ===== catalogo-tarefas.css ===== */
html[data-bs-theme="dark"] .ct-intro {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ct-secao {
    background: #13181d;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .ls-acao--perigo:hover {
    color: #d86f76;
    border-color: #4b2124;
    background: #2d080b;
}

/* ===== cliente-novo-modal.css ===== */
html[data-bs-theme="dark"] .cn .form-text.ok {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cn .form-text.ruim {
    color: #dd7984;
}
html[data-bs-theme="dark"] .cn .form-text.aviso {
    color: #f6d18d;
}

/* ===== cliente-workspace.css ===== */
html[data-bs-theme="dark"] .cw-main {
    background: #13181d;
}
html[data-bs-theme="dark"] .cw-cabeca p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cw table.table thead th {
    color: #848c98;
}
html[data-bs-theme="dark"] .cw .card-painel {
    border: 1px solid #272d36;
    background: #13191f;
}
html[data-bs-theme="dark"] .cw .form-control,
html[data-bs-theme="dark"] .cw .form-select {
    border-color: #292f38;
}
html[data-bs-theme="dark"] .cw .form-label {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cw-salvar {
    background: rgba(19,24,29,0.92);
}
html[data-bs-theme="dark"] .rt-numero {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] .rt-numero small {
    color: #848c98;
}
html[data-bs-theme="dark"] .rt-numero span {
    color: #9098a3;
}
html[data-bs-theme="dark"] .rt-numero.alerta {
    background: #322709;
    border-color: #594a21;
}
html[data-bs-theme="dark"] .rt-numero.ruim {
    background: #2b0c10;
    border-color: #4a1d22;
}
html[data-bs-theme="dark"] .rt-guiado .btn {
    background: #13181d;
}
html[data-bs-theme="dark"] .rt-grupo > h3 {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .rt-grupo > h3 .n {
    background: #171c22;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .rt-card {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .rt-card[data-ativa="1"] {
    background: color-mix(in srgb, var(--cor-primaria-mais-clara) 40%, #13181d);
}
html[data-bs-theme="dark"] .rt-interruptor span {
    background: #1f242b;
}
html[data-bs-theme="dark"] .rt-interruptor span::after {
    background: #13181d;
}
html[data-bs-theme="dark"] .rt-sub {
    color: #9098a3;
}
html[data-bs-theme="dark"] .rt-badge {
    background: #171c22;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .rt-badge.rec {
    background: #372c0a;
    color: #f6d18d;
}
html[data-bs-theme="dark"] .rt-badge.excl {
    background: #0b1c2f;
    color: #6795da;
}
html[data-bs-theme="dark"] .rt-meses i {
    background: #171c22;
}
html[data-bs-theme="dark"] .rt-proximo {
    color: #9098a3;
}
html[data-bs-theme="dark"] .rt-proximo b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .rt-proximo.perto b {
    color: #eeb56c;
}
html[data-bs-theme="dark"] .rt-expandir {
    color: #9098a3;
}
html[data-bs-theme="dark"] .rt-detalhes {
    border-top: 1px dashed #292e37;
}
html[data-bs-theme="dark"] .rt-motivo {
    background: #322709;
    border: 1px solid #594a21;
}
html[data-bs-theme="dark"] .rt-cal {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .rt-cal th {
    background: #141921;
    color: #848c98;
}
html[data-bs-theme="dark"] .rt-cal td {
    border-top: 1px solid #262c34;
}
html[data-bs-theme="dark"] .rt-cal td.dia {
    background: color-mix(in srgb, var(--cor-primaria-mais-clara) 70%, #13181d);
}
html[data-bs-theme="dark"] .rt-cal tfoot td {
    background: #141a20;
}
html[data-bs-theme="dark"] .rt-cal td.lacuna,
html[data-bs-theme="dark"] .rt-cal th.lacuna {
    background: #2b0c10;
    color: #dd7984;
}
html[data-bs-theme="dark"] .rw-linha {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .rw-linha.marcada {
    background: color-mix(in srgb, var(--cor-primaria-mais-clara) 55%, #13181d);
}
html[data-bs-theme="dark"] .rw-linha .caixa {
    border: 2px solid #2f353d;
    background: #13181d;
}
html[data-bs-theme="dark"] .rw-linha small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cw .cw-rail {
    --cw-fundo2: #131921;
    background: #13181d;
}
html[data-bs-theme="dark"] .cw .cw-avatar {
    background: color-mix(in srgb, var(--cor-primaria) 10%, #13181d);
    border: 1px solid color-mix(in srgb, var(--cor-primaria) 22%, #212931);
}
html[data-bs-theme="dark"] .cw .cw-pilula {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cw .cw-pilula--aviso {
    background: #322409;
    border-color: #594a21;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .cw .cw-pilula--aviso:hover {
    background: #3a2b0a;
}
html[data-bs-theme="dark"] .cw .tm-prazo--aviso {
    background: #2f2208;
    border-color: #594a21;
}
html[data-bs-theme="dark"] .cw .tm-prazo--aviso strong {
    color: #f2c58d;
}
html[data-bs-theme="dark"] .cw .tm-prazo--perigo {
    background: #2a0c0e;
    border-color: #4a1d22;
}
html[data-bs-theme="dark"] .cw .tm-prazo--perigo strong {
    color: #d86f76;
}
html[data-bs-theme="dark"] .cw .tm-pessoa .av {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cw .cw-atalhos a,
html[data-bs-theme="dark"] .cw .cw-atalhos button {
    background: #13181d;
    border: 1px solid #292f38;
    color: #b8c0cc;
}
html[data-bs-theme="dark"] .cw .cw-atalhos a:hover,
html[data-bs-theme="dark"] .cw .cw-atalhos button:hover {
    border-color: #2e333b;
}
html[data-bs-theme="dark"] .cw .cw-saude-lista .ok i {
    color: #80dcb7;
}
html[data-bs-theme="dark"] .cw .cw-saude-lista .falta i {
    color: #e2a954;
}

/* ===== clientes-lista.css ===== */
html[data-bs-theme="dark"] .cl-cabecalho h1 {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .cl-cabecalho p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cl-visao {
    background: #181c24;
}
html[data-bs-theme="dark"] .cl-visao button {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cl-visao button.ativo {
    background: #13181d;
}
html[data-bs-theme="dark"] .cl-kpi {
    --c: #6795da;
    --f: #08162f;
    background: linear-gradient(135deg, var(--f), #13181d 85%);
    border: 1px solid color-mix(in srgb, var(--c) 14%, #292e37);
}
html[data-bs-theme="dark"] .cl-kpi--vermelho {
    --c: #d5666d;
    --f: #2d0c0f;
}
html[data-bs-theme="dark"] .cl-kpi--verde {
    --c: #99e6c9;
    --f: #13291e;
}
html[data-bs-theme="dark"] .cl-kpi--ambar {
    --c: #eeb56c;
    --f: #342309;
}
html[data-bs-theme="dark"] .cl-kpi--roxo {
    --c: #8d6ec2;
    --f: #16082f;
}
html[data-bs-theme="dark"] .cl-kpi-icone {
    background: #13181d;
}
html[data-bs-theme="dark"] .cl-kpi small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cl-kpi em {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cl-foco {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-foco span {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-foco--alerta:not(.ativo) {
    color: #d86f76;
    border-color: #4b2124;
}
html[data-bs-theme="dark"] .cl-foco--alerta:not(.ativo) span {
    background: #2d0c0f;
    color: #d86f76;
}
html[data-bs-theme="dark"] .cl-busca input {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .cl-btn-filtros {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-filtros-menu {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .cl-filtros-menu label {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cl-item {
    --tom: #6ecfac;
    background: #13181d;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .cl-item:hover {
    border-color: color-mix(in srgb, var(--tom) 45%, #272d36);
}
html[data-bs-theme="dark"] .cl-item--vermelho {
    --tom: #cd4e56;
}
html[data-bs-theme="dark"] .cl-item--ambar {
    --tom: #dca74b;
}
html[data-bs-theme="dark"] .cl-item--azul {
    --tom: #4d88cc;
}
html[data-bs-theme="dark"] .cl-nome {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .cl-sub {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cl-status {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-status i {
    background: #2a353f;
}
html[data-bs-theme="dark"] .cl-status--ativo {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cl-status--prospect {
    color: #eeb56c;
}
html[data-bs-theme="dark"] .cl-status--inativo i {
    background: #263039;
}
html[data-bs-theme="dark"] .cl-segmento {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-sinal {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-sinal--g3 {
    background: #2d0c0f;
    color: #dd7c83;
}
html[data-bs-theme="dark"] .cl-sinal--g2 {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .cl-sinal--g1 {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-mais {
    background: #1a1e25;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-ok {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cl-acao {
    border: 1px solid #292e37;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cl-acao--perigo:hover {
    color: #d5666d;
    background: #2d0c0f;
}
html[data-bs-theme="dark"] .cl-lista.cartoes .cl-regime {
    border-top: 1px dashed #292e37;
}
html[data-bs-theme="dark"] .cl-lista.cartoes .cl-segmento {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cl-vazio {
    color: #9098a3;
    background: #13181d;
    border: 1px dashed #292f38;
}
html[data-bs-theme="dark"] .cl-vazio b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .cl-paginacao {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cl-paginacao a {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}

/* ===== comunicados.css ===== */
html[data-bs-theme="dark"] .cm-cor--azul {
    --c: #6795da;
    --f: #081830;
}
html[data-bs-theme="dark"] .cm-cor--ambar {
    --c: #eeb56c;
    --f: #322109;
}
html[data-bs-theme="dark"] .cm-cor--roxo {
    --c: #8d6ec2;
    --f: #18082f;
}
html[data-bs-theme="dark"] .cm-cor--verde {
    --c: #99e6c9;
    --f: #13281e;
}
html[data-bs-theme="dark"] .cm-card {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .cm-linha1 b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .cm-tag--importante {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .cm-tag--urgente {
    background: #2d0c0f;
    color: #e18c92;
}
html[data-bs-theme="dark"] .cm-previa {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cm-meta {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cm-leitura small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cm-barra {
    background: #1a1e25;
}
html[data-bs-theme="dark"] .cmn-previa {
    background: #13181d;
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .cmn-previa-topo small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cmn-previa-tag {
    background: #081830;
    color: #6795da;
}
html[data-bs-theme="dark"] .cmn-previa p {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cmn-cat {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .cmn-clientes {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .cmd-msg {
    background: #13191f;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .cmd-linha {
    border: 1px solid #262c34;
}
html[data-bs-theme="dark"] .cmd-linha small {
    color: #9098a3;
}

/* ===== configuracoes.css ===== */
html[data-bs-theme="dark"] .cf-card {
    --cf-c: #6795da;
    --cf-f: #081830;
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .cf-card--vermelho {
    --cf-c: #d86f76;
    --cf-f: #2d0c0f;
}
html[data-bs-theme="dark"] .cf-card--verde {
    --cf-c: #99e6c9;
    --cf-f: #13281e;
}
html[data-bs-theme="dark"] .cf-card--ambar {
    --cf-c: #eeb56c;
    --cf-f: #322109;
}
html[data-bs-theme="dark"] .cf-texto b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .cf-texto small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cf-pill--on {
    background: #13281e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cf-pill--off {
    background: #161b22;
    color: #9098a3;
}
html[data-bs-theme="dark"] .cf-meta {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cfj-conteudo .card-painel {
    border: 1px solid #292e37;
}

/* ===== consultoria.css ===== */
html[data-bs-theme="dark"] .cs-recente {
    border: 1px solid #262c34;
}
html[data-bs-theme="dark"] .cs-recente small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cs-card {
    background: #13181d;
    border: 1px solid #292e37;
    --cs-c: #6795da;
    --cs-bg: #0b1c2f;
}
html[data-bs-theme="dark"] .cs-card--verde {
    --cs-c: #99e6c9;
    --cs-bg: #13291e;
}
html[data-bs-theme="dark"] .cs-card--ambar {
    --cs-c: #f4c37d;
    --cs-bg: #332409;
}
html[data-bs-theme="dark"] .cs-card--roxo {
    --cs-c: #8d6ec2;
    --cs-bg: #190e2b;
}
html[data-bs-theme="dark"] .cs-card small {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-card p {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cs-nota {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-veredito {
    background: #161b22;
}
html[data-bs-theme="dark"] .cs-veredito--ok {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cs-veredito--alerta {
    background: #332409;
    color: #f6cb8d;
}
html[data-bs-theme="dark"] .cs-veredito--neutro {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cs-passos > div {
    background: #141a20;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .cs-passos small {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-passos span {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-tabela__cab {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-tabela__lin:nth-child(even) {
    background: #141a20;
}
html[data-bs-theme="dark"] .cs-tabela__lin.melhor span:last-child {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cs-anexo {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cs-anexo--III {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cs-anexo--V {
    background: #332409;
    color: #f6cb8d;
}
html[data-bs-theme="dark"] .cs-anexo--I,
html[data-bs-theme="dark"] .cs-anexo--II {
    background: #0b1c2f;
    color: #6795da;
}
html[data-bs-theme="dark"] .cs-anexo--IV {
    background: #190e2b;
    color: #8d6ec2;
}
html[data-bs-theme="dark"] .cs-alerta--aviso {
    background: #322709;
    color: #f6d18d;
}
html[data-bs-theme="dark"] .cs-alerta--erro {
    background: #2b0c10;
    color: #dd7984;
}
html[data-bs-theme="dark"] .cs-alerta--info {
    background: #0b1c2f;
    color: #6795da;
}
html[data-bs-theme="dark"] .cs-mes:nth-child(odd) {
    background: #141a20;
}
html[data-bs-theme="dark"] .cs-mes--aviso {
    background: #322709 !important;
}
html[data-bs-theme="dark"] .cs-mes--erro {
    background: #2b0c10 !important;
}
html[data-bs-theme="dark"] .cs-mes__barra {
    background: #1a1e25;
}
html[data-bs-theme="dark"] .cs-mes__info {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .cs-mes__rbt {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-salvar {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .cs-cenario__topo small {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-barra {
    background: #1a1e25;
}
html[data-bs-theme="dark"] .cs-linhas {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .cs-linhas b {
    color: #ccd0d6;
}
html[data-bs-theme="dark"] .cs-acum__cab {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-acum__lin:nth-child(even) {
    background: #141a20;
}
html[data-bs-theme="dark"] .cs-comp small {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-verbas > div {
    border-bottom: 1px solid #262c34;
}
html[data-bs-theme="dark"] .cs-verbas__tot {
    background: #141a20;
}
html[data-bs-theme="dark"] .cs-grupo {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-nota-geral {
    background: #161b22;
}
html[data-bs-theme="dark"] .cs-nota-geral__num {
    background: #13181d;
}
html[data-bs-theme="dark"] .cs-nota-geral__num span {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-nota-geral--verde {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cs-nota-geral--ambar {
    background: #332409;
    color: #f4c37d;
}
html[data-bs-theme="dark"] .cs-nota-geral--vermelho {
    background: #2b0c10;
    color: #d5666d;
}
html[data-bs-theme="dark"] .cs-nota-geral > div:last-child {
    color: #ccd0d6;
}
html[data-bs-theme="dark"] .cs-ind__lin {
    border-bottom: 1px solid #262c34;
}
html[data-bs-theme="dark"] .cs-ind__nome small {
    color: #848c98;
}
html[data-bs-theme="dark"] .cs-ind__sit--bom {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cs-ind__sit--atencao {
    background: #332409;
    color: #f4c37d;
}
html[data-bs-theme="dark"] .cs-ind__sit--critico {
    background: #2b0c10;
    color: #d5666d;
}
html[data-bs-theme="dark"] .cs-ind__ref {
    color: #848c98;
}

/* ===== contrato-modal.css ===== */
html[data-bs-theme="dark"] .ct-passo span {
    background: #171c22;
}
html[data-bs-theme="dark"] .ct-passo::before {
    background: #1a1e25;
}
html[data-bs-theme="dark"] .ct-passo.atual span {
    background: #13181d;
}
html[data-bs-theme="dark"] .ct-documento {
    border: 1px solid #292e37;
    background: #171c22;
}
html[data-bs-theme="dark"] .ct-papel {
    background: #13181d;
}
html[data-bs-theme="dark"] .ct-papel .aviso {
    background: #302508;
}
html[data-bs-theme="dark"] .ct-fila-linha {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .ce {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .ce-barra.ql-toolbar {
    border-bottom: 1px solid #292e37 !important;
    background: #141a20;
}
html[data-bs-theme="dark"] .ce-quebra {
    color: #6795da;
}

/* ===== contrato-modelos.css ===== */
html[data-bs-theme="dark"] .cm-caixa {
    background: #13181d;
}
html[data-bs-theme="dark"] .cm-caixa h2 {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .cm-caixa .form-label {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cm-item:hover {
    background: #141921;
}
html[data-bs-theme="dark"] .cm-item small {
    color: #848c98;
}
html[data-bs-theme="dark"] .cm-clausula:hover {
    background: #141921;
}
html[data-bs-theme="dark"] .cb {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] .cb-fixo {
    background: #2d2108;
    border-color: #594a21;
}
html[data-bs-theme="dark"] .cb-tipo {
    background: #171c22;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .cb-tipo.clausula {
    background: #160c2c;
    color: #734eca;
}
html[data-bs-theme="dark"] .cb-tipo.assinaturas {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .cb-tipo.quebra_pagina {
    background: #0b1c2f;
    color: #6795da;
}
html[data-bs-theme="dark"] .cb-previa {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cb-acoes button:hover {
    background: #171c22;
}
html[data-bs-theme="dark"] .cb-acoes button.fixado {
    color: #eeb56c;
}
html[data-bs-theme="dark"] .ce {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .ce-barra.ql-toolbar {
    border-bottom: 1px solid #292e37 !important;
    background: #141a20;
}
html[data-bs-theme="dark"] .ce-quebra {
    color: #6795da;
}
html[data-bs-theme="dark"] .cm-direita details {
    border-top: 1px solid #262c34;
}
html[data-bs-theme="dark"] .cm-campo {
    border: 1px solid #272d36;
    background: #13191f;
}
html[data-bs-theme="dark"] .cm-barra-salvar {
    background: rgba(19,24,29,0.95);
}
html[data-bs-theme="dark"] .cm-tema {
    background: #13181d;
    color: #b8c0cc;
}
html[data-bs-theme="dark"] .cm-tema:hover {
    border-color: #364451;
}
html[data-bs-theme="dark"] .cm-tema__amostra {
    background: #151a1e;
    border: 1px solid #292d35;
}
html[data-bs-theme="dark"] .cm-tema__amostra b {
    background: #202329;
}
html[data-bs-theme="dark"] .cm-pe .pe-centro {
    background: #181c24;
}
html[data-bs-theme="dark"] .cm-pe .pe-centro__barra {
    background: #13181d;
    border-bottom: 1px solid #292e37;
}
html[data-bs-theme="dark"] .cm-pe .cm-design details {
    border: 1px solid #272d36;
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-resumo {
    background: #141a20;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .pe-resumo span {
    color: #9098a3;
}
html[data-bs-theme="dark"] .cm-pe .pe-item.cb-fixo {
    background: #2d2108;
    border-color: #594a21;
}

/* ===== fechamento-lead.css ===== */
html[data-bs-theme="dark"] .fl-step.feito .fl-bolha {
    background: #13181d;
    border-color: #212931;
}
html[data-bs-theme="dark"] .fl-step.ativo .fl-bolha {
    background: #13181d;
    border-color: #212931;
}
html[data-bs-theme="dark"] .fl-main {
    background: #13181d;
}
html[data-bs-theme="dark"] .fl-topo p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fl-secao > h3 {
    color: #848c98;
}
html[data-bs-theme="dark"] .fl-modal .form-control,
html[data-bs-theme="dark"] .fl-modal .form-select {
    border-color: #292f38;
}
html[data-bs-theme="dark"] .fl-modal .form-label {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .fl-obrig::after {
    color: #d14956;
}
html[data-bs-theme="dark"] .fl-seg {
    background: #171c22;
}
html[data-bs-theme="dark"] .fl-seg button {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .fl-seg button.ativo {
    background: #13181d;
}
html[data-bs-theme="dark"] .fl-opcao {
    background: #13181d;
    border: 2px solid #292e37;
}
html[data-bs-theme="dark"] .fl-opcao b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .fl-opcao small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fl-opcao.ativo {
    background: color-mix(in srgb, var(--cor-primaria-mais-clara) 55%, #13181d);
}
html[data-bs-theme="dark"] .fl-busca-lista {
    background: #13181d;
    border: 1px solid #292f38;
}
html[data-bs-theme="dark"] .fl-busca-lista small {
    color: #848c98;
}
html[data-bs-theme="dark"] .fl-item {
    background: #141a20;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .fl-item .qtd,
html[data-bs-theme="dark"] .fl-item .unit {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fl-item button:hover {
    color: #d14956;
}
html[data-bs-theme="dark"] .fl-vazio {
    border: 2px dashed #282e38;
}
html[data-bs-theme="dark"] .fl-adicionar {
    background: color-mix(in srgb, var(--cor-primaria-mais-clara) 40%, #13181d);
}
html[data-bs-theme="dark"] .fl-chip {
    background: #13181d;
}
html[data-bs-theme="dark"] .fl-assinatura-extra {
    background: #141a20;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .fl-upload {
    border: 2px dashed #2d343c;
}
html[data-bs-theme="dark"] .fl-cartao {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] .fl-cartao h4 {
    color: #848c98;
}
html[data-bs-theme="dark"] .fl-cartao dt {
    color: #848c98;
}
html[data-bs-theme="dark"] .fl-erros {
    background: #2b0c10;
    color: #dd7984;
    border: 1px solid #4a1d22;
}
html[data-bs-theme="dark"] .fl-progresso {
    background: #171c22;
}

/* ===== financeiro-modal.css ===== */
html[data-bs-theme="dark"] .fm-btn {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .fm-btn.perigo:hover {
    color: #dd7984;
    background: #2b0c10;
}
html[data-bs-theme="dark"] .fm-adiar {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fm-destaque {
    background: linear-gradient(180deg, color-mix(in srgb, var(--cor-primaria-mais-clara) 55%, #13181d), #13181d);
}
html[data-bs-theme="dark"] .fm-resumo-baixa div {
    background: #13181d;
    border: 1px solid #292e37;
    color: #9098a3;
}
html[data-bs-theme="dark"] .fm-resumo-baixa b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .fm-atalhos button {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .fm-modo {
    border: 2px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .fm-modo small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fm-bloco {
    border: 1px dashed #2d343c;
    background: #13191f;
}
html[data-bs-theme="dark"] .fm-mov {
    border: 1px solid #272d36;
    background: #13191f;
}
html[data-bs-theme="dark"] .fm-mov .ic {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .fm-mov.saida .ic {
    background: #2e0b0e;
    color: #d5666d;
}
html[data-bs-theme="dark"] .fm-mov small {
    color: #848c98;
}
html[data-bs-theme="dark"] .fm-parc {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .fm-parc.quitada {
    border-color: #294737;
}
html[data-bs-theme="dark"] .fm-parc.quitada span {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .fm-parc.vencida {
    border-color: #4a1d22;
}
html[data-bs-theme="dark"] .fm-parc.vencida span {
    color: #dd7984;
}
html[data-bs-theme="dark"] .fm .tm-secao > h3 .fm-contagem {
    color: #848c98;
}
html[data-bs-theme="dark"] .fm-readonly-aviso {
    color: #f6d18d;
    background: #322709;
    border: 1px solid #594a21;
}
html[data-bs-theme="dark"] .fm-rodape {
    background: #13181d;
}

/* ===== fluxos-modal.css ===== */
html[data-bs-theme="dark"] .fl-card {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .fl-card b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .fl-setor {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fl-desc {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fl-meta {
    color: #a9b1bd;
    border-top: 1px dashed #292e37;
}
html[data-bs-theme="dark"] .fl-area {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .fl-area--fiscal {
    background: #081830;
    color: #6795da;
}
html[data-bs-theme="dark"] .fl-area--contabil {
    background: #13281e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .fl-area--trabalhista {
    background: #322109;
    color: #eeb56c;
}
html[data-bs-theme="dark"] .fl-area--societario {
    background: #18082f;
    color: #8d6ec2;
}
html[data-bs-theme="dark"] .fl-etapa {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .fl-detalhe {
    color: #9098a3;
    background: #13191f;
}
html[data-bs-theme="dark"] .fl-remover {
    color: #d86f76;
}
html[data-bs-theme="dark"] .fl-remover:hover {
    background: #2d0c0f;
}
html[data-bs-theme="dark"] .fl-uso {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .fl-uso span {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fl-previa li small {
    color: #9098a3;
}

/* ===== funcionario-perfil.css ===== */
html[data-bs-theme="dark"] .fnp-abas button {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fnp-cartao {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] .fnp-cartao small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fnp-dado small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .fnp-alerta--perigo {
    background: #2d0c0f;
    color: #e18c92;
}
html[data-bs-theme="dark"] .fnp-alerta--aviso {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .fnp-alerta--ok {
    background: #13281e;
    color: #a5ebd0;
}
html[data-bs-theme="dark"] .fnp-alerta--neutro {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .fnp-linha {
    border-left: 2px solid #292e37;
}
html[data-bs-theme="dark"] .fnp-linha li i {
    background: #13181d;
}
html[data-bs-theme="dark"] .fnp-periodo {
    border: 1px solid #292e37;
    background: #13181d;
}

/* ===== ir.css ===== */
html[data-bs-theme="dark"] .ir-visao {
    background: #13181d;
    border: 1px solid #292f38;
}
html[data-bs-theme="dark"] .ir-visao a {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ir-vazio-grande {
    border: 2px dashed #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .ir-vazio-grande p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ir-form-temp label {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .irb-col {
    background: #161b22;
}
html[data-bs-theme="dark"] .irb-col.alvo {
    background: color-mix(in srgb, var(--tom) 14%, #161b22);
}
html[data-bs-theme="dark"] .irb-col > header {
    color: #b8bfca;
}
html[data-bs-theme="dark"] .irb-col > header b {
    background: #13181d;
}
html[data-bs-theme="dark"] .irb-card {
    background: #13181d;
    border: 1px solid #272e37;
}
html[data-bs-theme="dark"] .irb-card:hover {
    border-color: color-mix(in srgb, var(--tom) 55%, #272e37);
}
html[data-bs-theme="dark"] .irb-card__topo small {
    color: #848c98;
}
html[data-bs-theme="dark"] .irb-docs small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .irb-docs__barra {
    background: #171d24;
}
html[data-bs-theme="dark"] .irb-chip {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .irb-chip.roxo {
    background: #190e2b;
    color: #8e72cb;
}
html[data-bs-theme="dark"] .irb-chip.ambar {
    background: #342609;
    color: #f6ce8d;
}
html[data-bs-theme="dark"] .irb-chip.verm {
    background: #2e0c0e;
    color: #de7d86;
}
html[data-bs-theme="dark"] .irb-card__rodape {
    color: #9098a3;
}
html[data-bs-theme="dark"] .irb-card__rodape i.ok {
    color: #83e3b8;
}
html[data-bs-theme="dark"] .ir-equipe {
    background: #13181d;
    border: 1px solid #272e37;
}
html[data-bs-theme="dark"] .ir-equipe h3 {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-equipe__lista small {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-equipe__barra {
    background: #171d24;
}
html[data-bs-theme="dark"] .ir-novo {
    background: #13181d;
}
html[data-bs-theme="dark"] .ir-novo__topo {
    background: linear-gradient(135deg, #16201a, #13181d);
    border-bottom: 1px solid #272e37;
}
html[data-bs-theme="dark"] .ir-novo__topo p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ir-modo {
    background: #171c22;
}
html[data-bs-theme="dark"] .ir-modo button {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .ir-modo button.ativo {
    background: #13181d;
}
html[data-bs-theme="dark"] .ir-card {
    border: 1px solid #272d36;
    background: #13181d;
}
html[data-bs-theme="dark"] .ir-card__intro {
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .ir-lat-card {
    border: 1px solid #272d38;
    background: #131a21;
}
html[data-bs-theme="dark"] .ir-lat-card h4 {
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .ir-lat-card dt {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-lat-card--passos ol {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ir-novo__rodape {
    background: #13181d;
    border-top: 1px solid #272e37;
}
html[data-bs-theme="dark"] .ir-flags > span {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-flag {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .ir-flag:has(input:checked) {
    background: color-mix(in srgb, var(--cor-primaria) 12%, #13181d);
}
html[data-bs-theme="dark"] .ir-link input {
    border: 1px solid #292f38;
    background: #141a20;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ir-fatos {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ir-cat {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-doc {
    border: 1px solid #272e37;
    border-left: 5px solid #2f363d;
    background: #13181d;
}
html[data-bs-theme="dark"] .ir-doc.st-enviado {
    background: #08162b;
}
html[data-bs-theme="dark"] .ir-doc__ic {
    background: #161c22;
    color: #9098a3;
}
html[data-bs-theme="dark"] .st-enviado .ir-doc__ic {
    background: #0d1b2c;
    color: #6393d2;
}
html[data-bs-theme="dark"] .st-aprovado .ir-doc__ic {
    background: #14291d;
    color: #83e3b8;
}
html[data-bs-theme="dark"] .st-recusado .ir-doc__ic {
    background: #2c0c0e;
    color: #cf515a;
}
html[data-bs-theme="dark"] .ir-doc__nome small {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-st {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ir-st.st-enviado {
    background: #0d1b2c;
    color: #6393d2;
}
html[data-bs-theme="dark"] .ir-st.st-aprovado {
    background: #14291d;
    color: #a1e9cc;
}
html[data-bs-theme="dark"] .ir-st.st-recusado {
    background: #2e0c0e;
    color: #de7d86;
}
html[data-bs-theme="dark"] .ir-doc__motivo {
    background: #2e0c0e;
    color: #e18a92;
}
html[data-bs-theme="dark"] .ir-arqs li {
    background: #141b22;
}
html[data-bs-theme="dark"] .ir-arqs li > i {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ir-arqs li > a:first-of-type {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .ir-arqs small {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-ico {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-ico:hover {
    background: #171d24;
}
html[data-bs-theme="dark"] .ir-ico.perigo:hover {
    color: #cf515a;
    background: #2e0c0e;
}
html[data-bs-theme="dark"] .fm-btn.ok {
    border-color: #2f5141;
    color: #a1e9cc;
    background: #11261b;
}
html[data-bs-theme="dark"] .ir-cobranca {
    background: #141b22;
}
html[data-bs-theme="dark"] .ir-cobranca small {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-linha li::before {
    background: #191e25;
}
html[data-bs-theme="dark"] .ir-linha .ic {
    background: #161b22;
    color: #9098a3;
}
html[data-bs-theme="dark"] .ir-linha li.cliente .ic {
    background: #0d1b2c;
    color: #6393d2;
}
html[data-bs-theme="dark"] .ir-linha li.sistema .ic {
    background: #252119;
    color: #c7b28e;
}
html[data-bs-theme="dark"] .ir-linha small {
    color: #848c98;
}
html[data-bs-theme="dark"] .ir-cfg__temp {
    border: 1px solid #292f38;
    color: #a9b1bd;
    background: #13181d;
}
html[data-bs-theme="dark"] .ir-cfg__doc {
    border-bottom: 1px solid #242b35;
}

/* ===== kb.css ===== */
html[data-bs-theme="dark"] .kb-conteudo {
    color: #c8cfd9;
}
html[data-bs-theme="dark"] .kb-conteudo h2 {
    border-bottom: 1px solid #282d36;
}
html[data-bs-theme="dark"] .kb-conteudo h4 {
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .kb-conteudo a {
    color: #639fe1;
}
html[data-bs-theme="dark"] .kb-conteudo blockquote {
    border-left: 4px solid #2f353e;
    background: #131921;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .kb-conteudo code {
    background: #161b22;
    color: #d37295;
}
html[data-bs-theme="dark"] .kb-conteudo hr {
    border-top: 1px solid #292f38;
}
html[data-bs-theme="dark"] .kb-conteudo img {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .kb-conteudo table {
    border: 1px solid #292f38;
}
html[data-bs-theme="dark"] .kb-conteudo th,
html[data-bs-theme="dark"] .kb-conteudo td {
    border-bottom: 1px solid #262c36;
    border-right: 1px solid #242b35;
}
html[data-bs-theme="dark"] .kb-conteudo th {
    background: #131a23;
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .kb-conteudo mark {
    background: #3f370b;
}
html[data-bs-theme="dark"] .kb-conteudo .kb-callout {
    --c: #639fe1;
    --f: #0c1a2d;
    color: #c8cfd9;
}
html[data-bs-theme="dark"] .kb-conteudo .kb-dica {
    --c: #90e7c6;
    --f: #14281e;
}
html[data-bs-theme="dark"] .kb-conteudo .kb-aviso {
    --c: #eeb56c;
    --f: #322409;
}
html[data-bs-theme="dark"] .kb-conteudo .kb-perigo {
    --c: #d5666d;
    --f: #2c0c0f;
}
html[data-bs-theme="dark"] .kb-topo p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-hero {
    background: linear-gradient(135deg, #14281e, #13181d 70%);
    border: 1px solid #243e32;
}
html[data-bs-theme="dark"] .kb-busca input {
    border: 1px solid #2c333c;
    background: #13181d;
}
html[data-bs-theme="dark"] .kb-tag {
    background: #13181d;
    border: 1px solid #28313a;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .kb-secao {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-cat {
    --c: #81e0bb;
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .kb-cat:hover {
    border-color: color-mix(in srgb, var(--c) 45%, #292e37);
}
html[data-bs-theme="dark"] .kb-cat-icone {
    background: color-mix(in srgb, var(--c) 14%, #13181d);
}
html[data-bs-theme="dark"] .kb-cat small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-lista {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .kb-item {
    border-bottom: 1px solid #252b35;
}
html[data-bs-theme="dark"] .kb-item:nth-child(even) {
    background: #15181f;
}
html[data-bs-theme="dark"] .kb-item:hover {
    background: #0f1a2a;
}
html[data-bs-theme="dark"] .kb-item b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .kb-item b i {
    color: #dbae54;
}
html[data-bs-theme="dark"] .kb-item p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-item .kb-meta {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-selo {
    background: color-mix(in srgb, var(--c, #6b7686) 14%, #13181d);
    color: var(--c, #a9b1bd);
}
html[data-bs-theme="dark"] .kb-selo--rascunho {
    --c: #eeb56c;
    background: #322409;
}
html[data-bs-theme="dark"] .kb-vazio {
    color: #9098a3;
    background: #13181d;
    border: 1px dashed #292f38;
}
html[data-bs-theme="dark"] .kb-pagina {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .kb-trilha {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-trilha a {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-meta-linha {
    color: #9098a3;
    border-bottom: 1px solid #282d36;
}
html[data-bs-theme="dark"] .kb-nav {
    border-top: 1px solid #282d36;
}
html[data-bs-theme="dark"] .kb-nav a {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .kb-nav a:hover {
    background: #13231a;
}
html[data-bs-theme="dark"] .kb-nav small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-caixa {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .kb-caixa h3 {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-sumario a,
html[data-bs-theme="dark"] .kb-outros a {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .kb-ed-barra {
    background: var(--cor-fundo, #151a20);
}
html[data-bs-theme="dark"] .kb-ed-barra .kb-salvo {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-ed-papel {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .kb-ed-titulo {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .kb-tb {
    background: #131921;
    border-top: 1px solid #282d36;
    border-bottom: 1px solid #282d36;
}
html[data-bs-theme="dark"] .kb-tb .sep {
    background: #1b2027;
}
html[data-bs-theme="dark"] .kb-tb button,
html[data-bs-theme="dark"] .kb-tb select {
    color: #b5bcc9;
}
html[data-bs-theme="dark"] .kb-tb button:hover,
html[data-bs-theme="dark"] .kb-tb select:hover {
    background: #171d27;
}
html[data-bs-theme="dark"] .kb-tb button.ativo {
    background: #0d1d30;
    color: #74a5e3;
}
html[data-bs-theme="dark"] .kb-tb .grupo-ctx {
    border-left: 1px solid #2a3039;
}
html[data-bs-theme="dark"] .kb-ed-area td,
html[data-bs-theme="dark"] .kb-ed-area th {
    outline: 1px dashed #2a3039;
}
html[data-bs-theme="dark"] .kb-ed-rodape {
    border-top: 1px solid #252b35;
}
html[data-bs-theme="dark"] .kb-ed-lado label {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-tela-cheia {
    background: var(--cor-fundo, #151a20);
}
html[data-bs-theme="dark"] .kb-hist-item {
    border-bottom: 1px solid #252b35;
}
html[data-bs-theme="dark"] .kb-hist-item:hover,
html[data-bs-theme="dark"] .kb-hist-item.ativo {
    background: #0f1a2a;
}
html[data-bs-theme="dark"] .kb-hist-item small {
    color: #9098a3;
}

/* ===== lead-modal.css ===== */
html[data-bs-theme="dark"] .lm-temp {
    border: 2px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .lm-temp small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .lm-temp:hover {
    border-color: #323942;
}
html[data-bs-theme="dark"] .lm-temp--frio:has(input:checked) {
    background: #0c192c;
    color: #6795da;
}
html[data-bs-theme="dark"] .lm-temp--morno:has(input:checked) {
    background: #322709;
    color: #f6d18d;
}
html[data-bs-theme="dark"] .lm-temp--quente:has(input:checked) {
    background: #2b0c10;
    color: #dd7984;
}
html[data-bs-theme="dark"] .lm-serv {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .lm-serv .caixa {
    border: 2px solid #2f353d;
    background: #13181d;
}
html[data-bs-theme="dark"] .lm-serv small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .lm-chips button {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .lm-cartao {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] .lm-dup {
    background: #322709;
    border: 1px solid #594a21;
    color: #f6d18d;
}
html[data-bs-theme="dark"] .lm-rodape {
    background: #13181d;
}
html[data-bs-theme="dark"] .le-meta {
    color: #848c98;
}
html[data-bs-theme="dark"] .le-meta b {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pa-cat {
    color: #848c98;
}
html[data-bs-theme="dark"] .pa-serv {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .pa-serv .caixa {
    border: 2px solid #2f353d;
    background: #13181d;
}

/* ===== legalizacao-modal.css ===== */
html[data-bs-theme="dark"] .fl-previa li small {
    color: #9098a3;
}

/* ===== lista-moderna.css ===== */
html[data-bs-theme="dark"] .ls-cabecalho h1 {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .ls-cabecalho p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-visao {
    background: #181c24;
}
html[data-bs-theme="dark"] .ls-visao button {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-visao button.ativo {
    background: #13181d;
}
html[data-bs-theme="dark"] .ls-kpi {
    --c: #6795da;
    --f: #08162f;
    background: linear-gradient(135deg, var(--f), #13181d 85%);
    border: 1px solid color-mix(in srgb, var(--c) 14%, #292e37);
}
html[data-bs-theme="dark"] .ls-kpi--vermelho {
    --c: #d5666d;
    --f: #2d0c0f;
}
html[data-bs-theme="dark"] .ls-kpi--verde {
    --c: #99e6c9;
    --f: #13291e;
}
html[data-bs-theme="dark"] .ls-kpi--ambar {
    --c: #eeb56c;
    --f: #342309;
}
html[data-bs-theme="dark"] .ls-kpi--roxo {
    --c: #8d6ec2;
    --f: #16082f;
}
html[data-bs-theme="dark"] .ls-kpi-icone {
    background: #13181d;
}
html[data-bs-theme="dark"] .ls-kpi small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-kpi em {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-foco {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-foco span {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-foco--alerta:not(.ativo) {
    color: #d86f76;
    border-color: #4b2124;
}
html[data-bs-theme="dark"] .ls-foco--alerta:not(.ativo) span {
    background: #2d0c0f;
    color: #d86f76;
}
html[data-bs-theme="dark"] .ls-busca input {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .ls-btn-filtros {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-filtros-menu {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .ls-filtros-menu label {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-item {
    --tom: #6ecfac;
    background: #13181d;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .ls-item:hover {
    border-color: color-mix(in srgb, var(--tom) 45%, #272d36);
}
html[data-bs-theme="dark"] .ls-item--vermelho {
    --tom: #cd4e56;
}
html[data-bs-theme="dark"] .ls-item--ambar {
    --tom: #dca74b;
}
html[data-bs-theme="dark"] .ls-item--azul {
    --tom: #4d88cc;
}
html[data-bs-theme="dark"] .ls-cel {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-cel b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .ls-valor {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .ls-valor small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-avatar--icone {
    background: color-mix(in srgb, var(--tom) 16%, #13181d);
}
html[data-bs-theme="dark"] .ls-nome {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .ls-sub {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-sinal {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-sinal--g3 {
    background: #2d0c0f;
    color: #dd7c83;
}
html[data-bs-theme="dark"] .ls-sinal--g2 {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .ls-sinal--g1 {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-sinal--ok {
    background: #13291e;
    color: #a5ebd0;
}
html[data-bs-theme="dark"] .ls-sinal--azul {
    background: #08162f;
    color: #6795da;
}
html[data-bs-theme="dark"] .ls-sinal--roxo {
    background: #16082f;
    color: #9b7bcf;
}
html[data-bs-theme="dark"] .ls-mais {
    background: #1a1e25;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-ok {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .ls-status {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-status i {
    background: #2a353f;
}
html[data-bs-theme="dark"] .ls-status--ok {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .ls-status--aviso {
    color: #eeb56c;
}
html[data-bs-theme="dark"] .ls-status--perigo {
    color: #d86f76;
}
html[data-bs-theme="dark"] .ls-acao {
    border: 1px solid #292e37;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-acao--perigo:hover {
    color: #d5666d;
    background: #2d0c0f;
}
html[data-bs-theme="dark"] .ls-acao--ok:hover {
    color: #99e6c9;
    background: #13291e;
}
html[data-bs-theme="dark"] .ls-lista.cartoes .ls-acoes {
    border-top: 1px dashed #292e37;
}
html[data-bs-theme="dark"] .ls-vazio {
    color: #9098a3;
    background: #13181d;
    border: 1px dashed #292f38;
}
html[data-bs-theme="dark"] .ls-vazio b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .ls-paginacao {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-paginacao a {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-select {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] #filtrosAvancadosFin > form {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] #filtrosAvancadosFin .form-label {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-barra-mini {
    background: #1a1e25;
}
html[data-bs-theme="dark"] .ls-detalhe {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .ls-detalhe > summary {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-detalhe[open] > summary {
    border-bottom: 1px solid #292e37;
}
html[data-bs-theme="dark"] .ls-cartao {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .ls-cartao > h2 {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-calendario .fc .fc-button {
    background: #13181d;
    border: 1px solid #292f38;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-calendario .fc .fc-button:hover {
    background: #13181d;
}
html[data-bs-theme="dark"] .ls-calendario .fc-theme-standard td,
html[data-bs-theme="dark"] .ls-calendario .fc-theme-standard th,
html[data-bs-theme="dark"] .ls-calendario .fc-theme-standard .fc-scrollgrid {
    border-color: #242b35;
}
html[data-bs-theme="dark"] .ls-calendario .fc-col-header-cell-cushion {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-calendario .fc-daygrid-day-number {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-secao__titulo {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-atalho {
    --c: #6795da;
    --f: #08162f;
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .ls-atalho:hover {
    border-color: color-mix(in srgb, var(--c) 35%, #292e37);
}
html[data-bs-theme="dark"] .ls-atalho--verde {
    --c: #99e6c9;
    --f: #13291e;
}
html[data-bs-theme="dark"] .ls-atalho--ambar {
    --c: #eeb56c;
    --f: #332409;
}
html[data-bs-theme="dark"] .ls-atalho--roxo {
    --c: #8566c2;
    --f: #190e2b;
}
html[data-bs-theme="dark"] .ls-atalho--vermelho {
    --c: #d5666d;
    --f: #2d0c0f;
}
html[data-bs-theme="dark"] .ls-atalho__texto span {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-calendario .fc-col-header-cell-cushion {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-calendario--mini .fc-theme-standard td,
html[data-bs-theme="dark"] .ls-calendario--mini .fc-theme-standard th {
    border-color: #242934;
}
html[data-bs-theme="dark"] .ls-bloco {
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-bloco--atraso {
    color: #d5666d;
}
html[data-bs-theme="dark"] .ls-prazo.prazo--atraso {
    color: #d5666d;
}
html[data-bs-theme="dark"] .ls-prazo.prazo--hoje {
    color: #eeb56c;
}
html[data-bs-theme="dark"] .ls-prazo.prazo--feito {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .tv-nav {
    background: #13181d;
    border: 1px solid #292f38;
}
html[data-bs-theme="dark"] .tv-nav__item {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .tv-nav__item:hover {
    background: #141a23;
}
@media (min-width: 992px) {
@supports (grid-template-columns: subgrid) {
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) > .ls-cab {
    background: #131921;
    border-bottom: 1px solid #292e37;
    color: #9098a3;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) > .ls-item {
    border-bottom: 1px solid #252b35;
    background: #13181d;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) > .ls-item:nth-child(odd) {
    background: #15181f;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) > .ls-item:hover {
    background: #0f1a2a;
    border-color: #252b35;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) .ls-acao {
    color: #507acb;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) .ls-acao:hover {
    color: #789bdc;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) .ls-acao--ok {
    color: #7ee6b6;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) .ls-acao--ok:hover {
    color: #99ecc6;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) .ls-acao--perigo {
    color: #cc534d;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) .ls-acao--perigo:hover {
    color: #d86f76;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) .ls-acao--texto {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .ls-lista:not(.cartoes) .ls-sinal--g3 {
    background: #581f17;
}
}
}

/* ===== md-editor.css ===== */
html[data-bs-theme="dark"] .md-editor {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .md-barra {
    background: #141822;
    border-bottom: 1px solid #292f38;
}
html[data-bs-theme="dark"] .md-barra button {
    color: #a7afbd;
}
html[data-bs-theme="dark"] .md-barra button:hover:not(:disabled) {
    background: #181d26;
}
html[data-bs-theme="dark"] .md-abas button.ativo {
    background: #13181d;
    color: #81a5df;
}
html[data-bs-theme="dark"] .md-conteudo code {
    background: #161b22;
}
html[data-bs-theme="dark"] .md-conteudo blockquote {
    background: #322709;
    color: #f8dea4;
}
html[data-bs-theme="dark"] .md-conteudo .md-img {
    border: 1px solid #292f38;
}

/* ===== notas-fiscais.css ===== */
html[data-bs-theme="dark"] .nf-status {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .nf-status--a_emitir {
    background: #08162f;
    color: #6795da;
}
html[data-bs-theme="dark"] .nf-status--atrasada {
    background: #2d0c0f;
    color: #dd7c83;
}
html[data-bs-theme="dark"] .nf-status--hoje {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .nf-status--emitida,
html[data-bs-theme="dark"] .nf-status--concluido {
    background: #13291e;
    color: #a5ebd0;
}
html[data-bs-theme="dark"] .nf-status--cancelada,
html[data-bs-theme="dark"] .nf-status--cancelado {
    background: #161b22;
    color: #9098a3;
}
html[data-bs-theme="dark"] .nf-status--ativo {
    background: #08162f;
    color: #6795da;
}
html[data-bs-theme="dark"] .nf-status--pausado {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .nf-barra {
    background: #181d24;
}
html[data-bs-theme="dark"] .nf-modal .nf-modal-sub {
    color: #9098a3;
}
html[data-bs-theme="dark"] .nf-grade dt {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-tabela thead th {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-linha-tempo small {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-secao {
    background: #13181d;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .nf-secao h2 small {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-vazio {
    color: #9098a3;
}
html[data-bs-theme="dark"] .nf-cartao {
    background: #13181d;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .nf-cartao:hover {
    border-color: #2a323e;
}
html[data-bs-theme="dark"] .nf-cartao header small {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-cartao-num small {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-cartao-valores {
    border-top: 1px dashed #272d38;
}
html[data-bs-theme="dark"] .nf-cartao-valores dt {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-cartao footer {
    color: #a1a9b4;
}
html[data-bs-theme="dark"] .nf-cartao--vermelho {
    border-color: #472124;
}
html[data-bs-theme="dark"] .nf-abas {
    border-bottom: 1px solid #272d38;
}
html[data-bs-theme="dark"] .nf-abas button {
    color: #a1a9b4;
}
html[data-bs-theme="dark"] .nf-abas button:hover {
    background: #141a23;
}
html[data-bs-theme="dark"] .nf-abas .n {
    background: #181d24;
    color: #abb3c1;
}
html[data-bs-theme="dark"] .nf-tomador {
    background: #13181d;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .nf-tomador > summary {
    background: #131921;
}
html[data-bs-theme="dark"] .nf-tomador summary small {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-seta {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-contrato {
    border-top: 1px solid #272d36;
}
html[data-bs-theme="dark"] .nf-atencao {
    border: 1px solid #594a21;
    background: #302508;
}
html[data-bs-theme="dark"] .nf-atencao--ok {
    border-color: #294434;
    background: #14261c;
    color: #a4e7c8;
}
html[data-bs-theme="dark"] .nf-atencao-titulo {
    color: #f6d18d;
}
html[data-bs-theme="dark"] .nf-atencao-item {
    background: #13181d;
    border: 1px solid #594a21;
    color: #f8dea4;
}
html[data-bs-theme="dark"] .nf-atencao-item--critico {
    border-color: #4b2024;
    color: #dd7c83;
    background: #2d080b;
}
html[data-bs-theme="dark"] .nf-lote-barra {
    background: #13181d;
    border: 1px solid #1d2d4d;
}
html[data-bs-theme="dark"] .nf-pm-cab {
    background: linear-gradient(135deg, #16201a, #13181d);
    border-bottom: 1px solid #272d38;
}
html[data-bs-theme="dark"] .nf-pm-secao {
    border: 1px solid #272d36;
    background: #13181d;
}
html[data-bs-theme="dark"] .nf-pm-opc {
    color: #848c98;
    background: #161b22;
}
html[data-bs-theme="dark"] .nf-pm-intro {
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .nf-pm-nota {
    background: #08152f;
    color: #81a5df;
}
html[data-bs-theme="dark"] .nf-pm-card {
    border: 1px solid #272d38;
    background: #131a21;
}
html[data-bs-theme="dark"] .nf-pm-card h4 {
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .nf-pm-resumo dt {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-pm-card--passos ol {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .nf-pm-rodape {
    background: #13181d;
    border-top: 1px solid #272d38;
}

/* ===== onboarding-assistente.css ===== */
html[data-bs-theme="dark"] #modalOnboardingAssistente .modal-content {
    background: var(--cor-superficie, #13181d);
}
html[data-bs-theme="dark"] .onb-as {
    color: var(--cor-texto-superficie, #ccd4e0);
}
html[data-bs-theme="dark"] .onb-as__carregando {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .onb-as__topo {
    background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--p) 55%, #13181d) 0%, transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--p) 80%, #000), color-mix(in srgb, var(--p) 55%, #0b1b2b));
}
html[data-bs-theme="dark"] .onb-as__passos li:not(:last-child)::after {
    background: var(--cor-borda, #1a1e25);
}
html[data-bs-theme="dark"] .onb-as__passos button {
    border: 2px solid var(--cor-borda, #2d323a);
    background: var(--cor-superficie, #13181d);
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .onb-as__icone {
    background: linear-gradient(145deg, color-mix(in srgb, var(--p) 20%, #13181d), color-mix(in srgb, var(--p) 8%, #13181d));
}
html[data-bs-theme="dark"] .onb-as__contador {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .onb-as__contador em {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .onb-as__contador em.ok {
    background: #13291e;
    color: #a5ebd0;
}
html[data-bs-theme="dark"] .onb-as__porque {
    color: var(--cor-texto-secundario, #98a4af);
}
html[data-bs-theme="dark"] .onb-btn--texto {
    color: var(--cor-texto-secundario, #98a4af);
}
html[data-bs-theme="dark"] .onb-btn--texto:hover:not(:disabled) {
    color: var(--cor-texto-superficie, #ccd4e0);
}
html[data-bs-theme="dark"] .onb-as__rodape {
    border-top: 1px solid var(--cor-borda, #272d36);
}
html[data-bs-theme="dark"] .onb-as__resumo {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .onb-as__sucesso p {
    color: var(--cor-texto-secundario, #98a4af);
}

/* ===== painel-dia.css ===== */
html[data-bs-theme="dark"] #modalPainelDia .modal-content {
    background: var(--cor-fundo-pagina, #151a20);
}
html[data-bs-theme="dark"] .pd {
    color: var(--cor-texto-superficie, #ccd4e0);
}
html[data-bs-theme="dark"] .pd-carregando {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-topo {
    background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--p) 55%, #13181d) 0%, transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--p) 80%, #000), color-mix(in srgb, var(--p) 55%, #0b1b2b));
}
html[data-bs-theme="dark"] .pd-cot {
    background: var(--cor-superficie, #13181d);
    border: 1px solid var(--cor-borda, #292e37);
}
html[data-bs-theme="dark"] .pd-cot__nome {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-cot strong small {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-cot--indice {
    background: color-mix(in srgb, var(--p) 6%, var(--cor-superficie, #13181d));
}
html[data-bs-theme="dark"] .pd-var--sobe {
    color: #95e8cb;
}
html[data-bs-theme="dark"] .pd-var--desce {
    color: #cd666d;
}
html[data-bs-theme="dark"] .pd-fonte {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-fonte i {
    color: #e2a954;
}
html[data-bs-theme="dark"] .pd-cartao {
    background: var(--cor-superficie, #13181d);
    border: 1px solid var(--cor-borda, #292e37);
}
html[data-bs-theme="dark"] .pd-cartao--festa {
    background: linear-gradient(135deg, color-mix(in srgb, #f0a12c 12%, var(--cor-superficie, #13181d)), var(--cor-superficie, #13181d));
}
html[data-bs-theme="dark"] .pd-vazio {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-hora--atraso {
    color: #cd666d;
}
html[data-bs-theme="dark"] .pd-item small {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-atraso {
    color: #cd666d;
}
html[data-bs-theme="dark"] .pd-chip--atraso {
    background: #2d0c0f;
    color: #dd7c83;
}
html[data-bs-theme="dark"] .pd-fin {
    border: 1px solid var(--cor-borda, #292e37);
}
html[data-bs-theme="dark"] .pd-fin > span {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-fin--receber strong {
    color: #95e8cb;
}
html[data-bs-theme="dark"] .pd-fin--pagar strong {
    color: #d86f76;
}
html[data-bs-theme="dark"] .pd-fin small {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-rodape__aviso {
    color: var(--cor-texto-secundario, #9098a3);
}
html[data-bs-theme="dark"] .pd-btn--texto {
    color: var(--cor-texto-secundario, #98a4af);
}
html[data-bs-theme="dark"] .pd-btn--texto:hover {
    color: var(--cor-texto-superficie, #ccd4e0);
}

/* ===== parametros-precificacao.css ===== */
html[data-bs-theme="dark"] .pp-padrao {
    color: #9098a3;
}

/* ===== plano-contas-modal.css ===== */
html[data-bs-theme="dark"] .pc-tipo {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .pc-tipo small {
    color: #9098a3;
}

/* ===== portal.css ===== */
html[data-bs-theme="dark"] .pt-body {
    background: #151921;
}
html[data-bs-theme="dark"] .pt-logo {
    background: #13181d;
}
html[data-bs-theme="dark"] .pt-link em {
    background: #560f14;
}
html[data-bs-theme="dark"] .pt-topo {
    background: rgba(19,24,29,0.9);
    border-bottom: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pt-topo-titulo {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .pt-sino {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pt-usuario {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .pt-kpi {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pt-kpi-icone {
    background: #081830;
    color: #6795da;
}
html[data-bs-theme="dark"] .pt-kpi--verde .pt-kpi-icone {
    background: #13281e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pt-kpi--ambar .pt-kpi-icone {
    background: #322109;
    color: #eeb56c;
}
html[data-bs-theme="dark"] .pt-kpi--vermelho .pt-kpi-icone {
    background: #2d0c0f;
    color: #d86f76;
}
html[data-bs-theme="dark"] .pt-kpi small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-kpi span {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-cartao {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pt-cartao h2 {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .pt-vazio {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-atencao a {
    background: #13191f;
    border: 1px solid #262c34;
}
html[data-bs-theme="dark"] .pt-atencao a small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-atencao .perigo i {
    color: #d86f76;
}
html[data-bs-theme="dark"] .pt-atencao .aviso i {
    color: #eeb56c;
}
html[data-bs-theme="dark"] .pt-atencao .info i {
    color: #6795da;
}
html[data-bs-theme="dark"] .pt-atencao .ok i {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pt-linha-tempo li {
    border-bottom: 1px solid #262c34;
}
html[data-bs-theme="dark"] .pt-data {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pt-data.pagamento {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .pt-data.obrigacao {
    background: #081830;
    color: #6795da;
}
html[data-bs-theme="dark"] .pt-data.reuniao {
    background: #18082f;
    color: #8d6ec2;
}
html[data-bs-theme="dark"] .pt-data.concluida {
    background: #13281e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pt-linha-tempo small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-tag {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pt-tag--verde {
    background: #13281e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pt-tag--ambar {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .pt-tag--vermelho {
    background: #2d0c0f;
    color: #e18c92;
}
html[data-bs-theme="dark"] .pt-tag--azul {
    background: #081830;
    color: #6795da;
}
html[data-bs-theme="dark"] .pt-feed i {
    background: #081830;
    color: #6795da;
}
html[data-bs-theme="dark"] .pt-feed .verde i {
    background: #13281e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pt-feed .ambar i {
    background: #322109;
    color: #eeb56c;
}
html[data-bs-theme="dark"] .pt-feed small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-chip {
    background: var(--cor-primaria-mais-clara, #13281e);
    color: var(--cor-primaria-escura, #a5ebd0);
}
html[data-bs-theme="dark"] .pt-abas button {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pt-titulo-pagina p {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-item {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .pt-item-icone {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pt-item-corpo small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-grupo-mes {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-barra {
    background: #1a1e25;
}
html[data-bs-theme="dark"] .pt-grafico div {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-dado small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-cal-cab {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pt-dia {
    background: #13181d;
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pt-dia.selecionado {
    background: var(--cor-primaria-mais-clara, #13281e);
}
html[data-bs-theme="dark"] .pt-evento.pagamento {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .pt-evento.obrigacao {
    background: #081830;
    color: #6795da;
}
html[data-bs-theme="dark"] .pt-evento.reuniao {
    background: #18082f;
    color: #8d6ec2;
}
html[data-bs-theme="dark"] .pt-evento.concluida {
    background: #13281e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pt-passos span::before {
    background: #1b1f26;
}
html[data-bs-theme="dark"] .pt-passos hr {
    border-color: #292f38;
}

/* ===== proposta-editor.css ===== */
html[data-bs-theme="dark"] .pe {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-topo {
    border-bottom: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-voltar {
    color: #a9b1bd;
    background: #161b22;
}
html[data-bs-theme="dark"] .pe-titulo input:hover,
html[data-bs-theme="dark"] .pe-titulo input:focus {
    background: #151921;
}
html[data-bs-theme="dark"] .pe-sub {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-status {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pe-status--verde {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pe-status--azul {
    background: #0b1c2f;
    color: #6795da;
}
html[data-bs-theme="dark"] .pe-status--ambar {
    background: #332409;
    color: #f4c37d;
}
html[data-bs-theme="dark"] .pe-status--vermelho {
    background: #2b0c10;
    color: #dd7984;
}
html[data-bs-theme="dark"] .pe-estado--ok {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pe-estado--aviso {
    color: #f4c37d;
}
html[data-bs-theme="dark"] .pe-estado--erro {
    color: #d5666d;
}
html[data-bs-theme="dark"] .pe-esq,
html[data-bs-theme="dark"] .pe-dir {
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-esq {
    border-right: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pe-dir {
    border-left: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pe-tela {
    background: #181c24;
}
html[data-bs-theme="dark"] .pe-carregando {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-vazio {
    border: 2px dashed #282e38;
}
html[data-bs-theme="dark"] .pe-sec-titulo {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-item {
    border: 1px solid #272d36;
    background: #13191f;
}
html[data-bs-theme="dark"] .pe-item__ic {
    background: #161b22;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .pe-item__tx small {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-paleta button {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pe-abas {
    border-bottom: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pe-abas button {
    color: #9098a3;
}
html[data-bs-theme="dark"] .pe-cab small {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-cab__acoes button {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pe-cab__acoes .pe-perigo:hover {
    background: #2b0c10;
    color: #d5666d;
}
html[data-bs-theme="dark"] .pe-secao {
    border: 1px solid #272d36;
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-secao > summary {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .pe-campo label,
html[data-bs-theme="dark"] .pe-texto-capa label,
html[data-bs-theme="dark"] .pe-3c label {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pe-campo small,
html[data-bs-theme="dark"] .pe-dica {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-cor input[type="color"] {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-cor--vazio {
    background: repeating-linear-gradient(45deg, #13181d, #13181d 4px, #161b22 4px, #161b22 8px) !important;
}
html[data-bs-theme="dark"] .pe-x:hover {
    color: #cf515a;
}
html[data-bs-theme="dark"] .pe-seg {
    background: #161b22;
}
html[data-bs-theme="dark"] .pe-seg button {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .pe-seg button.ativo {
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-range output {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .pe-texto-capa {
    border-bottom: 1px dashed #272d36;
}
html[data-bs-theme="dark"] .pe-vars button {
    border: 1px solid #292f38;
    background: #13181d;
    color: #6795da;
}
html[data-bs-theme="dark"] .pe-capas button {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pe-capa-mini {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pe-imgsel img,
html[data-bs-theme="dark"] .pe-imgsel__vazio {
    border: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pe-imgsel__vazio {
    background: #151921;
}
html[data-bs-theme="dark"] .pe-sub-t {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-quill {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-quill .ce-barra.ql-toolbar {
    border-bottom: 1px solid #292e37 !important;
    background: #141a20;
}
html[data-bs-theme="dark"] .pe-quill .ce-quebra {
    color: #6795da;
}
html[data-bs-theme="dark"] .pe-item-s {
    border: 1px solid #272d36;
    background: #13191f;
}
html[data-bs-theme="dark"] .pe-aviso {
    background: #322709;
    color: #f6d18d;
    border: 1px solid #594a21;
}
html[data-bs-theme="dark"] .pe-metricas div {
    background: #141a20;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .pe-metricas span {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-resposta--ok {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pe-resposta--erro {
    background: #2b0c10;
    color: #dd7984;
}
html[data-bs-theme="dark"] .pe-hist small {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-erro {
    background: #2b0c10;
    color: #dd7984;
}
html[data-bs-theme="dark"] .pe-upload {
    border: 2px dashed #2e333b;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .pe-upload span {
    color: #848c98;
}
html[data-bs-theme="dark"] .pe-foto {
    background: #151921;
}
html[data-bs-theme="dark"] .pn-modelo {
    border: 2px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .pn-modelo:hover {
    border-color: #323942;
}
html[data-bs-theme="dark"] .pn-modelo small {
    color: #848c98;
}
html[data-bs-theme="dark"] .pub {
    background: #181c24;
}
html[data-bs-theme="dark"] .pub-topo {
    background: #13181d;
    border-bottom: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pub-barra {
    background: rgba(19,24,29,0.96);
    border-top: 1px solid #292e37;
}
html[data-bs-theme="dark"] .pub-total small {
    color: #848c98;
}
html[data-bs-theme="dark"] .pub-estado--ok {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .pub-estado--erro {
    background: #2b0c10;
    color: #dd7984;
}
html[data-bs-theme="dark"] .pub-estado--aviso {
    background: #322709;
    color: #f6d18d;
}
@media (max-width: 991.98px) {
html[data-bs-theme="dark"] .pe-esq,
html[data-bs-theme="dark"] .pe-dir {
    border-bottom: 1px solid #292e37;
}
}
html[data-bs-theme="dark"] .pe-historico button {
    background: #161b22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .pe-salvo {
    border: 1px solid #292f38;
    background: #13181d;
}
html[data-bs-theme="dark"] .pe-salvo__add {
    color: #a9b1bd;
}

/* ===== reajuste-lote.css ===== */
html[data-bs-theme="dark"] .rj-lista {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .rj-linha {
    border-bottom: 1px solid #262c34;
}
html[data-bs-theme="dark"] .rj-linha.marcado {
    background: #08192d;
}
html[data-bs-theme="dark"] .rj-nome small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .rj-preco {
    color: #9098a3;
}
html[data-bs-theme="dark"] .rj-preco b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .rj-preco.sobe b {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .rj-preco.desce b {
    color: #d5666d;
}
html[data-bs-theme="dark"] .rj-margem {
    color: #9098a3;
}
html[data-bs-theme="dark"] .rj-margem.ruim {
    color: #d5666d;
}

/* ===== servico-modal.css ===== */
html[data-bs-theme="dark"] .sv-quebra {
    color: #9098a3;
}
html[data-bs-theme="dark"] .sv-quebra b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .sv-sugerido span {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .sv-faixa {
    border: 1px solid #272d36;
    background: #13191f;
}
html[data-bs-theme="dark"] .sv-pac {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .sv-sim div {
    border: 1px solid #292e37;
    background: #13191f;
    color: #9098a3;
}
html[data-bs-theme="dark"] .sv-sim b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .sv-simulacao div {
    border: 1px solid #292e37;
    background: #13181d;
    color: #9098a3;
}
html[data-bs-theme="dark"] .sv-simulacao b {
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .sv-simulacao .bom b {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .sv-simulacao .ruim b {
    color: #d5666d;
}
html[data-bs-theme="dark"] .sv-simulacao .medio b {
    color: #eeb56c;
}

/* ===== tarefa-modal.css ===== */
html[data-bs-theme="dark"] .tm {
    background: #13181d;
}
html[data-bs-theme="dark"] .tm-barra i {
    background: #13181d;
}
html[data-bs-theme="dark"] .tm-barra.estourou i {
    background: #3e0b0f;
}
html[data-bs-theme="dark"] .tm-main {
    background: #13181d;
}
html[data-bs-theme="dark"] .tm-chip {
    background: #171c22;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .tm-chip.alta {
    background: #2e0b0e;
    color: #dd7984;
}
html[data-bs-theme="dark"] .tm-chip.media {
    background: #0b1c2f;
    color: #6795da;
}
html[data-bs-theme="dark"] .tm-chip.baixa {
    background: #181d23;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .tm-seg {
    background: #171c22;
}
html[data-bs-theme="dark"] .tm-seg button {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .tm-seg button.ativo {
    background: #13181d;
}
html[data-bs-theme="dark"] .tm-seg button.ativo.concluida {
    color: #99e6c9;
}
html[data-bs-theme="dark"] .tm-seg button.ativo.cancelada {
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .tm-seg button.ativo.em_andamento {
    color: #6795da;
}
html[data-bs-theme="dark"] .tm-adiar {
    color: #9098a3;
}
html[data-bs-theme="dark"] .tm-adiar button {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .tm-aba {
    color: #9098a3;
}
html[data-bs-theme="dark"] .tm-aba .n {
    background: #171c22;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .tm-aviso.sucesso {
    background: #13291e;
    color: #a4e7c8;
    border: 1px solid #294737;
}
html[data-bs-theme="dark"] .tm-aviso.erro {
    background: #2b0c10;
    color: #dd7984;
    border: 1px solid #4a1d22;
}
html[data-bs-theme="dark"] .tm-aviso.aviso {
    background: #322709;
    color: #f6d18d;
    border: 1px solid #594a21;
}
html[data-bs-theme="dark"] .tm-aviso.info {
    background: #081830;
    color: #81a5df;
    border: 1px solid #1b2f4e;
}
html[data-bs-theme="dark"] .tm-secao > h3 {
    color: #848c98;
}
html[data-bs-theme="dark"] .tm .form-control,
html[data-bs-theme="dark"] .tm .form-select {
    border-color: #292f38;
}
html[data-bs-theme="dark"] .tm .form-label {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .tm-saude-item {
    background: #141a20;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .tm-saude-item.ok i {
    color: #81e0bb;
}
html[data-bs-theme="dark"] .tm-saude-item.alerta i {
    color: #eeb854;
}
html[data-bs-theme="dark"] .tm-saude-item.ruim i {
    color: #cf515a;
}
html[data-bs-theme="dark"] .tm-saude-item small {
    color: #848c98;
}
html[data-bs-theme="dark"] .tm-vinculo {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] .tm-check-item {
    border: 1px solid #272d36;
    background: #13191f;
}
html[data-bs-theme="dark"] .tm-check-item .caixa {
    border: 2px solid #2f353d;
    background: #13181d;
}
html[data-bs-theme="dark"] .tm-check-item .remover:hover {
    color: #cf515a;
}
html[data-bs-theme="dark"] .tm-vazio {
    border: 2px dashed #282e38;
}
html[data-bs-theme="dark"] .tm-cartao {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] .tm-cartao small {
    color: #848c98;
}
html[data-bs-theme="dark"] .tm-tabela th {
    color: #848c98;
}
html[data-bs-theme="dark"] .tm-tabela td {
    border-top: 1px solid #262c34;
}
html[data-bs-theme="dark"] .tm-msg .balao {
    background: #151b21;
}
html[data-bs-theme="dark"] .tm-msg.meu .balao {
    background: color-mix(in srgb, var(--cor-primaria-mais-clara) 70%, #13181d);
}
html[data-bs-theme="dark"] .tm-msg .quem {
    color: #848c98;
}
html[data-bs-theme="dark"] .tm-msg .quem button:hover {
    color: #cf515a;
}
html[data-bs-theme="dark"] .tm-compositor {
    background: #13181d;
}
html[data-bs-theme="dark"] .tm-upload {
    border: 2px dashed #2d343c;
}
html[data-bs-theme="dark"] .tm-arquivo {
    border: 1px solid #272d36;
    background: #13191f;
}
html[data-bs-theme="dark"] .tm-arquivo .ic {
    background: #171c22;
    color: #9fa6b0;
}
html[data-bs-theme="dark"] .tm-arquivo .ic.pdf {
    background: #2e0b0e;
    color: #d5666d;
}
html[data-bs-theme="dark"] .tm-arquivo .ic.img {
    background: #0b1c2f;
    color: #6795da;
}
html[data-bs-theme="dark"] .tm-arquivo .ic.xls {
    background: #13291e;
    color: #99e6c9;
}
html[data-bs-theme="dark"] .tm-arquivo .ic.doc {
    background: #0b1c2f;
    color: #6795da;
}
html[data-bs-theme="dark"] .tm-arquivo .info small {
    color: #848c98;
}
html[data-bs-theme="dark"] .tm-linha::before {
    background: #1a1e25;
}
html[data-bs-theme="dark"] .tm-evento .ponto {
    border: 3px solid #212931;
}
html[data-bs-theme="dark"] .tm-evento .detalhe {
    color: #9098a3;
}
html[data-bs-theme="dark"] .tm-perigo {
    border: 1px solid #4a1d22;
    background: #2b0808;
}
html[data-bs-theme="dark"] .nf-tm-passo {
    border: 1px solid #272d38;
    background: #131a21;
}
html[data-bs-theme="dark"] .nf-tm-passo .ic {
    background: #181d24;
    color: #9098a3;
}
html[data-bs-theme="dark"] .nf-tm-passo small {
    color: #9098a3;
}
html[data-bs-theme="dark"] .nf-tm-passo.feito {
    background: #14261c;
    border-color: #294434;
}
html[data-bs-theme="dark"] .nf-tm-passo.atual {
    background: #08152f;
    border-color: #1d2d4d;
}
html[data-bs-theme="dark"] .nf-tm-form {
    border: 1px solid #272d38;
    background: #13181d;
}
html[data-bs-theme="dark"] .nf-tm-sub {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-tm .nf-grade dt {
    color: #848c98;
}
html[data-bs-theme="dark"] .nf-tm .nf-linha-tempo small {
    color: #848c98;
}

/* ===== tarefa-nova-modal.css ===== */
html[data-bs-theme="dark"] .fl-previa li small {
    color: #9098a3;
}

/* ===== tarefas-carteira.css ===== */
html[data-bs-theme="dark"] .tc-card {
    background: #13181d;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .tc-card--cinza {
    border-left-color: #2d343e;
}
html[data-bs-theme="dark"] .tc-card header small {
    color: #848c98;
}
html[data-bs-theme="dark"] .tc-chip--vermelho {
    background: #2d0c0f;
    color: #dd7c83;
}
html[data-bs-theme="dark"] .tc-chip--ambar {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .tc-chip--verde {
    background: #13291e;
    color: #a5ebd0;
}
html[data-bs-theme="dark"] .tc-chip--cinza {
    background: #161b22;
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .tc-numeros small {
    color: #848c98;
}
html[data-bs-theme="dark"] .tc-conf {
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .tc-barra {
    background: #181d24;
}
html[data-bs-theme="dark"] .tc-barra--cinza {
    background: #1e252c;
}
html[data-bs-theme="dark"] .tc-card footer {
    color: #a1a9b4;
}
html[data-bs-theme="dark"] .te-cab small {
    color: #848c98;
}
html[data-bs-theme="dark"] .te-abas {
    border-bottom: 1px solid #272d38;
}
html[data-bs-theme="dark"] .te-abas button {
    color: #a1a9b4;
}
html[data-bs-theme="dark"] .te-abas button:hover {
    background: #141a23;
}
html[data-bs-theme="dark"] .te-abas .n {
    background: #181d24;
    color: #abb3c1;
}
html[data-bs-theme="dark"] .te-abas .n--alerta {
    background: #2d0c0f;
    color: #dd7c83;
}
html[data-bs-theme="dark"] .te-matriz th {
    color: #848c98;
    border-bottom: 1px solid #272d38;
}
html[data-bs-theme="dark"] .te-matriz th:first-child,
html[data-bs-theme="dark"] .te-matriz td:first-child {
    background: #13181d;
}
html[data-bs-theme="dark"] .te-matriz td {
    border-bottom: 1px solid #222a36;
}
html[data-bs-theme="dark"] .te-matriz .te-atual {
    background: #15201a;
}
html[data-bs-theme="dark"] .te-cel--concluida {
    background: #13291e;
    color: #a5ebd0;
}
html[data-bs-theme="dark"] .te-cel--atrasada {
    background: #2d0c0f;
    color: #dd7c83;
}
html[data-bs-theme="dark"] .te-cel--pendente {
    background: #322109;
    color: #f2c58d;
}
html[data-bs-theme="dark"] .te-cel--em_elaboracao,
html[data-bs-theme="dark"] .te-cel--aguardando_pagamento {
    background: #08162f;
    color: #6795da;
}
html[data-bs-theme="dark"] .te-cel--nao_aplicavel {
    background: #161b22;
    color: #9098a3;
}
html[data-bs-theme="dark"] .te-legenda {
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .te-bloco__titulo {
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .te-bloco__titulo--atraso {
    color: #dd7c83;
}
html[data-bs-theme="dark"] .te-bloco__titulo .n {
    background: #161b22;
}

/* ===== tarefas-lote.css ===== */
html[data-bs-theme="dark"] .ls-acao--ok:hover {
    color: #a4e7c8;
    border-color: #294434;
    background: #14261c;
}
html[data-bs-theme="dark"] .tl-visoes__rotulo {
    color: #848c98;
}
html[data-bs-theme="dark"] .tl-visoes__sep {
    background: #1b1f26;
}

/* ===== tarefas-painel.css ===== */
html[data-bs-theme="dark"] .tp-card {
    background: #13181d;
    border: 1px solid #272d36;
}
html[data-bs-theme="dark"] .tp-card h2 small {
    color: #848c98;
}
html[data-bs-theme="dark"] .tp-nota {
    color: #848c98;
}
html[data-bs-theme="dark"] .tp-ok {
    color: #a4e7c8;
}
html[data-bs-theme="dark"] .tp-ins {
    border: 1px solid #272d38;
    background: #131a21;
}
html[data-bs-theme="dark"] .tp-ins--alerta {
    background: #2d080b;
    border-color: #4b2024;
}
html[data-bs-theme="dark"] .tp-ins--alerta > i {
    color: #d86f76;
}
html[data-bs-theme="dark"] .tp-ins--aviso {
    background: #302508;
    border-color: #594a21;
}
html[data-bs-theme="dark"] .tp-ins--aviso > i {
    color: #eeb56c;
}
html[data-bs-theme="dark"] .tp-ins--ok {
    background: #14261c;
    border-color: #294434;
}
html[data-bs-theme="dark"] .tp-ins--ok > i {
    color: #a4e7c8;
}
html[data-bs-theme="dark"] .tp-ins--info > i {
    color: #6795da;
}

/* ===== tarefas-quadro.css ===== */
html[data-bs-theme="dark"] .kb-lane__titulo {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .kb-lane__titulo span {
    background: #161b22;
}
html[data-bs-theme="dark"] .kb-col {
    background: #141a23;
    border: 1px solid #272d38;
}
html[data-bs-theme="dark"] .kb-col.kb-alvo {
    background: #081830;
    border-color: #213e61;
}
html[data-bs-theme="dark"] .kb-col > header {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .kb-col--roxo > header {
    border-color: #351f66;
}
html[data-bs-theme="dark"] .kb-n {
    background: #13181d;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .kb-card {
    background: #13181d;
    border: 1px solid #272d38;
    border-left: 4px solid #2d343e;
}
html[data-bs-theme="dark"] .kb-card--atraso {
    background: #2b0808;
}
html[data-bs-theme="dark"] .kb-card small {
    color: #848c98;
}
html[data-bs-theme="dark"] .kb-card__topo {
    color: #9098a3;
}
html[data-bs-theme="dark"] .kb-prazo--atraso {
    color: #d86f76;
}
html[data-bs-theme="dark"] .kb-mover {
    border: 1px solid #272d38;
    background: #131a21;
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .kb-vazio,
html[data-bs-theme="dark"] .kb-mais {
    border: 1px dashed #2b313b;
}
html[data-bs-theme="dark"] .cal-grade {
    border: 1px solid #272d38;
    background: #191e26;
}
html[data-bs-theme="dark"] .cal-sem {
    background: #131921;
    color: #9098a3;
}
html[data-bs-theme="dark"] .cal-dia {
    background: #13181d;
}
html[data-bs-theme="dark"] .cal-dia--fora {
    background: #121721;
}
html[data-bs-theme="dark"] .cal-dia--fim {
    background: #0f1624;
}
html[data-bs-theme="dark"] .cal-dia.cal-alvo {
    background: #081830;
}
html[data-bs-theme="dark"] .cal-num {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .cal-num small {
    color: #848c98;
}
html[data-bs-theme="dark"] .cal-chip {
    color: #ccd4e0;
    background: #08152f;
}
html[data-bs-theme="dark"] .cal-chip--alta {
    background: #2b0c10;
}
html[data-bs-theme="dark"] .cal-chip--media {
    background: #322309;
}
html[data-bs-theme="dark"] .cal-chip--atrasada {
    background: #2f0b0f;
    color: #e8999f;
}
html[data-bs-theme="dark"] .cal-chip--concluida {
    background: #14261c;
    color: #9ca4b0;
}
html[data-bs-theme="dark"] .cal-painel {
    background: #13181d;
}
html[data-bs-theme="dark"] .cal-painel header {
    border-bottom: 1px solid #272d38;
}
html[data-bs-theme="dark"] .cal-painel__item {
    border: 1px solid #272d38;
    background: #13181d;
}
html[data-bs-theme="dark"] .cal-legenda {
    color: #9ca4b0;
}

/* ===== tour-guiado.css ===== */
html[data-bs-theme="dark"] .tg-hero {
    background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--cor-primaria, #1a9c6a) 70%, #13181d) 0%, transparent 60%), linear-gradient(160deg, var(--cor-primaria-escura, #178a5f), #0b2a22);
}
html[data-bs-theme="dark"] .tg-corpo {
    background: #13181d;
}
html[data-bs-theme="dark"] .tg-opcao {
    border: 1px solid #292e37;
    background: #13181d;
}
html[data-bs-theme="dark"] .tg-opcao small {
    color: #848c98;
}
html[data-bs-theme="dark"] .tg-card {
    background: #13181d;
    color: #ccd4e0;
}
html[data-bs-theme="dark"] .tg-card p {
    color: #a9b1bd;
}
html[data-bs-theme="dark"] .tg-pontos i {
    background: #1e2229;
}
html[data-bs-theme="dark"] .tg-fechar:hover {
    color: #ccd4e0;
    background: #161b22;
}

/* ===== venda-modal.css ===== */
html[data-bs-theme="dark"] .vd-item {
    border: 1px solid #292e37;
    background: #13191f;
}
html[data-bs-theme="dark"] .vd-item label {
    color: #848c98;
}
html[data-bs-theme="dark"] .vd-remover:hover {
    color: #cf515a;
    background: #2b0c10;
}
html[data-bs-theme="dark"] .vd-item.divergente {
    border-color: #594a21;
    background: #2d2108;
}
html[data-bs-theme="dark"] .vd-add {
    border: 2px dashed #2d343c;
}
html[data-bs-theme="dark"] .vd-negociado {
    background: #322709;
    border: 1px solid #594a21;
}
html[data-bs-theme="dark"] .vd-total span {
    color: #848c98;
}
html[data-bs-theme="dark"] .vd-chips button {
    border: 1px solid #292f38;
    background: #13181d;
    color: #a9b1bd;
}
