/* Identidade visual Capital Comissy: roxo, verde-limão e fundo creme. */
:root {
  --bg: #f8f4ec; --surface: #ffffff; --surface-2: #fbf8f2; --border: #e9e2d6; --track: #f1ece3;
  --text: #141216; --text-2: #4a4652; --text-3: #8a8494;
  --accent: #6e00ff; --accent-strong: #5400c8; --accent-soft: #f1e8ff; --accent-border: #d8c2ff;
  --lime: #d7f72a; --lime-soft: #f6fdd0; --lime-text: #3d4a00;
}
:root[data-theme="dark"] {
  --bg: #0f0b16; --surface: #17121f; --surface-2: #1d1727; --border: #2d2539; --track: #251d30;
  --text: #f4f0f9; --text-2: #b8afc6; --text-3: #867c96;
  --accent: #8b3dff; --accent-strong: #b78cff; --accent-soft: #241641; --accent-border: #42297a;
  --lime: #d7f72a; --lime-soft: #2a3008; --lime-text: #e4fb70;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0b16; --surface: #17121f; --surface-2: #1d1727; --border: #2d2539; --track: #251d30;
    --text: #f4f0f9; --text-2: #b8afc6; --text-3: #867c96;
    --accent: #8b3dff; --accent-strong: #b78cff; --accent-soft: #241641; --accent-border: #42297a;
    --lime: #d7f72a; --lime-soft: #2a3008; --lime-text: #e4fb70;
  }
}
h1, h2, .big, .kpi-value { letter-spacing: -.025em; }
h1 { font-weight: 800; }
.big { color: var(--accent); }
/* Marca */
.brand { gap: 10px; }
.brand svg { flex: none; }
.brand span { font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; text-transform: lowercase; }
.brand b { color: var(--text); font-weight: 800; }
/* Menu: item ativo com faixa verde-limão */
.nav-item.active { position: relative; }
.nav-item.active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--lime); }
.badge.new { background: var(--lime); border-color: var(--lime); color: #1d2400; }
/* Selo do topo */
.pill { background: var(--lime-soft); border-color: transparent; color: var(--lime-text); }
.pill i { background: var(--accent); }
:root[data-theme="dark"] .pill i { background: var(--lime); }
/* Botões e filtros */
.btn, .chip[aria-pressed="true"], .seg button[aria-pressed="true"], .banner button { border-radius: 10px; }
:root[data-theme="dark"] .btn, :root[data-theme="dark"] .chip[aria-pressed="true"] { color: #fff; }
:root[data-theme="dark"] .btn:hover { color: #fff; }
/* Cartões em destaque */
.highlight { background: linear-gradient(135deg, var(--accent-soft), var(--surface) 75%); }
.rs { background: var(--lime); color: #1d2400; }
.state.on { color: var(--accent-strong); }
/* Gráfico de entradas e saídas no roxo da marca */
.hb-join, .lg-join::before { fill: var(--accent); background: var(--accent); }
/* Tela de login */
.auth { background: radial-gradient(circle at 20% 10%, var(--accent-soft), transparent 45%), radial-gradient(circle at 85% 90%, var(--lime-soft), transparent 40%), var(--bg); }
.auth-brand span { font-size: 1.35rem; }
