The generic totals-row rule (tr.figli-totals-row td) has higher specificity than the lone td.figli-solde-crediteur/-debiteur rules, so its neutral color always won in the footer even though soldeClass() was already applying the right class there.
The generic totals-row rule (tr.figli-totals-row td) has higher specificity than the lone td.figli-solde-crediteur/-debiteur rules, so its neutral color always won in the footer even though soldeClass() was already applying the right class there.