:root {
  /* Paleta Gestão: verde Aerofitness (#70b840), sem azul, sem degradê */
  --azul-principal: #3d8b1e;
  --azul-profundo: #163d20;
  --azul-claro: #70b840;
  --azul-suave: #e8f5dd;
  --marca-navy: #002868;
  --marca-verde: #70b840;
  --verde-principal: #4f9a2a;
  --verde-claro: #8fd35f;
  --verde-suave: #e8f5dd;
  --ambar: #f59e0b;
  --ambar-suave: #fef3c7;
  --vermelho: #ef4444;
  --vermelho-suave: #fee2e2;
  --texto-principal: #1f2937;
  --texto-secundario: #6b7280;
  --texto-suave: #9ca3af;
  --texto-inverso: #ffffff;
  --linha: #e5e7eb;
  --fundo-app: #f4f6f9;
  --fundo-card: #ffffff;
  --fundo-sutil: #fafbfc;
  --fundo-input: #ffffff;
  --hover-primario: #2f7a1f;
  --badge-verde-texto: #1f6b2a;
  --badge-ambar-texto: #92400e;
  --badge-laranja-fundo: #feefdc;
  --badge-laranja-texto: #9a3412;
  --badge-vermelho-texto: #991b1b;
  --badge-azul-texto: #1e3a8a;
  --sidebar-grad: #5fb12f;
}

/* Tema escuro: só os tokens mudam */
[data-theme="dark"] {
  --azul-principal: #8fd35f;
  --azul-claro: #a9e07f;
  --azul-suave: #1a3a22;
  --verde-principal: #8fd35f;
  --verde-suave: #17351f;
  --ambar-suave: #3a2c0c;
  --vermelho-suave: #3d1a1a;
  --texto-principal: #e5e7eb;
  --texto-secundario: #a3acb9;
  --texto-suave: #6b7280;
  --linha: #2a3650;
  --fundo-app: #0e1526;
  --fundo-card: #161f33;
  --fundo-sutil: #1b2540;
  --fundo-input: #111a2e;
  --hover-primario: #a9e07f;
  --badge-verde-texto: #b6ea92;
  --badge-ambar-texto: #fcd380;
  --badge-laranja-fundo: #3c2410;
  --badge-laranja-texto: #fbbf8a;
  --badge-vermelho-texto: #fca5a5;
  --badge-azul-texto: #bcd3f7;
  --sidebar-grad: #2e6a18;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  color: var(--texto-principal);
  background: var(--fundo-app);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.titulo,
.kpi-valor {
  font-family: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
}

.tabular {
  font-feature-settings:
    "tnum" on,
    "lnum" on;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Master */
.app-shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--sidebar-grad);
  color: #fff;
  padding: 16px 14px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.sidebar::-webkit-scrollbar {
  width: 8px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
.sidebar .marca {
  padding: 4px 10px 14px;
}
.sidebar .marca .logo {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.sidebar .marca .sub {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 1px;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.menu .secao {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  padding: 10px 12px 4px;
}
.menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  position: relative;
  transition: background 0.15s;
}
.menu a:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
}
.menu a.ativo {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}
.menu a.ativo::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: #fff;
  border-radius: 0 3px 3px 0;
}

.sidebar-rodape {
  margin-top: 16px;
  padding: 10px 12px 4px;
  font-size: 12px;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Conteúdo principal */
.main {
  padding: 24px 32px 64px;
  min-width: 0;
}
.page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--linha);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.page-header h1 {
  font-size: 26px;
  font-weight: 600;
}
.page-header .sub {
  color: var(--texto-secundario);
  font-size: 13px;
  margin-top: 4px;
}
.page-header .acoes {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Cards */
.card {
  background: var(--fundo-card);
  border-radius: 14px;
  padding: 24px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04);
}
.card .card-titulo {
  font-size: 13px;
  color: var(--texto-secundario);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.card h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.grid-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .grid-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .grid-kpis {
    grid-template-columns: 1fr;
  }
}

.kpi {
  padding: 22px 24px;
}
.kpi .kpi-rotulo {
  font-size: 12.5px;
  color: var(--texto-secundario);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.kpi .kpi-valor {
  font-size: 30px;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.1;
}
.kpi .kpi-comp {
  font-size: 12.5px;
  color: var(--texto-secundario);
  margin-top: 6px;
}
.kpi.positivo .kpi-valor {
  color: var(--verde-principal);
}
.kpi.negativo .kpi-valor {
  color: var(--vermelho);
}

/* Cards de unidade */
.grid-unidades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.card-unidade {
  padding: 22px 24px;
  border-radius: 14px;
  position: relative;
}
.card-unidade.verde {
  background: var(--verde-suave);
  border: 1px solid var(--verde-suave);
}
.card-unidade.ambar {
  background: var(--ambar-suave);
  border: 1px solid var(--ambar-suave);
}
.card-unidade.laranja {
  background: #feefdc;
  border: 1px solid var(--badge-laranja-fundo);
}
.card-unidade.vermelho {
  background: var(--vermelho-suave);
  border: 1px solid var(--vermelho-suave);
}
.card-unidade .titulo-unidade {
  font-family: "Bricolage Grotesque";
  font-size: 20px;
  font-weight: 700;
}
.card-unidade .cidade {
  font-size: 12.5px;
  color: var(--texto-secundario);
  margin-top: 2px;
}
.card-unidade .valor-contrib {
  font-size: 28px;
  font-weight: 700;
  margin-top: 16px;
  font-family: "Bricolage Grotesque";
}
.card-unidade .pct {
  font-size: 13px;
  color: var(--texto-principal);
  margin-top: 4px;
}
.card-unidade .frase {
  margin-top: 12px;
  font-size: 13px;
  color: var(--texto-principal);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge.verde {
  background: var(--verde-suave);
  color: var(--badge-verde-texto);
}
.badge.ambar {
  background: var(--ambar-suave);
  color: var(--badge-ambar-texto);
}
.badge.laranja {
  background: var(--badge-laranja-fundo);
  color: var(--badge-laranja-texto);
}
.badge.vermelho {
  background: var(--vermelho-suave);
  color: var(--badge-vermelho-texto);
}
.badge.azul {
  background: var(--azul-suave);
  color: var(--badge-azul-texto);
}

/* Tabela */
.tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.tabela th {
  text-align: left;
  font-weight: 500;
  color: var(--texto-secundario);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--linha);
}
.tabela td {
  padding: 12px;
  border-bottom: 1px solid var(--linha);
}
.tabela tbody tr:hover {
  background: var(--fundo-sutil);
}
.tabela td.num,
.tabela th.num {
  text-align: right;
  font-feature-settings:
    "tnum" on,
    "lnum" on;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn-primario {
  background: var(--azul-principal);
  color: #fff;
}
.btn-primario:hover {
  background: var(--hover-primario);
}
.btn-secundario {
  background: var(--fundo-card);
  color: var(--azul-principal);
  border-color: var(--linha);
}
.btn-secundario:hover {
  background: var(--azul-suave);
}
.btn-ghost {
  background: transparent;
  color: var(--texto-secundario);
}
.btn-ghost:hover {
  background: var(--fundo-sutil);
}

/* Inputs */
.input,
select.input,
textarea.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--linha);
  background: var(--fundo-input);
  color: var(--texto-principal);
  font-family: inherit;
  font-size: 14px;
  color: var(--texto-principal);
}
.input:focus {
  outline: 2px solid var(--azul-suave);
  border-color: var(--azul-principal);
}
label.campo {
  display: block;
}
label.campo .rotulo {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texto-secundario);
  margin-bottom: 6px;
}

/* Login */
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 900px) {
  .login-wrap {
    grid-template-columns: 1fr;
  }
}
.login-cover {
  background: linear-gradient(
    135deg,
    var(--azul-profundo),
    var(--azul-principal)
  );
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-cover .marca {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.login-cover .frase {
  font-family: "Bricolage Grotesque";
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 380px;
}
.login-cover .frase span {
  color: var(--verde-claro);
}
.login-cover .rodape {
  font-size: 13px;
  opacity: 0.7;
}
.login-form {
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-form .box {
  width: 100%;
  max-width: 380px;
}
.login-form h1 {
  font-family: "Bricolage Grotesque";
  font-size: 28px;
  font-weight: 600;
}
.login-form .hint {
  color: var(--texto-secundario);
  margin: 6px 0 28px;
  font-size: 14px;
}
.login-form .erro-box {
  background: var(--vermelho-suave);
  color: var(--badge-vermelho-texto);
  border: 1px solid var(--vermelho-suave);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
}
.login-form .grupo {
  margin-bottom: 14px;
}
.login-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Microcopy */
.frase-resumo {
  font-size: 14px;
  color: var(--texto-principal);
}
.alerta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.alerta-list li {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
}
.alerta-list .ponto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
}
.alerta-list .ponto.amarelo {
  background: var(--ambar);
}
.alerta-list .ponto.vermelho {
  background: var(--vermelho);
}
.alerta-list .ponto.azul {
  background: var(--azul-claro);
}

.linha-divisao {
  height: 1px;
  background: var(--linha);
  margin: 16px 0;
}

/* Painel de Análise IA (drawer) */
.ia-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.ia-overlay.aberto {
  opacity: 1;
  pointer-events: auto;
}

.ia-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 520px;
  max-width: 100vw;
  background: var(--fundo-card);
  z-index: 100;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
  display: flex;
  flex-direction: column;
}
.ia-drawer.aberto {
  transform: translateX(0);
}

.ia-drawer .ia-cabecalho {
  padding: 20px 24px;
  border-bottom: 1px solid var(--linha);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ia-drawer .ia-cabecalho h2 {
  font-family: "Bricolage Grotesque";
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ia-drawer .ia-cabecalho .ia-fechar {
  background: transparent;
  border: 0;
  color: var(--texto-secundario);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.ia-drawer .ia-cabecalho .ia-fechar:hover {
  background: var(--fundo-sutil);
}

.ia-drawer .ia-corpo {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.6;
}
.ia-drawer .ia-corpo h1 {
  font-size: 17px;
  font-weight: 700;
  margin: 16px 0 8px;
}
.ia-drawer .ia-corpo h2 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--azul-principal);
}
.ia-drawer .ia-corpo h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin: 12px 0 6px;
}
.ia-drawer .ia-corpo p {
  margin: 0 0 10px;
}
.ia-drawer .ia-corpo strong {
  color: var(--azul-profundo);
}
.ia-drawer .ia-corpo ul,
.ia-drawer .ia-corpo ol {
  margin: 0 0 12px 20px;
  padding: 0;
}
.ia-drawer .ia-corpo li {
  margin-bottom: 4px;
}
.ia-drawer .ia-corpo code {
  background: var(--fundo-sutil);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--azul-profundo);
}

.ia-drawer .ia-rodape {
  padding: 12px 24px;
  border-top: 1px solid var(--linha);
  font-size: 12px;
  color: var(--texto-suave);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ia-drawer .ia-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  color: var(--texto-secundario);
  gap: 16px;
}
.ia-drawer .ia-loader .spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--linha);
  border-top-color: var(--azul-principal);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ia-drawer .ia-erro {
  background: var(--vermelho-suave);
  color: var(--badge-vermelho-texto);
  border: 1px solid var(--vermelho-suave);
  padding: 14px;
  border-radius: 10px;
  font-size: 13.5px;
}

.btn-ia {
  background: linear-gradient(135deg, #2f7a1f, #70b840);
  color: #fff;
  border: 0;
}
.btn-ia:hover {
  background: linear-gradient(135deg, #245f18, #5fae2f);
}

/* Simulador */
.veredito-card {
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.veredito-card.verde {
  background: linear-gradient(135deg, var(--verde-suave), #b7f0dc);
  border: 2px solid var(--verde-principal);
}
.veredito-card.ambar {
  background: linear-gradient(135deg, var(--ambar-suave), #fbe5a1);
  border: 2px solid var(--ambar);
}
.veredito-card.vermelho {
  background: linear-gradient(135deg, var(--vermelho-suave), #fbc1c1);
  border: 2px solid var(--vermelho);
}
.veredito-card .icone {
  font-size: 36px;
}
.veredito-card .rotulo {
  font-family: "Bricolage Grotesque";
  font-size: 24px;
  font-weight: 700;
}
.veredito-card.verde .rotulo {
  color: var(--badge-verde-texto);
}
.veredito-card.ambar .rotulo {
  color: var(--badge-ambar-texto);
}
.veredito-card.vermelho .rotulo {
  color: var(--badge-vermelho-texto);
}
.veredito-card .desc {
  font-size: 13.5px;
  color: var(--texto-principal);
  max-width: 360px;
}

.slider-grupo {
  padding: 14px 0;
}
.slider-grupo .header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.slider-grupo .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--texto-secundario);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.slider-grupo .valor {
  font-family: "Bricolage Grotesque";
  font-size: 18px;
  font-weight: 700;
  color: var(--azul-principal);
}
.slider-grupo input[type="range"] {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--linha);
  outline: none;
  cursor: pointer;
}
.slider-grupo input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--azul-principal);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.slider-grupo .ajuda {
  font-size: 12px;
  color: var(--texto-suave);
  margin-top: 4px;
}

.kpi-comparativo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.kpi-comparativo .antes {
  color: var(--texto-secundario);
  font-size: 15px;
}
.kpi-comparativo .seta {
  color: var(--texto-suave);
}
.kpi-comparativo .depois {
  font-family: "Bricolage Grotesque";
  font-size: 22px;
  font-weight: 700;
}
.kpi-comparativo .delta {
  font-size: 12.5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.kpi-comparativo .delta.positivo {
  background: var(--verde-suave);
  color: var(--badge-verde-texto);
}
.kpi-comparativo .delta.negativo {
  background: var(--vermelho-suave);
  color: var(--badge-vermelho-texto);
}

.memoria-calculo {
  background: var(--fundo-sutil);
  border-left: 3px solid var(--azul-claro);
  padding: 16px 20px;
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 13px;
  line-height: 1.8;
}
.memoria-calculo .linha-calc {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.memoria-calculo .linha-calc.destaque {
  font-weight: 700;
  border-top: 1px dashed var(--linha);
  padding-top: 8px;
  margin-top: 8px;
}
.memoria-calculo .linha-calc .formula {
  color: var(--texto-secundario);
}
.memoria-calculo .linha-calc .valor {
  color: var(--azul-profundo);
}

/* Barra superior e overlay: só aparecem no mobile */
.topbar-mobile {
  display: none;
}
.menu-overlay {
  display: none;
}
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.topbar-titulo {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

/* ===== Responsivo: tablet/celular ===== */
@media (max-width: 768px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .topbar-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(
      90deg,
      var(--azul-profundo),
      var(--azul-principal)
    );
    color: #fff;
    padding: 10px 16px;
  }
  /* Menu vira gaveta que desliza da esquerda */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 268px;
    max-width: 84vw;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 60;
  }
  body.menu-aberto .sidebar {
    transform: translateX(0);
  }
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 20, 40, 0.5);
    z-index: 55;
  }
  body.menu-aberto .menu-overlay {
    display: block;
  }
  .main {
    padding: 16px 14px 56px;
  }
  /* Cabeçalho da página empilha e botões quebram linha */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .page-header .acoes {
    flex-wrap: wrap;
  }
  /* Tabelas largas rolam na horizontal dentro do card, sem estourar a tela */
  .card {
    overflow-x: auto;
  }
  .tabela {
    min-width: 560px;
  }
}

/* Impressão / Salvar como PDF */
@media print {
  @page {
    size: A4;
    margin: 14mm;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .sidebar,
  .page-header .acoes,
  .nao-imprimir,
  button.btn {
    display: none !important;
  }
  .app-shell {
    display: block;
  }
  .main {
    padding: 0;
  }
  .card {
    box-shadow: none;
    border: 1px solid var(--linha);
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 12px;
  }
  .grid-kpis {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px;
  }
  .kpi {
    padding: 12px 14px;
  }
  .kpi .kpi-valor {
    font-size: 18px !important;
  }
  .page-header h1 {
    font-size: 20px;
  }
  table.tabela {
    font-size: 10pt;
    page-break-inside: auto;
  }
  table.tabela tr {
    page-break-inside: avoid;
  }
  canvas {
    max-height: 280px !important;
  }
  a[href]::after {
    content: "";
  }
  .login-wrap,
  .erro-box {
    display: none;
  }
  body::before {
    content: "Gestão · Maurício Bikepoint";
    display: block;
    font-family: "Bricolage Grotesque";
    font-weight: 700;
    font-size: 14pt;
    color: var(--azul-principal);
    border-bottom: 2px solid var(--azul-principal);
    padding-bottom: 6px;
    margin-bottom: 14px;
  }
}
