/* ============================================================================
StonksScout — APP SHELL (nav, routing, data load)
Production adaptation of the Claude Design prototype:
- The design-time Tweaks panel (tweaks-panel.jsx) is removed; the chosen
identity — Light mode + Tennessee Orange (#ff8200) — is baked into
index.html ( + --accent).
- Data loads from ./stonks_export.json (the StonksScout pipeline output)
when present, and falls back to the bundled sample data in data.js
otherwise. Field names match the design spec exactly.
============================================================================ */
const { useState, useEffect } = React;
const NAV = [
{ id:"today", label:"Today's Verdicts", short:"Verdicts" },
{ id:"detail", label:"Ticker Detail", short:"Detail" },
{ id:"watchlist", label:"Watchlist", short:"Watchlist" },
{ id:"ledger", label:"Performance Ledger", short:"Ledger" },
];
const byConviction = (a,b)=> b.conviction - a.conviction;
function Logo(){
return (
StonksScout
DAILY EQUITY VERDICTS
);
}
function MarketChip({ open, lastRun }){
const c = open ? "#17a86a" : "#8a929e";
return (