/* ESMERO FINANÇAS — V38.1.4 — Tema WHITE FINANCE (opcional). É o BLACK'WHITE FINANCE com as cores invertidas: tela inteiramente branca, textos escuros,
 * linhas de borda pretas opacas e finas. Escopado em body.esmero-tema-whitefinance (que também carrega o Claro, só para herdar as cores dos textos do app);
 * a logo dos relatórios (letras pretas) substitui a logo padrão pelo js/75. Gerado a partir do css/tema-black-finance.css e ajustado. */
body.esmero-tema-whitefinance {
  --bf-txt: #1a1a1a; --bf-mut: #595959; --bf-fraco: #666; --bf-hover: rgba(0,0,0,.07); --bf-press: rgba(0,0,0,.13); --bf-acento: #b45309;
  background: #fff !important; color: var(--bf-txt) !important;
  font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif; font-weight: 300; letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: rgba(0,0,0,.08);
}
body.esmero-tema-whitefinance *, body.esmero-tema-whitefinance *::before, body.esmero-tema-whitefinance *::after { border-color: transparent !important; box-shadow: none !important; --tw-ring-shadow: 0 0 #0000 !important; --tw-shadow: 0 0 #0000 !important; }
body.esmero-tema-whitefinance :where(*:not(input[type=checkbox]):not(input[type=radio]):not(hr)) { border-style: none !important; border-width: 0 !important; }
body.esmero-tema-whitefinance :where(*) { text-shadow: none; }
body.esmero-tema-whitefinance, body.esmero-tema-whitefinance *:not(i):not(svg):not(canvas) { font-weight: 300 !important; }
body.esmero-tema-whitefinance :is(h1, h2, .text-2xl, .text-3xl, .text-4xl) { font-weight: 200 !important; letter-spacing: -.01em; }
body.esmero-tema-whitefinance :is(h3, th, label, .uppercase) { color: var(--bf-mut) !important; letter-spacing: .08em; }
body.esmero-tema-whitefinance :is(.text-slate-300, .text-slate-200, .text-slate-100) { color: #333 !important; }
body.esmero-tema-whitefinance :is(.text-slate-400, .text-slate-500, .text-slate-600, .text-gray-400, .text-gray-500) { color: var(--bf-mut) !important; }
body.esmero-tema-whitefinance :is(.text-white, .text-slate-50) { color: #111 !important; }
body.esmero-tema-whitefinance :is(header, nav, main, footer, .tab-content, #mainContent, .nav-dropdown, table, thead, tbody, tfoot, tr, th, td, aside, section, form, fieldset, details, summary, dialog, ul, li),
body.esmero-tema-whitefinance :is([class*="bg-slate-"], [class*="bg-gray-"], [class*="bg-zinc-"], [class*="bg-neutral-"], [class*="bg-stone-"], [class*="bg-black"], [class*="bg-white"]):not(input):not(select):not(textarea):not(button) { background: #fff !important; background-image: none !important; }
body.esmero-tema-whitefinance :is(.tab-content, main) > div, body.esmero-tema-whitefinance .tab-content [class*="rounded-"] { background: #fff !important; }
body.esmero-tema-whitefinance .fixed.inset-0 { background: rgba(255,255,255,.9) !important; backdrop-filter: none !important; }
body.esmero-tema-whitefinance .nav-dropdown { background: #fff !important; box-shadow: 0 14px 44px rgba(0,0,0,.07) !important; }
body.esmero-tema-whitefinance :is([style*="background:#0f172a"], [style*="background:#020617"], [style*="background:#1e293b"], [style*="background:#171717"], [style*="background: #0f172a"], [style*="background:#111827"], [style*="background:#0b1220"], [style*="background:#1f2937"]):not(button):not(input):not(select):not(textarea) { background: #fff !important; }
html body.esmero-tema-whitefinance > header:not(#_x) { background: #fff !important; backdrop-filter: none !important; border-bottom: 1px solid rgba(0,0,0,.22) !important; }
html body.esmero-tema-whitefinance :is(input[type=checkbox], input[type=radio]):not(#_x) { border-color: rgba(0,0,0,.45) !important; }
body.esmero-tema-whitefinance > header nav { background: #fff !important; }
body.esmero-tema-whitefinance :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { background: transparent !important; color: #111 !important; font-weight: 300 !important; border-radius: 0 !important; outline: none !important; padding-left: .15rem; }
body.esmero-tema-whitefinance :is(input:not([type=checkbox]):not([type=radio]), textarea)::placeholder { color: #767676 !important; }
body.esmero-tema-whitefinance :is(input:not([type=checkbox]):not([type=radio]), select, textarea):focus { box-shadow: inset 0 -1px 0 rgba(0,0,0,.55) !important; }
body.esmero-tema-whitefinance select option { background: #fff; color: #111; }
body.esmero-tema-whitefinance :is(input[type=checkbox], input[type=radio]) { accent-color: var(--bf-acento); }
body.esmero-tema-whitefinance ::selection { background: rgba(180,83,9,.35); }
body.esmero-tema-whitefinance :is(button, [role=button], .btn, .esm-usr, a.nav-dropdown-item, .nav-dropdown-item) { background: transparent !important; background-image: none !important; color: var(--bf-txt) !important; border-radius: 8px; transition: background-color .15s ease, color .15s ease, opacity .15s ease; }
body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-amber-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-orange-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-yellow-"], body.esmero-tema-whitefinance :is(button, [role=button])[style*="background:#e08205"], body.esmero-tema-whitefinance :is(button, [role=button])[style*="background: #e08205"] { color: var(--bf-acento) !important; }
body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-emerald-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-green-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-teal-"] { color: #047857 !important; }
body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-rose-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-red-"] { color: #be123c !important; }
body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-blue-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-sky-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-indigo-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-cyan-"] { color: #1d4ed8 !important; }
body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-purple-"], body.esmero-tema-whitefinance :is(button, [role=button])[class*="bg-violet-"] { color: #6d28d9 !important; }
body.esmero-tema-whitefinance :is(button, [role=button]):disabled { opacity: .35; }
body.esmero-tema-whitefinance :is([class*="bg-emerald-"], [class*="bg-green-"], [class*="bg-rose-"], [class*="bg-red-"], [class*="bg-amber-"], [class*="bg-orange-"], [class*="bg-yellow-"], [class*="bg-blue-"], [class*="bg-sky-"], [class*="bg-purple-"], [class*="bg-indigo-"])[class*="/"]:not(button):not(input) { background: transparent !important; }
@media (hover: hover) {
  body.esmero-tema-whitefinance :is(button, [role=button], .esm-usr, .nav-dropdown-item):not(:disabled):hover { background: var(--bf-hover) !important; color: #000 !important; }
  body.esmero-tema-whitefinance :is([onclick]:not(button), .cursor-pointer, summary, a[href]):not(button):hover { filter: brightness(1.3); }
  body.esmero-tema-whitefinance tbody tr:hover > td { background: rgba(0,0,0,.035) !important; }
}
body.esmero-tema-whitefinance :is(button, [role=button], .esm-usr, .nav-dropdown-item):not(:disabled):active { background: var(--bf-press) !important; transform: scale(.985); }
body.esmero-tema-whitefinance :is(.nav-btn.text-amber-500, .nav-dropdown-item.text-amber-500, [aria-selected=true], [aria-current=page]) { color: var(--bf-acento) !important; background: transparent !important; text-shadow: 0 0 14px rgba(180,83,9,.4) !important; }
body.esmero-tema-whitefinance :focus-visible { outline: 1px solid rgba(0,0,0,.5) !important; outline-offset: 2px; }
body.esmero-tema-whitefinance :is(input, select, textarea):focus-visible { outline: none !important; }
body.esmero-tema-whitefinance table { border-collapse: separate; border-spacing: 0; }
body.esmero-tema-whitefinance :is(th, td) { padding-top: .7rem; padding-bottom: .7rem; }
body.esmero-tema-whitefinance th { font-size: .68rem; text-transform: uppercase; color: var(--bf-fraco) !important; }
body.esmero-tema-whitefinance :is(.divide-y, .divide-slate-800) > * { border: 0 !important; }
body.esmero-tema-whitefinance #esmFooter { background: #fff !important; color: var(--bf-fraco) !important; }
body.esmero-tema-whitefinance html, html:has(body.esmero-tema-whitefinance) { scrollbar-color: rgba(0,0,0,.22) #fff; background: #fff; }
body.esmero-tema-whitefinance img { background: transparent !important; }
body.esmero-tema-whitefinance #bfGraficos { display: grid; grid-template-columns: 1fr; gap: 2.5rem 2rem; margin-top: 1.5rem; }
@media (min-width: 1024px) {
  body.esmero-tema-whitefinance #bfGraficos { grid-template-columns: 1fr 1fr; }
}
body.esmero-tema-whitefinance #bfGraficos .bf-bloco { background: #fff; min-width: 0; padding: 0 .25rem; }
body.esmero-tema-whitefinance #bfGraficos h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #333 !important; margin: 0 0 .35rem; }
body.esmero-tema-whitefinance #bfGraficos .bf-leg { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .75rem; margin-bottom: .6rem; }
body.esmero-tema-whitefinance #bfGraficos .bf-leg i { display: inline-block; width: 18px; height: 2px; vertical-align: middle; margin-right: .4rem; border-radius: 0; }
body.esmero-tema-whitefinance #bfGraficos .bf-area { position: relative; height: 240px; }
@media (max-width: 640px) {
  body.esmero-tema-whitefinance #bfGraficos .bf-area { height: 210px; }
}
body.esmero-tema-whitefinance #bfGraficos .bf-nota { font-size: .68rem; color: var(--bf-fraco) !important; margin: .6rem 0 0; }

/* ---- linhas de borda: finas, em todos os blocos, seções, botões e campos ---- */
html body.esmero-tema-whitefinance :is(.tab-content [class*="rounded-"], .tab-content [style*="border-radius"], section, fieldset, details, .fixed.inset-0 > div, #esmFooter):not(button):not(input):not(select):not(textarea):not(span):not(i):not(img):not(canvas):not(label):not(svg):not(a):not(.nav-btn):not(.nav-dropdown-item):not([class*="bg-emerald-"]):not([class*="bg-rose-"]):not([class*="bg-red-"]):not([class*="bg-green-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-blue-"]):not([class*="bg-sky-"]):not([class*="bg-purple-"]):not(#_x) { border: 1px solid #000 !important; border-radius: 6px !important; }
html body.esmero-tema-whitefinance .nav-dropdown:not(#_x) { border: 1px solid #000 !important; border-radius: 6px !important; }
html body.esmero-tema-whitefinance :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x) { border: 1px solid #000 !important; border-radius: 6px !important; }
html body.esmero-tema-whitefinance :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea):not(#_x) { border: 1px solid #000 !important; border-radius: 6px !important; padding-left: .6rem; padding-right: .6rem; }
html body.esmero-tema-whitefinance :is(input[type=checkbox], input[type=radio]):not(#_x) { border-color: #000 !important; }
html body.esmero-tema-whitefinance > header:not(#_x) { border-bottom: 1px solid #000 !important; }
html body.esmero-tema-whitefinance :is(th):not(#_x) { border-bottom: 1px solid #000 !important; }
html body.esmero-tema-whitefinance tbody td:not(#_x) { border-bottom: 1px solid rgba(0,0,0,.14) !important; }
/* hover (mouse) e selecionado: a linha ganha intensidade; o fundo continua branco */
@media (hover: hover) {
  html body.esmero-tema-whitefinance :is(.tab-content [class*="rounded-"], .tab-content [style*="border-radius"], section, fieldset, details, .fixed.inset-0 > div, #esmFooter):not(button):not(input):not(select):not(textarea):not(span):not(i):not(img):not(canvas):not(label):not(svg):not(a):not(.nav-btn):not(.nav-dropdown-item):not([class*="bg-emerald-"]):not([class*="bg-rose-"]):not([class*="bg-red-"]):not([class*="bg-green-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-blue-"]):not([class*="bg-sky-"]):not([class*="bg-purple-"]):not(#_x):hover { border-color: #000 !important; }
  html body.esmero-tema-whitefinance :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x):not(:disabled):hover { border-color: #000 !important; }
  html body.esmero-tema-whitefinance :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea):not(#_x):hover { border-color: #000 !important; }
}
html body.esmero-tema-whitefinance :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea):not(#_x):focus { border-color: #000 !important; box-shadow: none !important; }
html body.esmero-tema-whitefinance :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x):not(:disabled):active { border-color: #000 !important; }
html body.esmero-tema-whitefinance :is(.nav-btn.text-amber-500, [aria-selected=true], [aria-current=page]):not(#_x) { border: 0 !important; }

/* realce no WHITE FINANCE: a linha preta opaca engrossa levemente (não há como "clarear" uma linha já opaca) */
@media (hover: hover) {
  html body.esmero-tema-whitefinance :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(:disabled):not(#_x):hover { box-shadow: inset 0 0 0 .6px #000 !important; }
}
html body.esmero-tema-whitefinance :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(:disabled):not(#_x):active { box-shadow: inset 0 0 0 1px #000 !important; }
/* o Claro pinta o cabeçalho e a barra de menus de azul-marinho: aqui tudo é branco */
html body.esmero-tema-whitefinance > header:not(#_x), html body.esmero-tema-whitefinance > header nav:not(#_x), html body.esmero-tema-whitefinance > header *:not(img):not(canvas):not(input):not(select):not(textarea):not(i):not(svg):not(#_x) { background-color: #fff !important; }
html body.esmero-tema-whitefinance > header :is(h1, h2, span, a, button, label, p):not(#_x) { color: #111 !important; }
html body.esmero-tema-whitefinance .nav-dropdown-item:not(#_x):hover { background: rgba(0,0,0,.06) !important; }
html body.esmero-tema-whitefinance #esmFooter { color: #555 !important; }

/* V38.1.4: botões da tela de usuários herdam fundo cinza do Claro; no White Finance o fundo é sempre branco */
html body.esmero-tema-whitefinance #unPadrao, html body.esmero-tema-whitefinance #unPadrao:not(#_x) { background: #fff !important; color: #1a1a1a !important; }
@media (hover: hover) { html body.esmero-tema-whitefinance #unPadrao:not(#_x):not(:disabled):hover { background: rgba(0,0,0,.07) !important; } }
/* rodapé: textos internos (inclusive os destacados em branco para o tema escuro) legíveis sobre o fundo branco */
html body.esmero-tema-whitefinance #esmFooter, html body.esmero-tema-whitefinance #esmFooter *:not(#_x) { color: #404040 !important; }
