feat(admin): marketplace dashboard + HTMX lead management improvements
Admin marketplace (/admin/marketplace):
- Lead funnel cards: total / verified-new / unlocked / won / conversion rate
- Credit economy: issued / consumed / outstanding / 30-day burn
- Supplier engagement: active count / avg unlocks / response rate
- Feature flag toggles (lead_unlock, supplier_signup) with next= redirect
- Live activity stream (HTMX partial): last 50 lead / unlock / credit events
Admin leads list (/admin/leads):
- Summary cards: total / new+unverified / hot pipeline credits / forward rate
- Search filter (name, email, company) with HTMX live update
- Period pills: Today / 7d / 30d / All
- get_leads() now returns (rows, total_count); get_lead_stats() includes
_total, _new_unverified, _hot_pipeline, _forward_rate
Admin lead detail (/admin/leads/<id>):
- Inline HTMX status change returning updated status badge partial
- Inline HTMX forward form returning updated forward history partial
(replaces full-page reload on every status/forward action)
- Forward history table shows supplier, status, credit_cost, sent_at
Quote form extended with optional fields:
- build_context, glass_type, lighting_type, location_status,
financing_status, services_needed, additional_info
(captured in lead detail view but not required for heat scoring)
Sidebar nav: "Marketplace" tab added between Leads and Suppliers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>