Server-side PDF generation with Playwright in Next.js: HTML to PDF, Node runtime route, feature flags, client fallback, and email attachments. Use when client jsPDF quality is insufficient or PDFs must be generated on the server for security or size reasons.