@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── Info button on layer tiles ─────────────────────────────────────────── */

.fw-info-btn {
    opacity: 0.6;
    transition: opacity 0.15s, transform 0.1s;
}
.fw-info-btn:hover {
    opacity: 1 !important;
    transform: scale(1.2);
}

/* ── Timeframe radio buttons — active highlight ──────────────────────────── */
/* Dash 4.1 doesn't support labelCheckedStyle, so we use CSS instead.        */
/* Dash renders: <label><input type=radio> 1D</label> (input INSIDE label)   */

#chart-timeframe label:has(input[type=radio]:checked) {
    background-color: #26a69a !important;
    color: #fff !important;
    border-color: #26a69a !important;
}

/* ── Auth form inputs — teal focus ring ─────────────────────────────────── */
input[id^="login-"],
input[id^="reg-"],
input[id^="forgot-"],
input[id^="reset-"] {
    transition: border-color 0.2s, box-shadow 0.2s;
}
input[id^="login-"]:focus,
input[id^="reg-"]:focus,
input[id^="forgot-"]:focus,
input[id^="reset-"]:focus {
    border-color: #26a69a !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.15);
}
input[id^="login-"]:hover,
input[id^="reg-"]:hover,
input[id^="forgot-"]:hover,
input[id^="reset-"]:hover {
    border-color: #3d4659 !important;
}

/* ── Auth buttons — hover / active states ───────────────────────────────── */
button[id^="login-btn"],
button[id^="reg-btn"],
button[id^="forgot-btn"],
button[id^="reset-btn"] {
    transition: opacity 0.15s, transform 0.1s;
}
button[id^="login-btn"]:hover,
button[id^="reg-btn"]:hover,
button[id^="forgot-btn"]:hover,
button[id^="reset-btn"]:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
button[id^="login-btn"]:active,
button[id^="reg-btn"]:active,
button[id^="forgot-btn"]:active,
button[id^="reset-btn"]:active {
    transform: translateY(0);
    opacity: 0.75;
}

/* ── Landing page — gradient headline animation ─────────────────────────── */
/* The React inline style handles the gradient; this adds a subtle shimmer  */
@keyframes shimmer {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

/* ── Dash link (dcc.Link) — remove default underline ────────────────────── */
a {
    text-decoration: none;
}
a:hover {
    opacity: 0.85;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
   ══════════════════════════════════════════════════════════════════════════ */

/* Auth card — full width with safe margins on small screens */
@media (max-width: 480px) {
    .auth-page-wrap {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .auth-card {
        padding-left: 18px !important;
        padding-right: 18px !important;
        max-width: 100% !important;
    }
}

/* Landing navbar — shrink padding, hide brand text, smaller buttons */
@media (max-width: 768px) {
    .landing-nav {
        padding: 12px 16px !important;
    }
    .landing-brand-text {
        display: none !important;
    }
    .landing-nav-btn {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
}

/* Search splash — full-width input on small screens */
@media (max-width: 600px) {
    #fw-search-splash input {
        width: calc(100vw - 120px) !important;
        font-size: 16px !important;  /* prevents iOS zoom on focus */
    }
    #fw-search-splash button#fw-btn {
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
}

/* Dashboard two-column layout — stack vertically on mobile */
@media (max-width: 768px) {
    .fw-body {
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
    }
    .fw-left-col {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding-right: 0 !important;
    }
    .fw-right-col {
        flex: none !important;
        width: 100% !important;
        height: 480px !important;
        overflow: hidden !important;
    }
    /* Control bar — wrap on small screens */
    .fw-control-bar {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    /* Dashboard header — hide subtitle text */
    .dash-header-subtitle {
        display: none !important;
    }
    /* Wave signal panel beside chart — stack it */
    .fw-signal-panel {
        width: 100% !important;
        max-height: none !important;
    }
}

/* ── P0 Redesign — toast notifications ─────────────────────────────────────── */
@keyframes fw-toast-fade {
  0%   { opacity: 0; transform: translateY(-8px); }
  10%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

.fw-toast {
  max-width: 360px;
}

/* Accordion header hover */
[id*="fw-acc-header"]:hover {
  background-color: rgba(255,255,255,0.04) !important;
}

/* Dcc.Clipboard styled to match action buttons */
#fw-share-clip::before {
  content: "📤 Share";
}

/* ── P0 Redesign — full-screen analysis overlay ──────────────────────────── */
@keyframes fw-spin {
  to { transform: rotate(360deg); }
}

#fw-analyzing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 23, 0.86);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   LANDING PAGE — modern redesign
   ══════════════════════════════════════════════════════════════════════════ */
.lp {
  --lp-teal:#16e0a8; --lp-teal2:#0fb88a; --lp-gold:#f5c451;
  --lp-ink:#e8edf6; --lp-mut:#8b96ab; --lp-border:rgba(255,255,255,0.08);
  --lp-panel:rgba(20,26,38,0.55);
  --lp-green:#22c98a; --lp-amber:#f5b942; --lp-red:#f06363;
  position:relative; min-height:100vh; overflow-x:hidden;
  background:#080a10; color:var(--lp-ink);
  font-family:'Inter Tight','Inter',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.lp-mono { font-family:'JetBrains Mono',monospace; font-variant-numeric:tabular-nums; }

/* Aurora background */
.lp-aurora { position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.lp-blob { position:absolute; border-radius:50%; filter:blur(110px); opacity:.5;
  animation:lp-drift 22s ease-in-out infinite; }
.lp-b1 { width:620px; height:620px; background:radial-gradient(circle,#16e0a8,transparent 70%); top:-180px; left:-120px; }
.lp-b2 { width:560px; height:560px; background:radial-gradient(circle,#f5c451,transparent 70%); top:-80px; right:-140px; animation-delay:-7s; opacity:.32; }
.lp-b3 { width:680px; height:680px; background:radial-gradient(circle,#2563eb,transparent 70%); bottom:-260px; left:30%; animation-delay:-13s; opacity:.26; }
@keyframes lp-drift {
  0%,100% { transform:translate(0,0) scale(1); }
  33% { transform:translate(60px,40px) scale(1.08); }
  66% { transform:translate(-40px,30px) scale(.95); }
}
.lp-content { position:relative; z-index:2; }
.lp-wrap { max-width:1180px; margin:0 auto; padding:0 28px; }

/* Nav */
.lp-nav { position:sticky; top:0; z-index:50; backdrop-filter:blur(16px);
  background:rgba(8,10,16,.55); border-bottom:1px solid var(--lp-border); }
.lp-navin { max-width:1180px; margin:0 auto; padding:14px 28px;
  display:flex; align-items:center; justify-content:space-between; }
.lp-brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; letter-spacing:-.02em; }
.lp-navlinks { display:flex; gap:28px; align-items:center; }
.lp-navlinks a { color:var(--lp-mut); text-decoration:none; font-size:14px; font-weight:500; transition:.2s; }
.lp-navlinks a:hover { color:var(--lp-ink); }
.lp-btn { font-family:inherit; font-weight:600; border:none; cursor:pointer; border-radius:11px;
  transition:.22s; text-decoration:none; display:inline-block; text-align:center; }
.lp-btn-ghost { background:transparent; color:var(--lp-ink); border:1px solid var(--lp-border); padding:9px 16px; font-size:14px; }
.lp-btn-ghost:hover { border-color:var(--lp-teal); color:var(--lp-teal); }
.lp-btn-primary { background:linear-gradient(135deg,var(--lp-teal),var(--lp-teal2)); color:#04140e;
  padding:10px 18px; font-size:14px; box-shadow:0 6px 24px -6px rgba(22,224,168,.6); }
.lp-btn-primary:hover { transform:translateY(-2px); box-shadow:0 12px 34px -6px rgba(22,224,168,.75); }
.lp-btn-lg { padding:14px 26px; font-size:15.5px; border-radius:13px; }

/* Ticker tape */
.lp-tape { border-bottom:1px solid var(--lp-border); background:rgba(13,17,25,.5);
  overflow:hidden; white-space:nowrap; position:relative; z-index:2; }
.lp-tape-track { display:inline-block; padding:9px 0; animation:lp-scroll 38s linear infinite; }
.lp-tape-item { display:inline-flex; align-items:center; gap:8px; margin:0 26px; font-size:13px; }
.lp-tape .t { color:var(--lp-mut); }
.lp-tape .v.buy { color:var(--lp-green); } .lp-tape .v.trim { color:var(--lp-amber); } .lp-tape .v.avoid { color:var(--lp-red); }
@keyframes lp-scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* Hero */
.lp-hero { display:grid; grid-template-columns:1fr 1.05fr; gap:40px; align-items:center; padding:70px 0 60px; }
.lp-pill { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600;
  color:var(--lp-teal); background:rgba(22,224,168,.1); border:1px solid rgba(22,224,168,.25);
  padding:6px 13px; border-radius:100px; margin-bottom:22px; }
.lp-pill .dot { width:7px; height:7px; border-radius:50%; background:var(--lp-teal); box-shadow:0 0 10px var(--lp-teal); }
.lp-h1 { font-size:60px; line-height:1.02; letter-spacing:-.035em; font-weight:800; margin:0 0 20px; }
.lp-h1 .grad { background:linear-gradient(110deg,var(--lp-teal),var(--lp-gold));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.lp-sub { font-size:18px; color:var(--lp-mut); line-height:1.55; max-width:480px; margin:0 0 30px; }
.lp-sub b { color:var(--lp-ink); }
.lp-cta-row { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.lp-micro { font-size:13px; color:var(--lp-mut); margin-top:16px; display:flex; gap:18px; flex-wrap:wrap; }
.lp-micro span { display:flex; align-items:center; gap:6px; }
.lp-check { color:var(--lp-teal); }

/* Hero product shot */
.lp-shot { position:relative; perspective:1600px; }
.lp-shotcard { transform:rotateY(-13deg) rotateX(5deg); border-radius:18px; border:1px solid var(--lp-border);
  background:linear-gradient(160deg,rgba(26,33,48,.9),rgba(14,18,28,.95)); overflow:hidden;
  box-shadow:0 50px 120px -40px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.04); transition:.5s; }
.lp-shot:hover .lp-shotcard { transform:rotateY(-7deg) rotateX(3deg); }
.lp-shothead { display:flex; align-items:center; gap:14px; padding:13px 16px; border-bottom:1px solid var(--lp-border); }
.lp-verdict { font-size:13px; font-weight:800; color:#04140e; background:var(--lp-amber); padding:4px 11px; border-radius:7px; letter-spacing:.02em; }
.lp-shottk { font-weight:700; font-size:15px; }
.lp-shotgrade { margin-left:auto; font-size:12px; color:var(--lp-mut); }
.lp-chart { height:215px; position:relative; }
.lp-chart-img { position:absolute; inset:0; width:100%; height:100%; }
.lp-lbl { position:absolute; font-size:9px; font-weight:700; padding:2px 5px; border-radius:4px; z-index:2; }
.lp-shotstats { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--lp-border); }
.lp-st { padding:12px 14px; border-right:1px solid var(--lp-border); }
.lp-st:last-child { border-right:none; }
.lp-st .k { font-size:10px; color:var(--lp-mut); text-transform:uppercase; letter-spacing:.08em; }
.lp-st .v { font-size:17px; font-weight:700; margin-top:3px; }

/* Proof bar */
.lp-proofbar { display:flex; align-items:center; gap:34px; justify-content:center; padding:8px 0 50px; flex-wrap:wrap; }
.lp-proofbar .lab { font-size:12px; color:var(--lp-mut); text-transform:uppercase; letter-spacing:.12em; }
.lp-proofbar .name { font-size:15px; font-weight:700; color:#aeb8c9; opacity:.8; }

/* Section heading */
.lp-sechead { text-align:center; margin:30px 0 34px; }
.lp-sechead .tag { font-size:12.5px; font-weight:700; color:var(--lp-teal); text-transform:uppercase; letter-spacing:.14em; }
.lp-sechead h2 { font-size:38px; font-weight:800; letter-spacing:-.03em; margin:10px 0 0; }
.lp-sechead p { color:var(--lp-mut); font-size:16px; margin:10px 0 0; }

/* Bento */
.lp-bento { display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:172px; gap:16px; padding-bottom:70px; }
.lp-tile { border:1px solid var(--lp-border); border-radius:18px; padding:22px; position:relative; overflow:hidden;
  background:var(--lp-panel); backdrop-filter:blur(10px); transition:.28s; }
.lp-tile:hover { border-color:rgba(22,224,168,.35); transform:translateY(-3px); }
.lp-tile h3 { font-size:17px; font-weight:700; letter-spacing:-.01em; margin:0; }
.lp-tile p { font-size:13.5px; color:var(--lp-mut); margin:8px 0 0; line-height:1.5; }
.lp-tile .big { font-size:46px; font-weight:800; letter-spacing:-.04em;
  background:linear-gradient(120deg,var(--lp-teal),var(--lp-gold)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.lp-span2 { grid-column:span 2; } .lp-span2r { grid-row:span 2; }
.lp-glow { position:absolute; width:200px; height:200px; border-radius:50%; filter:blur(70px); opacity:.22; }
.lp-ico { width:38px; height:38px; border-radius:10px; display:grid; place-items:center; font-size:18px;
  background:rgba(22,224,168,.12); border:1px solid rgba(22,224,168,.25); margin-bottom:14px; }
.lp-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.lp-chip { font-size:12px; font-weight:600; padding:5px 11px; border-radius:8px; border:1px solid var(--lp-border); color:#c2cbd9; }
.lp-chip.g { border-color:rgba(34,201,138,.3); color:var(--lp-green); background:rgba(34,201,138,.08); }
.lp-chip.a { border-color:rgba(245,185,66,.3); color:var(--lp-amber); background:rgba(245,185,66,.08); }
.lp-mini-verdicts { display:flex; gap:10px; margin-top:16px; }
.lp-mv { flex:1; text-align:center; padding:11px 0; border-radius:11px; font-weight:800; font-size:14px; }
.lp-mv.buy { background:rgba(34,201,138,.12); color:var(--lp-green); border:1px solid rgba(34,201,138,.3); }
.lp-mv.hold { background:rgba(139,150,171,.1); color:var(--lp-mut); border:1px solid var(--lp-border); }
.lp-mv.trim { background:rgba(245,185,66,.12); color:var(--lp-amber); border:1px solid rgba(245,185,66,.3); }
.lp-mv.avoid { background:rgba(240,99,99,.12); color:var(--lp-red); border:1px solid rgba(240,99,99,.3); }
.lp-minichart-box { margin-top:18px; height:120px; border-radius:12px; border:1px solid var(--lp-border);
  position:relative; overflow:hidden; background:rgba(8,11,17,.5); }

/* Footer */
.lp-footer { border-top:1px solid var(--lp-border); padding:30px 0; text-align:center; color:var(--lp-mut); font-size:13px; }

/* Login link in nav (button styled as link) */
.lp-loginlink { background:none; border:none; cursor:pointer; font-family:inherit;
  color:var(--lp-mut); font-size:14px; font-weight:500; padding:0; transition:.2s; }
.lp-loginlink:hover { color:var(--lp-ink); }

/* Login modal */
.lp-login-modal { display:none; position:fixed; inset:0; z-index:1000;
  align-items:center; justify-content:center; padding:20px; }
.lp-login-backdrop { position:absolute; inset:0; background:rgba(6,8,13,.72);
  backdrop-filter:blur(6px); cursor:pointer; animation:lp-fade .2s ease; }
.lp-login-card { position:relative; z-index:1; width:100%; max-width:392px;
  background:linear-gradient(165deg,rgba(24,30,44,.92),rgba(14,18,28,.96));
  border:1px solid var(--lp-border); border-radius:20px; padding:34px 30px 28px;
  box-shadow:0 40px 100px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.04);
  animation:lp-pop .24s cubic-bezier(.2,.9,.3,1.2); }
.lp-login-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--lp-teal),var(--lp-gold)); border-radius:20px 20px 0 0; }
@keyframes lp-fade { from { opacity:0; } to { opacity:1; } }
@keyframes lp-pop { from { opacity:0; transform:translateY(12px) scale(.97); } to { opacity:1; transform:none; } }
.lp-login-x { position:absolute; top:14px; right:16px; background:none; border:none;
  color:var(--lp-mut); font-size:16px; cursor:pointer; line-height:1; padding:4px; transition:.2s; }
.lp-login-x:hover { color:var(--lp-ink); }
.lp-login-head { text-align:center; margin-bottom:24px; }
.lp-login-head img { margin-bottom:10px; }
.lp-login-title { font-size:21px; font-weight:800; letter-spacing:-.02em; margin:0; color:var(--lp-ink); }
.lp-login-sub { font-size:13px; color:var(--lp-mut); margin:5px 0 0; }
.lp-field { margin-bottom:15px; }
.lp-flabel { display:block; font-size:11px; font-weight:600; color:var(--lp-mut);
  text-transform:uppercase; letter-spacing:.05em; margin-bottom:7px; }
.lp-finput { width:100%; box-sizing:border-box; height:46px; padding:12px 14px;
  background:rgba(8,11,17,.7); color:var(--lp-ink); border:1px solid var(--lp-border);
  border-radius:10px; font-family:inherit; font-size:14px; outline:none; transition:.18s; }
.lp-finput::placeholder { color:#5b6577; }
.lp-finput:focus { border-color:var(--lp-teal); box-shadow:0 0 0 3px rgba(22,224,168,.15); }
.lp-forgot { text-align:right; margin-bottom:16px; }
.lp-forgot a { color:var(--lp-mut); font-size:12px; text-decoration:none; }
.lp-forgot a:hover { color:var(--lp-teal); }
.lp-login-err { color:var(--lp-red); font-size:13px; margin-bottom:12px;
  background:rgba(240,99,99,.08); border:1px solid rgba(240,99,99,.22);
  border-radius:8px; padding:10px 12px; }
.lp-login-submit { width:100%; padding:13px; font-size:15px; border-radius:10px; }
.lp-login-foot { text-align:center; color:var(--lp-mut); font-size:13px; margin-top:20px;
  border-top:1px solid var(--lp-border); padding-top:18px; }
.lp-login-foot a { color:var(--lp-teal); text-decoration:none; font-weight:600; }
.lp-switch { background:none; border:none; cursor:pointer; font-family:inherit; font-size:13px;
  color:var(--lp-teal); font-weight:600; padding:0; }
.lp-switch:hover { text-decoration:underline; }
/* Auth modal wrapper scrolls if a tall form (register) exceeds the viewport */
.lp-login-modal { overflow-y:auto; }

/* ══════════════════════════════════════════════════════════════════════════
   HOME PAGE — modern redesign (post-login)
   ══════════════════════════════════════════════════════════════════════════ */
.hp {
  --hp-teal:#16e0a8; --hp-teal2:#0fb88a; --hp-gold:#f5c451;
  --hp-ink:#e8edf6; --hp-mut:#8b96ab; --hp-border:rgba(255,255,255,0.08);
  --hp-card:rgba(17,22,33,0.66);
  --hp-green:#22c98a; --hp-amber:#f5b942; --hp-red:#f06363;
  position:relative; min-height:100%;
  font-family:'Inter Tight','Inter',system-ui,sans-serif;
  background:
    radial-gradient(820px 480px at 8% -14%, rgba(22,224,168,0.20), transparent 62%),
    radial-gradient(760px 440px at 96% -10%, rgba(90,141,238,0.15), transparent 60%),
    radial-gradient(620px 360px at 58% -18%, rgba(245,196,81,0.08), transparent 58%);
}
.hp-mono { font-family:'JetBrains Mono',monospace; font-variant-numeric:tabular-nums; }
.hp-wrap { max-width:1180px; margin:0 auto; padding:26px 28px 60px; }
.hp-up { color:var(--hp-green); } .hp-down { color:var(--hp-red); }

/* Greeting */
.hp-greet { font-size:24px; font-weight:800; letter-spacing:-.02em; color:var(--hp-ink); }
.hp-greet .name { background:linear-gradient(110deg,var(--hp-teal),var(--hp-gold));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp-pulse-line { font-size:14px; color:var(--hp-mut); margin-top:6px; }
.hp-pulse-line b { color:var(--hp-green); }

/* Command search bar (returning: wide; first-time: big/centered) */
.hp-search { display:flex; align-items:center; gap:10px; margin:18px 0; background:var(--hp-card); backdrop-filter:blur(12px);
  border:1px solid var(--hp-border); border-radius:14px; padding:7px 7px 7px 16px; transition:.2s;
  box-shadow:0 16px 50px -28px rgba(0,0,0,.8); }
.hp-search:focus-within { border-color:var(--hp-teal); box-shadow:0 0 0 4px rgba(22,224,168,.14),0 16px 50px -28px rgba(0,0,0,.8); }
.hp-search .ic { font-size:17px; opacity:.7; }
.hp-search input { flex:1; height:44px; background:none !important; border:none !important; outline:none; color:var(--hp-ink) !important;
  font-family:inherit; font-size:16px; font-weight:500; padding:0 6px !important; box-shadow:none !important; box-sizing:border-box; }
.hp-search input::placeholder { color:#5b6577; }
.hp-go { font-family:inherit; font-weight:800; font-size:15px; border:none; cursor:pointer; border-radius:10px;
  height:44px; padding:0 26px; display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; flex:0 0 auto;
  background:linear-gradient(135deg,var(--hp-teal),var(--hp-teal2)); color:#04140e; }
.hp-go:hover { filter:brightness(1.05); }
.hp-search.big { max-width:600px; margin:28px auto 0; padding:9px 9px 9px 18px; }
.hp-search.big input { height:50px; font-size:18px; }
.hp-search.big .hp-go { height:50px; padding:0 28px; font-size:16px; }

/* First-time hero */
.hp-hero { text-align:center; padding:54px 0 26px; }
.hp-pill { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; color:var(--hp-teal);
  background:rgba(22,224,168,.1); border:1px solid rgba(22,224,168,.25); padding:6px 13px; border-radius:100px; margin-bottom:18px; }
.hp-pill .dot { width:7px; height:7px; border-radius:50%; background:var(--hp-teal); box-shadow:0 0 10px var(--hp-teal); }
.hp-h1 { font-size:36px; font-weight:800; letter-spacing:-.03em; line-height:1.1; color:var(--hp-ink); margin:0; }
.hp-h1 .grad { background:linear-gradient(110deg,var(--hp-teal),var(--hp-gold)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp-steps { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:16px; flex-wrap:wrap; }
.hp-step-i { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:#aeb8c9; }
.hp-step-i .num { width:20px; height:20px; border-radius:50%; background:rgba(22,224,168,.12); border:1px solid rgba(22,224,168,.3);
  color:var(--hp-teal); font-size:11px; font-weight:800; display:grid; place-items:center; }
.hp-steps .arr { color:#4b5563; font-size:14px; }
.hp-examples { margin-top:18px; font-size:13.5px; color:var(--hp-mut); display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap; }
.hp-ex { padding:5px 12px; border-radius:9px; border:1px solid var(--hp-border); background:var(--hp-card);
  color:var(--hp-ink); font-weight:600; font-size:13px; cursor:pointer; transition:.2s; }
.hp-ex:hover { border-color:rgba(22,224,168,.35); color:var(--hp-teal); }

/* Section header */
.hp-sec { display:flex; align-items:center; justify-content:space-between; margin:30px 0 14px; }
.hp-sec h2 { font-size:17px; font-weight:700; color:var(--hp-ink); margin:0; }
.hp-sec .meta { font-size:12.5px; color:var(--hp-mut); }
.hp-tally { display:flex; gap:8px; }
.hp-tally span { font-size:12px; font-weight:700; padding:3px 9px; border-radius:7px; }
.hp-t-buy { color:var(--hp-green); background:rgba(34,201,138,.12); }
.hp-t-hold { color:var(--hp-mut); background:rgba(139,150,171,.12); }
.hp-t-trim { color:var(--hp-amber); background:rgba(245,185,66,.12); }
.hp-t-avoid { color:var(--hp-red); background:rgba(240,99,99,.12); }

/* Market pulse */
.hp-pulse { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.hp-pcard { background:var(--hp-card); backdrop-filter:blur(10px); border:1px solid var(--hp-border); border-radius:14px; padding:13px 16px; }
.hp-pcard .k { font-size:11px; color:var(--hp-mut); text-transform:uppercase; letter-spacing:.07em; }
.hp-pcard .v { font-size:20px; font-weight:800; margin-top:4px; color:var(--hp-ink); }
.hp-pcard .chg { font-size:12.5px; font-weight:600; margin-top:2px; }

/* Watchlist grid + cards (cards are <button> with pattern id) */
.hp-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.hp-wcard { text-align:left; font-family:inherit; background:var(--hp-card); backdrop-filter:blur(10px);
  border:1px solid var(--hp-border); border-left:4px solid var(--hp-mut); border-radius:16px; padding:15px 17px;
  cursor:pointer; transition:.2s; color:var(--hp-ink); display:flex; flex-direction:column; gap:9px; min-height:118px; }
.hp-wcard:hover { transform:translateY(-3px); border-color:rgba(22,224,168,.3); }
.hp-wcard.v-buy { border-left-color:var(--hp-green); }
.hp-wcard.v-hold { border-left-color:var(--hp-mut); }
.hp-wcard.v-trim { border-left-color:var(--hp-amber); }
.hp-wcard.v-avoid { border-left-color:var(--hp-red); }
.hp-wc-top { display:flex; align-items:flex-start; justify-content:space-between; }
.hp-wc-tk { font-size:18px; font-weight:800; letter-spacing:-.01em; }
.hp-wc-price { font-size:12.5px; color:var(--hp-mut); margin-top:1px; }
.hp-badge { font-size:11px; font-weight:800; padding:4px 10px; border-radius:8px; letter-spacing:.02em; }
.hp-b-buy { color:#04140e; background:var(--hp-green); }
.hp-b-hold { color:var(--hp-ink); background:rgba(139,150,171,.2); border:1px solid var(--hp-border); }
.hp-b-trim { color:#1a1205; background:var(--hp-amber); }
.hp-b-avoid { color:#fff; background:var(--hp-red); }
.hp-wc-wave { font-size:12px; color:#aeb8c9; }
.hp-wc-reason { font-size:12.5px; color:var(--hp-mut); line-height:1.45; min-height:34px; }
.hp-wc-foot { display:flex; align-items:center; justify-content:space-between; margin-top:auto; font-size:11px; color:#5b6577; }

/* Starter (not-yet-analyzed) card */
.hp-starter { text-align:left; font-family:inherit; background:var(--hp-card); backdrop-filter:blur(10px);
  border:1px solid var(--hp-border); border-radius:14px; padding:15px 16px; cursor:pointer; transition:.2s;
  color:var(--hp-ink); display:flex; flex-direction:column; gap:6px; min-height:96px; }
.hp-starter:hover { border-color:rgba(22,224,168,.3); transform:translateY(-2px); }
.hp-starter .run { font-size:12px; font-weight:700; color:var(--hp-teal); margin-top:auto; }
.hp-starter .lbl { font-size:11.5px; color:var(--hp-mut); }

/* Recently analyzed chips */
.hp-chips { display:flex; flex-wrap:wrap; gap:9px; }
.hp-chip { font-family:inherit; display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600;
  padding:8px 13px; border-radius:10px; border:1px solid var(--hp-border); background:var(--hp-card); color:var(--hp-ink); cursor:pointer; transition:.2s; }
.hp-chip:hover { border-color:rgba(22,224,168,.3); }
.hp-chip .ago { font-size:11px; color:#5b6577; font-weight:400; }

@media (max-width:860px) {
  .hp-grid { grid-template-columns:repeat(2,1fr); }
  .hp-pulse { grid-template-columns:repeat(2,1fr); }
  .hp-h1 { font-size:28px; }
}
@media (max-width:520px) {
  .hp-grid, .hp-pulse { grid-template-columns:1fr; }
}

/* Responsive */
@media (max-width:860px) {
  .lp-hero { grid-template-columns:1fr; gap:34px; padding:46px 0 40px; }
  .lp-h1 { font-size:42px; }
  .lp-shot { perspective:none; }
  .lp-shotcard { transform:none; }
  .lp-shot:hover .lp-shotcard { transform:none; }
  .lp-bento { grid-template-columns:repeat(2,1fr); grid-auto-rows:auto; }
  .lp-span2, .lp-span2r { grid-column:span 2; grid-row:auto; }
  .lp-navlinks a { display:none; }
  .lp-sechead h2 { font-size:30px; }
}
@media (max-width:520px) {
  .lp-bento { grid-template-columns:1fr; }
  .lp-span2 { grid-column:span 1; }
  .lp-h1 { font-size:36px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   DASHBOARD V2 — Verdict-First Story (post-analysis results panel)
   Scoped under .fwd. Reuses the .hp / .lp design tokens (teal/gold glass).
   ══════════════════════════════════════════════════════════════════════════ */
.fwd {
  --fwd-teal:#16e0a8; --fwd-teal2:#0fb88a; --fwd-gold:#f5c451;
  --fwd-ink:#e8edf6; --fwd-mut:#8b96ab; --fwd-border:rgba(255,255,255,0.08);
  --fwd-card:rgba(17,22,33,0.66);
  --fwd-green:#22c98a; --fwd-amber:#f5b942; --fwd-red:#f06363; --fwd-blue:#5a8dee;
  position:relative; min-height:calc(100vh - 49px);
  font-family:'Inter Tight','Inter',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(820px 480px at 8% -14%, rgba(22,224,168,0.18), transparent 62%),
    radial-gradient(760px 440px at 96% -10%, rgba(90,141,238,0.13), transparent 60%),
    radial-gradient(620px 360px at 58% -18%, rgba(245,196,81,0.07), transparent 58%);
}
.fwd-mono { font-family:'JetBrains Mono',monospace; font-variant-numeric:tabular-nums; }
.fwd-wrap { max-width:1180px; margin:0 auto; padding:18px 28px 60px; }
.fwd-card { background:var(--fwd-card); backdrop-filter:blur(12px);
  border:1px solid var(--fwd-border); border-radius:18px;
  box-shadow:0 16px 50px -28px rgba(0,0,0,.8); }

/* Verdict colour discipline */
.fwd-buy   { --v:var(--fwd-green); }
.fwd-hold  { --v:var(--fwd-mut); }
.fwd-trim  { --v:var(--fwd-amber); }
.fwd-avoid { --v:var(--fwd-red); }

/* ── HERO VERDICT BAND ─────────────────────────────────────────────────── */
.fwd-hero { padding:28px 30px; position:relative; overflow:hidden; margin-bottom:16px; }
.fwd-hero .fwd-glow { position:absolute; width:340px; height:340px; border-radius:50%;
  filter:blur(90px); opacity:.16; top:-150px; right:-60px; background:var(--v,var(--fwd-amber)); }
.fwd-htop { display:flex; align-items:center; gap:18px; position:relative; z-index:1; }
.fwd-badge { font-weight:900; letter-spacing:-.02em; border-radius:14px; line-height:1.02;
  display:inline-block; font-size:48px; padding:8px 26px;
  color:var(--v); background:color-mix(in srgb, var(--v) 13%, transparent);
  border:1px solid color-mix(in srgb, var(--v) 38%, transparent);
  box-shadow:0 0 40px -8px color-mix(in srgb, var(--v) 50%, transparent); }
.fwd-tk { font-size:28px; font-weight:800; color:var(--fwd-ink); line-height:1.05; }
.fwd-nm { font-size:13px; color:var(--fwd-mut); margin-top:2px; }
.fwd-score { margin-left:auto; text-align:right; }
.fwd-score .p { font-size:26px; font-weight:800; color:var(--v); }
.fwd-score .c { font-size:12.5px; color:var(--fwd-mut); font-weight:600; margin-top:2px; }
.fwd-mid { display:grid; grid-template-columns:1.4fr 1fr; gap:28px; margin-top:20px;
  align-items:center; position:relative; z-index:1; }
.fwd-reco { font-size:16px; line-height:1.55; color:#cdd6e3;
  padding-left:13px; border-left:3px solid var(--v); }
.fwd-reco b { color:var(--fwd-ink); }
.fwd-conf { display:flex; align-items:center; gap:12px; margin-top:16px; }
.fwd-conf .lab { font-size:12.5px; color:var(--fwd-mut); }
.fwd-conf .pct { font-size:13.5px; font-weight:700; color:var(--fwd-ink); }
.fwd-confbar { flex:1; height:8px; border-radius:100px; background:rgba(255,255,255,.07); overflow:hidden; }
.fwd-conffill { height:100%; border-radius:100px;
  background:linear-gradient(90deg, color-mix(in srgb, var(--v) 70%, transparent), var(--v)); }
.fwd-pivots { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.fwd-piv { padding:11px 12px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid var(--fwd-border); }
.fwd-piv .k { font-size:10px; color:var(--fwd-mut); text-transform:uppercase; letter-spacing:.07em; }
.fwd-piv .v { font-size:17px; font-weight:800; margin-top:4px; color:var(--fwd-ink); }
.fwd-actions { display:flex; gap:8px; margin-top:18px; }
.fwd-act { font-family:inherit; font-weight:600; font-size:12.5px; padding:9px 14px; border-radius:10px;
  cursor:pointer; background:rgba(255,255,255,.04); border:1px solid var(--fwd-border); color:var(--fwd-ink); transition:.18s; }
.fwd-act:hover { border-color:rgba(22,224,168,.4); }
.fwd-act.pri { background:linear-gradient(135deg,var(--fwd-teal),var(--fwd-teal2)); color:#04140e; border:none; }

/* ── WHY ROW ───────────────────────────────────────────────────────────── */
.fwd-eyebrow { font-size:11px; font-weight:700; color:var(--fwd-mut); letter-spacing:.1em;
  text-transform:uppercase; margin:0 0 10px 2px; }
.fwd-why { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:18px; }
.fwd-reason { display:inline-flex; align-items:center; gap:9px; padding:8px 14px; border-radius:10px;
  border:1px solid var(--fwd-border); background:var(--fwd-card); backdrop-filter:blur(10px); }
.fwd-reason .ic { width:8px; height:8px; border-radius:50%; flex:0 0 auto;
  box-shadow:0 0 8px color-mix(in srgb, currentColor 70%, transparent); }
.fwd-reason.r .ic { background:var(--fwd-red); color:var(--fwd-red); }
.fwd-reason.a .ic { background:var(--fwd-amber); color:var(--fwd-amber); }
.fwd-reason.g .ic { background:var(--fwd-green); color:var(--fwd-green); }
.fwd-reason.i .ic { background:var(--fwd-mut); color:var(--fwd-mut); }
.fwd-reason .tx { font-size:13px; font-weight:600; color:var(--fwd-ink); white-space:nowrap; }

/* ── SUPPORTING EVIDENCE — chart band ──────────────────────────────────── */
.fwd-chartcard { overflow:hidden; margin-bottom:8px; }
.fwd-chead { display:flex; align-items:center; gap:12px; padding:13px 18px; border-bottom:1px solid var(--fwd-border); flex-wrap:wrap; }
.fwd-chead .tt { font-weight:700; font-size:14.5px; color:var(--fwd-ink); }
.fwd-beta-chip { font-size:10.5px; font-weight:700; color:var(--fwd-amber);
  background:rgba(245,185,66,.12); border:1px solid rgba(245,185,66,.3);
  padding:3px 9px; border-radius:7px; letter-spacing:.02em; }
.fwd-evi-note { font-size:11.5px; color:var(--fwd-mut); margin:8px 2px 18px; }
.fwd-l2 { margin-top:10px; }

/* ── PROOF — 13-framework group cards (accordions) ─────────────────────── */
.fwd-proof-head { display:flex; justify-content:space-between; align-items:center; margin:4px 0 12px; }
.fwd-proof-h { font-size:16px; font-weight:700; color:var(--fwd-ink); }
.fwd-proof-hint { font-size:11.5px; color:var(--fwd-mut); font-style:italic; }
.fwd-grp { border:1px solid var(--fwd-border); border-radius:14px; background:var(--fwd-card);
  backdrop-filter:blur(10px); margin-bottom:12px; overflow:hidden; }
.fwd-grphead { display:flex; align-items:center; gap:12px; padding:15px 18px; cursor:pointer;
  user-select:none; border-left:3px solid var(--g,var(--fwd-mut)); transition:.15s; }
.fwd-grphead:hover { background:rgba(255,255,255,.03); }
.fwd-grphead .arr { color:var(--fwd-mut); font-size:10px; width:12px; display:inline-block; }
.fwd-grphead .gname { font-size:14.5px; font-weight:700; color:var(--fwd-ink); }
.fwd-grphead .gsum { font-size:12px; color:var(--fwd-mut); }
.fwd-gscore { margin-left:auto; font-size:13px; font-weight:700; padding:4px 11px; border-radius:9px;
  font-family:'JetBrains Mono',monospace; color:var(--g); background:color-mix(in srgb, var(--g) 10%, transparent);
  border:1px solid color-mix(in srgb, var(--g) 40%, transparent); }

@media (max-width:900px) {
  .fwd-mid { grid-template-columns:1fr 1fr; }
  .fwd-badge { font-size:38px; }
}
@media (max-width:560px) {
  .fwd-mid, .fwd-pivots { grid-template-columns:1fr; }
  .fwd-score { margin-left:0; text-align:left; }
}
