Fixed broken CSS identifiers and PDF generations