
/* BGMS V78 — global financial transaction color semantics
   Directional transaction values only:
   CREDIT / increase => green
   DEBIT / decrease => red
   Balances, prices and fees stay neutral unless direction is explicit. */

:root {
  --bgms-money-credit-color: #047857;
  --bgms-money-debit-color: #b91c1c;
}

.bgms-money-credit,
[data-bgms-money-direction="credit"],
.finance-ledger-amount--credit,
.finance-ledger-stat--credit strong,
.finance-reporting-kpi--credit strong {
  color: var(--bgms-money-credit-color) !important;
  font-weight: 800;
}

.bgms-money-debit,
[data-bgms-money-direction="debit"],
.finance-ledger-amount--debit,
.finance-ledger-stat--debit strong,
.finance-reporting-kpi--debit strong {
  color: var(--bgms-money-debit-color) !important;
  font-weight: 800;
}

.bgms-money-neutral,
[data-bgms-money-direction="neutral"] {
  color: inherit;
}

.bgms-money-credit,
.bgms-money-debit,
.bgms-money-neutral,
[data-bgms-money-direction] {
  font-variant-numeric: tabular-nums;
}
