Only inline styles are supported in phantomjs headers/footers.

https://jsreport.net/learn/phantom-pdf#styles-in-header-and-footer