Files
komediruzecki 5e80201bda feat: brand PDF reports with Orbital Observatory charts + palette
Replace the generic emerald/red/blue Chart.js pie/bar/line in the four
generated PDF reports (monthly, annual, tax, P&L) with the Token Circles
"Orbital Observatory" brand system.

- brandPalette: add pdfReportTheme(dark) resolving the orbit (dark) /
  dawn (light) grounds to concrete hex + [r,g,b] (jsPDF and the chart
  worker can't read the CSS custom properties).
- reportCharts (new, pure/testable): concentric orbit-ring hero SVG
  mirroring the in-app CategoryOrbits, plus branded doughnut/bar/line
  configs in semantic money colors (income green, expense red, net azure).
- reportFonts (new): embed Inter (body) + Fraunces (display titles) into
  jsPDF and FontFace-load Inter into the worker canvas so chart labels
  and document text match the app. Static TTFs vendored under
  src/assets/fonts (jsPDF can't embed woff2); lazy URL assets, no
  main-bundle bloat, net-zero npm deps.
- clientPdfReports: paint the brand ground on every page, embed fonts,
  render category charts as orbit-ring heroes (main-thread SVG raster,
  doughnut fallback), route all colors + typography through the theme.
- chartWorker: brand grid/text, Inter labels, doughnut cutout.
- Add reportCharts unit test (palette, ring math, Other bucket, color
  fallback, empty-data guards).

Purely visual; advanced-report plan gating (requireAdvancedReports) is
untouched. Verified: build + 550 tests green, all four types render in
both themes with fonts embedded (/BaseFont /Inter, /Fraunces).
2026-07-15 00:57:06 +02:00
..