- Updated the export URL construction to include optional FastAPI URL from query parameters.
- Improved error handling when applying themes during PDF export to prevent blocking rendering.
- Added validation for theme font properties to ensure proper application.