Order Printer Migration

I’m trying to migrate over from Order Printer (Legacy) to the latest Order Printer. The import capability brought the code over for invoices and packing slips but it added

before my

and now the css is not being picked up by the html so the formatting is rubbish. Has anyone come across this and figured out how to fix? i.e. how do you define internal css in the code please