/* Eagle Portfolio Stocks V024 — scoped visual overview */
.stocks-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:10px 0 12px}.stocks-tabs button{min-width:0;border:1px solid #16758c;border-radius:9px;background:#061925;padding:10px 1px;font-size:11px}.stocks-tabs button.active{color:#0ff0ff;border-color:#0ff0ff;box-shadow:inset 0 -2px #0ff0ff,0 0 9px #00d9ff44;font-weight:750}.stocks-content{padding-bottom:18px}.stocks-panel{min-width:0;overflow:hidden;border:1px solid #0bd9ee;border-radius:13px;background:linear-gradient(145deg,#082332,#03121e);box-shadow:inset 0 1px #ffffff15,0 0 8px #00c6e31b}.stocks-panel h2{font-size:13px;color:#ffcb52;margin:0 0 9px;font-weight:800}.stocks-hero{height:145px;position:relative;margin-bottom:9px;border-color:#ffcb52;background:linear-gradient(90deg,#03111f 0%,#03111fe8 27%,#03111f33 60%,transparent 100%),url('/assets/eagle-stocks-overview-power-flight.webp') right center/auto 100% no-repeat}.stocks-hero-copy{position:relative;padding:17px 14px;max-width:68%}.stocks-hero-copy span{font-size:10px;letter-spacing:2px;font-weight:800;color:#ffcb52}.stocks-hero-copy h2{font-size:21px;color:#fff;margin:10px 0 5px}.stocks-hero-copy strong{display:block;font-size:29px;line-height:1.1}.stocks-hero-copy small{display:block;margin-top:7px;color:#b6c9d4;font-size:9px}.stocks-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:9px}.stocks-metric{height:86px;padding:10px 8px}.stocks-metric.gold{border-color:#e9b843}.stocks-metric.green{border-color:#2adb91}.stocks-metric.red{border-color:#ff6879}.stocks-metric-label{display:flex;gap:5px;align-items:flex-start;font-size:10px;font-weight:750;line-height:1.15}.stocks-metric-label span{color:#ffcb52;font-size:15px;line-height:13px}.stocks-metric strong{display:block;font-size:23px;margin-top:18px}.stocks-chart{padding:11px 10px;margin-bottom:9px;border-color:#e9b843}.stocks-chart-head{display:flex;justify-content:space-between;align-items:center;gap:6px}.stocks-chart-head h2{margin:0}.stocks-chart-head span{font-size:10px;color:#a8c1cc}.stocks-plot{height:145px;position:relative;margin:10px 0 9px;background:repeating-linear-gradient(to bottom,#0d455335 0 1px,transparent 1px 35px),repeating-linear-gradient(to right,#0d455326 0 1px,transparent 1px 56px);display:grid;place-items:center}.stocks-plot-message{color:#a8c1cc;text-align:center;font-size:11px;padding:0 12px}.stocks-periods{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.stocks-periods button{padding:8px 0;border-radius:8px;background:#061c29;border:1px solid #14647b;font-size:10px}.stocks-periods button.active{background:#0ad8eb;color:#001a25;border-color:#0ff0ff;font-weight:800}.stocks-two{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px}.stocks-donut-card,.stocks-health{padding:10px 8px;min-height:175px}.stocks-donut-body{display:flex;gap:6px;align-items:center;min-height:112px}.stocks-donut-empty{width:85px;height:85px;flex:0 0 85px;border:13px solid #0b5364;border-radius:50%;display:grid;place-items:center;color:#aec5d0;font-size:19px}.stocks-legend{min-width:0;flex:1}.stocks-legend>div{display:flex;align-items:center;gap:4px;margin-bottom:7px;font-size:8px;color:#b6cbd6}.stocks-legend span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}.stocks-legend b{font-size:9px}.stocks-dot{height:7px;width:7px;flex:0 0 7px;border-radius:50%;background:#00d9ff}.stocks-dot-1{background:#ffbf3b}.stocks-dot-2{background:#a64eff}.stocks-dot-3{background:#36dfae}.stocks-donut-card small,.stocks-health small{color:#93b0bd;font-size:9px}.stocks-health{text-align:center}.stocks-health h2{text-align:left}.stocks-gauge{width:132px;max-width:100%;height:73px;margin:19px auto 5px;border-radius:100px 100px 0 0;border:15px solid #10566a;border-bottom:0;display:flex;align-items:end;justify-content:center;font-size:18px;padding-bottom:3px;color:#b3c8d2}.stocks-performers{padding:12px;margin-bottom:9px;border-color:#e9b843}.stocks-performer-empty{min-height:66px;display:grid;place-items:center;color:#a7bdc8;font-size:11px;text-align:center}.stocks-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stocks-three .stocks-metric{height:83px}.stocks-note{color:#819eac;font-size:10px;line-height:1.5;margin:13px 4px 0}
@media(max-width:390px){.stocks-hero{height:133px}.stocks-hero-copy{padding:15px 12px}.stocks-hero-copy h2{font-size:19px}.stocks-metric{padding:9px 6px}.stocks-metric-label{font-size:9px}.stocks-donut-body{gap:3px}.stocks-donut-empty{width:70px;height:70px;flex-basis:70px;border-width:11px}.stocks-legend>div{font-size:7px}.stocks-health,.stocks-donut-card{padding:9px 6px}}

/* Stocks hero: use the approved Power Flight eagle, keep the left text area readable. */
.stocks-hero{background-color:#03111f;background-image:linear-gradient(90deg,#03111f 0%,#03111ff2 32%,#03111f6b 58%,#03111f00 100%),url('/assets/eagle-stocks-overview-power-flight.webp');background-position:center,right center;background-size:100% 100%,auto 100%;background-repeat:no-repeat;}

/* V025: dedicated image layer, independent of background shorthand rules. */
.stocks-hero{isolation:isolate;background:#03111f!important;}
.stocks-hero::before{content:"";position:absolute;inset:0;z-index:0;background-image:url("/assets/eagle-stocks-overview-power-flight.webp?v=025");background-position:right center;background-size:auto 100%;background-repeat:no-repeat;pointer-events:none;}
.stocks-hero::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#03111f 0%,#03111ff5 31%,#03111f6b 57%,transparent 100%);pointer-events:none;}
.stocks-hero-copy{z-index:1;}

/* V026 — seamless full-bleed eagle hero: no hard vertical image boundary. */
.stocks-hero::before{background-position:center center;background-size:cover;background-repeat:no-repeat;}
.stocks-hero::after{background:linear-gradient(90deg,#03111f 0%,#03111ffa 22%,#03111fe8 35%,#03111fa6 49%,#03111f3d 66%,transparent 83%);}
.stocks-hero-copy{max-width:68%;text-shadow:0 1px 3px #03111f;}

/* V035 — match the approved Dashboard eagle banner height. */
.stocks-hero{box-sizing:border-box!important;height:112px!important;min-height:112px!important;max-height:112px!important;overflow:hidden!important}
.stocks-hero-copy{padding:11px 12px!important}
.stocks-hero-copy h2{font-size:18px!important;margin:5px 0 3px!important}
.stocks-hero-copy strong{font-size:24px!important}
.stocks-hero-copy small{margin-top:3px!important}

/* V038 — Stocks Overview: Eagle 28. */
.stocks-hero::before{background-image:url('/assets/eagle-28.webp')!important;background-position:right center!important;background-size:cover!important}
