That looks like the result of a conversion (and fairly messy book code, since there are 90+ styles
).
Unless you (or someone has THEN done an edit), The CSS syntax is not your problem. Calibre writes legal stylesheets (they may not do what you
want, but they are valid
)