/* ============================================================================
   Falcon Consumer — Theme overrides
   Default theme is RETAILEDGE (baked into each dashboard's inline CSS).
   When <html data-theme="sunset"> is set, the rules below override key colors.
   ============================================================================ */

/* ---- SUNSET BOULEVARD ---- */
[data-theme="sunset"] body { background:#FEF7F0 !important; color:#1C1917 !important; }

/* Topbar & logo */
[data-theme="sunset"] .topbar { background:#7C2D12 !important; }
[data-theme="sunset"] .topbar-title { color:#FEF7F0 !important; }
[data-theme="sunset"] .topbar-subtitle { color:#FDBA74 !important; }
[data-theme="sunset"] .topbar-right a { color:#FDBA74 !important; }
[data-theme="sunset"] .topbar-right a:hover { color:#FED7AA !important; }
[data-theme="sunset"] .logo span:first-child { color:#F97316 !important; }
[data-theme="sunset"] .logo span:last-child { color:#DB2777 !important; }

/* Primary accents */
[data-theme="sunset"] .kpi-value,
[data-theme="sunset"] .chart-title,
[data-theme="sunset"] .dashboard-card-number,
[data-theme="sunset"] .kpi-compare-val.highlight,
[data-theme="sunset"] .hero-stat-value,
[data-theme="sunset"] .kicker { color:#F97316 !important; }

/* Headings & section titles */
[data-theme="sunset"] .page-title,
[data-theme="sunset"] .section-title,
[data-theme="sunset"] h1,
[data-theme="sunset"] h2,
[data-theme="sunset"] h3,
[data-theme="sunset"] .finding-title,
[data-theme="sunset"] .intro h2 { color:#7C2D12 !important; }
[data-theme="sunset"] .section-title { border-bottom-color:#F97316 !important; }

/* Filter bar */
[data-theme="sunset"] .filter-group label { color:#9A3412 !important; }
[data-theme="sunset"] .filter-bar,
[data-theme="sunset"] .kpi-card,
[data-theme="sunset"] .chart-card,
[data-theme="sunset"] .table-card,
[data-theme="sunset"] .intro,
[data-theme="sunset"] .finding,
[data-theme="sunset"] .toc { border-color:#FED7AA !important; }
[data-theme="sunset"] .reset-btn { border-color:#FED7AA !important; color:#9A3412 !important; }
[data-theme="sunset"] .reset-btn:hover { background:#FED7AA !important; }
[data-theme="sunset"] .toggle-switch.on { background:#F97316 !important; }
[data-theme="sunset"] .filter-group select,
[data-theme="sunset"] .filter-group .multi,
[data-theme="sunset"] .multi-dropdown { border-color:#FED7AA !important; }

/* Dashboard cards */
[data-theme="sunset"] .dashboard-card:hover { border-color:#F97316 !important; }

/* Tables */
[data-theme="sunset"] th { background:#FEF3C7 !important; color:#7C2D12 !important; border-bottom-color:#F97316 !important; }
[data-theme="sunset"] tr:hover td { background:#FFF7ED !important; }
[data-theme="sunset"] .pos,
[data-theme="sunset"] .kpi-delta.positive { color:#059669 !important; } /* keep green for semantic positive */

/* Disclaimer */
[data-theme="sunset"] .disclaimer { background:#FED7AA !important; border-left-color:#EA580C !important; color:#7C2D12 !important; }
[data-theme="sunset"] .disclaimer code { background:#FDBA74 !important; color:#7C2D12 !important; }

/* Hero (autoexplore) */
[data-theme="sunset"] .hero { background:linear-gradient(135deg,#7C2D12 0%,#9A3412 100%) !important; color:#FEF7F0 !important; }
[data-theme="sunset"] .hero-stat { background:rgba(255,255,255,.08) !important; border-color:rgba(255,247,240,.12) !important; }
[data-theme="sunset"] .hero-stat-label { color:#FDBA74 !important; }

/* Finding cards */
[data-theme="sunset"] .finding-header { background:linear-gradient(90deg,#FEF3C7 0%,#FFF 100%) !important; border-bottom-color:#FED7AA !important; }
[data-theme="sunset"] .finding-rank { background:#F97316 !important; color:#FFF !important; }
[data-theme="sunset"] .finding-rank.hot { background:#9A3412 !important; }
[data-theme="sunset"] .finding-rank.opp { background:#DB2777 !important; }
[data-theme="sunset"] .badge.b-insight { background:#FED7AA !important; color:#7C2D12 !important; }
[data-theme="sunset"] .badge.b-opp { background:#FCE7F3 !important; color:#9F1239 !important; }
[data-theme="sunset"] .badge.b-risk { background:#FECACA !important; color:#7C2D12 !important; }

/* Memo (long-form) */
[data-theme="sunset"] .deck { border-left-color:#F97316 !important; }
[data-theme="sunset"] .evidence { border-left-color:#F97316 !important; }
[data-theme="sunset"] .evidence ul li::before { color:#F97316 !important; }
[data-theme="sunset"] .pull { border-top-color:#F97316 !important; border-bottom-color:#F97316 !important; color:#7C2D12 !important; }
[data-theme="sunset"] .so-what { background:#FED7AA !important; border-left-color:#EA580C !important; }
[data-theme="sunset"] .so-what strong,
[data-theme="sunset"] .so-what p { color:#7C2D12 !important; }
[data-theme="sunset"] .toc { border-color:#FED7AA !important; }
[data-theme="sunset"] .toc ol li { border-bottom-color:#FEF3C7 !important; }
[data-theme="sunset"] .toc ol li::before { color:#F97316 !important; }
[data-theme="sunset"] .toc a:hover { color:#F97316 !important; }
[data-theme="sunset"] .meta { color:#9A3412 !important; }

/* Footer */
[data-theme="sunset"] .footer { border-top-color:#FED7AA !important; }
[data-theme="sunset"] .footer a { color:#F97316 !important; }
