How to customize PDF export?

I encountered several problems:

  1. How to add watermark to all pages
  2. How to customize PDF export? How can custom export PDF be consistent with native export functionality? I can’t get the style element on the Confluence Cloud page right now.