/* SignalEdge customer product shell: market-first, compact and readable. */
:root{
  --bg:#080b11;
  --surface:#0e131b;
  --surface2:#131a24;
  --line:#242d3a;
  --text:#f4f7fb;
  --muted:#9aa6b5;
  --dim:#6f7c8b;
  --green:#58d6ad;
  --red:#f06f84;
  --amber:#e8b95f;
  --blue:#71aef8;
  --display:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --body:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

body{
  background:linear-gradient(180deg,#090d13 0,#070a0f 100%);
  color:var(--text);
  font-family:var(--body);
  font-feature-settings:'tnum' 1,'ss01' 1;
}

.pilot-bar{background:#0d141b;border-color:#202b36;color:#a9b5c2}
.pilot-bar strong{color:#dbe3ec;text-transform:none;letter-spacing:0}
.nav{background:rgba(8,11,17,.94);border-color:#202834;box-shadow:0 1px 0 rgba(255,255,255,.02)}
.nav-inner{max-width:1280px}
.brand{font-size:22px;letter-spacing:-.045em}
.feature-nav{border-color:#1d2631}
.nav-links{max-width:1280px;gap:22px}
.nav-links a{min-height:42px;padding:8px 0;border:0;border-radius:0;font-size:12px;color:#8492a2}
.nav-links a:hover,.nav-links a:focus-visible{color:#f4f7fb;background:transparent;box-shadow:inset 0 -2px var(--green)}
.button,.nav-action{border-radius:10px}

main{max-width:1280px}
.eyebrow{font-size:11px;letter-spacing:.08em;text-transform:none}
.hero h1,.section-head h2,.public-section h2,.public-launch h1,.auth-shell h1{font-family:var(--body);font-weight:760;letter-spacing:-.055em}
.public-launch,.public-card,.audience-card,.sample-record article,.auth-shell,.panel{
  background:linear-gradient(160deg,#111822,#0d131b);
  border-color:#253141;
  box-shadow:0 18px 54px rgba(0,0,0,.2);
}
.public-launch{border-radius:24px}
.public-launch h1{line-height:.98}
.public-proof article{background:#0d141d;border-color:#273343}
.public-card,.audience-card,.sample-record article{border-radius:16px}
.market-language span,.audience-card .audience-label,.scope,.plan-badge{font-family:var(--body);letter-spacing:.02em;text-transform:none}
.auth-shell{border-radius:20px}
.auth-form input,.filter-bar input,.filter-bar select,.watch-form input,.preferences select{background:#090e15;border-color:#2a3543}

body[data-account-state="authenticated"]{
  background:linear-gradient(180deg,#090d13,#070a0f);
}
body[data-account-state="authenticated"] .nav{background:rgba(8,11,17,.96)}
body[data-account-state="authenticated"] .nav-actions.authenticated-only{display:none!important}
body[data-account-state="authenticated"] .feature-nav{background:#0a0f16;border-color:#202a36}
body[data-account-state="authenticated"] .nav-links{padding:0 22px}
body[data-account-state="authenticated"] .nav-links a{padding:12px 0;border:0;background:transparent;color:#8795a5}
body[data-account-state="authenticated"] .nav-links a:hover{background:transparent;color:#fff}
body[data-account-state="authenticated"] #pilotContent{
  display:flex;
  flex-direction:column;
  max-width:1280px;
  margin:0 auto;
}
body[data-account-state="authenticated"] .session-bar{order:0;margin:18px 22px 0;background:#0c1219;border-color:#222d39}
body[data-account-state="authenticated"] .hero{order:1;margin:14px 22px 4px;padding:32px 34px;border-radius:20px;border-color:#253443;background:linear-gradient(115deg,#121b25,#0c131b 65%);box-shadow:none}
body[data-account-state="authenticated"] .hero h1{font-size:clamp(34px,5vw,58px);line-height:.96}
body[data-account-state="authenticated"] .hero p{font-size:15px;color:#a6b3c1}
body[data-account-state="authenticated"] .safety-card{background:#0c131b;border-color:#273444}
body[data-account-state="authenticated"] #today{order:2}
body[data-account-state="authenticated"] #feed{order:3}
body[data-account-state="authenticated"] #personalization{order:4}
body[data-account-state="authenticated"] #plans{order:5}
body[data-account-state="authenticated"] #forwardOutcomes{order:6}
body[data-account-state="authenticated"] #account{order:7}
body[data-account-state="authenticated"] #ownerAccessPanel{order:8}
body[data-account-state="authenticated"] #examples{order:9}
body[data-account-state="authenticated"] #operations{order:10}
body[data-account-state="authenticated"] #engines{order:11}
body[data-account-state="authenticated"] #methodology{order:12}
body[data-account-state="authenticated"] #risk{order:13}
body[data-account-state="authenticated"] #pilotContent>footer{order:14}
body[data-account-state="authenticated"] .status-strip{display:none}
body[data-account-state="authenticated"] #operations,
body[data-account-state="authenticated"] #engines,
body[data-account-state="authenticated"] #methodology,
body[data-account-state="authenticated"] #risk,
body[data-account-state="authenticated"] #examples{display:none}
body[data-account-state="authenticated"] section:not(.hero){margin:10px 22px;padding:28px;border:1px solid #1d2733;border-radius:18px;background:#0b1017}
body[data-account-state="authenticated"] .section-head{align-items:start;margin-bottom:22px}
body[data-account-state="authenticated"] .section-head h2{font-size:clamp(26px,4vw,38px);line-height:1.05;margin:6px 0 9px}
body[data-account-state="authenticated"] .section-head p{font-size:13px;color:#8f9cab}

.feed-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.signal-row{
  border-color:#263342;
  border-radius:16px;
  background:#0f151d;
  box-shadow:none;
}
.signal-row:before{width:2px;background:var(--green)}
.signal-row[data-direction="short"]:before{background:var(--red)}
.record-classification{color:#7e8b9b}
.signal-row h3{font-size:26px;color:#fff}
.signal-row-head p{color:#778596}
.direction{font-size:11px;background:transparent!important}
.setup-decision{border-color:#344151}
.signal-row .trigger-copy{color:#aab5c2}
.market-reference{border-color:#283442}
.market-reference strong{font-size:27px}
.signal-levels>div{border-color:#374454}
.detail-link{border-color:#283442;color:#65dbb5}
.trigger-state{font-family:var(--body);font-size:11px;letter-spacing:0}

/* Full scanner becomes a compact professional market list on desktop. */
body[data-account-state="authenticated"] #feed .feed-grid{display:grid;grid-template-columns:1fr;gap:8px;overflow:visible}
body[data-account-state="authenticated"] #feed .signal-row{
  display:grid;
  grid-template-columns:minmax(150px,1fr) minmax(210px,1.35fr) minmax(135px,.75fr) minmax(280px,1.65fr) minmax(112px,.62fr);
  grid-template-areas:'identity state price levels action';
  gap:18px;
  align-items:center;
  min-width:0;
  padding:16px 18px;
  border-radius:12px;
}
body[data-account-state="authenticated"] #feed .signal-row-head{grid-area:identity}
body[data-account-state="authenticated"] #feed .setup-decision{grid-area:state}
body[data-account-state="authenticated"] #feed .market-reference{grid-area:price;display:block;padding:0;border:0}
body[data-account-state="authenticated"] #feed .market-reference strong{display:block;margin-top:4px;font-size:20px}
body[data-account-state="authenticated"] #feed .price-distance{display:block;margin-top:3px;text-align:left}
body[data-account-state="authenticated"] #feed .signal-levels{grid-area:levels;grid-template-columns:1fr 1fr!important;gap:9px 16px!important}
body[data-account-state="authenticated"] #feed .detail-link{grid-area:action;justify-content:flex-end;padding:0;border:0;text-align:right}
body[data-account-state="authenticated"] #feed .signal-row h3{font-size:20px}
body[data-account-state="authenticated"] #feed .signal-row-head{display:block}
body[data-account-state="authenticated"] #feed .direction{margin-top:10px}
body[data-account-state="authenticated"] #feed .trigger-copy{font-size:12px}
body[data-account-state="authenticated"] #feed .signal-levels dt{font-size:9px}
body[data-account-state="authenticated"] #feed .signal-levels dd{font-size:12px}

.filter-bar{border:0;background:#101720;box-shadow:none}
body[data-account-state="authenticated"] .filter-bar{top:55px;background:rgba(15,21,29,.96);border-color:#283545;box-shadow:0 14px 34px rgba(0,0,0,.24)}
.tier-card,.tool-card,.outcome-stat,.mtf-card{background:#0e151d;border-color:#263241}
.tier-card[data-current="true"]{border-color:#4ebf9b}

@media(max-width:980px){
  body[data-account-state="authenticated"] #feed .signal-row{
    grid-template-columns:minmax(145px,.85fr) minmax(190px,1.15fr) minmax(120px,.65fr) minmax(240px,1.4fr);
    grid-template-areas:'identity state price levels' 'identity state action action';
  }
}

@media(max-width:760px){
  .nav-links{gap:16px;padding-inline:14px}
  body[data-account-state="authenticated"] .nav-links.authenticated-only{padding:0 14px;gap:18px;background:#0a0f16}
  body[data-account-state="authenticated"] .nav-links.authenticated-only a{min-height:44px;padding:11px 0;border:0;background:transparent;font-size:12px}
  body[data-account-state="authenticated"] .session-bar{margin:10px 12px 0}
  body[data-account-state="authenticated"] .hero{margin:10px 12px 4px;padding:24px 20px}
  body[data-account-state="authenticated"] .hero h1{font-size:36px}
  body[data-account-state="authenticated"] section:not(.hero){margin:8px 12px;padding:20px 16px;border-radius:15px}
  body[data-account-state="authenticated"] .feed-grid{display:grid;grid-template-columns:1fr;overflow:visible}
  body[data-account-state="authenticated"] .signal-row,
  body[data-account-state="authenticated"] #feed .signal-row{
    display:flex;
    min-width:0;
    padding:18px;
    border-radius:14px;
  }
  .signal-row-head{display:flex!important}
  body[data-account-state="authenticated"] #feed .direction{margin-top:0}
  .signal-levels,body[data-account-state="authenticated"] #feed .signal-levels{grid-template-columns:1fr 1fr!important;gap:13px 16px!important}
  body[data-account-state="authenticated"] #feed .detail-link{justify-content:space-between;text-align:left;border-top:1px solid #283442;padding-top:8px}
  .market-reference{display:grid!important;padding:14px 0!important;border-top:1px solid #283442!important;border-bottom:1px solid #283442!important}
  .price-distance{display:block!important;text-align:right!important}
  .filter-bar{grid-template-columns:1fr 1fr}
  .filter-bar label:last-child{grid-column:1/-1}
  .public-launch{padding:24px 20px}
}

@media(max-width:340px){
  .signal-levels,body[data-account-state="authenticated"] #feed .signal-levels{grid-template-columns:1fr!important}
  .signal-row-head{gap:10px}
  .direction{padding:5px 8px}
  .market-reference{grid-template-columns:1fr}
  .price-distance{grid-column:1;grid-row:auto;text-align:left!important}
}

.sample-disclosure{margin:16px 0 0;padding:14px 16px;border-left:3px solid var(--green);background:rgba(101,230,178,.06);color:var(--muted);font-size:13px;line-height:1.55}
.sample-disclosure strong{color:var(--text)}
.marketing-consent{display:grid!important;grid-template-columns:18px 1fr;gap:9px;align-items:start;color:var(--muted)!important;font-size:12px!important;line-height:1.5}.marketing-consent input{width:16px!important;height:16px;margin-top:2px}.marketing-consent a{color:var(--green)}
