Basically, each card has a property called costelement. That property is set to a number between 0 and 12 (where 0 is generic/any quanta, and 1-12 represent elements).
Having dual quanta costs would require multiple properties (in which case all lines in the source that deal with quanta costs would have to be changed) or some other hard-to-implement feature.