Document Template Editor — Scope of editable fields

The current editor for the 4 system templates (Invoice / Sale Agreement / Odometer / Title Transfer) only exposes 3 raw HTML textareas. That doesn't match how the React renderers actually work — most of the document is structural, but some parts are real copy slots. What scope should the editor have?

B

Option A + per-template logo / colors override

Same as A, but each template also gets its own optional logo upload and color overrides (band color, accent color). Falls back to Company Profile defaults when blank. Useful if you want, e.g., a different color for invoices vs contracts.

Edit modal — adds Visual Identity section

Visual Identity Editable

Optional overrides — leave blank to use Company Profile defaults.

Logo (this template only)
RH
Band color override

... (everything else from option A) ...

Pros Future-proof if you want, e.g., burgundy band on Title Transfer vs orange on Invoice (it's already hard-coded that way — exposing it as an override matches reality)
Cons Adds 4-5 fields per template that are rarely changed · slippery slope toward making renderers "data-driven" which makes them harder to keep tight to mockups · maybe YAGNI
C

Keep raw HTML textareas, just upgrade to a real HTML editor

Keep the 3 textareas (Body HTML / Footer HTML / Terms HTML) but upgrade them to a code-style editor (Monaco / CodeMirror) with HTML syntax highlighting. No structural changes.

Same 3 textareas, but with syntax highlighting

Body HTML

<ul>
  <li><strong>6-Month Warranty</strong> — engine, transmission, drive axles</li>
  <li><strong>14-Day Return Policy</strong></li>
</ul>

Footer HTML

(empty)
Pros Smallest change · power users see what they're typing
Cons Still wrong abstraction — most of what's in the textareas is plain text, not HTML · admin still can't change "what's shown on the band" (because it's not in textareas at all) · doesn't address the original complaint