﻿:root{
  --bg:#0f0f0f;
  --surface:#181818;
  --surface2:#212121;
  --surface3:#272727;
  --line:#303030;
  --text:#f1f1f1;
  --muted:#aaa;
  --accent:#3ea6ff;
  --green:#22c77a;
  --red:#ff5d5d;
  --gold:#e0a85b;
}
*{
box-sizing:border-box}
html{
scroll-behavior:smooth;
background:var(--bg);
color-scheme:dark}
body{
  margin:0;
  background:var(--bg)!important;
  color:var(--text);
  font-family:Roboto,Arial,"Segoe UI",sans-serif;
  font-size:14px;
  overflow-x:hidden;
}
body::before,body::after{
display:none!important;
content:none!important}
a{
color:inherit}
img{
display:block;
max-width:100%}
button,input,select{
font:inherit}
.yt-topbar{
  position:fixed;
inset:0 0 auto 0;
z-index:1000;
height:64px;
  display:flex;
align-items:center;
gap:16px;
padding:0 20px;
  background:#0f0f0f;
border-bottom:1px solid #202020;
}
.menu-btn{
width:40px;
height:40px;
border:0;
border-radius:50%;
background:transparent;
color:#fff;
font-size:22px;
cursor:pointer}
.menu-btn:hover{
background:#272727}
.yt-brand{
display:flex;
align-items:center;
gap:9px;
text-decoration:none;
min-width:168px}
.yt-brand-mark{
display:grid;
place-items:center;
background:#e62117;
color:#fff;
border-radius:8px;
padding:7px 9px;
font-size:11px;
font-weight:900}
.yt-brand strong{
font-size:17px;
letter-spacing:.04em}
.yt-search{
flex:1;
max-width:760px;
margin:0 auto;
display:flex}
.yt-search input{
width:100%;
height:42px;
padding:0 18px;
border:1px solid #303030;
border-right:0;
border-radius:22px 0 0 22px;
background:#121212;
color:#fff;
outline:none;
font-size:15px}
.yt-search input:focus{
border-color:#1c62b9}
.yt-search button{
width:68px;
height:42px;
border:1px solid #303030;
border-radius:0 22px 22px 0;
background:#222;
color:#fff;
font-size:20px}
.yt-actions{
display:flex;
align-items:center;
gap:10px}
.yt-guide{
padding:9px 14px;
border-radius:18px;
background:#272727;
text-decoration:none;
font-size:13px;
font-weight:700}
.yt-live{
font-size:12px;
color:#92e8b7;
font-weight:800;
white-space:nowrap}
.yt-sidebar{
  position:fixed;
left:0;
top:64px;
bottom:0;
z-index:900;
width:240px;
  padding:14px 12px 26px;
background:#0f0f0f;
overflow-y:auto;
}
.side-link{
display:flex;
align-items:center;
gap:18px;
height:46px;
padding:0 14px;
border-radius:10px;
text-decoration:none;
font-size:14px}
.side-link:hover,.side-link.active{
background:#272727}
.side-icon{
width:26px;
text-align:center;
font-size:19px}
.yt-main{
  margin-left:240px;
  padding:78px 28px 48px;
  width:auto!important;
  max-width:none!important;
}
.yt-chips{
  position:sticky;
top:64px;
z-index:800;
  display:flex;
gap:10px;
padding:10px 0 16px;
background:#0f0f0f;
overflow-x:auto;
scrollbar-width:none;
}
.yt-chips::-webkit-scrollbar{
display:none}
.chip{
flex:0 0 auto;
padding:8px 13px;
border-radius:9px;
background:#272727;
text-decoration:none;
font-size:13px;
font-weight:700}
.chip:hover,.chip.active{
background:#f1f1f1;
color:#0f0f0f}
.yt-featured{
display:block!important;
width:100%!important;
padding:0 0 24px!important;
background:none!important}
.featured-main{
  display:grid;
  grid-template-columns:minmax(600px,1.45fr) minmax(360px,.55fr);
  gap:26px;
align-items:center;
}
.featured-thumb{
overflow:hidden;
border-radius:14px;
background:#181818;
aspect-ratio:16/5}
.featured-thumb img{
width:100%;
height:100%;
object-fit:cover}
.featured-main>.featured-thumb{
grid-column:1;
grid-row:1/6}
.featured-main>.eyebrow,.featured-main>h1,.featured-main>.hero-text,.featured-main>.hero-meta{
grid-column:2}
.eyebrow{
margin:0;
color:#aaa;
font-size:12px;
font-weight:700;
letter-spacing:.08em}
.featured-main h1{
margin:0;
font-size:clamp(38px,3vw,58px);
line-height:.98;
letter-spacing:-.03em}
.featured-main h1 span{
color:#fff!important;
background:none!important;
-webkit-text-fill-color:initial!important}
.hero-text{
margin:0;
color:#aaa;
font-size:15px;
line-height:1.55}
.hero-meta{
display:flex;
gap:8px;
align-items:center;
font-size:13px;
color:#aaa}
.hero-meta strong{
color:#fff}
.ticker-strip{
  display:grid!important;
grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
width:100%!important;
margin:0 0 24px!important;
  background:none!important;
border:0!important;
}
.ticker-strip>div{
padding:16px 18px;
border-radius:12px;
background:#181818;
border:1px solid #242424}
.ticker-strip span{
display:block;
color:#aaa;
font-size:11px}
.ticker-strip b{
display:block;
margin-top:6px;
color:#fff;
font-size:18px}
.shelf-title{
margin:26px 0 14px}
.shelf-title h2{
margin:0;
font-size:24px;
line-height:1.2}
.panel,.card,.insight-card,.yt-card{
  background:#181818!important;
  color:#fff!important;
  border:1px solid #242424!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.panel-title{
display:flex;
justify-content:space-between;
gap:12px;
margin-bottom:16px}
.panel-title span,.section-heading>span{
color:#aaa!important;
font-size:11px!important;
letter-spacing:.08em}
.panel-title h2,.panel-title h3{
margin:4px 0 0;
color:#fff!important;
font-size:18px!important}
.panel-title>strong{
font-size:26px}
.dashboard{
  display:grid!important;
  grid-template-columns:1.55fr .75fr .75fr!important;
  gap:16px!important;
width:100%!important;
margin:0!important;
}
.dashboard>:first-child{
grid-column:1!important}
.dashboard .panel{
padding:18px!important;
min-height:350px!important}
.gauge{
position:relative;
min-height:225px}
.gauge-track,.gauge-zone{
  position:absolute;
left:8%;
right:8%;
bottom:48px;
height:116px;
  border-radius:220px 220px 0 0;
border:16px solid #555;
border-bottom:0;
}
.gauge-zone{
border-color:transparent}
.bearish-zone{
border-left-color:var(--red)}
.bullish-zone{
border-right-color:var(--green)}
.needle{
position:absolute;
left:50%;
bottom:47px;
width:35%;
height:4px;
transform-origin:0 50%;
background:#fff}
.pivot{
position:absolute;
left:50%;
bottom:37px;
width:20px;
height:20px;
margin-left:-10px;
border-radius:50%;
background:#fff}
.gauge-left,.gauge-center,.gauge-right{
position:absolute;
bottom:9px;
color:#aaa;
font-size:12px}
.gauge-left{
left:5%}
.gauge-center{
left:50%;
transform:translateX(-50%)}
.gauge-right{
right:5%}
.gauge-animal{
display:none!important}
.signal{
text-align:center;
font-size:22px;
font-weight:800}
.score{
text-align:center;
font-size:42px;
color:var(--gold);
font-weight:900}
.consensus-text{
text-align:center;
color:#aaa;
font-size:14px}
.position-card{
display:grid;
grid-template-columns:1fr auto auto;
gap:12px;
padding:13px 0;
border-bottom:1px solid #303030}
.position-card:last-child{
border-bottom:0}
.position-card>div{
display:flex;
gap:10px;
align-items:center}
.position-card .icon{
width:32px;
height:32px;
display:grid;
place-items:center;
border-radius:50%;
background:#272727;
font-size:17px}
.position-card b{
font-size:13px}
.position-card strong{
font-size:28px}
.position-card small{
color:#aaa;
font-size:13px}
.bar{
grid-column:1/-1;
height:6px;
background:#303030}
.bar u{
display:block;
height:100%}
.long .bar u,.longDot{
background:var(--green)}
.short .bar u,.shortDot{
background:var(--red)}
.neutral .bar u,.neutralDot{
background:var(--gold)}
.pending-orders{
margin-top:13px;
padding-top:13px;
border-top:1px solid #303030}
.pending-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px}
.pending-card{
padding:12px;
border-radius:10px;
background:#212121}
.pending-card small{
font-size:11px}
.pending-card strong{
font-size:22px}
.consensus-impulse{
  margin-top:14px;
  padding:13px 14px;
  border:1px solid #303030;
  border-radius:11px;
  background:#151515;
}
.consensus-impulse-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.consensus-impulse-head small{
  display:block;
  margin-bottom:4px;
  color:#8f969d;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
}
.consensus-impulse-head strong{
  display:block;
  font-size:16px;
  letter-spacing:.02em;
}
.consensus-impulse-head>b{
  flex:0 0 auto;
  padding:5px 8px;
  border-radius:999px;
  background:#272727;
  color:#c8c8c8;
  font-size:11px;
}
.consensus-impulse p{
  margin:8px 0 5px;
  color:#c5c8ca;
  font-size:12px;
  line-height:1.45;
}
.consensus-impulse-note{
  display:block;
  color:#777f86;
  font-size:10px;
  line-height:1.35;
}
.consensus-impulse[data-state="strengthening"]{border-color:rgba(34,199,122,.38);background:rgba(34,199,122,.055)}
.consensus-impulse[data-state="strengthening"] .consensus-impulse-head strong,
.consensus-impulse[data-state="bull-pressure"] .consensus-impulse-head strong{color:var(--green)}
.consensus-impulse[data-state="weakening"]{border-color:rgba(255,93,93,.38);background:rgba(255,93,93,.055)}
.consensus-impulse[data-state="weakening"] .consensus-impulse-head strong,
.consensus-impulse[data-state="bear-pressure"] .consensus-impulse-head strong{color:var(--red)}
.consensus-impulse[data-state="bull-pressure"]{border-color:rgba(34,199,122,.30);background:rgba(34,199,122,.04)}
.consensus-impulse[data-state="bear-pressure"]{border-color:rgba(255,93,93,.30);background:rgba(255,93,93,.04)}
.consensus-impulse[data-state="stable"] .consensus-impulse-head strong{color:var(--gold)}
.donut{
--strength:0;
width:155px;
height:155px;
margin:18px auto;
border-radius:50%;
display:grid;
place-items:center;
position:relative;
background:conic-gradient(var(--gold) calc(var(--strength)*1%),#303030 0)}
.donut::after{
content:"";
position:absolute;
inset:15px;
border-radius:50%;
background:#181818}
.donut>div{
position:relative;
z-index:2;
text-align:center}
.donut strong{
font-size:32px}
.donut span{
font-size:11px;
color:#aaa}
.strength-list div{
display:grid;
grid-template-columns:70px 1fr 42px;
gap:10px;
align-items:center;
margin:11px 0;
font-size:13px}
.strength-list i{
height:6px;
background:#303030}
.strength-list u{
display:block;
height:100%}
.section-heading{
margin:32px 0 14px}
.section-heading h2{
margin:0;
color:#fff!important;
font-size:28px!important}
.section-heading p{
color:#aaa!important;
font-size:14px!important;
line-height:1.5}
.simple-insights{
display:grid!important;
grid-template-columns:repeat(4,minmax(0,1fr))!important;
gap:16px!important}
.insight-card{
padding:16px!important;
min-height:150px!important}
.insight-chart-card{
grid-column:span 2!important}
.insight-card>span{
color:#aaa!important;
font-size:11px}
.insight-card>strong{
display:block;
margin-top:10px;
font-size:28px}
.insight-card small{
font-size:12px!important;
color:#aaa!important}
.horizon-switch{
display:flex;
gap:8px;
margin-bottom:14px}
.horizon-switch button{
border:0;
border-radius:8px;
background:#272727;
color:#fff;
padding:8px 13px;
font-size:12px}
.horizon-switch button.active{
background:#f1f1f1;
color:#111}
.market-grid{
display:grid!important;
grid-template-columns:1.35fr .65fr!important;
gap:16px!important;
width:100%!important;
margin:0!important}
.market-grid .panel{
padding:18px!important}
.chart-wrap{
height:280px;
display:grid;
grid-template-columns:44px 1fr;
gap:8px}
.chart-y{
display:flex;
flex-direction:column;
justify-content:space-between;
color:#aaa;
font-size:12px}
.chart-wrap svg{
width:100%;
height:100%}
#historyLine{
stroke:#3ea6ff!important}
.price-big{
font-size:44px;
font-weight:900}
.price-day{
color:#aaa;
font-size:14px}
.market-state{
display:flex;
gap:10px;
align-items:center;
padding:10px;
margin-top:10px;
border-radius:10px;
background:#212121}
.price-spark{
width:100%;
height:145px}
.ohlc{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:9px}
.ohlc div{
padding:11px;
border-radius:9px;
background:#212121}
.ohlc span{
display:block;
color:#aaa;
font-size:11px}
.ohlc b{
display:block;
margin-top:5px;
font-size:16px}
.votes-panel{
padding:18px!important;
margin-top:16px!important}
.legend{
display:flex;
gap:14px;
flex-wrap:wrap;
color:#aaa;
font-size:13px}
.dot{
display:inline-block;
width:13px;
height:13px}
.dots{
display:grid;
grid-template-columns:repeat(25,1fr);
gap:7px;
margin-top:14px}
.dots .dot{
width:100%;
aspect-ratio:1}
.reliability-summary,.robots-table-panel,.recent-robot-activity{
padding:18px!important}
.summary-top strong{
font-size:25px}
.plain-explanation{
font-size:15px!important;
line-height:1.5;
color:#ddd!important}
.horizon-cards{
display:grid!important;
grid-template-columns:repeat(5,1fr)!important;
gap:12px!important}
.horizon-cards article{
padding:14px;
border-radius:10px;
background:#181818;
border:1px solid #242424}
.horizon-cards strong{
font-size:24px}
.analytics-details{
margin-top:12px!important;
padding:0!important}
.analytics-details>summary{
padding:16px;
cursor:pointer;
font-size:14px}
.analytics-grid{
display:grid!important;
grid-template-columns:1fr 1fr!important;
gap:12px!important;
padding:12px!important}
.analytics-panel,.methodology-card{
padding:16px;
border-radius:10px;
background:#181818;
border:1px solid #242424}
.table-scroll{
overflow:auto}
.stats-table,.robots-table{
width:100%;
border-collapse:collapse;
font-size:13px}
.stats-table th,.stats-table td,.robots-table th,.robots-table td{
padding:10px 8px;
border-bottom:1px solid #303030;
text-align:right}
.stats-table th:first-child,.stats-table td:first-child,.robots-table th:first-child,.robots-table td:first-child{
text-align:left}
.robots-overview{
display:grid!important;
grid-template-columns:repeat(4,1fr)!important;
gap:12px!important}
.robot-kpi{
padding:16px!important;
min-height:120px!important}
.robot-kpi span{
color:#aaa!important;
font-size:11px}
.robot-kpi strong{
display:block;
margin-top:8px;
font-size:30px}
.robots-title-row{
display:flex;
justify-content:space-between;
gap:12px}
.robots-controls{
display:flex;
gap:8px}
.robots-controls input,.robots-controls select{
padding:9px 10px;
border:1px solid #303030;
border-radius:8px;
background:#121212;
color:#fff;
font-size:13px}
.robots-help{
display:flex;
gap:14px;
flex-wrap:wrap;
color:#aaa;
font-size:12px;
padding:10px 0}
.robot-activity-item{
display:grid;
grid-template-columns:160px 1fr auto auto;
gap:10px;
padding:11px;
border-radius:8px;
background:#212121;
font-size:13px}
.portfolio-stats{
display:grid!important;
grid-template-columns:repeat(5,1fr)!important;
gap:12px!important}
.portfolio-stats article,.portfolio-copy article,.method-grid article{
padding:16px!important}
.portfolio-stats strong{
font-size:30px}
.portfolio-stats span{
font-size:12px;
color:#aaa}
.portfolio-copy{
display:grid!important;
grid-template-columns:repeat(3,1fr)!important;
gap:12px!important}
.portfolio-copy h3{
font-size:20px}
.portfolio-copy p,.method>p{
color:#aaa!important;
font-size:14px!important;
line-height:1.5}
.method{
display:grid!important;
grid-template-columns:.65fr 1.35fr!important;
gap:16px!important}
.method h2{
font-size:28px}
.method-grid{
display:grid!important;
grid-template-columns:repeat(3,1fr)!important;
gap:12px!important}
.method-grid b{
font-size:28px}
.method-grid span{
font-size:13px;
color:#aaa}
.guide-cta{
display:flex!important;
justify-content:space-between;
align-items:center;
gap:16px;
padding:18px!important}
.guide-button{
padding:10px 16px;
border-radius:18px;
background:#f1f1f1;
color:#111;
text-decoration:none;
font-size:13px;
font-weight:700}
.disclaimer{
display:flex;
gap:14px;
color:#aaa;
font-size:13px;
margin-top:16px!important}
footer{
margin-left:240px!important;
width:auto!important;
padding:20px 28px 28px;
color:#777;
font-size:12px}
.robot-modal{
position:fixed;
inset:0;
z-index:1200;
display:none}
.robot-modal.open{
display:block}
.robot-modal-backdrop{
position:absolute;
inset:0;
background:#000b}
.robot-modal-card{
position:relative;
z-index:2;
width:min(960px,calc(100% - 28px));
max-height:90vh;
overflow:auto;
margin:5vh auto;
padding:22px;
background:#181818;
border-radius:12px}
img,
picture,
.featured-thumb,
.hero-visual,
.gauge-animal{
  display:none!important;
}
body{
  background:#0f0f0f!important;
  background-image:none!important;
}
.featured-main.featured-text-only{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}
.featured-main.featured-text-only::before{
  content:"SPX PULSE";
  grid-column:1;
  grid-row:1 / span 5;
  min-height:310px;
  display:flex;
  align-items:flex-end;
  padding:30px;
  border-radius:16px;
  background:
    radial-gradient(circle at 18% 18%,rgba(62,166,255,.18),transparent 28%),
    radial-gradient(circle at 84% 78%,rgba(224,168,91,.10),transparent 30%),
    linear-gradient(145deg,#171717,#111 58%,#181818);
  border:1px solid #242424;
  color:#f1f1f1;
  font-size:clamp(56px,6vw,110px);
  font-weight:900;
  letter-spacing:-.065em;
  line-height:.82;
}
.featured-main.featured-text-only>.eyebrow,
.featured-main.featured-text-only>h1,
.featured-main.featured-text-only>.hero-text,
.featured-main.featured-text-only>.hero-meta{
  grid-column:2!important;
  grid-row:auto!important;
}
.featured-main.featured-text-only>h1{
  align-self:end;
}
.yt-brand-mark{
  background:#3ea6ff!important;
}
.quick-icon,
.brand-mark{
  background-image:none!important;
}
.panel,
.card,
.insight-card,
.yt-card,
.ticker-strip>div{
  background-image:none!important;
}
@media(max-width:1250px){
.featured-main.featured-text-only{
    grid-template-columns:1fr!important;
  }
.featured-main.featured-text-only::before,
  .featured-main.featured-text-only>.eyebrow,
  .featured-main.featured-text-only>h1,
  .featured-main.featured-text-only>.hero-text,
  .featured-main.featured-text-only>.hero-meta{
    grid-column:1!important;
    grid-row:auto!important;
  }
.featured-main.featured-text-only::before{
    min-height:220px;
    font-size:clamp(48px,8vw,88px);
  }
}
@media(max-width:780px){
.featured-main.featured-text-only::before{
    min-height:150px;
    padding:20px;
    border-radius:12px;
    font-size:44px;
  }
}
body{
  font-size:16px!important;
  line-height:1.55!important;
}
.yt-main{
  padding-top:82px!important;
}
section,
.dashboard,
.market-grid,
.votes-panel,
.reliability-summary,
.analytics-details,
.robots-overview,
.robots-table-panel,
.recent-robot-activity,
.portfolio-stats,
.portfolio-copy,
.method,
.guide-cta{
  margin-bottom:24px!important;
}
.section-heading{
  margin:42px 0 20px!important;
  max-width:1100px;
}
.section-heading h2{
  font-size:30px!important;
  line-height:1.18!important;
  margin:0 0 10px!important;
}
.section-heading p{
  font-size:15px!important;
  line-height:1.65!important;
  margin:0!important;
  max-width:1050px;
}
.panel,.card,.insight-card,.yt-card,
.portfolio-stats article,.portfolio-copy article,.method-grid article,
.analytics-panel,.methodology-card{
  overflow:visible!important;
  height:auto!important;
  min-height:0!important;
}
.panel,.yt-card,.insight-card,
.reliability-summary,.robots-table-panel,.recent-robot-activity{
  padding:22px!important;
}
.panel-title{
  align-items:flex-start!important;
  margin-bottom:20px!important;
}
.panel-title h2,.panel-title h3{
  font-size:20px!important;
  line-height:1.3!important;
}
.panel-title span{
  line-height:1.45!important;
}
.plain-explanation,
.analytics-panel p,
.methodology-card p,
.portfolio-copy p,
.method p,
.guide-cta p,
.reliability-summary p{
  font-size:15px!important;
  line-height:1.7!important;
  margin-top:10px!important;
  margin-bottom:14px!important;
}
.summary-top{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:8px 14px!important;
  margin-bottom:12px!important;
}
.summary-top strong{
  font-size:26px!important;
  line-height:1.2!important;
}
.summary-top span,
.summary-top small{
  line-height:1.5!important;
}
.position-card{
  min-height:72px!important;
  row-gap:12px!important;
}
.position-card b,
.position-card small{
  line-height:1.35!important;
}
.pending-grid{
  margin-top:12px!important;
}
.pending-card{
  min-height:76px!important;
}
.pending-card small,
.pending-card strong{
  display:block!important;
  line-height:1.35!important;
}
.chart-wrap{
  margin-top:16px!important;
  margin-bottom:18px!important;
}
.price-big{
  line-height:1.1!important;
  margin:8px 0!important;
}
.price-day{
  line-height:1.5!important;
  margin-bottom:14px!important;
}
.market-state{
  min-height:52px!important;
  line-height:1.45!important;
}
.simple-insights{
  gap:18px!important;
}
.insight-card{
  min-height:180px!important;
}
.insight-card>strong{
  line-height:1.15!important;
  margin-bottom:10px!important;
}
.insight-card small{
  display:block!important;
  line-height:1.55!important;
}
.horizon-cards{
  gap:14px!important;
  margin-top:18px!important;
}
.horizon-cards article{
  min-height:115px!important;
}
.horizon-cards article span,
.horizon-cards article small{
  display:block!important;
  line-height:1.45!important;
  margin-top:5px!important;
}
.table-scroll{
  margin-top:16px!important;
}
.stats-table,.robots-table{
  font-size:14px!important;
  line-height:1.45!important;
}
.stats-table th,.stats-table td,
.robots-table th,.robots-table td{
  padding:13px 10px!important;
  white-space:nowrap!important;
}
.robot-kpi{
  min-height:135px!important;
}
.robot-kpi span{
  display:block!important;
  line-height:1.45!important;
}
.robot-kpi strong{
  line-height:1.15!important;
}
.robots-help{
  font-size:13px!important;
  line-height:1.55!important;
  padding:14px 0!important;
}
.robot-activity-item{
  min-height:52px!important;
  align-items:center!important;
  line-height:1.45!important;
  margin-bottom:8px!important;
}
.portfolio-stats article,
.portfolio-copy article,
.method-grid article{
  min-height:135px!important;
  padding:20px!important;
}
.portfolio-stats span,
.method-grid span{
  display:block!important;
  line-height:1.5!important;
  margin-top:6px!important;
}
.portfolio-copy h3{
  line-height:1.25!important;
  margin:0 0 12px!important;
}
.side-link{
  line-height:1.2!important;
}
.chip{
  line-height:1.2!important;
}
.gauge{
  min-height:265px!important;
  margin-bottom:12px!important;
}
.signal{
  line-height:1.25!important;
  margin-top:10px!important;
}
.score{
  line-height:1.05!important;
  margin:6px 0!important;
}
.consensus-text{
  line-height:1.5!important;
}
.featured-main.featured-text-only{
  row-gap:16px!important;
}
.featured-main.featured-text-only h1{
  line-height:1.02!important;
}
.featured-main.featured-text-only .hero-text{
  line-height:1.65!important;
}
p,h1,h2,h3,h4,strong,span,small,td,th{
  overflow-wrap:break-word;
}
.spx-hero-banner{
  width:100%!important;
  margin:0 0 22px!important;
  padding:0!important;
  background:transparent!important;
}
.spx-banner-wrap{
  position:relative;
  width:100%;
  overflow:hidden;
  border:1px solid #292929;
  border-radius:16px;
  background:#080808;
  box-shadow:0 12px 32px rgba(0,0,0,.36);
}
.spx-banner-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1442 / 353;
  object-fit:cover;
  object-position:center;
}
.hero-live-signal{
  position:absolute;
  z-index:5;
  left:50%;
  top:43%;
  transform:translate(-50%,-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:180px;
  padding:8px 18px 9px;
  border-radius:12px;
  background:rgba(3,3,3,.60);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 8px 24px rgba(0,0,0,.45);
  backdrop-filter:blur(4px);
  pointer-events:none;
  text-align:center;
}
.hero-live-label{
  display:block;
  color:#f0bd53;
  font-size:11px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:.12em;
  margin-bottom:3px;
}
#heroSignal{
  display:block;
  color:#f2f2f2;
  font-size:21px;
  font-weight:900;
  line-height:1.05;
  letter-spacing:.02em;
  white-space:nowrap;
}
#heroScore{
  display:block;
  margin-top:2px;
  color:#f0bd53;
  font-size:18px;
  font-weight:900;
  line-height:1.05;
  white-space:nowrap;
}
.yt-featured,
.featured-main,
.featured-text-only{
  background:none;
}
.spx-hero-banner{
  width:100%!important;
  margin:0 0 18px!important;
  padding:0!important;
  background:transparent!important;
}
.spx-banner-wrap{
  position:relative;
  width:100%;
  overflow:hidden;
  border:1px solid #2a2a2a;
  border-radius:16px;
  background:#050505;
  box-shadow:0 16px 38px rgba(0,0,0,.42);
}
.spx-banner-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio: 1820 / 315;
  object-fit:cover;
  object-position:center;
}
.hero-live-signal{
  position:absolute;
  z-index:6;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  min-width:190px;
  padding:9px 22px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-radius:13px;
  background:rgba(4,4,4,.84);
  border:1px solid rgba(255,196,76,.20);
  box-shadow:
    0 10px 28px rgba(0,0,0,.54),
    inset 0 0 28px rgba(0,0,0,.18);
  backdrop-filter:blur(5px);
  pointer-events:none;
}
.hero-live-label{
  color:#f0bd53;
  font-size:11px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.12em;
  margin-bottom:4px;
}
#heroSignal{
  color:#f0bd53;
  font-size:23px;
  line-height:1.05;
  font-weight:950;
  letter-spacing:.01em;
  white-space:nowrap;
}
#heroScore{
  margin-top:3px;
  color:#f0bd53;
  font-size:20px;
  line-height:1.05;
  font-weight:950;
  white-space:nowrap;
}
#heroSignal.is-bullish{
color:#22c77a}
#heroSignal.is-bearish{
color:#ff5d5d}
#heroSignal.is-neutral{
color:#f0bd53}
.ticker-strip{
  margin-top:0!important;
}
.dashboard{
  align-items:stretch!important;
}
.spx-banner-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio: 1820 / 300;
  object-fit:cover;
  object-position:center;
}
.hero-live-signal{
  left:50%!important;
  top:55%!important;
  transform:translate(-50%,-50%)!important;
  min-width:205px!important;
  padding:8px 20px 9px!important;
  background:rgba(3,3,3,.72)!important;
  border:1px solid rgba(255,196,76,.18)!important;
}
.hero-live-label{
  font-size:10px!important;
  margin-bottom:3px!important;
}
#heroSignal{
  font-size:22px!important;
}
#heroScore{
  font-size:20px!important;
  margin-top:2px!important;
}
@media(max-width:1250px){
.yt-sidebar{
width:86px;
padding:8px}
.side-link{
height:62px;
flex-direction:column;
justify-content:center;
gap:4px;
padding:4px;
font-size:10px}
.side-icon{
font-size:18px}
.yt-main{
margin-left:86px;
padding-left:18px;
padding-right:18px}
footer{
margin-left:86px!important}
.featured-main{
grid-template-columns:1fr}
.featured-main>.featured-thumb,.featured-main>.eyebrow,.featured-main>h1,.featured-main>.hero-text,.featured-main>.hero-meta{
grid-column:1;
grid-row:auto}
.dashboard{
grid-template-columns:1fr 1fr!important}
.dashboard>:first-child{
grid-column:span 2!important}
.simple-insights{
grid-template-columns:1fr 1fr!important}
.robots-overview,.portfolio-stats{
grid-template-columns:1fr 1fr!important}
}
@media(max-width:780px){
body{
font-size:14px}
.yt-topbar{
height:58px;
padding:0 8px;
gap:8px}
.menu-btn{
display:none}
.yt-brand{
min-width:auto}
.yt-brand strong{
display:none}
.yt-search{
max-width:none}
.yt-search input{
height:38px;
font-size:14px}
.yt-search button{
width:48px;
height:38px}
.yt-guide{
display:none}
.yt-live{
font-size:10px}
.yt-sidebar{
display:none}
.yt-main{
margin-left:0;
padding:64px 8px 28px}
footer{
margin-left:0!important;
padding:16px 8px!important}
.yt-chips{
top:58px;
padding-bottom:8px}
.featured-thumb{
aspect-ratio:16/9}
.featured-main h1{
font-size:30px}
.ticker-strip{
grid-template-columns:1fr 1fr!important;
gap:8px!important}
.dashboard,.market-grid,.simple-insights,.robots-overview,.portfolio-stats,.portfolio-copy,.method,.method-grid,.horizon-cards,.analytics-grid{
grid-template-columns:1fr!important}
.dashboard>:first-child,.insight-chart-card{
grid-column:span 1!important}
.ohlc{
grid-template-columns:1fr!important}
.dots{
grid-template-columns:repeat(8,1fr)!important}
.robots-title-row{
display:block}
.robots-controls{
display:block}
.robots-controls input,.robots-controls select{
width:100%;
margin-top:6px}
.robot-activity-item{
grid-template-columns:1fr!important}
.guide-cta,.disclaimer{
display:block!important}
.guide-button{
display:block;
margin-top:10px;
text-align:center}
}
@media(max-width:780px){
body{
    font-size:15px!important;
    line-height:1.55!important;
  }
.yt-main{
    padding-left:12px!important;
    padding-right:12px!important;
  }
.section-heading{
    margin:34px 0 16px!important;
  }
.section-heading h2{
    font-size:25px!important;
  }
.section-heading p{
    font-size:14px!important;
    line-height:1.65!important;
  }
.panel,.yt-card,.insight-card,
  .reliability-summary,.robots-table-panel,.recent-robot-activity{
    padding:17px!important;
  }
.dashboard .panel{
    min-height:0!important;
  }
.gauge{
    min-height:235px!important;
  }
.pending-grid{
    grid-template-columns:1fr!important;
  }
.horizon-cards article,
  .robot-kpi,
  .portfolio-stats article,
  .portfolio-copy article,
  .method-grid article{
    min-height:0!important;
  }
.stats-table,.robots-table{
    font-size:13px!important;
  }
.featured-main.featured-text-only::before{
    line-height:.9!important;
  }
}
@media(max-width:900px){
.spx-banner-wrap{
    border-radius:12px;
  }
.spx-banner-image{
    min-height:200px;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center;
  }
.hero-live-signal{
    top:44%;
    min-width:145px;
    padding:6px 12px 7px;
  }
.hero-live-label{
font-size:9px}
#heroSignal{
font-size:17px}
#heroScore{
font-size:15px}
}
@media(max-width:560px){
.spx-banner-image{
    height:230px!important;
    min-height:230px;
    object-fit:cover;
    /* conserva aguja y personajes;
 recorta extremos antes que deformar */
    object-position:center;
  }
.hero-live-signal{
    top:45%;
    min-width:126px;
    padding:5px 9px 6px;
    border-radius:9px;
  }
.hero-live-label{
font-size:8px}
#heroSignal{
font-size:15px}
#heroScore{
font-size:14px}
}
@media(max-width:1100px){
.spx-banner-image{
    min-height:245px;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center;
  }
.hero-live-signal{
    top:49%;
    min-width:165px;
    padding:7px 15px 8px;
  }
.hero-live-label{
font-size:10px}
#heroSignal{
font-size:19px}
#heroScore{
font-size:17px}
}
@media(max-width:780px){
.spx-banner-wrap{
border-radius:12px}
.spx-banner-image{
    height:235px!important;
    min-height:235px;
    object-fit:cover;
    object-position:center;
  }
.hero-live-signal{
    top:50%;
    min-width:140px;
    padding:6px 10px 7px;
    border-radius:10px;
  }
.hero-live-label{
font-size:8px}
#heroSignal{
font-size:16px}
#heroScore{
font-size:15px}
}
@media(max-width:480px){
.spx-banner-image{
    height:215px!important;
  }
.hero-live-signal{
    min-width:125px;
    padding:5px 8px 6px;
  }
.hero-live-label{
font-size:7px}
#heroSignal{
font-size:14px}
#heroScore{
font-size:13px}
}
@media(max-width:900px){
.hero-live-signal{
    top:56%!important;
    min-width:165px!important;
  }
}
@media(max-width:560px){
.hero-live-signal{
    top:57%!important;
    min-width:135px!important;
  }
.hero-live-label{
font-size:8px!important}
#heroSignal{
font-size:16px!important}
#heroScore{
font-size:15px!important}
}
.spx-banner-wrap{
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.spx-banner-image{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
}
.hero-live-signal{
  left:50%!important;
  top:55%!important;
  transform:translate(-50%,-50%)!important;
}
@media(max-width:900px){
.spx-banner-image{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
.hero-live-signal{
    top:55%!important;
    min-width:110px!important;
    padding:4px 8px 5px!important;
    border-radius:8px!important;
  }
.hero-live-label{
font-size:7px!important;
margin-bottom:1px!important}
#heroSignal{
font-size:13px!important}
#heroScore{
font-size:12px!important;
margin-top:1px!important}
}
@media(max-width:560px){
.spx-banner-image{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:contain!important;
  }
.hero-live-signal{
    top:55%!important;
    min-width:82px!important;
    padding:2px 5px 3px!important;
    border-radius:6px!important;
    backdrop-filter:blur(2px)!important;
  }
.hero-live-label{
font-size:5px!important;
letter-spacing:.08em!important}
#heroSignal{
font-size:9px!important}
#heroScore{
font-size:8px!important}
}
@media(max-width:390px){
.hero-live-signal{
    min-width:72px!important;
    padding:2px 4px!important;
  }
.hero-live-label{
font-size:4.5px!important}
#heroSignal{
font-size:8px!important}
#heroScore{
font-size:7px!important}
}
.spx-banner-wrap{
height:auto!important;
aspect-ratio:1278/264!important;
overflow:hidden!important;}
.spx-banner-image{
display:block!important;
width:100%!important;
height:100%!important;
object-fit:contain!important;
object-position:center center!important;
transform:none!important;}
@media(max-width:768px){
.spx-banner-wrap{
aspect-ratio:1278/264!important;
height:auto!important}
.spx-banner-image{
width:100%!important;
height:100%!important;
object-fit:contain!important;
object-position:center!important}
}
.spx-banner-wrap .hero-live-signal,
.spx-banner-wrap .floating-card,
.spx-banner-wrap .current-consensus,
.spx-banner-wrap .signal-box,
.spx-hero-banner .hero-live-signal,
.spx-hero-banner .floating-card,
.spx-hero-banner .current-consensus,
.spx-hero-banner .signal-box{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.spx-banner-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  object-fit:cover!important;
  object-position:center!important;
}
.robot-live-side{
font-weight:800;
white-space:nowrap}
.robot-long{
color:#19c77a!important}
.robot-short{
color:#ff5252!important}
.robot-mixed{
color:#ffbf3f!important}
.robot-live-box{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:10px;
margin:14px 0 18px;
padding:14px;
border:1px solid #303030;
border-radius:10px;
background:#111}
.robot-live-box>div{
padding:10px;
border-radius:8px;
background:#191919}
.robot-live-box span{
display:block;
color:#8f8f8f;
font-size:10px;
letter-spacing:.07em;
margin-bottom:5px}
.robot-live-box strong{
font-size:15px}
@media(max-width:900px){
.robot-live-box{
grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
.robot-live-box{
grid-template-columns:1fr}
.robots-table{
min-width:1150px}
}
.robots-table td,.robots-table th{
white-space:nowrap}
.robot-live-value{
font-weight:700}
.robot-live-muted{
color:#777}
.robot-live-duration{
font-variant-numeric:tabular-nums}
@media(max-width:900px){
.robots-table{
min-width:1750px!important}
}
#score[hidden]{
display:none!important}
.consensus-panel .signal,#signal{
max-width:100%;
line-height:1.15;
text-align:center}
.pulse-explainer{
margin-top:18px;
padding:14px 16px;
border:1px solid rgba(212,169,91,.18);
border-radius:10px;
background:rgba(255,255,255,.018)}
.pulse-explainer strong{
display:block;
margin-bottom:6px;
color:#d6b16a;
font-size:.76rem;
letter-spacing:.08em;
text-transform:uppercase}
.pulse-explainer p{
margin:0;
color:#8e8b84;
font-size:.82rem;
line-height:1.55}
#score{
display:none!important}
#needle,.needle{
transform-origin:0 50%!important;
transition:transform .35s ease!important}
.spx-fold{
margin:14px 0;
border:1px solid rgba(212,169,91,.16);
border-radius:12px;
background:rgba(255,255,255,.018);
overflow:hidden}
.spx-fold>summary{
list-style:none;
cursor:pointer;
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
padding:16px 18px;
user-select:none}
.spx-fold>summary::-webkit-details-marker{
display:none}
.spx-fold>summary:hover{
background:rgba(255,255,255,.022)}
.spx-fold-copy{
display:flex;
flex-direction:column;
gap:4px;
min-width:0}
.spx-fold-copy strong{
color:#eee6da;
font-size:.9rem}
.spx-fold-copy small{
color:#8f8a82;
font-size:.72rem;
line-height:1.4}
.spx-fold-action{
color:#d6b16a;
font-size:.68rem;
font-weight:800;
letter-spacing:.08em;
text-transform:uppercase}
.spx-fold>summary::after{
content:"⌄";
color:#d6b16a;
font-size:1rem;
transition:transform .2s ease}
.spx-fold[open]>summary::after{
transform:rotate(180deg)}
.spx-fold[open] .spx-fold-action{
font-size:0}
.spx-fold[open] .spx-fold-action::after{
content:"Ocultar";
font-size:.68rem}
.spx-fold-body{
padding:0 14px 14px}
.spx-fold-body>section{
margin-top:0!important;
margin-bottom:0!important}
@media(max-width:700px){
.spx-fold>summary{
padding:14px;
align-items:flex-start}
.spx-fold-copy strong{
font-size:.84rem}
.spx-fold-copy small{
font-size:.68rem}
.spx-fold-action{
display:none}
.spx-fold-body{
padding:0 8px 10px}
}
.earnings-overview{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:10px 0 12px;
}
.earnings-kpi{
padding:13px!important;
min-height:auto!important}
.earnings-kpi span{
display:block;
color:#8f8a82;
font-size:.58rem;
font-weight:800;
letter-spacing:.08em}
.earnings-kpi strong{
display:block;
color:#eee6da;
font-size:1.15rem;
margin-top:4px}
.earnings-kpi small{
color:#77736d;
font-size:.66rem}
.earnings-calendar-panel{
padding:14px!important}
.earnings-toolbar{
display:flex;
gap:8px;
justify-content:space-between;
margin-bottom:10px}
.earnings-toolbar input,.earnings-toolbar select{
  background:#0d0d0c;
  color:#ddd4c7;
  border:1px solid rgba(212,169,91,.16);
  border-radius:7px;
  padding:9px 10px;
  font:inherit;
  font-size:.75rem;
}
.earnings-toolbar input{
flex:1;
min-width:180px}
.earnings-toolbar select{
min-width:170px}
.earnings-table{
width:100%;
border-collapse:collapse;
min-width:920px}
.earnings-table th,.earnings-table td{
  padding:9px 10px;
  border-bottom:1px solid rgba(255,255,255,.055);
  text-align:left;
  white-space:nowrap;
  font-size:.72rem;
}
.earnings-table th{
  color:#8f8a82;
  font-size:.59rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.earnings-table td{
color:#c9c2b8}
.earnings-table .earnings-date{
color:#e5c17f;
font-weight:800}
.earnings-table .earnings-ticker{
color:#eee6da;
font-weight:900}
.earnings-table .earnings-days-soon{
color:#e5c17f;
font-weight:800}
.earnings-table .earnings-time{
color:#aaa39a}
.earnings-empty{
text-align:center!important;
color:#77736d!important;
padding:22px!important}
.earnings-note{
margin:10px 0 0;
color:#77736d;
font-size:.64rem;
line-height:1.45}
@media(max-width:850px){
.earnings-overview{
grid-template-columns:1fr 1fr}
.earnings-toolbar{
flex-direction:column}
.earnings-toolbar select{
width:100%}
}
.world-markets-fold{
border-color:rgba(54,145,255,.22)!important}
.wm-section{
color:#e8edf3}
.wm-head{
display:grid;
grid-template-columns:1fr 1.25fr auto;
gap:16px;
align-items:center;
padding:8px 2px 14px}
.wm-kicker{
display:block;
color:#258aff;
font-size:.6rem;
font-weight:900;
letter-spacing:.11em}
.wm-head h2{
font-size:1.25rem;
margin:4px 0 0;
color:#f1f4f7}
.wm-global-state{
text-align:center}
.wm-global-state strong{
display:block;
color:#39df74;
font-size:1.15rem;
letter-spacing:.02em}
.wm-global-state small{
display:block;
margin-top:4px;
color:#8f9aa7;
font-size:.7rem}
.wm-now{
text-align:right}
.wm-now span{
display:block;
color:#788494;
font-size:.55rem;
letter-spacing:.08em}
.wm-now strong{
display:block;
color:#4fa0ff;
font-size:1.05rem;
margin-top:2px;
font-variant-numeric:tabular-nums}
.wm-now small{
color:#87909b;
font-size:.66rem}
.wm-timeline-panel,.wm-overlap-panel{
  position:relative;
background:linear-gradient(180deg,rgba(7,15,25,.94),rgba(7,12,19,.94));
  border:1px solid rgba(86,126,164,.22);
border-radius:12px;
padding:14px;
overflow:hidden
}
.wm-timeline-title{
display:flex;
gap:8px;
align-items:baseline;
margin-bottom:12px}
.wm-timeline-title strong{
font-size:.72rem;
letter-spacing:.06em}
.wm-timeline-title span{
font-size:.63rem;
color:#7e8995}
.wm-hours{
margin-left:154px;
display:grid;
grid-template-columns:repeat(13,1fr);
color:#aab2bc;
font-size:.58rem;
margin-bottom:7px}
.wm-hours span{
text-align:center}
.wm-timeline-rows{
display:flex;
flex-direction:column;
gap:7px}
.wm-timeline-row{
display:grid;
grid-template-columns:145px 1fr;
gap:9px;
align-items:center}
.wm-market-name{
display:flex;
align-items:center;
gap:8px;
min-width:0}
.wm-flag{
font-size:1.1rem;
line-height:1}
.wm-market-name b{
font-size:.7rem;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis}
.wm-market-name small{
margin-left:auto;
color:#778493;
font-size:.58rem}
.wm-track{
position:relative;
height:29px;
background:#222a33;
border-radius:5px;
overflow:hidden;
 background-image:linear-gradient(to right,rgba(255,255,255,.045) 1px,transparent 1px);
background-size:8.333% 100%}
.wm-session{
position:absolute;
top:0;
bottom:0;
border-radius:4px;
background:linear-gradient(180deg,#2dbd52,#168432);
 display:flex;
align-items:center;
justify-content:center;
color:#f5fff8;
font-size:.54rem;
font-weight:800;
min-width:2px}
.wm-session.pause{
background:linear-gradient(180deg,#d78a12,#9e5f04)}
.wm-now-line{
position:absolute;
top:50px;
bottom:41px;
width:1px;
background:#158cff;
z-index:5;
pointer-events:none;
left:50%}
.wm-now-line:before{
content:"";
position:absolute;
top:0;
bottom:0;
left:-7px;
width:14px;
background:rgba(21,140,255,.07)}
.wm-now-line b{
position:absolute;
top:-24px;
left:50%;
transform:translateX(-50%);
background:#0966d8;
color:white;
 border-radius:5px;
padding:3px 6px;
font-size:.58rem;
font-weight:900;
white-space:nowrap}
.wm-legend{
margin:9px 0 0 154px;
display:flex;
gap:15px;
color:#8d98a4;
font-size:.56rem}
.wm-legend i{
display:inline-block;
width:9px;
height:9px;
border-radius:2px;
margin-right:4px;
background:#222a33}
.wm-legend i.open{
background:#21a846}
.wm-legend i.pause{
background:#bd760b}
.wm-cards{
display:grid;
grid-template-columns:repeat(5,minmax(0,1fr));
gap:10px;
margin:11px 0}
.wm-card{
position:relative;
background:radial-gradient(circle at 50% 45%,rgba(24,136,62,.12),transparent 55%),#07100f;
 border:1px solid rgba(52,198,92,.35);
border-radius:12px;
padding:12px;
min-height:190px;
overflow:hidden}
.wm-card.pause{
border-color:rgba(232,148,18,.42);
background:radial-gradient(circle at 50% 45%,rgba(213,128,6,.13),transparent 55%),#100d07}
.wm-card.closed{
border-color:rgba(123,139,155,.22);
background:#0a0d11}
.wm-card-head{
display:flex;
align-items:center;
gap:7px}
.wm-card-head .wm-flag{
font-size:1.3rem}
.wm-card-head strong{
font-size:.77rem}
.wm-card-head small{
margin-left:auto;
color:#7f8994;
font-size:.57rem}
.wm-status{
display:inline-block;
margin:10px 0 8px;
padding:5px 8px;
border-radius:5px;
background:#0f6429;
color:#7dff9e;
font-size:.65rem;
font-weight:900}
.wm-card.pause .wm-status{
background:#734704;
color:#ffc561}
.wm-card.closed .wm-status{
background:#262c33;
color:#9ba5af}
.wm-clock-wrap{
display:flex;
align-items:center;
gap:12px}
.wm-analog{
position:relative;
width:66px;
height:66px;
flex:0 0 66px;
border:2px solid #31dc65;
border-radius:50%;
box-shadow:0 0 15px rgba(49,220,101,.18)}
.wm-card.pause .wm-analog{
border-color:#e89418;
box-shadow:0 0 15px rgba(232,148,24,.18)}
.wm-card.closed .wm-analog{
border-color:#59636f;
box-shadow:none}
.wm-analog:before{
content:"";
position:absolute;
width:5px;
height:5px;
left:50%;
top:50%;
transform:translate(-50%,-50%);
background:#dfffe7;
border-radius:50%;
z-index:3}
.wm-hour,.wm-minute{
position:absolute;
left:50%;
bottom:50%;
transform-origin:50% 100%;
border-radius:2px}
.wm-hour{
width:2px;
height:18px;
background:#bbffd0;
transform:translateX(-50%) rotate(var(--hdeg))}
.wm-minute{
width:1px;
height:24px;
background:#69f18e;
transform:translateX(-50%) rotate(var(--mdeg))}
.wm-card.pause .wm-hour,.wm-card.pause .wm-minute{
background:#ffc35c}
.wm-card.closed .wm-hour,.wm-card.closed .wm-minute{
background:#818c98}
.wm-card-event span{
display:block;
color:#42e573;
font-size:.65rem}
.wm-card.pause .wm-card-event span{
color:#f0a52f}
.wm-card.closed .wm-card-event span{
color:#8d97a2}
.wm-card-event strong{
display:block;
font-size:.96rem;
margin-top:3px;
color:#f0f4f7}
.wm-local{
margin-top:8px;
color:#7d8792;
font-size:.58rem}
.wm-local b{
color:#c9d0d7;
font-size:.74rem;
margin-left:4px}
.wm-hours-local{
border-top:1px solid rgba(255,255,255,.08);
padding-top:9px;
margin-top:10px;
color:#9ba6b1;
font-size:.59rem}
.wm-overlap-panel{
display:grid;
grid-template-columns:190px 1fr;
gap:13px;
align-items:stretch}
.wm-overlap-copy{
display:flex;
flex-direction:column;
justify-content:center}
.wm-overlap-copy span{
font-size:.58rem;
color:#7f8a97;
letter-spacing:.08em}
.wm-overlap-copy strong{
margin-top:5px;
color:#e8edf2;
font-size:.95rem}
.wm-overlap-copy small{
margin-top:5px;
color:#7f8995;
font-size:.62rem;
line-height:1.4}
.wm-overlap-strip{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:3px}
.wm-overlap-block{
min-height:82px;
background:linear-gradient(180deg,#0f223b,#0b1522);
border:1px solid rgba(71,116,166,.18);
 border-radius:7px;
padding:9px 7px;
text-align:center;
display:flex;
flex-direction:column;
justify-content:center}
.wm-overlap-block.active{
background:radial-gradient(circle at 50% 40%,rgba(36,219,91,.18),transparent 70%),#0c2012;
border-color:#35d961;
box-shadow:0 0 16px rgba(53,217,97,.12)}
.wm-overlap-block b{
font-size:.65rem;
color:#c8d3de}
.wm-overlap-block.active b{
color:#5cff83}
.wm-overlap-block small{
font-size:.54rem;
color:#7f8b98;
margin-top:4px;
line-height:1.3}
.wm-overlap-block em{
font-style:normal;
font-size:.9rem;
margin-bottom:3px}
.wm-footnote{
display:flex;
justify-content:space-between;
gap:15px;
padding:10px 3px 0;
color:#707b87;
font-size:.56rem}
@media(max-width:1100px){
.wm-cards{
grid-template-columns:repeat(2,minmax(0,1fr))}
.wm-card:last-child{
grid-column:span 2}
.wm-overlap-strip{
grid-template-columns:repeat(3,1fr)}
}
@media(max-width:750px){
.wm-head{
grid-template-columns:1fr}
.wm-global-state{
text-align:left}
.wm-now{
text-align:left}
.wm-hours{
margin-left:95px;
font-size:.5rem}
.wm-timeline-row{
grid-template-columns:88px 1fr}
.wm-market-name small{
display:none}
.wm-market-name b{
font-size:.58rem}
.wm-legend{
margin-left:95px}
.wm-cards{
grid-template-columns:1fr}
.wm-card:last-child{
grid-column:auto}
.wm-overlap-panel{
grid-template-columns:1fr}
.wm-overlap-strip{
grid-template-columns:repeat(2,1fr)}
.wm-footnote{
flex-direction:column;
gap:4px}
}
.spx-context-stage{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:10px;
  margin:10px 0 14px;
}
.spx-context-card{
  position:relative;
  overflow:hidden;
  min-height:0;
  border:1px solid rgba(132,155,180,.12);
  border-radius:10px;
  padding:11px 12px 10px;
  background:#0b0e12;
  box-shadow:none;
}
.spx-context-card:before{
  content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:2px;
}
.markets-feature{
  background:linear-gradient(90deg,rgba(17,111,153,.055),transparent 55%),#0a0e12;
}
.markets-feature:before{
background:#1d9bba}
.earnings-feature{
  background:linear-gradient(90deg,rgba(176,119,38,.06),transparent 58%),#0e0d0b;
}
.earnings-feature:before{
background:#b98942}
.context-card-top{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:10px}
.context-eyebrow{
  display:block;
margin-bottom:2px;
  font-size:.48rem;
font-weight:900;
letter-spacing:.10em;
color:#687682
}
.markets-feature .context-eyebrow{
color:#438da3}
.earnings-feature .context-eyebrow{
color:#9c7a48}
.context-card-top h2{
margin:0;
color:#e6eaee;
font-size:.82rem;
line-height:1.1}
.context-live-pill,.impact-badge{
  flex:0 0 auto;
border:1px solid rgba(71,199,113,.20);
  border-radius:999px;
padding:3px 6px;
background:rgba(30,132,64,.08);
  color:#54d67c;
font-size:.43rem;
font-weight:900
}
.context-live-pill i{
  display:inline-block;
width:5px;
height:5px;
margin-right:3px;
border-radius:50%;
  background:#49dd77
}
.impact-badge{
  border-color:rgba(203,157,81,.20);
background:rgba(151,99,27,.08);
color:#cba55e
}
.impact-badge.high{
  border-color:rgba(234,177,79,.35);
background:rgba(178,109,20,.13);
color:#efbd66
}
.context-primary{
margin:8px 0 7px}
.context-primary strong{
display:block;
color:#dfe5e9;
font-size:.78rem;
line-height:1.25}
.markets-feature .context-primary strong{
color:#62d6c1}
.earnings-feature .context-primary strong{
color:#ddb977}
.context-primary p{
margin:2px 0 0;
color:#727d87;
font-size:.52rem;
line-height:1.35}
.feature-market-grid{
  display:grid;
grid-template-columns:repeat(5,1fr);
gap:4px;
margin:0 0 6px
}
.feature-market-chip{
  min-width:0;
border:1px solid rgba(119,133,147,.10);
border-radius:6px;
  padding:5px 6px;
background:rgba(255,255,255,.012)
}
.feature-market-chip span{
  display:block;
color:#8e99a3;
font-size:.46rem;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis
}
.feature-market-chip b{
display:block;
margin-top:2px;
color:#68737d;
font-size:.47rem}
.feature-market-chip.open{
border-color:rgba(61,202,109,.18);
background:rgba(27,125,60,.045)}
.feature-market-chip.open b{
color:#4bd579}
.feature-market-chip.pause b{
color:#d49d4b}
.context-impact-line{
  display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
  padding:5px 7px;
border-top:1px solid rgba(255,255,255,.05);
  border-radius:0;
background:transparent
}
.context-impact-line span{
color:#626e79;
font-size:.43rem;
font-weight:900}
.context-impact-line strong{
color:#70aeca;
font-size:.49rem;
text-align:right}
.earnings-impact-line strong{
color:#c59d5f}
.feature-earnings-list{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:4px;
margin:0 0 6px}
.feature-earning-row{
  display:block;
min-width:0;
min-height:0;
padding:5px 6px;
  border:1px solid rgba(255,255,255,.05);
border-radius:6px;
background:rgba(255,255,255,.012)
}
.feature-earning-row.mega{
  border-color:rgba(207,157,76,.17);
background:rgba(155,101,25,.035)
}
.feature-earning-ticker{
display:block;
color:#d8b36f;
font-size:.55rem;
font-weight:950}
.feature-earning-company b{
  display:block;
margin-top:2px;
color:#bfc7ce;
font-size:.47rem;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis
}
.feature-earning-company small{
display:none}
.feature-earning-when{
text-align:left;
margin-top:2px}
.feature-earning-when b{
display:inline;
color:#cda55f;
font-size:.45rem}
.feature-earning-when small{
display:none}
.context-open-btn{
  width:auto;
margin:4px 0 0;
padding:0;
border:0;
background:transparent;
  color:#687a89;
text-align:left;
font:inherit;
font-size:.47rem;
font-weight:800;
cursor:pointer
}
.context-open-btn span{
margin-left:4px;
float:none}
.context-open-btn:hover{
color:#a9bac7}
@media(max-width:1050px){
.spx-context-stage{
grid-template-columns:1fr}
}
@media(max-width:720px){
.spx-context-stage{
gap:7px}
.spx-context-card{
padding:10px}
.feature-market-grid{
grid-template-columns:repeat(2,1fr)}
.feature-market-chip:last-child{
grid-column:span 2}
.feature-earnings-list{
grid-template-columns:1fr}
}
.earnings-feature .context-primary{
  margin-bottom:9px;
}
.earnings-feature .context-primary strong{
  font-size:.84rem;
}
.earnings-feature .context-primary p{
  font-size:.55rem;
}
.feature-earnings-list{
  display:block;
  max-height:285px;
  overflow-y:auto;
  overflow-x:hidden;
  margin:0 0 7px;
  padding-right:3px;
  scrollbar-width:thin;
  scrollbar-color:#73562c transparent;
}
.feature-earnings-list::-webkit-scrollbar{
width:5px}
.feature-earnings-list::-webkit-scrollbar-track{
background:transparent}
.feature-earnings-list::-webkit-scrollbar-thumb{
  background:#73562c;
  border-radius:999px;
}
.earnings-session-group{
  padding:0;
  margin:0 0 8px;
}
.earnings-session-group:last-child{
margin-bottom:0}
.earnings-session-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:5px 2px 5px;
  border-bottom:1px solid rgba(214,166,86,.16);
}
.earnings-session-head strong{
  color:#e2b768;
  font-size:.56rem;
  letter-spacing:.04em;
}
.earnings-session-head span{
  color:#77694f;
  font-size:.46rem;
  font-weight:800;
}
.feature-earning-row{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:7px;
  align-items:center;
  padding:6px 4px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.045);
  border-radius:0;
  background:transparent;
}
.feature-earning-row:last-child{
border-bottom:0}
.feature-earning-row.mega{
  border-left:2px solid rgba(224,176,94,.55);
  padding-left:7px;
  background:linear-gradient(90deg,rgba(160,103,27,.06),transparent 70%);
}
.feature-earning-ticker{
  font-size:.58rem;
  color:#e0b86e;
}
.feature-earning-company{
  min-width:0;
}
.feature-earning-company b{
  margin:0;
  font-size:.53rem;
  color:#d0d5da;
}
.feature-earning-company small{
  display:block;
  margin-top:2px;
  color:#757e87;
  font-size:.44rem;
}
.feature-earning-when{
  margin:0;
  text-align:right;
}
.feature-earning-when b{
  display:block;
  font-size:.47rem;
  color:#caa25e;
}
.feature-earning-when small{
  display:block;
  margin-top:1px;
  color:#6d7379;
  font-size:.40rem;
}
.no-earnings-session{
  padding:8px 4px 4px;
  color:#707981;
  font-size:.49rem;
  font-style:italic;
}
@media(max-width:720px){
.feature-earnings-list{
max-height:360px}
.feature-earning-row{
grid-template-columns:52px minmax(0,1fr) auto}
}
.earnings-session-group.past-session{
  opacity:.78;
}
.earnings-session-group.past-session .earnings-session-head{
  border-bottom-color:rgba(150,158,166,.13);
}
.earnings-session-group.past-session .earnings-session-head strong{
  color:#8c969f;
}
.earnings-session-group.past-session .earnings-session-head span{
  color:#656d75;
}
.earnings-session-group.past-session .feature-earning-ticker{
  color:#9ba3aa;
}
.earnings-session-group.past-session .feature-earning-when b{
  color:#858e96;
}
.earnings-session-group.current-session .earnings-session-head strong{
  color:#f0c36e;
  text-shadow:0 0 10px rgba(224,174,83,.12);
}
.spx-primary-grid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,1.16fr) minmax(0,1.28fr);
  gap:16px;
  width:100%;
  margin:0 0 16px;
  align-items:stretch;
}
.spx-primary-grid>.panel,
.spx-primary-grid>.spx-context-stage>.spx-context-card{
  min-height:390px!important;
}
.spx-primary-grid>.panel{
padding:20px!important}
.spx-primary-grid>.spx-context-stage{
  display:contents!important;
  margin:0!important;
}
.spx-primary-grid .spx-context-card{
  border-radius:14px;
  padding:20px;
  border:1px solid #242424;
  background:#181818;
}
.spx-primary-grid .markets-feature{
background:linear-gradient(145deg,rgba(0,126,180,.08),transparent 48%),#11171b}
.spx-primary-grid .earnings-feature{
background:linear-gradient(145deg,rgba(190,126,28,.09),transparent 48%),#17140f}
.spx-primary-grid .context-eyebrow{
font-size:10px}
.spx-primary-grid .context-card-top h2{
font-size:18px}
.spx-primary-grid .context-live-pill,.spx-primary-grid .impact-badge{
font-size:9px;
padding:5px 8px}
.spx-primary-grid .context-primary{
margin:15px 0 13px}
.spx-primary-grid .context-primary strong{
font-size:16px}
.spx-primary-grid .context-primary p{
font-size:12px;
line-height:1.5}
.spx-primary-grid .feature-market-grid{
grid-template-columns:repeat(2,1fr);
gap:8px}
.spx-primary-grid .feature-market-chip{
padding:10px;
border-radius:9px}
.spx-primary-grid .feature-market-chip span{
font-size:11px}
.spx-primary-grid .feature-market-chip b{
font-size:11px;
margin-top:5px}
.spx-primary-grid .feature-market-chip:last-child{
grid-column:span 2}
.spx-primary-grid .feature-earnings-list{
grid-template-columns:1fr;
gap:7px}
.spx-primary-grid .feature-earning-row{
display:grid;
grid-template-columns:52px minmax(0,1fr) auto;
align-items:center;
gap:8px;
padding:9px 10px}
.spx-primary-grid .feature-earning-ticker{
font-size:12px}
.spx-primary-grid .feature-earning-company b{
font-size:11px}
.spx-primary-grid .feature-earning-when{
margin:0;
text-align:right}
.spx-primary-grid .feature-earning-when b{
font-size:10px}
.spx-primary-grid .context-impact-line{
padding:9px 2px}
.spx-primary-grid .context-impact-line span{
font-size:9px}
.spx-primary-grid .context-impact-line strong{
font-size:10px}
.spx-primary-grid .context-open-btn{
font-size:11px;
margin-top:8px}
.spx-primary-grid .consensus-panel .gauge{
min-height:210px}
.spx-primary-grid .pulse-explainer{
font-size:12px}
.spx-secondary-grid{
  grid-template-columns:1fr 1fr!important;
  margin-bottom:16px!important;
}
.spx-secondary-grid>:first-child{
grid-column:auto!important}
.spx-secondary-grid .panel{
min-height:0!important}
@media(max-width:1250px){
.spx-primary-grid{
grid-template-columns:1fr 1fr}
.spx-primary-grid>.consensus-panel{
grid-column:span 2}
.spx-primary-grid>.panel,.spx-primary-grid>.spx-context-stage>.spx-context-card{
min-height:0!important}
}
@media(max-width:780px){
.spx-primary-grid{
grid-template-columns:1fr;
gap:10px}
.spx-primary-grid>.consensus-panel{
grid-column:auto}
.spx-primary-grid .feature-market-grid{
grid-template-columns:1fr 1fr}
.spx-secondary-grid{
grid-template-columns:1fr!important}
}
.strength-panel-v28{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 12%,rgba(205,156,72,.085),transparent 34%),
    radial-gradient(circle at 14% 84%,rgba(51,122,180,.055),transparent 33%),
    #171717;
}
.strength-panel-v28:after{
  content:"";
  position:absolute;
  left:0;
right:0;
top:0;
height:2px;
  background:linear-gradient(90deg,transparent,#b98543 32%,#e0b66f 50%,#b98543 68%,transparent);
  opacity:.72;
}
.strength-panel-v28 .panel-title{
  margin-bottom:5px;
}
.strength-panel-v28 .panel-title span{
  color:#a98a5b;
  letter-spacing:.12em;
}
.strength-panel-v28 .panel-title h2{
  font-size:1.08rem;
  letter-spacing:.01em;
}
.strength-hero-v28{
  display:grid;
  grid-template-columns:minmax(145px,.78fr) minmax(190px,1.22fr);
  gap:24px;
  align-items:center;
  margin-top:5px;
}
.strength-panel-v28 .donut{
  width:170px;
  height:170px;
  margin:10px auto;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.025),
    0 12px 30px rgba(0,0,0,.28);
}
.strength-panel-v28 .donut:before{
  background:
    radial-gradient(circle at 50% 36%,rgba(255,255,255,.03),transparent 45%),
    #171717;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.strength-panel-v28 .donut strong{
  font-size:2.15rem;
  line-height:1;
  letter-spacing:-.04em;
  text-shadow:0 0 18px rgba(224,182,111,.10);
}
.strength-panel-v28 .donut span{
  margin-top:5px;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.11em;
  color:#c2a16b;
}
.strength-panel-v28 .strength-list{
  padding:4px 0;
}
.strength-panel-v28 .strength-list div{
  grid-template-columns:74px 1fr 48px;
  gap:12px;
  margin:16px 0;
  font-size:.78rem;
}
.strength-panel-v28 .strength-list span{
  font-weight:750;
  color:#cbd0d4;
}
.strength-panel-v28 .strength-list b{
  font-size:.82rem;
  color:#f0f2f4;
}
.strength-panel-v28 .strength-list i{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#2a2b2d;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.35);
}
.strength-panel-v28 .strength-list u{
  border-radius:999px;
  box-shadow:0 0 10px currentColor;
}
.strength-panel-v28 #bullStrength{
background:linear-gradient(90deg,#1ca45d,#46d27c)}
.strength-panel-v28 #neutralStrength{
background:linear-gradient(90deg,#a97531,#e2b35e)}
.strength-panel-v28 #bearStrength{
background:linear-gradient(90deg,#bb3f46,#ed6268)}
.conviction-insight-v28{
  margin-top:14px;
  padding:12px 13px;
  border:1px solid rgba(199,156,87,.15);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(190,143,66,.055),rgba(255,255,255,.015));
}
.conviction-level-v28{
  display:flex;
  gap:9px;
  align-items:center;
}
.conviction-dot-v28{
  flex:0 0 auto;
  width:10px;
height:10px;
border-radius:50%;
  background:#c99748;
  box-shadow:0 0 14px rgba(201,151,72,.55);
}
.conviction-level-v28 small{
  display:block;
  margin-bottom:2px;
  color:#746858;
  font-size:.49rem;
  font-weight:900;
  letter-spacing:.11em;
}
.conviction-level-v28 strong{
  display:block;
  color:#e4c58f;
  font-size:.78rem;
}
.conviction-insight-v28 p{
  margin:7px 0 0 19px;
  color:#8e969d;
  font-size:.62rem;
  line-height:1.45;
}
.strength-panel-v28[data-level="very-weak"] .conviction-dot-v28,
.strength-panel-v28[data-level="weak"] .conviction-dot-v28{
background:#c99748}
.strength-panel-v28[data-level="medium"] .conviction-dot-v28{
background:#4aa3dc}
.strength-panel-v28[data-level="strong"] .conviction-dot-v28,
.strength-panel-v28[data-level="very-strong"] .conviction-dot-v28{
background:#45c978}
@media(max-width:900px){
.strength-hero-v28{
grid-template-columns:1fr}
.strength-panel-v28 .donut{
width:155px;
height:155px}
}


/* Logos locales de compañías: sin servicios externos ni cuadros de error */
.ticker-with-icon,.feature-earning-ticker{display:inline-flex;align-items:center;gap:8px}
.ticker-icon{width:24px;height:24px;object-fit:contain;flex:0 0 24px;background:transparent;border:0;border-radius:5px}
.feature-earning-ticker .ticker-icon{width:26px;height:26px;flex-basis:26px}
@media(max-width:700px){.ticker-icon{width:21px;height:21px;flex-basis:21px}.feature-earning-ticker .ticker-icon{width:23px;height:23px;flex-basis:23px}}

/* SPX PULSE: permitir logos de empresas aunque las imagenes generales esten ocultas */
.ticker-icon{display:block!important;}


/* SPX PULSE · resultados vs consenso */
.earnings-result-badge,.earnings-verdict{display:inline-flex;align-items:center;justify-content:center;padding:3px 6px;border-radius:999px;font-weight:950;letter-spacing:.03em;white-space:nowrap}
.earnings-result-badge{font-size:.42rem}.earnings-verdict{font-size:.50rem}
.earnings-result-badge.beat,.earnings-verdict.beat{color:#42d98b;background:rgba(34,199,122,.10);border:1px solid rgba(34,199,122,.24)}
.earnings-result-badge.miss,.earnings-verdict.miss{color:#ff7474;background:rgba(255,93,93,.10);border:1px solid rgba(255,93,93,.24)}
.earnings-result-badge.mixed,.earnings-verdict.mixed{color:#e4b565;background:rgba(224,168,91,.10);border:1px solid rgba(224,168,91,.24)}
.earnings-result-badge.inline,.earnings-verdict.inline{color:#aeb7c0;background:rgba(174,183,192,.08);border:1px solid rgba(174,183,192,.18)}
.earnings-result-badge.pending,.earnings-verdict.pending{color:#8f99a2;background:rgba(143,153,162,.07);border:1px solid rgba(143,153,162,.14)}
.earnings-result-badge.upcoming,.earnings-verdict.upcoming{color:#cda55f;background:rgba(205,165,95,.07);border:1px solid rgba(205,165,95,.15)}
.earnings-session-group.past-session .feature-earning-row:has(.earnings-result-badge.beat){opacity:1}
.earnings-session-group.past-session .feature-earning-row:has(.earnings-result-badge.miss){opacity:1}


/* SPX PULSE — eje horario de la gráfica de precio */
.price-time-axis{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin-top:6px;
  padding:0 2px;
  color:#8f969d;
  font-size:11px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.price-time-axis span{
  flex:1 1 0;
  text-align:center;
}
.price-time-axis span:first-child{text-align:left}
.price-time-axis span:last-child{text-align:right}

@media(max-width:780px){
  .price-time-axis{
    font-size:10px;
    gap:4px;
  }
}


/* SPX PULSE — líneas verticales y horas reales cada 30 minutos */
.price-chart-frame{
  position:relative;
  width:100%;
}

.price-chart-frame .price-spark{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
}

.price-grid-30{
  position:absolute;
  z-index:1;
  left:0;
  right:0;
  top:0;
  bottom:24px;
  pointer-events:none;
  overflow:hidden;
}

.price-grid-30 i{
  position:absolute;
  top:0;
  bottom:0;
  width:1px;
  transform:translateX(-.5px);
  background:rgba(255,255,255,.10);
  border-left:1px dashed rgba(255,255,255,.08);
}

.price-time-axis{
  position:relative!important;
  display:block!important;
  width:100%;
  height:22px;
  margin-top:3px!important;
  padding:0!important;
  color:#9aa0a6;
  font-size:10px!important;
  line-height:18px!important;
  white-space:nowrap;
  overflow:visible;
  font-variant-numeric:tabular-nums;
}

.price-time-axis span{
  position:absolute;
  top:0;
  transform:translateX(-50%);
  min-width:38px;
  text-align:center!important;
}

.price-time-axis span.edge-start{
  transform:none;
  text-align:left!important;
}
.price-time-axis span.edge-end{
  transform:translateX(-100%);
  text-align:right!important;
}

@media(max-width:780px){
  .price-time-axis{font-size:9px!important}
  .price-time-axis span{min-width:34px}
}


/* =========================================================
   SPX PULSE — HORAS VISIBLES CADA 30 MINUTOS
   ========================================================= */

.price-chart-frame{
  position:relative!important;
  width:100%!important;
  padding-bottom:42px!important;
  overflow:visible!important;
}

.price-chart-frame .price-spark{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  height:145px!important;
}

.price-grid-30{
  position:absolute!important;
  z-index:1!important;
  left:0!important;
  right:0!important;
  top:0!important;
  height:145px!important;
  bottom:auto!important;
  pointer-events:none!important;
  overflow:visible!important;
}

.price-grid-30 i{
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  width:1px!important;
  transform:translateX(-.5px)!important;
  background:rgba(255,255,255,.16)!important;
  border-left:0!important;
}

.price-grid-30 i.full-hour{
  background:rgba(255,255,255,.28)!important;
}

.price-grid-30 i.half-hour{
  background:rgba(255,255,255,.12)!important;
}

.price-time-axis{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:149px!important;
  display:block!important;
  width:100%!important;
  height:38px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  color:#d4d7da!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums!important;
  z-index:4!important;
}

.price-time-axis span{
  position:absolute!important;
  top:3px!important;
  transform:translateX(-50%) rotate(-55deg)!important;
  transform-origin:top center!important;
  min-width:42px!important;
  color:#cfd3d7!important;
  text-align:center!important;
  opacity:1!important;
  text-shadow:0 1px 2px #000!important;
}

.price-time-axis span.full-hour{
  color:#ffffff!important;
  font-weight:900!important;
}

.price-time-axis span.half-hour{
  color:#aeb4ba!important;
  font-weight:700!important;
}

.price-time-axis span.edge-start{
  transform:translateX(0) rotate(-55deg)!important;
  transform-origin:top left!important;
}

.price-time-axis span.edge-end{
  transform:translateX(-100%) rotate(-55deg)!important;
  transform-origin:top right!important;
}

@media(max-width:780px){
  .price-chart-frame{
    padding-bottom:46px!important;
  }
  .price-chart-frame .price-spark,
  .price-grid-30{
    height:135px!important;
  }
  .price-time-axis{
    top:139px!important;
    height:42px!important;
    font-size:10px!important;
  }
  .price-time-axis span{
    min-width:38px!important;
    transform:translateX(-50%) rotate(-60deg)!important;
  }
}


/* =========================================================
   SPX PULSE — BUSCADOR GLOBAL MEJORADO
   ========================================================= */
.yt-search{
  position:relative;
}

.global-search-suggestions{
  position:absolute;
  z-index:1400;
  top:calc(100% + 8px);
  left:0;
  right:0;
  max-height:420px;
  overflow:auto;
  padding:6px;
  background:#181818;
  border:1px solid #343434;
  border-radius:12px;
  box-shadow:0 18px 45px rgba(0,0,0,.48);
}

.global-search-suggestions[hidden]{
  display:none!important;
}

.global-search-option{
  width:100%;
  display:grid;
  grid-template-columns:58px 1fr;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#f1f1f1;
  text-align:left;
  cursor:pointer;
}

.global-search-option:hover,
.global-search-option:focus{
  background:#2a2a2a;
  outline:none;
}

.global-search-ticker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:5px 7px;
  border-radius:7px;
  background:#2b2b2b;
  color:#f0bd53;
  font-weight:900;
  font-size:13px;
  letter-spacing:.04em;
}

.global-search-company strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.3;
}

.global-search-company small{
  display:block;
  margin-top:3px;
  color:#9ca3aa;
  font-size:11px;
  line-height:1.3;
}

.global-search-hit{
  animation:spxSearchHit 1.1s ease 0s 3;
  outline:2px solid rgba(240,189,83,.85)!important;
  outline-offset:-2px;
}

@keyframes spxSearchHit{
  0%,100%{background-color:inherit}
  50%{background-color:rgba(240,189,83,.16)}
}

@media(max-width:780px){
  .global-search-suggestions{
    position:fixed;
    top:58px;
    left:8px;
    right:8px;
    max-height:55vh;
  }
}


/* =========================================================
   SPX PULSE — SUGERENCIAS BUSCADOR V3
   Compactas, legibles y sin texto pisado
   ========================================================= */
.global-search-suggestions{
  top:calc(100% + 6px)!important;
  left:0!important;
  right:0!important;
  max-height:320px!important;
  padding:6px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#171717!important;
  border:1px solid #333!important;
  border-radius:10px!important;
  box-shadow:0 14px 32px rgba(0,0,0,.5)!important;
}

.global-search-option{
  width:100%!important;
  min-height:54px!important;
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  padding:8px 10px!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#fff!important;
  text-align:left!important;
}

.global-search-option + .global-search-option{
  margin-top:3px!important;
}

.global-search-option:hover,
.global-search-option:focus{
  background:#272727!important;
}

.global-search-ticker{
  width:46px!important;
  min-width:46px!important;
  min-height:30px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:4px 5px!important;
  border-radius:7px!important;
  background:#252525!important;
  color:#f0bd53!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.03em!important;
}

.global-search-company{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
}

.global-search-company strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.global-search-company small{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#a8adb3!important;
  font-size:10px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.global-search-company em{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#747b82!important;
  font-size:9px!important;
  font-style:normal!important;
  line-height:1.15!important;
}

@media(max-width:780px){
  .global-search-suggestions{
    position:fixed!important;
    top:58px!important;
    left:8px!important;
    right:8px!important;
    max-height:45vh!important;
  }

  .global-search-option{
    grid-template-columns:48px minmax(0,1fr)!important;
    min-height:52px!important;
  }

  .global-search-ticker{
    width:42px!important;
    min-width:42px!important;
  }
}

/* SPX PULSE — menú lateral funcional */
.yt-sidebar,.yt-main,footer{transition:margin-left .22s ease,transform .22s ease,width .22s ease}
body.sidebar-collapsed .yt-sidebar{transform:translateX(-100%)}
body.sidebar-collapsed .yt-main{margin-left:0!important}
body.sidebar-collapsed footer{margin-left:0!important}
.menu-btn[aria-expanded="true"]{background:#272727}

@media(max-width:780px){
  .menu-btn{display:inline-grid!important;place-items:center;flex:0 0 40px}
  .yt-sidebar{
    display:block!important;
    width:240px!important;
    top:58px!important;
    padding:14px 12px 26px!important;
    transform:translateX(-100%);
    box-shadow:12px 0 30px rgba(0,0,0,.45);
  }
  .side-link{
    height:46px!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    gap:18px!important;
    padding:0 14px!important;
    font-size:14px!important;
  }
  body.mobile-menu-open .yt-sidebar{transform:translateX(0)}
  body.mobile-menu-open::after{
    content:"";position:fixed;z-index:850;inset:58px 0 0 0;background:rgba(0,0,0,.45)
  }
  body.mobile-menu-open .yt-sidebar{z-index:900}
}


/* SPX PULSE 2026-08-20 — banner dinámico según estado real de MT5 */
.spx-hero-banner .spx-banner-wrap{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1435/290!important;
  overflow:hidden!important;
  background:#050505!important;
}
.spx-hero-banner .spx-banner-wrap .spx-banner-image{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  opacity:0!important;
  transform:none!important;
  transition:opacity .65s ease!important;
  pointer-events:none!important;
}
.spx-hero-banner .spx-banner-wrap .spx-banner-image.is-active{
  opacity:1!important;
}
@media (prefers-reduced-motion: reduce){
  .spx-hero-banner .spx-banner-wrap .spx-banner-image{transition:none!important;}
}


/* SPX PULSE 2026-08-30 — tres banners independientes 1435x290 */
.spx-hero-banner .spx-banner-wrap[data-banner-state="open"]{background:#07110f!important;}
.spx-hero-banner .spx-banner-wrap[data-banner-state="closed"]{background:#07161a!important;}
.spx-hero-banner .spx-banner-wrap[data-banner-state="offline"]{background:#111815!important;}


/* SPX PULSE 2026-08-30 — análisis visual simplificado */
.reliability-summary{border-left:4px solid #8a8f98!important}
#relCurrentSignal{padding:.18em .5em;border-radius:8px;background:rgba(255,255,255,.05)}
.visual-analysis-intro{padding:20px 22px 6px}
.visual-analysis-intro>span,.visual-card-head span{font-size:10px;font-weight:800;letter-spacing:.11em;color:#8f959d}
.visual-analysis-intro h3{margin:6px 0 8px;font-size:22px;color:#f2f2f2}
.visual-analysis-intro p{margin:0;color:#aaa;line-height:1.6;max-width:980px}
.visual-analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:14px 18px 20px}
.visual-chart-card{padding:18px;border-radius:13px;background:#141414;border:1px solid #292929;min-width:0}
.visual-chart-card.confidence-card{grid-column:1/-1}
.visual-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.visual-card-head h3{font-size:17px;margin:4px 0 0;color:#f0f0f0}
.visual-card-head>strong{font-size:12px;letter-spacing:.04em;padding:7px 9px;border-radius:8px;background:#222;color:#ccc;white-space:nowrap}
.visual-card-head>strong[data-state="bull"],.visual-card-head>strong[data-state="high"]{color:#35d07f;background:rgba(53,208,127,.12);border:1px solid rgba(53,208,127,.25)}
.visual-card-head>strong[data-state="bear"],.visual-card-head>strong[data-state="low"]{color:#ff6464;background:rgba(255,100,100,.1);border:1px solid rgba(255,100,100,.22)}
.visual-card-head>strong[data-state="neutral"],.visual-card-head>strong[data-state="medium"]{color:#f4bf55;background:rgba(244,191,85,.1);border:1px solid rgba(244,191,85,.22)}
.movement-chart,.hit-chart{display:grid;gap:9px}
.movement-row,.hit-row{display:grid;grid-template-columns:38px minmax(120px,1fr) 94px;gap:10px;align-items:center;min-height:28px}
.movement-row>span,.hit-row>span{font-size:11px;color:#92979d;font-weight:800;text-align:right}
.movement-row>b,.hit-row>b{font-size:10px;letter-spacing:.05em;color:#999}
.movement-axis{position:relative;height:14px;background:linear-gradient(90deg,#202020 0 49.5%,#424242 49.5% 50.5%,#202020 50.5% 100%);border-radius:7px;overflow:hidden}
.movement-axis i{position:absolute;top:2px;height:10px;border-radius:5px;min-width:3px}
.movement-axis i.right{left:50%}.movement-axis i.left{right:50%}
.movement-row.bull .movement-axis i{background:#2ac77a}.movement-row.bull>b{color:#35d07f}
.movement-row.bear .movement-axis i{background:#ed5656}.movement-row.bear>b{color:#ff6464}
.movement-row.neutral .movement-axis i{background:#e5b64f}.movement-row.neutral>b{color:#f4bf55}
.hit-track{position:relative;height:13px;border-radius:7px;background:linear-gradient(90deg,#351d1d 0 44%,#4a3920 44% 59%,#173326 59% 100%);overflow:hidden}
.hit-track i{position:absolute;left:0;top:0;bottom:0;border-radius:7px;background:rgba(255,255,255,.78)}
.hit-track em{position:absolute;left:50%;top:-2px;bottom:-2px;width:2px;background:#888;opacity:.8}
.hit-row.good>b{color:#35d07f}.hit-row.mixed>b{color:#f4bf55}.hit-row.poor>b{color:#ff6464}
.neutral-message{padding:24px;border:1px dashed #4d432b;border-radius:10px;background:rgba(244,191,85,.045);text-align:center}
.neutral-message strong{display:block;color:#f4bf55;margin-bottom:8px}.neutral-message span{color:#aaa;font-size:13px;line-height:1.5}
.visual-help{margin:16px 0 0!important;padding-top:13px;border-top:1px solid #252525;color:#aeb2b6!important;font-size:13px!important;line-height:1.55!important}
.confidence-meter{padding:8px 0 2px}
.confidence-track{height:15px;border-radius:10px;background:linear-gradient(90deg,rgba(255,90,90,.35),rgba(244,191,85,.35),rgba(53,208,127,.35));overflow:hidden;position:relative}
.confidence-track i{display:block;height:100%;border-radius:10px;background:#fff;opacity:.82;transition:width .45s ease}
.confidence-scale{display:flex;justify-content:space-between;margin-top:7px;font-size:9px;letter-spacing:.08em;color:#73777c;font-weight:800}
.numeric-details{margin:0 18px 18px;border:1px solid #292929;border-radius:10px;background:#111;overflow:hidden}
.numeric-details>summary{cursor:pointer;padding:13px 15px;color:#aeb2b6;font-size:12px;font-weight:700}
.numeric-details[open]>summary{border-bottom:1px solid #292929;color:#ddd}
.numeric-details .details-intro{padding:0 14px;color:#81868c;font-size:12px}
@media(max-width:900px){.visual-analysis-grid{grid-template-columns:1fr}.visual-chart-card.confidence-card{grid-column:auto}}
@media(max-width:560px){.visual-analysis-grid{padding:10px}.visual-analysis-intro{padding:16px 12px 6px}.movement-row,.hit-row{grid-template-columns:31px minmax(95px,1fr) 76px;gap:7px}.movement-row>b,.hit-row>b{font-size:9px}.visual-card-head{flex-direction:column;gap:8px}}

/* SPX PULSE 2026-08-30 — MFE / MAE visual simplificado */
.excursion-visual-intro{padding:20px 22px 6px}
.excursion-visual-intro>span{font-size:10px;font-weight:800;letter-spacing:.11em;color:#8f959d}
.excursion-visual-intro h3{margin:6px 0 8px;font-size:22px;color:#f2f2f2}
.excursion-visual-intro p{margin:0;color:#aaa;line-height:1.6;max-width:980px}
.excursion-visual-intro .mfe-word{color:#35d07f}.excursion-visual-intro .mae-word{color:#ff6464}
.excursion-visual-wrap{padding:14px 18px 4px}
.excursion-visual-card{padding:18px;border-radius:13px;background:#141414;border:1px solid #292929}
.excursion-balance{display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);gap:10px;align-items:end;padding:12px 0 4px}
.excursion-side{display:grid;gap:8px;min-width:0}.excursion-side>b{font-size:10px;letter-spacing:.08em;color:#8f959d}
.excursion-side>span{font-size:13px;font-weight:800}.excursion-side.adverse{text-align:right}.excursion-side.favorable{text-align:left}
.excursion-side.adverse>span{color:#ff6464}.excursion-side.favorable>span{color:#35d07f}
.excursion-track{height:24px;border-radius:12px;background:#202020;overflow:hidden;display:flex;align-items:center}
.excursion-side.adverse .excursion-track{justify-content:flex-end}.excursion-track i{display:block;height:100%;min-width:0;transition:width .45s ease}
.excursion-side.adverse .excursion-track i{background:linear-gradient(90deg,#7f2626,#ed5656)}
.excursion-side.favorable .excursion-track i{background:linear-gradient(90deg,#2ac77a,#137b4a)}
.excursion-origin{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:62px}
.excursion-origin i{display:block;width:2px;flex:1;background:#555;border-radius:2px}.excursion-origin span{font-size:8px;letter-spacing:.08em;color:#777;font-weight:800}
.excursion-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #252525;color:#858a90;font-size:11px}
.excursion-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.excursion-legend .favorable-dot:before{background:#35d07f}.excursion-legend .adverse-dot:before{background:#ff6464}
.excursion-numeric{margin-top:14px}.methodology-only{grid-template-columns:1fr!important}.methodology-only .methodology-card{max-width:none}
@media(max-width:560px){.excursion-visual-intro{padding:16px 12px 6px}.excursion-visual-wrap{padding:10px}.excursion-balance{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:6px}.excursion-track{height:20px}.excursion-side>b{font-size:9px}.excursion-side>span{font-size:11px}.excursion-origin{height:56px}.excursion-legend{display:grid;gap:7px}}

/* 30/08/2026 · MFE/MAE explicado de forma visual + métricas por EA */
.excursion-kid-schema{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.excursion-explain-card{position:relative;display:grid;grid-template-columns:46px 1fr;gap:12px;padding:16px;border-radius:14px;background:#151515;border:1px solid #2a2a2a;overflow:hidden}
.excursion-explain-card.favorable{border-color:rgba(53,208,127,.34);box-shadow:inset 0 0 0 1px rgba(53,208,127,.04)}
.excursion-explain-card.adverse{border-color:rgba(255,100,100,.34);box-shadow:inset 0 0 0 1px rgba(255,100,100,.04)}
.excursion-explain-icon{font-size:28px;line-height:1;margin-top:2px}
.excursion-explain-card span{font-size:11px;font-weight:900;letter-spacing:.12em;color:#8d939a}
.excursion-explain-card h4{margin:4px 0 6px;font-size:15px;color:#f5f5f5}
.excursion-explain-card p{margin:0;color:#aaa;line-height:1.5;font-size:12px}
.excursion-explain-card.favorable h4,.excursion-explain-card.favorable .mini-path strong{color:#35d07f}
.excursion-explain-card.adverse h4,.excursion-explain-card.adverse .mini-path strong{color:#ff6464}
.mini-path{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin-top:5px;padding:10px 12px;border-radius:10px;background:#101010;border:1px solid #242424;font-size:11px}
.mini-path i{height:2px;flex:1;background:linear-gradient(90deg,#555,#35d07f);position:relative}
.mini-path i:after{content:'›';position:absolute;right:-2px;top:50%;transform:translateY(-54%);font-size:22px;color:#35d07f}
.mini-path.adverse i{background:linear-gradient(90deg,#ff6464,#555)}
.mini-path.adverse i:after{content:'‹';right:auto;left:-2px;color:#ff6464}
.excursion-sum-note{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#181b1d;border:1px solid #30363b;color:#aeb5ba}
.excursion-sum-note strong{flex:0 0 auto;padding:5px 8px;border-radius:7px;background:#252a2e;color:#fff;font-size:10px;letter-spacing:.1em}
.excursion-sum-note span{font-size:12px;line-height:1.45}
.excursion-side-title{display:flex;flex-direction:column;gap:2px}
.excursion-side.adverse .excursion-side-title{align-items:flex-end}
.excursion-side-title b{font-size:14px;letter-spacing:.1em}
.excursion-side-title small{font-size:9px;letter-spacing:.04em;color:#858b91;font-weight:700}
.excursion-side.adverse .excursion-side-title b{color:#ff6464}
.excursion-side.favorable .excursion-side-title b{color:#35d07f}
.excursion-side>span{display:flex;flex-direction:column;gap:2px}
.excursion-side>span strong{font-size:14px}
.excursion-side>span small{font-size:9px;color:#777;font-weight:700}
.robot-excursion-positive{color:#35d07f!important;font-weight:800}
.robot-excursion-negative{color:#ff6464!important;font-weight:800}
.excursion-stat-good{border-color:rgba(53,208,127,.25)!important}
.excursion-stat-bad{border-color:rgba(255,100,100,.25)!important}
.excursion-stat-good strong{color:#35d07f!important}.excursion-stat-bad strong{color:#ff6464!important}
.excursion-stat-good small,.excursion-stat-bad small{display:block;margin-top:4px;font-size:9px;color:#777}
@media(max-width:720px){.excursion-kid-schema{grid-template-columns:1fr}.excursion-explain-card{grid-template-columns:38px 1fr}.excursion-explain-icon{font-size:24px}.excursion-sum-note{align-items:flex-start;flex-direction:column;gap:7px}}

/* =========================================================
   SPX PULSE — iPhone / Safari responsive hardening 30-08-2026
   Evita que cualquier bloque ancho fuerce un layout mayor que
   el viewport y haga que Safari muestre la web encogida.
   ========================================================= */
html, body{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:hidden;
}

.yt-topbar,
.yt-main,
.yt-featured,
.spx-hero-banner,
.spx-banner-wrap,
.ticker-strip,
.dashboard,
.market-grid,
.panel,
.yt-card,
.table-scroll{
  min-width:0;
  max-width:100%;
}

.table-scroll{
  width:100%;
  overflow-x:auto!important;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
}

img, picture, video, canvas, svg{
  max-width:100%;
}

@media (max-width:780px){
  html, body{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
  }

  .yt-topbar{
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .yt-brand{
    flex:0 0 auto!important;
    min-width:0!important;
  }

  .yt-search{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }

  .yt-actions{
    flex:0 0 auto!important;
    min-width:0!important;
  }

  .yt-main{
    box-sizing:border-box!important;
    margin-left:0!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding-left:12px!important;
    padding-right:12px!important;
    overflow-x:hidden!important;
  }

  .yt-chips{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }

  .spx-hero-banner,
  .spx-banner-wrap,
  .spx-banner-image,
  .ticker-strip,
  .dashboard,
  .market-grid,
  .panel,
  .yt-card,
  .consensus-panel,
  .visual-analysis-grid,
  .excursion-kid-schema{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .spx-banner-image{
    height:auto!important;
  }

  .ticker-strip{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .ticker-strip > div,
  .dashboard > *,
  .market-grid > *,
  .panel > *,
  .yt-card > *{
    min-width:0!important;
    max-width:100%;
  }

  /* Las tablas pueden ser anchas, pero SOLO dentro de su propio scroll. */
  .table-scroll{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
  }

  .robots-table,
  .earnings-table,
  .stats-table{
    max-width:none!important;
  }

  /* Evita que textos o controles largos ensanchen el documento. */
  input, select, button,
  .robots-controls,
  .earnings-toolbar,
  .panel-title,
  .robots-title-row{
    min-width:0!important;
    max-width:100%!important;
  }
}

@supports (overflow:clip){
  @media (max-width:780px){
    html, body, .yt-main{ overflow-x:clip!important; }
  }
}

/* ==============================================================
   REAL vs Simulación · 2026-08-31
   ============================================================== */
.rvb-section{margin:34px 0 26px;scroll-margin-top:90px}
.rvb-status-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;margin-bottom:14px;border-left:4px solid var(--accent)}
.rvb-status-card>div:first-child{display:flex;flex-direction:column;gap:5px}.rvb-status-card span{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.08em}.rvb-status-card strong{font-size:20px}.rvb-status-card[data-state="ok"]{border-left-color:var(--green)}.rvb-status-card[data-state="warn"]{border-left-color:var(--gold)}.rvb-status-card[data-state="bad"]{border-left-color:var(--red)}
.rvb-status-meta{display:flex;gap:18px;flex-wrap:wrap;justify-content:flex-end}.rvb-status-meta span{letter-spacing:0;font-weight:500}.rvb-status-meta b{color:var(--text)}
.rvb-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 14px}.rvb-kpis article{padding:16px;min-width:0}.rvb-kpis span{display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em;margin-bottom:8px}.rvb-kpis strong{display:block;font-size:24px;line-height:1.1}.rvb-kpis small{display:block;color:var(--muted);margin-top:7px}
.rvb-chart-card,.rvb-daily-card,.rvb-compare-grid>article{padding:18px;margin-bottom:14px}.rvb-chart-wrap{width:100%;height:320px;margin-top:12px;position:relative}.rvb-chart-wrap.small{height:270px}.rvb-chart-wrap canvas{display:block;width:100%;height:100%;max-width:none}
.rvb-legend{display:flex;gap:18px;align-items:center;margin-top:10px;color:var(--muted);font-size:11px;font-weight:700}.rvb-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;background:var(--accent)}.rvb-dot.expected{background:var(--gold)}
.rvb-compare-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.rvb-compare-table,.rvb-daily-table{width:100%;border-collapse:collapse;white-space:nowrap}.rvb-compare-table th,.rvb-compare-table td,.rvb-daily-table th,.rvb-daily-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:right}.rvb-compare-table th:first-child,.rvb-compare-table td:first-child,.rvb-daily-table th:first-child,.rvb-daily-table td:first-child{text-align:left}.rvb-compare-table th,.rvb-daily-table th{color:var(--muted);font-size:10px;letter-spacing:.06em}.rvb-positive{color:var(--green)!important}.rvb-negative{color:var(--red)!important}.rvb-neutral{color:var(--muted)!important}.rvb-note{color:var(--muted);font-size:12px;line-height:1.55;margin:8px 2px 0}
@media(max-width:1180px){.rvb-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.rvb-compare-grid{grid-template-columns:1fr}}
@media(max-width:780px){.rvb-section{margin-top:24px}.rvb-status-card{align-items:flex-start;flex-direction:column}.rvb-status-meta{justify-content:flex-start;gap:9px 14px}.rvb-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rvb-kpis article{padding:13px}.rvb-kpis strong{font-size:20px}.rvb-chart-card,.rvb-daily-card,.rvb-compare-grid>article{padding:12px}.rvb-chart-wrap{height:250px}.rvb-chart-wrap.small{height:220px}}


/* === SPX PULSE · 5 PAGINAS === */
/* Ocultamos solo las secciones que NO pertenecen a la página actual.
   Importante: no forzamos display:block en las visibles, para conservar
   sus displays originales (grid/flex/block) y evitar que PULSE se expanda
   verticalmente. */
body.spx-multipage[data-page="pulse"] .site-page-section:not([data-site-page="pulse"]),
body.spx-multipage[data-page="analisis"] .site-page-section:not([data-site-page="analisis"]),
body.spx-multipage[data-page="robots"] .site-page-section:not([data-site-page="robots"]),
body.spx-multipage[data-page="resultados"] .site-page-section:not([data-site-page="resultados"]),
body.spx-multipage[data-page="realvs"] .site-page-section:not([data-site-page="realvs"]){display:none!important}
body.spx-multipage .site-page-link.active,
body.spx-multipage .site-page-chip.active{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.18)}
body.spx-multipage .site-page-link.active{font-weight:800}
body.spx-multipage .site-page-chip.active{pointer-events:none}
.spx-page-heading{margin:0 0 18px;padding:22px 24px}
.spx-page-heading .eyebrow{margin:0 0 5px}
.spx-page-heading h1{margin:0;font-size:clamp(24px,3vw,38px);line-height:1.05}
.spx-page-heading>p:last-child{margin:8px 0 0;opacity:.76;max-width:900px}
@media(max-width:780px){
  .yt-chips{display:grid!important;grid-template-columns:repeat(5,max-content);overflow-x:auto!important;overscroll-behavior-x:contain;padding-bottom:6px;scrollbar-width:none}
  .yt-chips::-webkit-scrollbar{display:none}
  .site-page-chip{white-space:nowrap}
  .spx-page-heading{padding:17px 16px;margin-bottom:12px}
  .spx-page-heading h1{font-size:27px}
}

/* ==============================================================
   SPX PULSE V12 · ANTI-SOLAPAMIENTO / NOMBRES LARGOS · 2026-09-03
   Evita que textos dinámicos, títulos y nombres de compañías invadan
   columnas o elementos vecinos en escritorio y móvil.
   ============================================================== */

/* Regla base: los hijos de grids/flex pueden contraerse de verdad. */
.spx-primary-grid > *,
.spx-secondary-grid > *,
.dashboard > *,
.ticker-strip > *,
.panel-title > *,
.context-card-top > *,
.context-primary > *,
.feature-earning-row > *,
.earnings-session-head > *,
.rvb-status-card > *,
.rvb-status-meta > *{
  min-width:0;
}

/* Títulos/leyendas dinámicos: nunca superponer el valor de la derecha. */
.panel-title,
.context-card-top,
.earnings-session-head,
.rvb-status-card{
  flex-wrap:wrap;
}
.panel-title > div,
.context-card-top > div{
  flex:1 1 180px;
  min-width:0;
}
.panel-title > strong,
.context-card-top > .impact-badge,
.context-card-top > .context-live-pill{
  flex:0 0 auto;
  max-width:100%;
}
.panel-title h2,
.panel-title h3,
.context-card-top h2,
.context-primary strong,
.context-primary p,
.pulse-explainer,
.plain-explanation,
.section-heading h2,
.section-heading p,
.spx-page-heading p,
.rvb-status-card strong,
.rvb-note{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* PULSE: las tarjetas resumen no permiten que una cifra/texto ensanche la tarjeta. */
.ticker-strip > div{
  overflow:hidden;
}
.ticker-strip span,
.ticker-strip b{
  max-width:100%;
  overflow-wrap:anywhere;
}

/* Resultados destacados en PULSE: nombre y EPS ocupan solo su columna. */
.feature-earning-row{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.feature-earning-ticker,
.feature-earning-company,
.feature-earning-when{
  min-width:0;
  max-width:100%;
}
.feature-earning-company b,
.feature-earning-company small{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.feature-earning-when{
  white-space:nowrap;
}

/* Calendario completo: la columna Empresa puede partir líneas y ya no pisa
   Ticker / Capitalización / EPS / Consenso. El resto conserva lectura compacta. */
.earnings-table{
  table-layout:auto;
}
.earnings-table th:nth-child(3),
.earnings-table td:nth-child(3){
  white-space:normal!important;
  min-width:180px;
  max-width:320px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.earnings-table td:nth-child(3){
  font-weight:600;
}
.earnings-table th,
.earnings-table td{
  vertical-align:middle;
}

/* Las cabeceras largas tampoco se pisan: pueden usar dos líneas. */
.earnings-table th:nth-child(7),
.earnings-table th:nth-child(8){
  white-space:normal!important;
  min-width:125px;
  line-height:1.25;
}

@media(max-width:780px){
  .panel-title{
    gap:8px 12px;
  }
  .panel-title > div{
    flex-basis:150px;
  }
  .panel-title > strong{
    font-size:clamp(20px,7vw,26px)!important;
  }

  /* En móvil damos prioridad al nombre de empresa y evitamos una tercera
     columna rígida demasiado ancha. */
  .spx-primary-grid .feature-earning-row,
  .feature-earning-row{
    grid-template-columns:48px minmax(0,1fr) minmax(58px,auto)!important;
    gap:6px!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }
  .feature-earning-company b{
    font-size:10px!important;
  }
  .feature-earning-company small{
    font-size:8px!important;
  }
  .feature-earning-when b{
    font-size:9px!important;
  }
  .feature-earning-when small{
    font-size:8px!important;
  }

  /* El calendario sigue teniendo scroll propio, pero Empresa dispone de una
     anchura estable y puede ocupar varias líneas si el nombre es largo. */
  .earnings-table{
    min-width:880px!important;
  }
  .earnings-table th:nth-child(3),
  .earnings-table td:nth-child(3){
    min-width:165px;
    max-width:220px;
  }
}

@media(max-width:420px){
  .spx-primary-grid .feature-earning-row,
  .feature-earning-row{
    grid-template-columns:44px minmax(0,1fr) 58px!important;
    gap:5px!important;
  }
  .feature-earning-ticker{
    font-size:10px!important;
  }
}


/* V13 · PULSE · Resultados de compañías sin solapamientos
   El bloque compacto usa dos columnas y coloca resultado/fecha en una segunda
   línea. Evita que badges largos (p. ej. SIN DATO DE CONSENSO) compriman o
   invadan el nombre de la compañía. */
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-row{
  grid-template-columns:58px minmax(0,1fr)!important;
  grid-template-areas:
    "ticker company"
    "when when";
  column-gap:8px!important;
  row-gap:5px!important;
  align-items:center!important;
  overflow:hidden!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-ticker{
  grid-area:ticker;
  min-width:0!important;
  max-width:58px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company{
  grid-area:company;
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company b,
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company small{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when{
  grid-area:when;
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:4px 7px!important;
  text-align:right!important;
  white-space:normal!important;
  overflow:hidden!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when .earnings-result-badge{
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.15!important;
  text-align:center!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when small{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
@media(max-width:780px){
  body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-row{
    grid-template-columns:52px minmax(0,1fr)!important;
    grid-template-areas:"ticker company" "when when"!important;
    padding:7px 5px!important;
  }
}
@media(max-width:420px){
  body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-row{
    grid-template-columns:48px minmax(0,1fr)!important;
    grid-template-areas:"ticker company" "when when"!important;
  }
  body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when{
    justify-content:flex-start!important;
    text-align:left!important;
  }
}

/* V14: Resultados PULSE sin solapamiento */
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-row{
 display:grid!important;grid-template-columns:92px minmax(0,1fr) 150px!important;
 grid-template-areas:"ticker company when"!important;column-gap:10px!important;row-gap:0!important;
 align-items:center!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;
 overflow:hidden!important;padding:9px 4px!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-ticker{
 grid-area:ticker!important;display:flex!important;align-items:center!important;gap:7px!important;
 width:92px!important;max-width:92px!important;min-width:0!important;overflow:hidden!important;
 white-space:nowrap!important;font-size:11px!important;font-weight:800!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-ticker .ticker-icon{
 width:27px!important;height:27px!important;flex:0 0 27px!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company{
 grid-area:company!important;display:flex!important;flex-direction:column!important;justify-content:center!important;
 min-width:0!important;width:auto!important;max-width:100%!important;overflow:hidden!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company b,
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company small{
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin:0!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company b{
 font-size:11px!important;line-height:1.25!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company small{
 margin-top:3px!important;font-size:8px!important;line-height:1.2!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when{
 grid-area:when!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;
 justify-content:center!important;gap:3px!important;width:150px!important;min-width:150px!important;
 max-width:150px!important;overflow:hidden!important;text-align:right!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when .earnings-result-badge{
 display:block!important;max-width:146px!important;box-sizing:border-box!important;overflow:hidden!important;
 text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important;line-height:1.2!important}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when small{
 white-space:nowrap!important;font-size:8px!important}
@media(max-width:620px){
 body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-row{
  grid-template-columns:82px minmax(0,1fr)!important;
  grid-template-areas:"ticker company" "when when"!important;row-gap:6px!important}
 body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when{
  width:100%!important;min-width:0!important;max-width:100%!important;
  flex-direction:row!important;justify-content:flex-end!important;align-items:center!important}
}


/* ==============================================================
   V15 · PULSE · RESULTADOS: CERO SOLAPAMIENTO
   Cada empresa usa tres franjas verticales independientes:
   1) logo+ticker, 2) nombre+EPS, 3) badge+fecha.
   ============================================================== */
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-row{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:5px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  padding:9px 8px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-ticker{
  order:1!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  font-size:11px!important;
  line-height:1.2!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-ticker .ticker-icon{
  display:block!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  flex:0 0 25px!important;
  object-fit:contain!important;
}

body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company{
  order:2!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company b{
  display:block!important;
  position:static!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  font-size:11px!important;
  line-height:1.28!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company small{
  display:block!important;
  position:static!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:3px 0 0!important;
  padding:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  font-size:8px!important;
  line-height:1.25!important;
}

body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when{
  order:3!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:4px 8px!important;
  position:static!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  text-align:left!important;
  white-space:normal!important;
  box-sizing:border-box!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when .earnings-result-badge{
  display:inline-block!important;
  position:static!important;
  float:none!important;
  flex:0 1 auto!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  font-size:9px!important;
  line-height:1.2!important;
  box-sizing:border-box!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-when small{
  display:inline-block!important;
  position:static!important;
  float:none!important;
  flex:0 0 auto!important;
  margin:0!important;
  white-space:nowrap!important;
  font-size:8px!important;
  line-height:1.2!important;
}

@media(max-width:780px){
  body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-row{
    gap:4px!important;
    padding:8px 6px!important;
  }
  body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company b{
    font-size:10px!important;
  }
}

/* V15.1 · PULSE · nombres de compañías centrados */
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company{
  text-align:center!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company b{
  text-align:center!important;
}


/* V15.2 · PULSE · centrado efectivo de nombres de compañías */
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company b,
body.spx-multipage[data-page="pulse"] .spx-primary-grid .feature-earning-company small{
  width:100%!important;
  text-align:center!important;
}

/* REAL vs SIMULACIÓN · panel de degradación del portfolio */
.rvb-health{padding:20px;margin:0 0 14px;overflow:hidden;border:1px solid var(--line)}
.rvb-health-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);gap:28px;align-items:center}
.rvb-health-copy>span{display:block;color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.11em;margin-bottom:8px}
.rvb-health-title-row{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.rvb-health-title-row strong{font-size:27px;line-height:1.05}.rvb-health-title-row b{font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.rvb-health-copy p{max-width:760px;margin:9px 0 0;color:var(--muted);font-size:13px;line-height:1.55}
.rvb-health-meter{min-width:0}.rvb-health-track{height:15px;border-radius:999px;position:relative;background:linear-gradient(90deg,rgba(255,93,93,.78) 0 32%,rgba(224,168,91,.78) 32% 63%,rgba(53,201,126,.78) 63% 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.rvb-health-track i{position:absolute;left:50%;top:-5px;width:1px;height:25px;background:rgba(255,255,255,.22)}
.rvb-health-track span{position:absolute;top:50%;left:50%;width:23px;height:23px;border:4px solid #f6f6f6;border-radius:50%;background:#111;box-shadow:0 2px 14px rgba(0,0,0,.6);transform:translate(-50%,-50%);transition:left .45s ease}
.rvb-health-scale{display:flex;justify-content:space-between;margin-top:8px;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.05em}
.rvb-health-signals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:18px}.rvb-health-signal{padding:13px 14px;border-radius:10px;background:rgba(255,255,255,.025);border:1px solid var(--line);border-top:3px solid #666;min-width:0}.rvb-health-signal>span{display:block;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.08em;white-space:nowrap}.rvb-health-signal strong{display:block;font-size:16px;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rvb-health-signal small{display:block;color:var(--muted);font-size:10px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rvb-health-signal[data-state="ok"]{border-top-color:var(--green)}.rvb-health-signal[data-state="warn"]{border-top-color:var(--gold)}.rvb-health-signal[data-state="bad"]{border-top-color:var(--red)}
.rvb-alert{display:flex;gap:11px;align-items:flex-start;margin-top:12px;padding:12px 14px;border-radius:9px;border:1px solid var(--line);background:rgba(255,255,255,.02)}.rvb-alert>span{font-size:13px;line-height:1.5}.rvb-alert strong{display:block;font-size:12px}.rvb-alert p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.rvb-alert[data-state="ok"]{border-color:rgba(53,201,126,.3);background:rgba(53,201,126,.045)}.rvb-alert[data-state="warn"]{border-color:rgba(224,168,91,.34);background:rgba(224,168,91,.045)}.rvb-alert[data-state="bad"]{border-color:rgba(255,93,93,.34);background:rgba(255,93,93,.05)}
.rvb-health[data-state="ok"] .rvb-health-title-row strong{color:var(--green)}.rvb-health[data-state="warn"] .rvb-health-title-row strong{color:var(--gold)}.rvb-health[data-state="bad"] .rvb-health-title-row strong{color:var(--red)}
@media(max-width:980px){.rvb-health-main{grid-template-columns:1fr;gap:18px}.rvb-health-signals{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.rvb-health{padding:14px}.rvb-health-title-row strong{font-size:22px}.rvb-health-signals{grid-template-columns:1fr 1fr}.rvb-health-signal:last-child{grid-column:1/-1}.rvb-health-scale{font-size:8px}.rvb-health-main{gap:15px}}

/* V16.1 · Correlación del Portfolio */
body[data-page="correlacion"] .yt-main{min-width:0}
.corr-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}
.corr-kpi{padding:17px 18px;min-width:0;border:1px solid var(--line)}
.corr-kpi>span{display:block;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.09em}
.corr-kpi strong{display:block;font-size:25px;line-height:1.05;margin-top:8px;font-variant-numeric:tabular-nums}
.corr-kpi small{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:7px}
.corr-div-card[data-state="high"] strong{color:var(--green)}.corr-div-card[data-state="medium"] strong{color:var(--gold)}.corr-div-card[data-state="low"] strong{color:var(--red)}
.corr-panel{padding:20px;margin:0 0 14px;border:1px solid var(--line);min-width:0}
.corr-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.corr-panel-head h2{margin:2px 0 5px;font-size:20px}.corr-panel-head p{margin:0;color:var(--muted);font-size:11px}
.corr-legend{display:flex;gap:11px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:9px;font-weight:750}.corr-legend span{display:flex;align-items:center;gap:5px}.corr-legend i{width:14px;height:8px;border-radius:2px;display:inline-block}.corr-legend .neg{background:#315a9b}.corr-legend .zero{background:#30343a}.corr-legend .pos{background:#9a4b45}
.corr-matrix-wrap{overflow:auto;max-height:690px;border:1px solid var(--line);border-radius:10px;background:#0e0f11;overscroll-behavior:contain}
.corr-matrix{border-collapse:separate;border-spacing:1px;font-size:8px;min-width:max-content;background:#181a1d}.corr-matrix th,.corr-matrix td{width:31px;min-width:31px;height:31px;text-align:center;padding:0;font-variant-numeric:tabular-nums}.corr-matrix thead th{position:sticky;top:0;z-index:4;background:#16181b;color:#a8adb6;font-weight:800}.corr-matrix .corr-rowhead{position:sticky;left:0;z-index:3;width:88px;min-width:88px;padding:0 7px;text-align:left;background:#16181b;color:#b8bdc6;font-size:8px;white-space:nowrap}.corr-matrix thead .corr-rowhead{z-index:5}.corr-matrix td{color:#f3f4f6;font-weight:700;cursor:default}.corr-matrix td[data-na="1"]{color:#5b6069;background:#111315!important}.corr-matrix td.diag{background:#20242a!important;color:#777}.corr-empty{padding:24px!important;width:auto!important;color:var(--muted)!important}
.corr-note{color:var(--muted);font-size:10px;line-height:1.5;margin:12px 0 0}.corr-two-col{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.corr-groups{display:grid;gap:8px}.corr-group{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.02)}.corr-group b{font-size:11px}.corr-group span{display:block;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.45}.corr-muted{color:var(--muted);font-size:11px}.corr-rules{display:grid;gap:8px}.corr-rules>div{display:grid;grid-template-columns:60px 1fr;gap:10px;padding:9px 10px;border:1px solid var(--line);border-radius:8px}.corr-rules b{font-size:10px}.corr-rules span{color:var(--muted);font-size:10px;line-height:1.4}.corr-source code{font-size:10px;color:#c9ced6}.corr-source p{color:var(--muted);font-size:11px;line-height:1.55}.corr-source strong{color:var(--text)}
@media(max-width:1050px){.corr-summary{grid-template-columns:1fr 1fr}.corr-two-col{grid-template-columns:1fr}}
@media(max-width:620px){.corr-summary{grid-template-columns:1fr 1fr;gap:8px}.corr-kpi{padding:13px}.corr-kpi strong{font-size:20px}.corr-panel{padding:14px}.corr-panel-head{display:block}.corr-legend{margin-top:10px}.corr-matrix th,.corr-matrix td{width:29px;min-width:29px;height:29px}.corr-matrix .corr-rowhead{width:78px;min-width:78px}}

/* V16.2 · Asesor de correlación */
.corr-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
.corr-advisor{margin-top:16px}
.corr-advisor-badge{font-size:11px;font-weight:800;letter-spacing:.08em;padding:7px 10px;border-radius:999px;background:#24272b;color:#d7d9dc;white-space:nowrap}
.corr-advice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.corr-advice{border:1px solid #2b2f34;border-radius:12px;padding:13px;background:#17191c;display:flex;flex-direction:column;gap:5px}
.corr-advice b{font-size:13px}.corr-advice span{font-size:12px;color:#aeb3b9;line-height:1.45}
.corr-table-wrap{overflow:auto;border:1px solid #292d31;border-radius:12px}
.corr-review-table{width:100%;border-collapse:collapse;min-width:820px;font-size:12px}
.corr-review-table th,.corr-review-table td{padding:10px 11px;border-bottom:1px solid #292d31;text-align:left;vertical-align:middle}
.corr-review-table th{font-size:10px;letter-spacing:.06em;color:#aeb3b9;background:#141619;position:sticky;top:0}
.corr-review-table tbody tr:last-child td{border-bottom:0}.corr-review-table tbody tr:hover{background:#1c1f23}
.corr-tag{display:inline-block;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800;white-space:nowrap}
.corr-tag.high{background:rgba(220,70,70,.16);color:#ff9d9d}.corr-tag.medium{background:rgba(226,170,50,.15);color:#f0c66a}.corr-tag.low{background:rgba(72,180,120,.14);color:#8ed8ae}
.corr-delta.good{color:#8ed8ae;font-weight:700}.corr-delta.bad{color:#ff9d9d;font-weight:700}.corr-delta.neutral{color:#aeb3b9}
@media(max-width:1100px){.corr-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.corr-advice-grid{grid-template-columns:1fr}}
@media(max-width:700px){.corr-summary{grid-template-columns:1fr 1fr}.corr-advice-grid{grid-template-columns:1fr}}

/* V16.7 · máximos registrados PULSE */
.pulse-records{margin:0 0 16px;padding:16px 18px;background:linear-gradient(135deg,rgba(23,23,23,.98),rgba(15,20,23,.98));border:1px solid rgba(255,255,255,.08)}
.pulse-records-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.pulse-records-head span{font-size:10px;letter-spacing:.16em;color:#78cfe0;font-weight:800}.pulse-records-head h2{margin:3px 0 0;font-size:18px}.pulse-records-head>small{color:#8d969d;font-size:11px;text-align:right}
.pulse-records-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pulse-record-card{padding:12px 14px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025);display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 12px}.pulse-record-card span{font-size:10px;letter-spacing:.12em;color:#aeb8bf;font-weight:800}.pulse-record-card strong{grid-row:1/3;grid-column:2;font-size:23px;color:#e8f7fa}.pulse-record-card small{font-size:10px;color:#75838c}.pulse-records-note{margin:10px 0 0;color:#7f8a91;font-size:10px;line-height:1.45}
@media(max-width:780px){.pulse-records-grid{grid-template-columns:1fr}.pulse-records-head{align-items:flex-start;flex-direction:column}.pulse-records-head>small{text-align:left}}


/* V16.9 · explicación completa de indicadores y referencias dinámicas */
.pulse-records-intro{margin:0 0 12px;padding:12px 14px;border:1px solid rgba(120,207,224,.16);border-radius:10px;background:rgba(120,207,224,.035)}
.pulse-records-intro strong{display:block;margin-bottom:5px;color:#dbeff3;font-size:12px}.pulse-records-intro p{margin:0;color:#98a5ac;font-size:11px;line-height:1.55}
.pulse-record-card{grid-template-columns:1fr auto!important;align-content:start}.pulse-record-title{min-width:0}.pulse-record-title span{display:block}.pulse-record-title em{display:block;margin-top:3px;font-style:normal;font-size:10px;color:#75838c}.pulse-record-card>strong{grid-row:1!important;grid-column:2!important;align-self:start}
.pulse-record-live{grid-column:1/3;display:flex;justify-content:space-between;gap:10px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.06)}.pulse-record-live b{font-size:11px;color:#c8d3d8}.pulse-record-live b:last-child{color:#78cfe0;text-align:right}
.pulse-record-card>small{grid-column:1/3;margin-top:3px}.pulse-record-card>p{grid-column:1/3;margin:8px 0 0;color:#87939a;font-size:10px;line-height:1.5}
.pulse-records-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.pulse-records-guide>div{padding:10px 12px;border-radius:9px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.pulse-records-guide b{display:block;margin-bottom:4px;font-size:10px;color:#cbd5da}.pulse-records-guide span{display:block;font-size:10px;line-height:1.45;color:#78858c}
.indicator-explainer{margin-top:14px;padding:11px 13px;border-radius:10px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025)}.indicator-explainer strong{display:block;margin-bottom:5px;color:#d8e1e5;font-size:11px}.indicator-explainer p{margin:0;color:#89969d;font-size:10px;line-height:1.5}.conviction-explainer{margin-top:14px}
@media(max-width:780px){.pulse-records-guide{grid-template-columns:1fr}.pulse-record-live{flex-direction:column;gap:3px}.pulse-record-live b:last-child{text-align:left}}


/* V16.10 · fecha del máximo + proximidad al récord */
.pulse-record-meta{grid-column:1/3;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.pulse-record-meta>span{font-size:9px!important;letter-spacing:.02em!important;color:#7f8d95!important;font-weight:600!important}
.pulse-record-proximity{font-size:9px;letter-spacing:.07em;padding:4px 7px;border-radius:999px;border:1px solid rgba(255,255,255,.09);white-space:nowrap;color:#8d989e;background:rgba(255,255,255,.035)}
.pulse-record-card{transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.pulse-record-card.record-normal .proximity-normal{color:#9ca7ad;border-color:rgba(156,167,173,.22);background:rgba(156,167,173,.07)}
.pulse-record-card.record-highlight{border-color:rgba(232,187,87,.28)!important;background:rgba(232,187,87,.035)!important}
.pulse-record-card.record-highlight .proximity-highlight{color:#e8c875;border-color:rgba(232,200,117,.35);background:rgba(232,200,117,.08)}
.pulse-record-card.record-alert{border-color:rgba(235,116,91,.42)!important;background:rgba(235,116,91,.05)!important;box-shadow:inset 0 0 0 1px rgba(235,116,91,.06)}
.pulse-record-card.record-alert .proximity-alert{color:#f09b89;border-color:rgba(240,155,137,.42);background:rgba(240,155,137,.10)}
@media(max-width:780px){.pulse-record-meta{align-items:flex-start;flex-direction:column;gap:5px}.pulse-record-proximity{white-space:normal}}

/* V16.11 · extremos direccionales de SEÑAL */
.pulse-record-directional{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.pulse-record-directional>div{padding:10px;border:1px solid rgba(255,255,255,.10);border-radius:10px;display:flex;flex-direction:column;gap:4px}.pulse-record-directional small{font-size:10px;letter-spacing:.08em;opacity:.7}.pulse-record-directional strong{font-size:22px}.pulse-record-directional span{font-size:11px;opacity:.72}@media(max-width:620px){.pulse-record-directional{grid-template-columns:1fr}}


/* V16.12 · REFERENCIA DINÁMICA plegable por defecto */
.pulse-records-fold > summary { cursor:pointer; list-style:none; }
.pulse-records-fold > summary::-webkit-details-marker { display:none; }
.pulse-records-fold .pulse-records-head { margin-bottom:0; }
.pulse-records-fold[open] .pulse-records-head { margin-bottom:18px; }
.pulse-records-fold[open] .pulse-records-toggle::after { content:"Ocultar"; }
.pulse-records-fold[open] .pulse-records-toggle { font-size:0; }
.pulse-records-fold[open] .pulse-records-toggle::after { font-size:12px; }

/* =========================================================
   SPX PULSE V16_13 — MODO CLARO / OSCURO
   ========================================================= */
:root[data-theme="light"]{
  --bg:#f4f6f8;
  --surface:#ffffff;
  --surface2:#f0f2f5;
  --surface3:#e8ebef;
  --line:#d9dde3;
  --text:#17191c;
  --muted:#626a73;
  --accent:#0b6edb;
  color-scheme:light;
}
html[data-theme="light"]{background:var(--bg);color-scheme:light}
html[data-theme="light"] body{background:var(--bg)!important;color:var(--text)!important}
html[data-theme="light"] .yt-topbar,
html[data-theme="light"] .yt-sidebar,
html[data-theme="light"] .yt-chips{background:#fff!important;border-color:#dfe3e8!important;color:#17191c!important}
html[data-theme="light"] .menu-btn{color:#17191c!important}
html[data-theme="light"] .menu-btn:hover,
html[data-theme="light"] .side-link:hover,
html[data-theme="light"] .side-link.active{background:#edf0f3!important}
html[data-theme="light"] .yt-search input,
html[data-theme="light"] .robots-controls input,
html[data-theme="light"] .robots-controls select{background:#fff!important;color:#17191c!important;border-color:#cfd5dc!important}
html[data-theme="light"] .yt-search button,
html[data-theme="light"] .yt-guide,
html[data-theme="light"] .chip,
html[data-theme="light"] .horizon-switch button,
html[data-theme="light"] .position-card .icon,
html[data-theme="light"] .consensus-impulse-head>b{background:#edf0f3!important;color:#202328!important;border-color:#d9dde3!important}
html[data-theme="light"] .chip:hover,
html[data-theme="light"] .chip.active,
html[data-theme="light"] .horizon-switch button.active,
html[data-theme="light"] .guide-button{background:#17191c!important;color:#fff!important}
html[data-theme="light"] .panel,
html[data-theme="light"] .card,
html[data-theme="light"] .insight-card,
html[data-theme="light"] .yt-card,
html[data-theme="light"] .ticker-strip>div,
html[data-theme="light"] .horizon-cards article,
html[data-theme="light"] .analytics-panel,
html[data-theme="light"] .methodology-card,
html[data-theme="light"] .robot-modal-card{background:#fff!important;color:#17191c!important;border-color:#dfe3e8!important}
html[data-theme="light"] .pending-card,
html[data-theme="light"] .market-state,
html[data-theme="light"] .ohlc div,
html[data-theme="light"] .robot-activity-item{background:#f2f4f7!important;color:#17191c!important}
html[data-theme="light"] .featured-main.featured-text-only::before{background:radial-gradient(circle at 18% 18%,rgba(11,110,219,.12),transparent 28%),radial-gradient(circle at 84% 78%,rgba(224,168,91,.10),transparent 30%),linear-gradient(145deg,#fff,#f3f5f7 58%,#eef1f4)!important;border-color:#dfe3e8!important;color:#17191c!important}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .hero-text,
html[data-theme="light"] .hero-meta,
html[data-theme="light"] .ticker-strip span,
html[data-theme="light"] .panel-title span,
html[data-theme="light"] .section-heading>span,
html[data-theme="light"] .consensus-text,
html[data-theme="light"] .position-card small,
html[data-theme="light"] .donut span,
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .insight-card>span,
html[data-theme="light"] .insight-card small,
html[data-theme="light"] .chart-y,
html[data-theme="light"] .price-day,
html[data-theme="light"] .ohlc span,
html[data-theme="light"] .legend,
html[data-theme="light"] .robots-help,
html[data-theme="light"] .robot-kpi span,
html[data-theme="light"] .portfolio-stats span,
html[data-theme="light"] .portfolio-copy p,
html[data-theme="light"] .method>p,
html[data-theme="light"] .method-grid span,
html[data-theme="light"] .disclaimer,
html[data-theme="light"] footer{color:#626a73!important}
html[data-theme="light"] .hero-meta strong,
html[data-theme="light"] .ticker-strip b,
html[data-theme="light"] .panel-title h2,
html[data-theme="light"] .panel-title h3,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .featured-main h1 span{color:#17191c!important}
html[data-theme="light"] .position-card,
html[data-theme="light"] .pending-orders,
html[data-theme="light"] .stats-table th,
html[data-theme="light"] .stats-table td,
html[data-theme="light"] .robots-table th,
html[data-theme="light"] .robots-table td{border-color:#e0e4e9!important}
html[data-theme="light"] .bar,
html[data-theme="light"] .strength-list i{background:#dfe3e8!important}
html[data-theme="light"] .needle,
html[data-theme="light"] .pivot{background:#23272c!important}
html[data-theme="light"] .gauge-track{border-color:#c9cfd6!important}
html[data-theme="light"] .donut{background:conic-gradient(var(--gold) calc(var(--strength)*1%),#dfe3e8 0)!important}
html[data-theme="light"] .donut::after{background:#fff!important}
html[data-theme="light"] .consensus-impulse{background:#f8f9fb!important;border-color:#dfe3e8!important}
html[data-theme="light"] .consensus-impulse p{color:#343a40!important}
html[data-theme="light"] .consensus-impulse-note,
html[data-theme="light"] .consensus-impulse-head small{color:#6d7680!important}
html[data-theme="light"] .plain-explanation{color:#343a40!important}
html[data-theme="light"] .robot-modal-backdrop{background:rgba(20,24,28,.45)!important}
html[data-theme="light"] code{background:#eef1f4!important;color:#212529!important}
html[data-theme="light"] input::placeholder{color:#8b929a!important}

/* Componentes especiales de ANÁLISIS / REAL vs SIMULACIÓN / CORRELACIÓN */
html[data-theme="light"] .spx-page-heading,
html[data-theme="light"] .spx-fold,
html[data-theme="light"] .corr-panel,
html[data-theme="light"] .corr-advice,
html[data-theme="light"] .corr-rules>div,
html[data-theme="light"] .corr-groups>*{background:#fff!important;color:#17191c!important;border-color:#dfe3e8!important}
html[data-theme="light"] .spx-fold>summary{background:#fff!important;color:#17191c!important}
html[data-theme="light"] .spx-fold-body{background:#f7f8fa!important}
html[data-theme="light"] .corr-matrix th,
html[data-theme="light"] .corr-matrix td,
html[data-theme="light"] .corr-review-table th,
html[data-theme="light"] .corr-review-table td{border-color:#d9dde3!important}
html[data-theme="light"] .corr-note,
html[data-theme="light"] .corr-muted,
html[data-theme="light"] .corr-panel-head p,
html[data-theme="light"] .corr-advice span,
html[data-theme="light"] .corr-rules span{color:#626a73!important}

/* Selector de tema */
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  height:38px;min-width:42px;padding:0 11px;border:1px solid #303030;
  border-radius:19px;background:#1f1f1f;color:#f1f1f1;cursor:pointer;
  font-weight:800;font-size:13px;line-height:1;white-space:nowrap;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.theme-toggle:hover{background:#2a2a2a;transform:translateY(-1px)}
.theme-toggle .theme-icon{font-size:17px;line-height:1}
.theme-toggle .theme-label{font-size:12px}
html[data-theme="light"] .theme-toggle{background:#fff;color:#17191c;border-color:#cfd5dc}
html[data-theme="light"] .theme-toggle:hover{background:#edf0f3}
@media(max-width:780px){
  .theme-toggle{min-width:38px;width:38px;padding:0}
  .theme-toggle .theme-label{display:none}
}

/* =========================================================
   SPX PULSE V16_14 — COBERTURA COMPLETA DEL MODO CLARO
   Corrige componentes con colores oscuros hardcodeados.
   ========================================================= */
html[data-theme="light"] .featured-thumb,
html[data-theme="light"] .spx-primary-grid .spx-context-card,
html[data-theme="light"] .robot-live-box,
html[data-theme="light"] .visual-chart-card,
html[data-theme="light"] .numeric-details,
html[data-theme="light"] .excursion-visual-card,
html[data-theme="light"] .excursion-explain-card,
html[data-theme="light"] .mini-path,
html[data-theme="light"] .excursion-sum-note,
html[data-theme="light"] .rvb-health-signal,
html[data-theme="light"] .rvb-alert,
html[data-theme="light"] .pulse-records,
html[data-theme="light"] .pulse-record-card,
html[data-theme="light"] .pulse-records-guide>div,
html[data-theme="light"] .indicator-explainer,
html[data-theme="light"] .pulse-explainer,
html[data-theme="light"] .spx-context-card,
html[data-theme="light"] .earnings-feature,
html[data-theme="light"] .feature-market-chip,
html[data-theme="light"] .feature-earning-row,
html[data-theme="light"] .wm-card,
html[data-theme="light"] .wm-card.closed,
html[data-theme="light"] .global-search-suggestions {
  background:#fff!important;
  color:#17191c!important;
  border-color:#d9dde3!important;
  box-shadow:none!important;
}

html[data-theme="light"] .pulse-records{
  background:linear-gradient(135deg,#fff,#f5f7f9)!important;
}
html[data-theme="light"] .pulse-records-intro{
  background:rgba(11,110,219,.045)!important;
  border-color:rgba(11,110,219,.16)!important;
}
html[data-theme="light"] .pulse-record-card.record-highlight{
  background:rgba(196,143,28,.055)!important;
}
html[data-theme="light"] .pulse-record-card.record-alert{
  background:rgba(198,62,44,.055)!important;
}

html[data-theme="light"] .global-search-option:hover,
html[data-theme="light"] .global-search-option:focus{
  background:#eef1f4!important;
}
html[data-theme="light"] .global-search-ticker{
  background:#eef1f4!important;
  color:#8a5b00!important;
}

html[data-theme="light"] .earnings-toolbar input,
html[data-theme="light"] .earnings-toolbar select{
  background:#fff!important;
  color:#17191c!important;
  border-color:#cfd5dc!important;
}

html[data-theme="light"] .visual-card-head>strong,
html[data-theme="light"] .excursion-sum-note strong,
html[data-theme="light"] #relCurrentSignal,
html[data-theme="light"] .corr-advisor-badge{
  background:#edf0f3!important;
  color:#343a40!important;
  border-color:#d9dde3!important;
}
html[data-theme="light"] .excursion-track,
html[data-theme="light"] .wm-track,
html[data-theme="light"] .rvb-health-track{
  background:#e4e8ed!important;
}
html[data-theme="light"] .rvb-health-track span{
  background:#fff!important;
  border-color:#343a40!important;
  box-shadow:0 2px 10px rgba(0,0,0,.18)!important;
}

html[data-theme="light"] .corr-matrix-wrap{
  background:#fff!important;
  border-color:#d9dde3!important;
}
html[data-theme="light"] .corr-matrix{
  background:#e7eaee!important;
}
html[data-theme="light"] .corr-matrix thead th,
html[data-theme="light"] .corr-matrix .corr-rowhead,
html[data-theme="light"] .corr-review-table th{
  background:#f0f2f5!important;
  color:#4b535c!important;
}
html[data-theme="light"] .corr-matrix td[data-na="1"]{
  background:#f5f6f8!important;
  color:#9299a1!important;
}
html[data-theme="light"] .corr-matrix td.diag{
  background:#e7eaee!important;
  color:#6d747c!important;
}
html[data-theme="light"] .corr-review-table tbody tr:hover{
  background:#f4f6f8!important;
}
html[data-theme="light"] .corr-source code{
  color:#343a40!important;
}

html[data-theme="light"] .pulse-record-card span,
html[data-theme="light"] .pulse-record-card small,
html[data-theme="light"] .pulse-records-note,
html[data-theme="light"] .pulse-records-guide span,
html[data-theme="light"] .indicator-explainer p,
html[data-theme="light"] .excursion-sum-note,
html[data-theme="light"] .feature-market-chip span,
html[data-theme="light"] .feature-earning-row span,
html[data-theme="light"] .wm-card p,
html[data-theme="light"] .wm-card small{
  color:#626a73!important;
}
html[data-theme="light"] .pulse-record-card strong,
html[data-theme="light"] .pulse-records-guide b,
html[data-theme="light"] .indicator-explainer strong,
html[data-theme="light"] .spx-context-card strong,
html[data-theme="light"] .visual-analysis-intro strong,
html[data-theme="light"] .visual-card-head strong,
html[data-theme="light"] .excursion-explain-card strong{
  color:#17191c!important;
}

html[data-theme="light"] .spx-fold,
html[data-theme="light"] .spx-fold>summary,
html[data-theme="light"] .spx-fold>summary:hover{
  background:#fff!important;
  border-color:#d9dde3!important;
  color:#17191c!important;
}
html[data-theme="light"] .spx-fold[open]>summary{
  border-bottom-color:#e3e6ea!important;
}

/* Mantener los banners como piezas gráficas, pero con borde adecuado al tema */
html[data-theme="light"] .spx-banner-wrap{
  border-color:#d6dbe1!important;
  box-shadow:0 10px 26px rgba(20,25,30,.12)!important;
}

/* Textos blancos hardcodeados que en superficies claras deben ser oscuros */
html[data-theme="light"] .robot-live-box,
html[data-theme="light"] .robot-live-box strong,
html[data-theme="light"] .numeric-details,
html[data-theme="light"] .numeric-details strong,
html[data-theme="light"] .visual-chart-card,
html[data-theme="light"] .excursion-visual-card,
html[data-theme="light"] .excursion-explain-card,
html[data-theme="light"] .mini-path,
html[data-theme="light"] .spx-context-card,
html[data-theme="light"] .earnings-feature,
html[data-theme="light"] .pulse-records,
html[data-theme="light"] .corr-panel,
html[data-theme="light"] .corr-advice{
  color:#17191c!important;
}

/* Conserva colores de estado/mercado, pero garantiza legibilidad */
html[data-theme="light"] .wm-status{color:#fff!important}
html[data-theme="light"] .wm-card.closed .wm-status{
  background:#e5e9ed!important;
  color:#4c555e!important;
}

/* Scrollbars más coherentes en modo claro */
html[data-theme="light"] *{
  scrollbar-color:#c4cad1 #f1f3f5;
}

/* =========================================================
   SPX PULSE V16_15 — MODO CLARO COMPLETO EN
   ROBOTS / RESULTADOS / REAL vs SIMULACIÓN
   ========================================================= */

/* ROBOTS */
html[data-theme="light"] body[data-page="robots"] .spx-fold,
html[data-theme="light"] body[data-page="robots"] .spx-fold-body,
html[data-theme="light"] body[data-page="robots"] .robots-section,
html[data-theme="light"] body[data-page="robots"] .robots-table-panel,
html[data-theme="light"] body[data-page="robots"] .recent-robot-activity,
html[data-theme="light"] body[data-page="robots"] .portfolio,
html[data-theme="light"] body[data-page="robots"] .portfolio-copy article,
html[data-theme="light"] body[data-page="robots"] .portfolio-stats article,
html[data-theme="light"] body[data-page="robots"] .robot-kpi{
  background:#fff!important;
  color:#17191c!important;
  border-color:#d9dde3!important;
}
html[data-theme="light"] body[data-page="robots"] .spx-fold-body{background:#f7f8fa!important}
html[data-theme="light"] body[data-page="robots"] .robots-table,
html[data-theme="light"] body[data-page="robots"] .robots-table thead,
html[data-theme="light"] body[data-page="robots"] .robots-table tbody,
html[data-theme="light"] body[data-page="robots"] .robots-table tr,
html[data-theme="light"] body[data-page="robots"] .robots-table th,
html[data-theme="light"] body[data-page="robots"] .robots-table td{
  background:#fff!important;
  color:#202328!important;
  border-color:#e1e5ea!important;
}
html[data-theme="light"] body[data-page="robots"] .robots-table thead th{
  background:#f1f3f6!important;
  color:#59616a!important;
}
html[data-theme="light"] body[data-page="robots"] .robots-table tbody tr:hover td{background:#f5f7f9!important}
html[data-theme="light"] body[data-page="robots"] .robots-controls input,
html[data-theme="light"] body[data-page="robots"] .robots-controls select{
  background:#fff!important;color:#17191c!important;border-color:#cfd5dc!important;
}
html[data-theme="light"] body[data-page="robots"] .robots-help,
html[data-theme="light"] body[data-page="robots"] .robots-empty,
html[data-theme="light"] body[data-page="robots"] .robot-kpi span,
html[data-theme="light"] body[data-page="robots"] .robot-kpi small,
html[data-theme="light"] body[data-page="robots"] .portfolio-copy p,
html[data-theme="light"] body[data-page="robots"] .portfolio-stats span{color:#626a73!important}
html[data-theme="light"] body[data-page="robots"] .robot-activity-item{
  background:#f2f4f7!important;color:#17191c!important;border-color:#dde2e7!important;
}
html[data-theme="light"] body[data-page="robots"] .robot-modal-card{background:#fff!important;color:#17191c!important;border-color:#d9dde3!important}
html[data-theme="light"] body[data-page="robots"] .robot-modal-close{color:#343a40!important}

/* RESULTADOS */
html[data-theme="light"] body[data-page="resultados"] .spx-fold,
html[data-theme="light"] body[data-page="resultados"] .spx-fold-body,
html[data-theme="light"] body[data-page="resultados"] .earnings-section,
html[data-theme="light"] body[data-page="resultados"] .earnings-calendar-panel,
html[data-theme="light"] body[data-page="resultados"] .earnings-kpi{
  background:#fff!important;
  color:#17191c!important;
  border-color:#d9dde3!important;
}
html[data-theme="light"] body[data-page="resultados"] .spx-fold-body{background:#f7f8fa!important}
html[data-theme="light"] body[data-page="resultados"] .earnings-toolbar input,
html[data-theme="light"] body[data-page="resultados"] .earnings-toolbar select{
  background:#fff!important;color:#17191c!important;border-color:#cfd5dc!important;
}
html[data-theme="light"] body[data-page="resultados"] .earnings-table,
html[data-theme="light"] body[data-page="resultados"] .earnings-table thead,
html[data-theme="light"] body[data-page="resultados"] .earnings-table tbody,
html[data-theme="light"] body[data-page="resultados"] .earnings-table tr,
html[data-theme="light"] body[data-page="resultados"] .earnings-table th,
html[data-theme="light"] body[data-page="resultados"] .earnings-table td{
  background:#fff!important;
  color:#202328!important;
  border-color:#e1e5ea!important;
}
html[data-theme="light"] body[data-page="resultados"] .earnings-table thead th{
  background:#f1f3f6!important;color:#59616a!important;
}
html[data-theme="light"] body[data-page="resultados"] .earnings-table tbody tr:hover td{background:#f5f7f9!important}
html[data-theme="light"] body[data-page="resultados"] .earnings-kpi span,
html[data-theme="light"] body[data-page="resultados"] .earnings-kpi small,
html[data-theme="light"] body[data-page="resultados"] .earnings-note,
html[data-theme="light"] body[data-page="resultados"] .earnings-empty{color:#626a73!important}
html[data-theme="light"] body[data-page="resultados"] .earnings-kpi strong,
html[data-theme="light"] body[data-page="resultados"] .earnings-table .earnings-ticker{color:#17191c!important}
html[data-theme="light"] body[data-page="resultados"] .earnings-table .earnings-date,
html[data-theme="light"] body[data-page="resultados"] .earnings-table .earnings-days-soon{color:#9a6a00!important}
html[data-theme="light"] body[data-page="resultados"] .earnings-table .earnings-time{color:#68717b!important}

/* REAL vs SIMULACIÓN */
html[data-theme="light"] body[data-page="realvs"] .rvb-section,
html[data-theme="light"] body[data-page="realvs"] .rvb-health,
html[data-theme="light"] body[data-page="realvs"] .rvb-status-card,
html[data-theme="light"] body[data-page="realvs"] .rvb-kpis article,
html[data-theme="light"] body[data-page="realvs"] .rvb-chart-card,
html[data-theme="light"] body[data-page="realvs"] .rvb-sim-breakdown,
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-grid>article,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-card{
  background:#fff!important;
  color:#17191c!important;
  border-color:#d9dde3!important;
}
html[data-theme="light"] body[data-page="realvs"] .rvb-health-signal{
  background:#f7f8fa!important;color:#17191c!important;border-color:#d9dde3!important;
}
html[data-theme="light"] body[data-page="realvs"] .rvb-alert{background:#f7f8fa!important;color:#17191c!important}
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-table,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-table,
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-table thead,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-table thead,
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-table tbody,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-table tbody,
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-table tr,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-table tr,
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-table th,
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-table td,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-table th,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-table td{
  background:#fff!important;color:#202328!important;border-color:#e1e5ea!important;
}
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-table thead th,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-table thead th{
  background:#f1f3f6!important;color:#59616a!important;
}
html[data-theme="light"] body[data-page="realvs"] .rvb-compare-table tbody tr:hover td,
html[data-theme="light"] body[data-page="realvs"] .rvb-daily-table tbody tr:hover td{background:#f5f7f9!important}
html[data-theme="light"] body[data-page="realvs"] .rvb-kpis span,
html[data-theme="light"] body[data-page="realvs"] .rvb-kpis small,
html[data-theme="light"] body[data-page="realvs"] .rvb-status-card span,
html[data-theme="light"] body[data-page="realvs"] .rvb-health-copy>span,
html[data-theme="light"] body[data-page="realvs"] .rvb-health-copy p,
html[data-theme="light"] body[data-page="realvs"] .rvb-health-signal>span,
html[data-theme="light"] body[data-page="realvs"] .rvb-health-signal small,
html[data-theme="light"] body[data-page="realvs"] .rvb-legend,
html[data-theme="light"] body[data-page="realvs"] .rvb-note{color:#626a73!important}
html[data-theme="light"] body[data-page="realvs"] .rvb-status-meta b,
html[data-theme="light"] body[data-page="realvs"] .rvb-kpis strong,
html[data-theme="light"] body[data-page="realvs"] .rvb-health-signal strong{color:#17191c!important}
html[data-theme="light"] body[data-page="realvs"] .rvb-chart-wrap{
  background:#fff!important;border-color:#e1e5ea!important;
}

/* Superficie general de las tres páginas, evitando franjas oscuras residuales */
html[data-theme="light"] body[data-page="robots"] .yt-main,
html[data-theme="light"] body[data-page="resultados"] .yt-main,
html[data-theme="light"] body[data-page="realvs"] .yt-main{background:var(--bg)!important;color:var(--text)!important}

/* =========================================================
   SPX PULSE V16_16 — RESULTADOS · MODO CLARO FORZADO
   Corrige superficies propias de la página y evita residuos oscuros.
   ========================================================= */
html[data-theme="light"] body[data-page="resultados"]{
  background:#f4f6f8!important;
  color:#17191c!important;
}
html[data-theme="light"] body[data-page="resultados"] .yt-main,
html[data-theme="light"] body[data-page="resultados"] .site-page-section[data-site-page="resultados"],
html[data-theme="light"] body[data-page="resultados"] #fold-resultados,
html[data-theme="light"] body[data-page="resultados"] #fold-resultados > summary,
html[data-theme="light"] body[data-page="resultados"] #fold-resultados .spx-fold-body,
html[data-theme="light"] body[data-page="resultados"] #resultados,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-calendar-panel,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-kpi,
html[data-theme="light"] body[data-page="resultados"] #resultados .yt-card,
html[data-theme="light"] body[data-page="resultados"] #resultados .panel{
  background:#fff!important;
  color:#17191c!important;
  border-color:#d9dde3!important;
  box-shadow:none!important;
}
html[data-theme="light"] body[data-page="resultados"] #fold-resultados .spx-fold-body{
  background:#f4f6f8!important;
}
html[data-theme="light"] body[data-page="resultados"] #fold-resultados > summary:hover{
  background:#f7f8fa!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .section-heading,
html[data-theme="light"] body[data-page="resultados"] #resultados .section-heading h2,
html[data-theme="light"] body[data-page="resultados"] #resultados .section-heading strong,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-kpi strong{
  color:#17191c!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .section-heading span,
html[data-theme="light"] body[data-page="resultados"] #resultados .section-heading p,
html[data-theme="light"] body[data-page="resultados"] #fold-resultados .spx-fold-copy small,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-kpi span,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-kpi small,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-note{
  color:#626a73!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-toolbar input,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-toolbar select{
  background:#fff!important;
  color:#17191c!important;
  border-color:#cfd5dc!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .table-scroll{
  background:#fff!important;
  border-color:#d9dde3!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table thead,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table tbody,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table tr,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table td{
  background:#fff!important;
  color:#202328!important;
  border-color:#e1e5ea!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table th{
  background:#f1f3f6!important;
  color:#59616a!important;
  border-color:#e1e5ea!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table tbody tr:hover td{
  background:#f5f7f9!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table .earnings-ticker{
  color:#17191c!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table .earnings-date,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table .earnings-days-soon{
  color:#9a6a00!important;
}
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-table .earnings-time,
html[data-theme="light"] body[data-page="resultados"] #resultados .earnings-empty{
  color:#68717b!important;
}

/* =========================================================
   SPX PULSE V16_20 — CONTRASTE WCAG EN MODO OSCURO
   Ajustes selectivos para Lighthouse sin alterar el diseño.
   ========================================================= */
html:not([data-theme="light"]) .yt-brand-mark{
  color:#07131d!important;
}
html:not([data-theme="light"]) .consensus-impulse-note,
html:not([data-theme="light"]) .consensus-impulse-head small{
  color:#aeb7be!important;
}
html:not([data-theme="light"]) .consensus-impulse p{
  color:#d2d6d9!important;
}
html:not([data-theme="light"]) .consensus-text,
html:not([data-theme="light"]) .position-card small,
html:not([data-theme="light"]) .pending-card small{
  color:#b8bec3!important;
}
html:not([data-theme="light"]) footer{
  color:#b4bac0!important;
}
html:not([data-theme="light"]) footer .brand-mark{
  color:#f0c96a!important;
}
html:not([data-theme="light"]) footer strong{
  color:#f1f1f1!important;
}
html:not([data-theme="light"]) footer small,
html:not([data-theme="light"]) footer span{
  color:#b4bac0!important;
}


/* =========================================================
   SPX PULSE V16_24 — CONTRASTE COMPLETO MODO CLARO
   Evita texto blanco/gris débil sobre superficies claras.
   Mantiene colores semánticos verde/rojo/dorado.
   ========================================================= */
html[data-theme="light"] body,
html[data-theme="light"] .yt-main,
html[data-theme="light"] .spx-multipage{color:#17191c!important}

/* Navegación y cabecera */
html[data-theme="light"] .yt-brand,
html[data-theme="light"] .yt-brand strong,
html[data-theme="light"] .side-link,
html[data-theme="light"] .chip,
html[data-theme="light"] .yt-guide,
html[data-theme="light"] .site-page-chip{color:#202328!important}
html[data-theme="light"] .site-page-chip.active{background:#202328!important;color:#fff!important;border-color:#202328!important}
html[data-theme="light"] .yt-live{color:#12653b!important}

/* Texto principal en tarjetas/superficies blancas */
html[data-theme="light"] .panel,
html[data-theme="light"] .card,
html[data-theme="light"] .insight-card,
html[data-theme="light"] .yt-card,
html[data-theme="light"] .spx-fold,
html[data-theme="light"] .spx-fold-body,
html[data-theme="light"] .spx-context-card,
html[data-theme="light"] .visual-chart-card,
html[data-theme="light"] .numeric-details,
html[data-theme="light"] .excursion-visual-card,
html[data-theme="light"] .excursion-explain-card,
html[data-theme="light"] .robot-live-box,
html[data-theme="light"] .earnings-feature,
html[data-theme="light"] .pulse-records,
html[data-theme="light"] .pulse-record-card,
html[data-theme="light"] .corr-panel,
html[data-theme="light"] .corr-advice{color:#202328!important}

html[data-theme="light"] .panel p,
html[data-theme="light"] .card p,
html[data-theme="light"] .insight-card p,
html[data-theme="light"] .yt-card p,
html[data-theme="light"] .spx-fold-body p,
html[data-theme="light"] .spx-context-card p,
html[data-theme="light"] .visual-chart-card p,
html[data-theme="light"] .numeric-details p,
html[data-theme="light"] .excursion-visual-card p,
html[data-theme="light"] .excursion-explain-card p,
html[data-theme="light"] .robot-live-box p,
html[data-theme="light"] .earnings-feature p,
html[data-theme="light"] .pulse-records p,
html[data-theme="light"] .pulse-record-card p,
html[data-theme="light"] .corr-panel p,
html[data-theme="light"] .corr-advice p{color:#3f4852!important}

html[data-theme="light"] .panel small,
html[data-theme="light"] .card small,
html[data-theme="light"] .insight-card small,
html[data-theme="light"] .yt-card small,
html[data-theme="light"] .spx-fold-body small,
html[data-theme="light"] .spx-context-card small,
html[data-theme="light"] .visual-chart-card small,
html[data-theme="light"] .numeric-details small,
html[data-theme="light"] .excursion-visual-card small,
html[data-theme="light"] .excursion-explain-card small,
html[data-theme="light"] .robot-live-box small,
html[data-theme="light"] .earnings-feature small,
html[data-theme="light"] .pulse-records small,
html[data-theme="light"] .pulse-record-card small,
html[data-theme="light"] .corr-panel small,
html[data-theme="light"] .corr-advice small{color:#4f5963!important}

/* Titulares que originalmente estaban forzados a blanco */
html[data-theme="light"] .featured-main h1,
html[data-theme="light"] .featured-main h1 span,
html[data-theme="light"] .panel-title h2,
html[data-theme="light"] .panel-title h3,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .section-heading h3,
html[data-theme="light"] .ticker-strip b,
html[data-theme="light"] .hero-meta strong,
html[data-theme="light"] .global-search-company strong{color:#17191c!important}

/* Buscador: era uno de los casos de blanco sobre blanco */
html[data-theme="light"] .global-search-option{background:transparent!important;color:#17191c!important}
html[data-theme="light"] .global-search-option:hover,
html[data-theme="light"] .global-search-option:focus{background:#eef1f4!important;color:#17191c!important}
html[data-theme="light"] .global-search-company small{color:#505a64!important}
html[data-theme="light"] .global-search-ticker{background:#eef1f4!important;color:#724b00!important}

/* Tablas y controles */
html[data-theme="light"] table,
html[data-theme="light"] table td,
html[data-theme="light"] table th{color:#202328!important}
html[data-theme="light"] table thead th{color:#424b55!important}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea{color:#17191c!important;background:#fff!important}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{color:#66707b!important;opacity:1!important}

/* Texto secundario: gris más oscuro para WCAG sobre blanco */
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .hero-text,
html[data-theme="light"] .hero-meta,
html[data-theme="light"] .ticker-strip span,
html[data-theme="light"] .panel-title span,
html[data-theme="light"] .section-heading>span,
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .consensus-text,
html[data-theme="light"] .legend,
html[data-theme="light"] .robots-help,
html[data-theme="light"] .disclaimer,
html[data-theme="light"] .corr-note,
html[data-theme="light"] .corr-muted,
html[data-theme="light"] footer{color:#4f5963!important}

/* Gráfica de precio en claro: ejes/horas visibles */
html[data-theme="light"] .price-time-axis,
html[data-theme="light"] .price-time-axis span,
html[data-theme="light"] .price-time-axis span.full-hour,
html[data-theme="light"] .price-time-axis span.half-hour,
html[data-theme="light"] .chart-y,
html[data-theme="light"] .price-day{color:#46515c!important;text-shadow:none!important}
html[data-theme="light"] .price-grid-30 i{background:rgba(40,48,56,.14)!important}
html[data-theme="light"] .price-grid-30 i.full-hour{background:rgba(40,48,56,.24)!important}
html[data-theme="light"] .price-grid-30 i.half-hour{background:rgba(40,48,56,.10)!important}

/* Enlaces legibles en claro */
html[data-theme="light"] a:not(.guide-button):not(.site-page-chip){text-decoration-color:rgba(11,89,173,.38)}

/* Mantener texto blanco solo donde el fondo realmente es oscuro/coloreado */
html[data-theme="light"] .guide-button,
html[data-theme="light"] .wm-status,
html[data-theme="light"] .site-page-chip.active{color:#fff!important}

/* =========================================================
   SPX PULSE V16_28 — CONTRASTE PAGESPEED / WCAG MODO CLARO
   Corrige los elementos señalados por Lighthouse en PULSE.
   Solo afecta al modo claro.
   ========================================================= */
html[data-theme="light"] .yt-brand-mark{
  background:#0b4f6c!important;
  color:#fff!important;
  border:1px solid #083d53!important;
}
html[data-theme="light"] .gauge-left{
  color:#8f1d14!important;
  font-weight:800!important;
}
html[data-theme="light"] .gauge-center{
  color:#3d4752!important;
  font-weight:800!important;
}
html[data-theme="light"] .gauge-right{
  color:#0b6b3a!important;
  font-weight:800!important;
}
html[data-theme="light"] .consensus-panel,
html[data-theme="light"] .consensus-panel .panel-title,
html[data-theme="light"] .consensus-panel .panel-title h2,
html[data-theme="light"] .consensus-panel .panel-title span,
html[data-theme="light"] .consensus-panel .signal,
html[data-theme="light"] #signal{
  color:#202328!important;
}
html[data-theme="light"] .pulse-explainer strong{
  color:#7a4d00!important;
}
html[data-theme="light"] .pulse-explainer p{
  color:#3f4852!important;
}
html[data-theme="light"] .spx-context-card .context-eyebrow,
html[data-theme="light"] .earnings-feature .context-eyebrow,
html[data-theme="light"] .earnings-feature .section-heading>span{
  color:#4f5963!important;
}
html[data-theme="light"] .spx-context-card h2,
html[data-theme="light"] .earnings-feature h2,
html[data-theme="light"] .earnings-feature .section-heading h2{
  color:#17191c!important;
}
html[data-theme="light"] .consensus-impulse-head small,
html[data-theme="light"] .consensus-impulse-note{
  color:#4f5963!important;
}
html[data-theme="light"] .consensus-impulse p{
  color:#3f4852!important;
}
html[data-theme="light"] .consensus-impulse[data-state="strengthening"] .consensus-impulse-head strong,
html[data-theme="light"] .consensus-impulse[data-state="bull-pressure"] .consensus-impulse-head strong{
  color:#0b6b3a!important;
}
html[data-theme="light"] .consensus-impulse[data-state="weakening"] .consensus-impulse-head strong,
html[data-theme="light"] .consensus-impulse[data-state="bear-pressure"] .consensus-impulse-head strong{
  color:#8f1d14!important;
}
html[data-theme="light"] .consensus-impulse[data-state="stable"] .consensus-impulse-head strong{
  color:#7a4d00!important;
}
html[data-theme="light"] .consensus-impulse-head>b{
  background:#e7ebef!important;
  color:#202328!important;
  border-color:#cbd2d9!important;
}
html[data-theme="light"] .feature-market-chip,
html[data-theme="light"] .feature-market-chip span,
html[data-theme="light"] .feature-market-chip b{
  color:#202328!important;
}
html[data-theme="light"] .earnings-result-badge,
html[data-theme="light"] .earnings-result-badge.pending,
html[data-theme="light"] .earnings-result-badge.upcoming{
  color:#202328!important;
}

/* V16_40 · avisos de festivos y cierres anticipados en Mercados mundiales */
.wm-holiday-notice{margin-top:8px;padding:9px 10px;border:1px solid rgba(224,168,91,.35);border-radius:9px;background:rgba(224,168,91,.08);max-width:360px;text-align:left}.wm-holiday-notice[hidden]{display:none!important}.wm-holiday-notice span,.wm-holiday-notice strong,.wm-holiday-notice small{display:block}.wm-holiday-notice span{color:#e0a85b;font-size:.58rem;font-weight:900;letter-spacing:.055em}.wm-holiday-notice strong{margin-top:3px;color:#f1f1f1;font-size:.71rem;line-height:1.3}.wm-holiday-notice small{margin-top:4px;color:#9ba6b1;font-size:.58rem;line-height:1.35}.wm-holiday-notice.closed{border-color:rgba(255,93,93,.30);background:rgba(255,93,93,.055)}.wm-holiday-notice.closed span{color:#ff7f7f}.wm-holiday-notice.early{border-color:rgba(224,168,91,.38);background:rgba(224,168,91,.075)}.wm-holiday-badge{margin:0 0 8px;padding:5px 7px;border-radius:6px;font-size:.58rem;font-weight:850;line-height:1.3}.wm-holiday-badge.closed{background:rgba(255,93,93,.10);color:#ff8f8f;border:1px solid rgba(255,93,93,.20)}.wm-holiday-badge.early{background:rgba(224,168,91,.10);color:#efbf75;border:1px solid rgba(224,168,91,.22)}html[data-theme="light"] .wm-holiday-notice{background:#fff8eb!important;border-color:#e5c887!important}html[data-theme="light"] .wm-holiday-notice.closed{background:#fff3f1!important;border-color:#efc2bb!important}html[data-theme="light"] .wm-holiday-notice strong{color:#17191c!important}html[data-theme="light"] .wm-holiday-notice small{color:#626a73!important}html[data-theme="light"] .wm-holiday-badge.closed{background:#fff3f1;color:#a73228;border-color:#efc2bb}html[data-theme="light"] .wm-holiday-badge.early{background:#fff8eb;color:#8a5b00;border-color:#e5c887}@media(max-width:760px){.wm-holiday-notice{max-width:none}.wm-holiday-notice strong{font-size:.68rem}}

/* V16_41 · festivos visibles en la tarjeta compacta de Mercados ahora */
.feature-market-special{display:block;margin-top:2px;font-size:.39rem;line-height:1.15;white-space:normal;overflow-wrap:anywhere;color:#aeb7bf}
.feature-market-special.holiday{color:#dca85a}
.feature-market-special.early{color:#d9b86c}
html[data-theme="light"] .feature-market-special{color:#66717a}
html[data-theme="light"] .feature-market-special.holiday,html[data-theme="light"] .feature-market-special.early{color:#8a5b16}

/* V49 · contador visual global de actualización (el segundo solo anima la UI; no consulta datos) */
.spx-refresh-timer{position:absolute;right:22px;bottom:18px;z-index:8;display:flex;align-items:center;gap:12px;padding:9px 14px 9px 9px;border:1px solid rgba(255,255,255,.20);border-radius:18px;background:rgba(8,12,17,.62);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 28px rgba(0,0,0,.22);color:#fff;min-width:210px}
.spx-refresh-ring{position:relative;width:52px;height:52px;display:grid;place-items:center;flex:0 0 52px}.spx-refresh-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.spx-refresh-ring circle{fill:none;stroke-width:3}.spx-refresh-track{stroke:rgba(255,255,255,.16)}.spx-refresh-progress{stroke:currentColor;stroke-linecap:round;transition:stroke-dashoffset .8s linear}.spx-refresh-ring strong{font-size:12px;letter-spacing:.03em;font-variant-numeric:tabular-nums}.spx-refresh-copy{display:flex;flex-direction:column;gap:3px}.spx-refresh-copy b{font-size:10px;letter-spacing:.12em}.spx-refresh-copy span{font-size:11px;color:rgba(255,255,255,.72)}.spx-refresh-timer[data-state="soon"]{box-shadow:0 8px 28px rgba(0,0,0,.22),0 0 0 1px rgba(255,255,255,.08)}.spx-refresh-timer[data-state="offline"]{opacity:.78}.spx-refresh-timer[data-state="offline"] .spx-refresh-copy b{font-size:0}.spx-refresh-timer[data-state="offline"] .spx-refresh-copy b:after{content:"ESPERANDO DATOS";font-size:10px;letter-spacing:.12em}
html[data-theme="light"] .spx-refresh-timer{background:rgba(255,255,255,.80);border-color:rgba(20,30,40,.15);color:#17202a;box-shadow:0 8px 24px rgba(20,30,40,.14)}html[data-theme="light"] .spx-refresh-track{stroke:rgba(20,30,40,.13)}html[data-theme="light"] .spx-refresh-copy span{color:rgba(20,30,40,.65)}
@media(max-width:700px){.spx-refresh-timer{right:10px;bottom:10px;min-width:0;padding:7px 9px}.spx-refresh-copy span{display:none}.spx-refresh-ring{width:44px;height:44px;flex-basis:44px}}

/* SPX V51 - contador global 5 min */
.spx-refresh-timer{position:absolute;right:18px;bottom:14px;z-index:8;display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid rgba(255,255,255,.20);border-radius:14px;background:rgba(8,12,16,.72);backdrop-filter:blur(10px);color:#fff;box-shadow:0 8px 22px rgba(0,0,0,.28);pointer-events:none}
.spx-refresh-ring{position:relative;width:48px;height:48px;display:grid;place-items:center}.spx-refresh-ring svg{position:absolute;inset:0;width:48px;height:48px;transform:rotate(-90deg)}.spx-refresh-track,.spx-refresh-progress{fill:none;stroke-width:3}.spx-refresh-track{stroke:rgba(255,255,255,.16)}.spx-refresh-progress{stroke:#62d8ff;stroke-linecap:round;transition:stroke-dashoffset .6s linear}.spx-refresh-ring strong{position:relative;font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.02em}.spx-refresh-copy{display:flex;flex-direction:column;gap:2px;min-width:150px}.spx-refresh-copy b{font-size:9px;letter-spacing:.12em;color:#dceaf1}.spx-refresh-copy span{font-size:10px;color:#b8c5cc}.spx-refresh-timer[data-state="soon"] .spx-refresh-progress{stroke:#f0b85a}.spx-refresh-timer[data-state="offline"] .spx-refresh-progress{stroke:#ff6961}@media(max-width:700px){.spx-refresh-timer{right:8px;bottom:8px;padding:6px 8px}.spx-refresh-copy{display:none}}
html[data-theme="light"] .spx-refresh-timer{background:rgba(20,24,28,.76);color:#fff}


/* === V79 · Navegación activa claramente visible === */
body.spx-multipage .site-page-link,
body.spx-multipage .site-page-chip{
  position:relative;
  transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.spx-multipage .site-page-link.active{
  background:linear-gradient(90deg,rgba(245,178,52,.24),rgba(245,178,52,.08))!important;
  color:#ffd66b!important;
  border:1px solid rgba(245,178,52,.42)!important;
  box-shadow:inset 3px 0 0 #f5b234,0 7px 22px rgba(245,178,52,.12)!important;
  font-weight:850!important;
}
body.spx-multipage .site-page-link.active .side-icon{
  color:#ffc64f!important;
  filter:drop-shadow(0 0 5px rgba(245,178,52,.38));
}
body.spx-multipage .site-page-chip.active{
  background:linear-gradient(135deg,#ffd978,#e9a72d)!important;
  color:#17120a!important;
  border:1px solid #ffe7a6!important;
  box-shadow:0 5px 16px rgba(245,178,52,.28),inset 0 1px 0 rgba(255,255,255,.48)!important;
  font-weight:900!important;
  transform:translateY(-1px);
  pointer-events:none;
}
body.spx-multipage .site-page-chip.active::after{
  content:"";
  position:absolute;
  left:18%;right:18%;bottom:-6px;height:3px;border-radius:999px;
  background:#f5b234;
  box-shadow:0 0 9px rgba(245,178,52,.72);
}
html[data-theme="light"] body.spx-multipage .site-page-link.active{
  background:linear-gradient(90deg,#fff1c9,#fff9e9)!important;
  color:#7a4b00!important;
  border-color:#eab64f!important;
  box-shadow:inset 3px 0 0 #e5a72c,0 7px 20px rgba(164,112,16,.12)!important;
}
html[data-theme="light"] body.spx-multipage .site-page-link.active .side-icon{color:#b87500!important}
html[data-theme="light"] body.spx-multipage .site-page-chip.active{
  background:linear-gradient(135deg,#ffd978,#e9a72d)!important;
  color:#2a1b00!important;
  border-color:#d89b24!important;
  box-shadow:0 5px 16px rgba(176,119,13,.22),inset 0 1px 0 rgba(255,255,255,.65)!important;
}
