/** * shader-fill.ts — pure CSS mesh-gradient "shader fill" helpers. * * No DB, no side effects. Deterministic output: same descriptor → same CSS. * * Two exports: * - `generateShaderFillPreviewCss` — a CSS mesh-gradient that approximates the * shader fill visually; safe to inject into the iframe via a bridge * `tweak-values`-style message without any write commit. * - `generateShaderFillFallbackCss` — a static CSS fallback that can be placed * in `