Fix linear-gradient in Safari, and correct PDF template.