﻿:root {
  --fundo: #0a0d0c;
  --painel: #0f1312;
  --recesso: #161b1a;
  --recesso-claro: #1c2221;
  --borda: rgba(255, 255, 255, 0.08);
  --borda-forte: rgba(255, 255, 255, 0.16);

  --acento: #22c55e;
  --acento-forte: #4ade80;
  --acento-escuro: #15803d;
  --acento-glow: rgba(34, 197, 94, 0.4);

  --verde: #22c55e;
  --verde-glow: rgba(34, 197, 94, 0.3);
  --vermelho: #ef4a5c;
  --vermelho-glow: rgba(239, 74, 92, 0.32);
  --azul: #3b82f6;
  --roxo: #a78bfa;
  --laranja: #f59e0b;

  --texto: #f2f2f2;
  --texto-fraco: #7c8785;

  --suave: cubic-bezier(0.16, 1, 0.3, 1);
  --fonte-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --fonte-corpo: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-corpo);
  font-size: 15px;
}


/* Scrollbar customizada, no mesmo padrão visual do resto do app */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--recesso-claro) var(--fundo);
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--fundo); }
::-webkit-scrollbar-thumb {
  background: var(--recesso-claro);
  border-radius: 999px;
  border: 2px solid var(--fundo);
}
::-webkit-scrollbar-thumb:hover { background: var(--acento-escuro); }
::-webkit-scrollbar-corner { background: var(--fundo); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

h1, h2, h3 { font-family: var(--fonte-display); margin: 0 0 4px; }

/* ---------- Tela de abertura ---------- */
@keyframes orbe-flutuar {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 3%) scale(1.06); }
}
@keyframes abertura-anel-pulso {
  0% { transform: scale(0.82); opacity: 0.9; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}
@keyframes abertura-progresso { from { width: 0%; } to { width: 100%; } }
@keyframes abertura-letra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes escala-suave { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes aba-entrar {
  0% { opacity: 0; transform: scale(0.35) translateY(-40px); filter: blur(5px); }
  55% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}
@keyframes aba-btn-pulso {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.tela-abertura {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--fundo);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.tela-abertura.saindo { opacity: 0; pointer-events: none; }

.tela-login {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--fundo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-cartao {
  width: 100%;
  max-width: 340px;
  background: var(--recesso);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-titulo { font-size: 1.3rem; margin: 0; color: var(--texto); }
.login-subtitulo { margin: 0 0 8px; color: var(--texto-fraco); font-size: 0.9rem; }
.login-status { min-height: 1.2em; color: #ff6b6b; font-size: 0.85rem; }
.tela-login .campo label { color: var(--texto-fraco); font-size: 13px; margin-bottom: 4px; display: block; }
.tela-login .botoes { margin-top: 4px; }

.abertura-orbe {
  position: absolute;
  width: 55vw;
  height: 55vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, var(--acento-glow), transparent 70%);
  filter: blur(70px);
  animation: orbe-flutuar 6s ease-in-out infinite;
}

.abertura-conteudo { position: relative; z-index: 1; text-align: center; }

.abertura-logo-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.abertura-anel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--acento);
  animation: abertura-anel-pulso 1.8s ease-out infinite;
}
.abertura-anel-atraso { animation-delay: 0.6s; }
.abertura-logo {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--acento);
  color: #0a0d0c;
  font-family: var(--fonte-display);
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: escala-suave 0.5s var(--suave);
}
.abertura-titulo {
  font-size: 21px;
  color: var(--texto);
  animation: abertura-letra 0.5s var(--suave) 0.15s backwards;
}
.abertura-subtitulo {
  color: var(--texto-fraco);
  font-size: 13px;
  margin-top: 4px;
  animation: abertura-letra 0.5s var(--suave) 0.25s backwards;
}
.abertura-barra {
  width: 180px;
  height: 3px;
  background: var(--recesso-claro);
  border-radius: 999px;
  margin: 24px auto 0;
  overflow: hidden;
}
.abertura-barra-preenchimento {
  height: 100%;
  background: var(--acento);
  animation: abertura-progresso 1.3s ease-in-out forwards;
}

/* ---------- Transição de abas ---------- */
.aba-conteudo.entrando { animation: aba-entrar 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.aba-btn.pulso { animation: aba-btn-pulso 0.3s var(--suave); }

header {
  padding: 24px 32px 16px;
  border-bottom: 1px solid var(--borda);
}

header h1 { font-size: 22px; color: var(--acento); }
header p { margin: 0; color: var(--texto-fraco); font-size: 13px; }
.saudacao { color: var(--acento); font-size: 13px; font-weight: 700; margin: 0 0 6px; }

/* ---------- Calculadora flutuante ---------- */
.calc-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--acento);
  color: #0a0d0c;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.calc-fab:hover { filter: brightness(1.1); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); transform: none; }

.calc-janela {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 800;
  width: 260px;
  background: var(--painel);
  border: 1px solid var(--borda-forte);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.calc-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--recesso);
  cursor: move;
  font-size: 12px;
  font-weight: 700;
  color: var(--texto-fraco);
  user-select: none;
}
.calc-fechar {
  background: none;
  border: none;
  color: var(--texto-fraco);
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
  box-shadow: none;
  cursor: pointer;
}
.calc-fechar:hover { color: var(--vermelho); box-shadow: none; transform: none; }

.calc-visor {
  padding: 18px 14px;
  text-align: right;
  font-family: var(--fonte-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--texto);
  background: var(--fundo);
  overflow-x: auto;
  white-space: nowrap;
}

.calc-grade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--borda);
}
.calc-btn {
  background: var(--recesso);
  color: var(--texto);
  border: none;
  border-radius: 0;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
}
.calc-btn:hover { background: var(--recesso-claro); box-shadow: none; transform: none; }
.calc-cinza { background: var(--recesso-claro); color: var(--texto-fraco); }
.calc-op { background: var(--acento-escuro); color: #ffffff; }
.calc-op:hover { background: var(--acento); }
.calc-igual { background: var(--acento); color: #0a0d0c; }
.calc-igual:hover { filter: brightness(1.1); }
.calc-zero { grid-column: span 2; }

nav.abas {
  display: flex;
  gap: 4px;
  padding: 12px 32px 0;
  border-bottom: 1px solid var(--borda);
}

.aba-btn {
  background: none;
  border: none;
  color: var(--texto-fraco);
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--fonte-corpo);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--suave), border-color 0.2s var(--suave), transform 0.2s var(--suave);
}

.aba-btn:hover { color: var(--texto); }
.aba-btn.ativa { color: var(--acento); border-bottom-color: var(--acento); }

main { padding: 24px 32px 60px; }

@media print {
  .calc-fab, .calc-janela { display: none !important; }
}

.aba-conteudo[hidden] { display: none; }

.cartao {
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 20px;
}

.cartao h2 { font-size: 16px; margin-bottom: 10px; }
.texto-fraco { color: var(--texto-fraco); font-size: 13px; }

.grade-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.status-backup:empty { display: none; }
.status-backup { margin-top: 14px; }

.stat-card {
  background: var(--recesso);
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 16px 18px;
}
.stat-card .rotulo {
  font-size: 12px;
  color: var(--texto-fraco);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.stat-card .valor {
  font-family: var(--fonte-display);
  font-size: 24px;
  font-weight: 700;
  margin-top: 6px;
}
.stat-card.alerta .valor { color: var(--laranja); }
.stat-card.perigo .valor { color: var(--vermelho); }

.lista-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--borda);
  font-size: 13px;
}
.lista-linha:last-child { border-bottom: none; }
.lista-linha .desc small { display: block; color: var(--texto-fraco); font-size: 11px; margin-top: 2px; }
.lista-linha strong { font-family: var(--fonte-display); }

.grade-graficos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.grade-graficos .cartao { margin-bottom: 0; }

.grafico-wrap { overflow-x: auto; color: var(--texto); }
.grafico-svg { width: 100%; height: 220px; display: block; }

.grafico-donut-linha {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.grafico-donut { width: 140px; height: 140px; flex: 0 0 auto; }

.legenda { flex: 1 1 200px; min-width: 180px; }
.legenda-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid var(--borda);
  color: var(--texto);
}
.legenda-item:last-child { border-bottom: none; }
.legenda-item span:nth-child(2) { flex: 1; color: var(--texto-fraco); }
.legenda-item .ponto { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legenda-item strong { font-family: var(--fonte-display); font-size: 13px; }
.legenda-item strong small { color: var(--texto-fraco); font-weight: 400; }

.grade-saldos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.saldo-card {
  background: var(--recesso);
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 14px 16px;
}

.saldo-card h3 { font-size: 15px; margin-bottom: 10px; color: var(--texto); }

.saldo-linha {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-size: 13px;
  color: var(--texto-fraco);
}

.saldo-linha strong {
  color: var(--texto);
  font-family: var(--fonte-display);
  font-size: 15px;
  font-weight: 600;
}

.saldo-linha.positivo strong { color: var(--verde); }
.saldo-linha.zerado strong { color: var(--texto-fraco); }

/* Formulário */
.form-grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.grupo-transparente { display: contents; }

.rotulo-secao {
  display: block;
  font-size: 12px;
  color: var(--texto-fraco);
  font-weight: 600;
  margin: 16px 0 8px;
}

.pagamento-linha {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.pagamento-linha select { flex: 1.4 1 180px; }
.pagamento-linha input.pgValor { flex: 1 1 120px; }
.pagamento-linha input[type="date"] { flex: 1 1 150px; }
.pagamento-linha .btn-remover-pagamento { flex: 0 0 auto; }

input[type="file"] {
  padding: 8px 10px;
  font-size: 13px;
}
input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-selector-button {
  background: #7dd3fc;
  color: #0a2540;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.15s var(--suave);
}
input[type="file"]::file-selector-button:hover,
input[type="file"]::-webkit-file-selector-button:hover { background: #a5e2fd; }

.lista-anexos { margin-top: 8px; }
.anexo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  background: var(--recesso);
  border: 1px solid var(--borda);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 13px;
}
.anexo-item small { color: var(--texto-fraco); }

.link-anexo {
  display: block;
  background: none;
  border: none;
  color: var(--acento);
  font-size: 12px;
  padding: 2px 0;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  font-weight: 600;
}
.link-anexo:hover { text-decoration: underline; box-shadow: none; transform: none; }

/* Menu de ações por linha (ícone discreto + popup) */
.btn-menu-linha {
  width: 30px;
  height: 30px;
  padding: 0;
  background: var(--recesso);
  border: 1px solid var(--borda);
  border-radius: 8px;
  color: var(--texto-fraco);
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
}
.btn-menu-linha:hover { background: var(--recesso-claro); color: var(--texto); }

.popup-menu {
  position: fixed;
  min-width: 200px;
  max-width: 260px;
  background: var(--painel);
  border: 1px solid var(--borda-forte);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  z-index: 500;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.popup-menu button {
  background: none;
  border: none;
  color: var(--texto);
  text-align: left;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
  white-space: normal;
  width: 100%;
}
.popup-menu button:hover { background: var(--recesso-claro); box-shadow: none; transform: none; }
.popup-menu button.popup-perigo { color: var(--vermelho); }
.popup-menu button.popup-anexo-item { font-size: 12px; color: var(--texto-fraco); }
.popup-separador { height: 1px; background: var(--borda); margin: 4px 2px; }

.campo { display: flex; flex-direction: column; gap: 4px; }
.campo label { font-size: 12px; color: var(--texto-fraco); font-weight: 600; }

input, select, textarea {
  background: var(--recesso);
  border: 1px solid var(--borda);
  border-radius: 8px;
  color: var(--texto);
  padding: 9px 10px;
  font-size: 14px;
  font-family: var(--fonte-corpo);
  outline: none;
  transition: border-color 0.15s var(--suave);
}

input:focus, select:focus, textarea:focus { border-color: var(--acento); }

.campo-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.campo-checkbox input { width: 16px; height: 16px; }

.botoes { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

button {
  background: var(--acento);
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--fonte-corpo);
  cursor: pointer;
  transition: transform 0.1s var(--suave), box-shadow 0.2s var(--suave), opacity 0.15s var(--suave);
}
button:hover { box-shadow: 0 0 0 3px var(--acento-glow); }
button:active { transform: scale(0.97); }

button.secundario {
  background: var(--recesso-claro);
  color: var(--texto);
  border: 1px solid var(--borda-forte);
}
button.secundario:hover { box-shadow: none; border-color: var(--acento); }

button.perigo { background: var(--vermelho); color: #fff; }
button.perigo:hover { box-shadow: 0 0 0 3px var(--vermelho-glow); }

button.pequeno { padding: 5px 10px; font-size: 12px; }

/* Filtros */
.filtros {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 16px;
}

/* Tabela */
.tabela-wrap { overflow-x: auto; }

#aba-lancamentos table { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: auto; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }

th {
  text-align: left;
  color: var(--texto-fraco);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 6px;
  border-bottom: 1px solid var(--borda-forte);
  white-space: nowrap;
}

td {
  padding: 7px 6px;
  border-bottom: 1px solid var(--borda);
  white-space: nowrap;
}

td.celula-obs {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}

tr.linha-entrada td { color: var(--verde); }
tr:hover td { background: var(--recesso); }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.tag-credito { background: rgba(34, 197, 94, 0.15); color: var(--acento); }
.tag-carteira { background: rgba(59, 130, 246, 0.15); color: var(--azul); }
.tag-cartao { background: rgba(167, 139, 250, 0.15); color: var(--roxo); }
.tag-pix { background: rgba(45, 212, 191, 0.15); color: #2dd4bf; }
.tag-boleto { background: rgba(239, 74, 92, 0.15); color: var(--vermelho); }
.tag-alerta { background: rgba(245, 158, 11, 0.15); color: var(--laranja); }
.tag-outro { background: rgba(255, 255, 255, 0.08); color: var(--texto-fraco); }

.valor-positivo { color: var(--verde); font-weight: 600; }
.valor-negativo { color: var(--vermelho); font-weight: 600; }

.vazio { color: var(--texto-fraco); font-style: italic; padding: 20px; text-align: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.chip {
  background: var(--recesso);
  border: 1px solid var(--borda);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip button.remover {
  background: none;
  color: var(--vermelho);
  padding: 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.chip button.remover:hover { box-shadow: none; opacity: 0.7; }

#status { margin-top: 10px; font-size: 13px; color: var(--verde); min-height: 18px; }

.boleto-vencido td { background: rgba(239, 74, 92, 0.08); }
.boleto-proximo td { background: rgba(245, 158, 11, 0.08); }

/* Extrato / impressão */
.folha-extrato-wrap { padding: 0; overflow-x: auto; }

.folha-extrato {
  background: var(--fundo);
  color: var(--texto);
  border-radius: 10px;
  min-width: 640px;
  overflow: hidden;
  border: 1px solid var(--borda);
}

.folha-extrato .extrato-cabecalho {
  background: var(--painel);
  color: var(--texto);
  padding: 24px 32px;
  border-bottom: 1px solid var(--borda);
}
.folha-extrato .extrato-marca {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 8px;
}
.folha-extrato .extrato-cabecalho h2 { color: var(--texto); font-size: 20px; }
.folha-extrato .extrato-cabecalho .extrato-meta { color: var(--texto-fraco); font-size: 13px; margin: 2px 0; }
.folha-extrato .extrato-cabecalho .extrato-gerado { color: var(--texto-fraco); opacity: 0.7; font-size: 11px; margin-top: 6px; }

.folha-extrato .extrato-corpo { padding: 24px 32px 30px; }

.folha-extrato table { margin-top: 0; }
.folha-extrato th {
  color: var(--texto-fraco);
  border-bottom: 2px solid var(--borda-forte);
}
.folha-extrato td { color: var(--texto); border-bottom: 1px solid var(--borda); }
.folha-extrato tbody tr:nth-child(even) td { background: var(--recesso); }
.folha-extrato tr.linha-entrada td { color: var(--verde); font-weight: 600; }
.folha-extrato tr:hover td { background: var(--recesso-claro); }

.extrato-rodape {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--recesso);
  border: 1px solid var(--borda);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.extrato-rodape .item { font-size: 12px; color: var(--texto-fraco); text-transform: uppercase; letter-spacing: 0.03em; }
.extrato-rodape .item strong {
  display: block;
  font-family: var(--fonte-display);
  font-size: 18px;
  color: var(--texto);
  text-transform: none;
  letter-spacing: normal;
  margin-top: 3px;
}

@media print {
  body * { visibility: hidden; }
  #folhaExtrato, #folhaExtrato * { visibility: visible; }
  #folhaExtrato {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-width: 0;
    border-radius: 0;
  }
  #folhaExtrato, #folhaExtrato * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* No papel/PDF sempre sai claro, mesmo com o app no tema escuro */
  .folha-extrato { background: #ffffff !important; color: #111111 !important; border: none !important; }
  .folha-extrato .extrato-cabecalho { background: #ffffff !important; border-bottom: 2px solid #111111 !important; }
  .folha-extrato .extrato-marca { color: #15803d !important; }
  .folha-extrato .extrato-cabecalho h2 { color: #111111 !important; }
  .folha-extrato .extrato-cabecalho .extrato-meta { color: #555555 !important; }
  .folha-extrato .extrato-cabecalho .extrato-gerado { color: #888888 !important; opacity: 1 !important; }
  .folha-extrato th { color: #555555 !important; border-bottom: 2px solid #111111 !important; }
  .folha-extrato td { color: #111111 !important; border-bottom: 1px solid #e5e5e5 !important; }
  .folha-extrato tbody tr:nth-child(even) td { background: #f6f7f6 !important; }
  .folha-extrato tr.linha-entrada td { color: #15803d !important; }
  .extrato-rodape { background: #f6f7f6 !important; border: 1px solid #e5e5e5 !important; }
  .extrato-rodape .item { color: #555555 !important; }
  .extrato-rodape .item strong { color: #111111 !important; }

  @page { margin: 14mm; }
}
