/* GERADO por scripts/tema-escuro/gerar.js a partir de style.css: não edite aqui.
   Acertos à mão ficam em scripts/tema-escuro/manual.css (colado no fim). */

:where(html[data-tema="escuro"]) .pagamento-opcao:not(:where(.login-screen *)) { background: var(--bg-subtle, #23272c); }
:where(html[data-tema="escuro"]) .aviso-cobranca-banner:not(:where(.login-screen *)) { background: #433e26; border-bottom: 1px solid #6b5f2a; color: #f3af86; }
:where(html[data-tema="escuro"]) .aviso-cobranca-banner .icon:not(:where(.login-screen *)) { color: #f8c181; }
:where(html[data-tema="escuro"]) .aviso-cobranca-banner a:not(:where(.login-screen *)) { color: #f3af86; }
:where(html[data-tema="escuro"]) .aviso-cobranca-banner.atrasada:not(:where(.login-screen *)) { background: #432326; border-bottom-color: #6b282a; color: #eb8e8e; }
:where(html[data-tema="escuro"]) .aviso-cobranca-banner.atrasada .icon:not(:where(.login-screen *)) { color: #ed8d8d; }
:where(html[data-tema="escuro"]) .aviso-cobranca-banner.atrasada a:not(:where(.login-screen *)) { color: #eb8e8e; }
:where(html[data-tema="escuro"]) .topbar-balao-pagamento:not(:where(.login-screen *)) { background: linear-gradient(90deg, #433a26, #1b1e22); border: 1px solid #6b552a; color: #f8c781; }
:where(html[data-tema="escuro"]) .topbar-balao-pagamento .balao-icone:not(:where(.login-screen *)) { background: #433a26; color: #f8c281; }
:where(html[data-tema="escuro"]) .topbar-balao-pagamento strong:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .topbar-balao-pagamento .balao-sub:not(:where(.login-screen *)) { color: #f7c782; }
:where(html[data-tema="escuro"]) .topbar-balao-pagamento.atrasada:not(:where(.login-screen *)) { background: linear-gradient(90deg, #432326, #1b1e22); border-color: #6b282a; color: #eb8e8e; }
:where(html[data-tema="escuro"]) .topbar-balao-pagamento.atrasada .balao-icone:not(:where(.login-screen *)) { background: #432326; color: #ed8d8d; }
:where(html[data-tema="escuro"]) .topbar-balao-pagamento.atrasada strong:not(:where(.login-screen *)) { color: #ee8b8b; }
:where(html[data-tema="escuro"]) .topbar-balao-pagamento.atrasada .balao-sub:not(:where(.login-screen *)) { color: #e99090; }
:where(html[data-tema="escuro"]) .loja-switcher-btn:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .loja-switcher-btn:hover:not(:where(.login-screen *)) { border-color: #524b43; }
:where(html[data-tema="escuro"]) .loja-switcher-nome:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .loja-switcher-menu:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .loja-switcher-item:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .loja-switcher-item-inicial:not(:where(.login-screen *)) { background: #2a2e34; color: #c6bcb4; }
:where(html[data-tema="escuro"]) .loja-switcher-item-nome:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .loja-tag.matriz:not(:where(.login-screen *)) { background: #433726; color: #f7a482; }
:where(html[data-tema="escuro"]) .loja-tag.filial:not(:where(.login-screen *)) { background: #433826; color: #f7a482; }
:where(html[data-tema="escuro"]) .topbar:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .notif-item:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .notif-item.unread:hover:not(:where(.login-screen *)) { background: #433426; }
:where(html[data-tema="escuro"]) .notif-item--alerta.unread:not(:where(.login-screen *)) { background: #433626; }
:where(html[data-tema="escuro"]) .aviso-assinatura:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .contato-site-texto:not(:where(.login-screen *)) { background: var(--bg, #23272c); border: 1px solid var(--border, #2e3238); }
:where(html[data-tema="escuro"]) .btn.ghost:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .acoes-linha .acao-principal:hover:not(:where(.login-screen *)) { background: #433326; }
:where(html[data-tema="escuro"]) .acoes-mais-btn:hover:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .acoes-mais.open .acoes-mais-btn:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .acoes-mais-menu:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .acoes-mais-menu a:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .painel-saudacao h2:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .card-icon.neutral:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .toolbar input[type="text"]:not(:where(.login-screen *)) { background: #1b1e22 url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2398a2b3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="11" cy="11" r="7"%3E%3C/circle%3E%3Cline x1="21" y1="21" x2="16.65" y2="16.65"%3E%3C/line%3E%3C/svg%3E') no-repeat 11px center; }
:where(html[data-tema="escuro"]) .toolbar input[type="text"]:focus:not(:where(.login-screen *)) { background-color: #1b1e22; }
:where(html[data-tema="escuro"]) .toolbar input[type="date"]:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .toolbar input[type="month"]:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .toolbar select:not(:where(.login-screen *)) { background-color: #1b1e22; }
:where(html[data-tema="escuro"]) .btn.secondary:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) th:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) tr:hover td:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .badge.orcamento:not(:where(.login-screen *)) { background: #2a2e34; color: #b4bbc6; }
:where(html[data-tema="escuro"]) .badge.os_aberta:not(:where(.login-screen *)) { color: #ecc58e; }
:where(html[data-tema="escuro"]) .badge.em_producao:not(:where(.login-screen *)) { color: #8fa1ea; }
:where(html[data-tema="escuro"]) .badge.pronto_retirada:not(:where(.login-screen *)) { background: #433c26; color: #f8c881; }
:where(html[data-tema="escuro"]) .badge.aberto:not(:where(.login-screen *)) { color: #ecc58e; }
:where(html[data-tema="escuro"]) .badge.pendente:not(:where(.login-screen *)) { background: #2a2e34; color: #b4bbc6; }
:where(html[data-tema="escuro"]) .badge.processando:not(:where(.login-screen *)) { color: #ecc58e; }
:where(html[data-tema="escuro"]) .badge.inutilizada:not(:where(.login-screen *)) { background: #2a2e34; color: #b4bbc6; }
:where(html[data-tema="escuro"]) .badge.em_andamento:not(:where(.login-screen *)) { color: #8fa1ea; }
:where(html[data-tema="escuro"]) .badge.fechado:not(:where(.login-screen *)) { background: #2a2e34; color: #b4bbc6; }
:where(html[data-tema="escuro"]) .dd-btn-toggle:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .dd-btn-menu:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .dd-btn-menu-item.active:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .modal:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .form-row input:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .form-row select:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .form-row textarea:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .empty-state-titulo:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .panel.caixa-fechado h3:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .switch .slider:not(:where(.login-screen *)) { background: #363b42; }
:where(html[data-tema="escuro"]) .switch .slider:not(:where(.login-screen *))::before { background: #1b1e22; }
:where(html[data-tema="escuro"]) .settings-tabs button:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .produto-imagem-slot:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .settings-section-title:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .zap-promo-cta:not(:where(.login-screen *)) { background: #1b1e22; color: #e9e7e4; }
:where(html[data-tema="escuro"]) .zap-qr-modal-qr img:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .warn-banner:not(:where(.login-screen *)) { border: 1px solid #6b562a; }
:where(html[data-tema="escuro"]) .contato-row:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .stat-card .sc-value:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .stat-card.warn:not(:where(.login-screen *)) { background: #433826; border-color: #6b532a; }
:where(html[data-tema="escuro"]) .stat-card.warn .sc-value:not(:where(.login-screen *)) { color: #ecc58e; }
:where(html[data-tema="escuro"]) .suporte-msg:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .suporte-msg.admin .suporte-msg-meta:not(:where(.login-screen *)) { color: #8fa1ea; }
:where(html[data-tema="escuro"]) .historico-card-header:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .historico-card-header:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .totais-os:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .totais-os-row input:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .item-preco-input:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .cliente-preview-grid .cpb-label:not(:where(.login-screen *)) { color: #d4b8a5; }
:where(html[data-tema="escuro"]) .cert-current:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .code-display:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .code-panel:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .code-option:not(:where(.login-screen *)) { border-bottom: 1px solid #2e3238; }
:where(html[data-tema="escuro"]) .code-option:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .combo-dropdown:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .combo-option-rich:not(:where(.login-screen *)) { border-bottom: 1px solid #2e3238; }
:where(html[data-tema="escuro"]) .pill:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .pill.pill-icon:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .pill.pill-icon:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .pill.pill-icon.active:not(:where(.login-screen *)) { background: #433326; }
:where(html[data-tema="escuro"]) .subpanel:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .receita-grade input:disabled:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .receita-grade-edit input:disabled:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .saida-aviso.alerta:not(:where(.login-screen *)) { color: #f8b581; }
:where(html[data-tema="escuro"]) .badge.ent-a_separar:not(:where(.login-screen *)) { background: #2a2e34; color: #b4bbc6; }
:where(html[data-tema="escuro"]) .badge.ent-separando:not(:where(.login-screen *)) { color: #ecc58e; }
:where(html[data-tema="escuro"]) .badge.ent-saiu:not(:where(.login-screen *)) { background: #202f48; color: #8aa5ef; }
:where(html[data-tema="escuro"]) .badge.ent-retirar:not(:where(.login-screen *)) { background: #2c2348; color: #b28eeb; }
:where(html[data-tema="escuro"]) .credito-cliente.bloqueado:not(:where(.login-screen *)) { border-color: #69292c; }
:where(html[data-tema="escuro"]) ::-webkit-scrollbar-thumb { background: #363b42; }
:where(html[data-tema="escuro"]) ::-webkit-scrollbar-thumb:hover { background: #373f50; }
:where(html[data-tema="escuro"]) .conta-nome:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .conta-contrato-pendente:not(:where(.login-screen *)) { color: #f8b581 !important; }
:where(html[data-tema="escuro"]) .ajuda-hero-eyebrow:not(:where(.login-screen *)) { color: #f8ce81; }
:where(html[data-tema="escuro"]) .ajuda-hero h2 span:not(:where(.login-screen *)) { color: #f8ce81; }
:where(html[data-tema="escuro"]) .ajuda-busca > .icon:not(:where(.login-screen *)) { color: #afb7ca; }
:where(html[data-tema="escuro"]) .ajuda-busca input:not(:where(.login-screen *)) { color: #e9e7e4; background: #1b1e22; }
:where(html[data-tema="escuro"]) .ajuda-busca-resultados:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .ajuda-busca-item:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .ajuda-busca-item strong:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-populares > span:not(:where(.login-screen *)) { color: #d2bda7; }
:where(html[data-tema="escuro"]) .ajuda-categoria:hover:not(:where(.login-screen *)) { border-color: #534a42; }
:where(html[data-tema="escuro"]) .ajuda-categoria-titulo:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-cta:not(:where(.login-screen *)) { background: linear-gradient(90deg, #433326, #433526); border: 1px solid #6b482a; }
:where(html[data-tema="escuro"]) .ajuda-cta-icone:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .ajuda-cta-textos strong:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-cat-cabecalho h2:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-artigo-item:hover:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .ajuda-artigo-item-textos strong:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-artigo h1:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-artigo-corpo:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-passos > li:not(:last-child):not(:where(.login-screen *))::after { background: linear-gradient(180deg, #373432, transparent); }
:where(html[data-tema="escuro"]) .ajuda-passo-titulo:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-passo-texto:not(:where(.login-screen *)) { color: #a7b2d2; }
:where(html[data-tema="escuro"]) .ajuda-print-zoom:not(:where(.login-screen *)) { border: 1px solid #3a3f46; background: #23272c; }
:where(html[data-tema="escuro"]) .ajuda-aviso.dica:not(:where(.login-screen *)) { background: #433526; border: 1px solid #6b4c2a; color: #f0ac8a; }
:where(html[data-tema="escuro"]) .ajuda-aviso.dica .ajuda-aviso-icone:not(:where(.login-screen *)) { background: #433326; color: #f7a482; }
:where(html[data-tema="escuro"]) .ajuda-aviso.dica strong:not(:where(.login-screen *)) { color: #f7a482; }
:where(html[data-tema="escuro"]) .ajuda-aviso.atencao:not(:where(.login-screen *)) { background: #433826; border: 1px solid #6b552a; color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-aviso.atencao .ajuda-aviso-icone:not(:where(.login-screen *)) { background: #433a26; color: #f8c281; }
:where(html[data-tema="escuro"]) .ajuda-aviso.atencao strong:not(:where(.login-screen *)) { color: #f8b581; }
:where(html[data-tema="escuro"]) .ajuda-feedback:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-lateral-bloco a:not(.btn):not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .ajuda-lightbox img:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) #content:has(.form-acoes-fixas) .panel > .panel-title:first-child:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .modal-actions.form-acoes-fixas:not(:where(.login-screen *)) { background: rgba(27, 30, 34, 0.92); }
:where(html[data-tema="escuro"]) .settings-tabs-grupo-titulo:not(:where(.login-screen *)) { color: #b0b7ca; }
:where(html[data-tema="escuro"]) .settings-section-title:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .modal > h3:first-child:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .modal > .modal-x-faixa:first-child + h3:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) [id^="rel-"][id$="-preview"] .cards .card .valor:not(:where(.login-screen *)) { color: #e9e7e4; }
:where(html[data-tema="escuro"]) .zap-status.off:not(:where(.login-screen *)) { color: #f8b581; }
:where(html[data-tema="escuro"]) .esq-titulo:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .esq-cards > div:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .esq-linha:not(:where(.login-screen *)) { background: linear-gradient(90deg, #2a2e34 0%, #23272c 45%, #2a2e34 90%); }
:where(html[data-tema="escuro"]) .esq-painel:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .guia-barra:not(:where(.login-screen *)) { background: #2a2e34; }
:where(html[data-tema="escuro"]) .guia-topo .guia-rotulo:not(:where(.login-screen *)) { color: #f8ce81; }
:where(html[data-tema="escuro"]) .guia-progresso-anel small:not(:where(.login-screen *)) { color: #9c968f; }
:where(html[data-tema="escuro"]) .guia-etapa.feito:not(:where(.login-screen *)) { border-color: #32614f; }
:where(html[data-tema="escuro"]) .guia-opcional:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .guia-sub > li:not(:where(.login-screen *))::before { background: #1b1e22; }
:where(html[data-tema="escuro"]) .guia-status:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .guia-pronto:not(:where(.login-screen *)) { background: linear-gradient(180deg, #264039, #1b1e22); border: 1px solid #32614f; }
:where(html[data-tema="escuro"]) .guia-logo img:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .combo-camera:hover:not(:where(.login-screen *)) { background: #433326; }
:where(html[data-tema="escuro"]) .impressao-opcao:not(:where(.login-screen *)) { background: #1b1e22; }
@media (max-width: 900px) {
:where(html[data-tema="escuro"]) body.com-barra-inferior .barra-inferior:not(:where(.login-screen *)) { background: rgba(27, 30, 34, 0.97); }
:where(html[data-tema="escuro"]) .barra-inferior > .barra-inferior-mais:not(:where(.login-screen *)) { border: 4px solid #2e3238; }
}
:where(html[data-tema="escuro"]) .acoes-rapidas-folha:not(:where(.login-screen *)) { background: #1b1e22; }
:where(html[data-tema="escuro"]) .acoes-rapidas-folha:not(:where(.login-screen *))::before { background: #363b42; }
:where(html[data-tema="escuro"]) .info-banner.caixa-aviso.laranja:not(:where(.login-screen *)) { background: #433826; border: 1px solid #6b502a; color: #f3af86; }
:where(html[data-tema="escuro"]) .info-banner.caixa-aviso.vermelha:not(:where(.login-screen *)) { background: #432326; border: 1px solid #6b282a; color: #eb8e8e; }
:where(html[data-tema="escuro"]) .fin-grupo-header:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) td.linha-grupo.receitas:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) td.linha-grupo.despesas:not(:where(.login-screen *)) { background: #432326; }
:where(html[data-tema="escuro"]) .caixa-destaque-azul:not(:where(.login-screen *)) { border: 1px solid #26446f; }
:where(html[data-tema="escuro"]) .btn.tom-laranja:not(:where(.login-screen *)) { color: #f8b581; border-color: #6b522a; }
:where(html[data-tema="escuro"]) .btn.tom-laranja:hover:not(:where(.login-screen *)) { background: #433726; }
:where(html[data-tema="escuro"]) .btn.tom-roxo:not(:where(.login-screen *)) { background: #2c2348; color: #b28eeb; border-color: #3b286f; }
:where(html[data-tema="escuro"]) .btn.tom-roxo:hover:not(:where(.login-screen *)) { background: #2c2348; }
:where(html[data-tema="escuro"]) .btn.tom-azul:not(:where(.login-screen *)) { border-color: #263c6f; }
:where(html[data-tema="escuro"]) .btn.tom-azul:hover:not(:where(.login-screen *)) { background: #202d48; }
:where(html[data-tema="escuro"]) .btn.tom-verde:not(:where(.login-screen *)) { color: #81f8d6; border-color: #316150; }
:where(html[data-tema="escuro"]) .btn.tom-verde:hover:not(:where(.login-screen *)) { background: #254139; }
:where(html[data-tema="escuro"]) .btn.tom-vermelho:not(:where(.login-screen *)) { color: #ee8c8c; border-color: #69292c; }
:where(html[data-tema="escuro"]) .btn.tom-vermelho:hover:not(:where(.login-screen *)) { background: #432326; }
:where(html[data-tema="escuro"]) .dd-btn-tom-azul .dd-btn-toggle:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .dd-btn-tom-azul .dd-btn-toggle:hover:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .dd-btn-tom-azul.open .dd-btn-toggle:not(:where(.login-screen *)) { border-color: #263c6f; }
:where(html[data-tema="escuro"]) .dd-btn-tom-verde .dd-btn-toggle:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .dd-btn-tom-verde .dd-btn-toggle:hover:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .dd-btn-tom-verde.open .dd-btn-toggle:not(:where(.login-screen *)) { color: #81f8d6; border-color: #316150; }
:where(html[data-tema="escuro"]) .dd-btn-tom-roxo .dd-btn-toggle:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .dd-btn-tom-roxo .dd-btn-toggle:hover:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .dd-btn-tom-roxo.open .dd-btn-toggle:not(:where(.login-screen *)) { background: #2c2348; color: #b28eeb; border-color: #3b286f; }
:where(html[data-tema="escuro"]) .dd-btn-tom-azul .dd-btn-toggle:hover:not(:where(.login-screen *)) { background: #202d48; }
:where(html[data-tema="escuro"]) .dd-btn-tom-verde .dd-btn-toggle:hover:not(:where(.login-screen *)) { background: #254139; }
:where(html[data-tema="escuro"]) .dd-btn-tom-roxo .dd-btn-toggle:hover:not(:where(.login-screen *)) { background: #2c2348; }
:where(html[data-tema="escuro"]) .dd-btn-mais .dd-btn-toggle:hover:not(:where(.login-screen *)),
:where(html[data-tema="escuro"]) .dd-btn-mais.open .dd-btn-toggle:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .entrada-leitor-status:not(:where(.login-screen *)) { background: #273f35; color: #8feab6; border: 1px solid #345e49; }
:where(html[data-tema="escuro"]) .entrada-leitor-status.erro:not(:where(.login-screen *)) { background: #433726; color: #f8c281; border-color: #6b512a; }
:where(html[data-tema="escuro"]) .selo-garantia:not(:where(.login-screen *)) { color: #f8b581; border: 1px solid #6b522a; }
:where(html[data-tema="escuro"]) .selo-garantia.selo-garantia-origem:not(:where(.login-screen *)) { background: #433326; color: #f7a482; border-color: #6b4c2a; }
:where(html[data-tema="escuro"]) .garantia-item.marcado:not(:where(.login-screen *)) { background: #433726; }
:where(html[data-tema="escuro"]) .boleto-situacao.conectado:not(:where(.login-screen *)) { background: var(--green-bg, #204534); border-color: #335f46; }
:where(html[data-tema="escuro"]) .boleto-situacao svg:not(:where(.login-screen *)) { color: var(--green, #8aefaf); }
:where(html[data-tema="escuro"]) .selo-boleto:not(:where(.login-screen *)) { background: #433326; color: #f7a482; border: 1px solid #6b4c2a; }
:where(html[data-tema="escuro"]) .entradas-forn-info:not(:where(.login-screen *)) { color: var(--text-muted, #b2bbc8); }
:where(html[data-tema="escuro"]) .entradas-mes > summary:not(:where(.login-screen *)) { background: #23272c; }
:where(html[data-tema="escuro"]) .entradas-mes > summary:not(:where(.login-screen *))::before { color: var(--text-muted, #b2bbc8); }
:where(html[data-tema="escuro"]) .stat-card.pv-alerta:not(:where(.login-screen *)) { border-color: #6b532a; background: #433826; }
:where(html[data-tema="escuro"]) .pa-cor-0:not(:where(.login-screen *)) { stroke: #f8aa81; }
:where(html[data-tema="escuro"]) .pa-cor-1:not(:where(.login-screen *)) { stroke: #86dcf3; }
:where(html[data-tema="escuro"]) .pa-cor-2:not(:where(.login-screen *)) { stroke: #c6f584; }
:where(html[data-tema="escuro"]) .pa-cor-3:not(:where(.login-screen *)) { stroke: #ae86f4; }
:where(html[data-tema="escuro"]) .pa-cor-4:not(:where(.login-screen *)) { stroke: #81d0f8; }
:where(html[data-tema="escuro"]) .pa-cor-5:not(:where(.login-screen *)) { stroke: #afbaca; }
:where(html[data-tema="escuro"]) .pv-quadro-alerta:not(:where(.login-screen *)) { border-color: #69292c; }
:where(html[data-tema="escuro"]) .pa-colunas-legenda .icon:not(:where(.login-screen *)) { color: #f7a482; }
:where(html[data-tema="escuro"]) .painel-aniv-item.hoje:not(:where(.login-screen *)) { background: #433c26; }
:where(html[data-tema="escuro"]) .painel-aniv-dia:not(:where(.login-screen *)) { background: #433226; color: #f7a482; }
:where(html[data-tema="escuro"]) .pv-nova.aguardando:not(:where(.login-screen *)) { border-color: #69292c; background: #23272c; }
:where(html[data-tema="escuro"]) .pv-etq-cupom:not(:where(.login-screen *)) { background: #2e2348; color: #ae86f4; }

/* ---------- manual.css ---------- */
/* Modo escuro: acertos feitos à mão (vão colados no fim do tema-escuro.css gerado).
   Paleta grafite do ConstruLyros: fundo #121417, cartões #1b1e22, bordas #2e3238, texto #e9e7e4, destaque laranja #fb923c. */
html[data-tema="escuro"] {
  color-scheme: dark; /* campos, listas, calendário e barras de rolagem nativos também no escuro */
  --bg: #121417;
  --card-bg: #1b1e22;
  --border: #2e3238;
  --border-strong: #3a3f46;
  --text: #e9e7e4;
  --text-muted: #a8a29b;
  --text-faint: #7d7770;
  --accent: #fb923c;
  --accent-hover: #fdba74;
  --accent-light: rgba(251, 146, 60, 0.14);
  --accent-ring: rgba(251, 146, 60, 0.3);
  --green: #34d399;
  --green-bg: rgba(52, 211, 153, 0.14);
  --red: #f87171;
  --red-bg: rgba(248, 113, 113, 0.14);
  --orange: #fbbf24;
  --orange-bg: rgba(251, 191, 36, 0.14);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 22px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
}
html[data-tema="escuro"] body { background: var(--bg); color: var(--text); }
html[data-tema="escuro"] ::selection { background: rgba(251, 146, 60, 0.35); }
html[data-tema="escuro"] img { color-scheme: normal; }

/* "Acender e apagar a luz": as cores trocam suave (~0,35 s) só no momento da troca */
html.tema-trocando, html.tema-trocando *, html.tema-trocando *::before, html.tema-trocando *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease, stroke 0.35s ease, box-shadow 0.35s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  html.tema-trocando, html.tema-trocando * { transition: none !important; }
}

/* Fundo dos acordeões das configurações (a cor vem por variável, montada direto na tela) */
html[data-tema="escuro"] { --acordeao-bg: #23272c; --acordeao-aviso-bg: #3a3431; }

/* Campos sem cor própria no CSS (ex.: a grade da receita) usariam o cinza padrão do navegador no escuro;
   ficam na cor do cartão. :where() = peso zero, qualquer regra específica continua valendo. */
:where(html[data-tema="escuro"]) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), select, textarea) {
  background-color: var(--card-bg);
  color: var(--text);
}

/* Telas de acesso (login, esqueci a senha, redefinir senha, bloqueios): já são escuras por fora e o cartão
   continua claro nos dois modos. Dentro delas, as cores-base voltam às do modo claro. */
html[data-tema="escuro"] .login-screen {
  color-scheme: light;
  --bg: #f5f4f2; --card-bg: #ffffff; --border: #e8e6e2; --border-strong: #d8d5d0;
  --text: #1c1f24; --text-muted: #667085; --text-faint: #98a2b3;
  --accent: #c2410c; --accent-hover: #9a3412; --accent-light: #fff1e6; --accent-ring: rgba(194, 65, 12, 0.16);
  --green: #059669; --green-bg: #e7f8f1; --red: #dc2626; --red-bg: #fdecec; --orange: #d97706; --orange-bg: #fef3e2;
}

/* A bolinha da chave liga/desliga continua branca (a conversão automática deixaria escura) */
html[data-tema="escuro"] .switch .slider::before { background: #fff; }

/* Botões com fundo azul e texto branco: no escuro o azul de destaque é mais claro (bom para links), então
   aqui entra um azul mais profundo, para o texto branco continuar bem legível */
html[data-tema="escuro"] .pill.active,
html[data-tema="escuro"] .vac-btn.active { background: #c2410c; border-color: #c2410c; }
html[data-tema="escuro"] .dd-btn-primary .dd-btn-toggle { background: #c2410c; }

/* Consultor de Lentes, aba Tratamentos: a divisória e a alça ficam brancas sobre a foto nos dois modos */
html[data-tema="escuro"] .tr-divisor { background: #fff; }
html[data-tema="escuro"] .tr-alca { background: #fff; color: #1c2433; }

/* Painel novo (2026-11-24): o gerador clareia o traço das roscas (stroke) mas não o fundo das bolinhas e barras; aqui as duas
   ficam iguais, em cores mais claras, que aparecem bem no fundo escuro. O aniversariante de hoje fica num âmbar escuro. */
html[data-tema="escuro"] .pa-cor-0 { stroke: #fb923c; background: #fb923c; }
html[data-tema="escuro"] .pa-cor-1 { stroke: #5ec8de; background: #5ec8de; }
html[data-tema="escuro"] .pa-cor-2 { stroke: #a3e635; background: #a3e635; }
html[data-tema="escuro"] .pa-cor-3 { stroke: #b892f7; background: #b892f7; }
html[data-tema="escuro"] .pa-cor-4 { stroke: #7db4f5; background: #7db4f5; }
html[data-tema="escuro"] .pa-cor-5 { stroke: #afbaca; background: #afbaca; }
html[data-tema="escuro"] .painel-aniv-item.hoje { background: #33270d; border-color: #8a6a1f; }
html[data-tema="escuro"] .painel-aniv-item.hoje .painel-aniv-dia { background: #f59e0b; color: #1a1205; }
html[data-tema="escuro"] .stat-card.pv-alerta { background: #2a2010; border-color: #6b4f1c; }

/* Painel da Administração (2026-11-24): cadastro esperando o 1º pagamento e etiqueta do cupom no escuro */
html[data-tema="escuro"] .pv-nova.aguardando { background: #2a1416; border-color: #6b2a2f; }
html[data-tema="escuro"] .pv-etq-cupom { background: #2a1d4a; color: #c4a5ff; }
html[data-tema="escuro"] .pa-coluna.melhor .pa-coluna-ok { background: linear-gradient(180deg, #fdba74, #ea580c); }
