fix: cohort CAC/ROAS desde deals Clientify y más contraste en dashboards

Los totales de Métricas usaban solo ad_daily (cohort a 0). Ahora suman
deals won; selectores y tipografía ganan contraste sobre fondo blanco.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-09-24 10:40:12 +02:00
parent 8fda2996b6
commit 21051afda9
20 changed files with 383 additions and 184 deletions

View File

@@ -99,7 +99,7 @@ export default function SuperhumanSyncPanel() {
type="button"
onClick={runSync}
disabled={loading || syncing}
className="inline-flex items-center gap-1.5 text-xs px-2.5 py-1.5 rounded-lg bg-brand-500/20 text-brand-300 border border-brand-500/30 hover:bg-brand-500/30"
className="inline-flex items-center gap-1.5 text-xs px-2.5 py-1.5 rounded-lg bg-brand-500/20 text-brand-700 border border-brand-500/30 hover:bg-brand-500/30"
>
{syncing ? (
<Loader2 className="w-3.5 h-3.5 animate-spin" />
@@ -146,7 +146,7 @@ export default function SuperhumanSyncPanel() {
</thead>
<tbody>
{matches.slice(0, 20).map((m) => (
<tr key={m.tenantName || m.docId} className="border-b border-gray-900">
<tr key={m.tenantName || m.docId} className="border-b border-gray-100">
<td className="py-1.5 pr-2 text-gray-600">
{m.tenantName || '—'}
</td>