I suspect you may have set your CSS template as "Widget in group" in the expectation that it will apply only in that group?
In fact CSS in a "Widget in group" template is applied to every group in that dashboard tab.
Try giving the group a custom class eg "special", then your CSS selector will become something like .special md-card