:root{--bg:#080917;--panel:#111325cc;--panel2:#171a31;--line:#262a44;--text:#f3f5ff;--muted:#8f98b8;--purple:#8b5cf6;--cyan:#22d3ee;--green:#18d47b;--red:#ff4d6d;--amber:#f5b84b;--blue:#60a5fa;--shadow:0 24px 80px rgba(0,0,0,.35)}
*{box-sizing:border-box}html,body{max-width:100%;min-height:100%;}body{margin:0;min-height:100vh;background:radial-gradient(900px 500px at 8% -10%,rgba(139,92,246,.35),transparent),radial-gradient(900px 500px at 88% 0%,rgba(34,211,238,.18),transparent),linear-gradient(180deg,#080917,#0c1020 45%,#070810);color:var(--text);font-family:Inter,'Noto Sans KR',system-ui,sans-serif}button,input,select{font:inherit}button{appearance:none;-webkit-appearance:none;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.065);color:var(--text);border-radius:11px;padding:8px 11px;cursor:pointer}button:hover{background:rgba(255,255,255,.12)}select option{background:#111325;color:#f3f5ff}p{color:var(--muted);margin:0;max-width:780px;line-height:1.55}.shell{max-width:1840px;margin:0 auto;padding:24px}.hero{display:flex;justify-content:space-between;gap:24px;align-items:stretch;margin-bottom:18px}.eyebrow{display:flex;align-items:center;gap:10px;color:#b9c0dc;font-size:13px;text-transform:uppercase;letter-spacing:.12em}.pulse-dot{width:9px;height:9px;border-radius:99px;background:var(--green);box-shadow:0 0 0 0 rgba(24,212,123,.8);animation:pulse 1.5s infinite}@keyframes pulse{70%{box-shadow:0 0 0 12px rgba(24,212,123,0)}}h1{font-size:46px;line-height:1.02;margin:12px 0 10px;letter-spacing:-1.8px}h1 span{background:linear-gradient(90deg,#fff,#a78bfa 45%,#22d3ee);-webkit-background-clip:text;background-clip:text;color:transparent}.status-card,.calendar-card,.panel{background:linear-gradient(180deg,rgba(24,27,51,.88),rgba(13,15,30,.92));border:1px solid rgba(139,151,190,.18);border-radius:22px;box-shadow:var(--shadow);backdrop-filter:blur(14px)}.status-card{min-width:330px;padding:22px}.clock{font-size:30px;font-weight:800;letter-spacing:-1px}.sub,.hint{color:var(--muted);font-size:13px}.source-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.source-badges span,.legend span{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);padding:6px 9px;border-radius:999px;color:#cbd4ef;font-size:12px}.market-regime{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.market-regime div{min-width:0;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px}.market-regime b{display:block;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.market-regime span{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.section-title{font-weight:800;color:#f3f5ff;letter-spacing:-.2px}.user-panel{margin:0 0 16px;padding:16px 18px}.user-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.profile-edit,.watch-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.profile-edit input,.watch-controls input,.watch-controls select,.row-group-select{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:var(--text);border-radius:10px;padding:8px 10px;outline:none}.profile-edit input:focus,.watch-controls input:focus,.watch-controls select:focus,.row-group-select:focus{border-color:rgba(34,211,238,.7);box-shadow:0 0 0 2px rgba(34,211,238,.12)}.watch-controls button,.watch-controls input,.watch-controls select{min-height:40px;height:40px;display:inline-flex;align-items:center}.watch-controls button{justify-content:center;padding:0 13px}.watch-controls input,.watch-controls select{padding:0 12px}.mini-btn,.filter-btn,.mode-btn,.monitor-tab{font-size:12px;line-height:1.15;white-space:nowrap}.mini-btn.accent{background:linear-gradient(90deg,rgba(139,92,246,.55),rgba(34,211,238,.35));border-color:rgba(167,139,250,.45)}.filter-btn.active,.mode-btn.active,.monitor-tab.active{border-color:rgba(34,211,238,.5);background:linear-gradient(90deg,rgba(139,92,246,.45),rgba(34,211,238,.23))}.watch-controls{margin-top:12px}.watch-controls #searchInput{min-width:190px}.row-actions{margin-top:7px;display:flex;gap:5px;align-items:center}.star-btn{width:28px;height:28px;border-radius:8px;padding:0;color:#8f98b8;font-size:16px;line-height:1}.star-btn.on{color:#facc15;background:rgba(250,204,21,.16);border-color:rgba(250,204,21,.45);text-shadow:0 0 10px rgba(250,204,21,.7)}.row-group-select{max-width:96px;padding:5px 6px;font-size:11px}#shareStatus a{color:#67e8f9}
.ticker-tape{margin:0 0 16px;padding:10px 14px;overflow:hidden}.ticker-track{display:flex;gap:10px;white-space:nowrap;overflow:auto}.tape-item{display:inline-flex;flex:0 0 auto;gap:6px;align-items:center;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.06);padding:7px 10px;font-size:12px}.top-strip{display:grid;grid-template-columns:1.4fr .9fr;gap:16px;margin:0 0 16px}.calendar-card{padding:16px}.calendar-card.wide{min-width:0}.event-row-list,.futures-list{margin-top:10px;display:flex;flex-direction:column;gap:8px}.holiday-line{margin-top:10px;border-top:1px solid rgba(255,255,255,.08);padding-top:9px}.grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px}.main-panel,.side{min-width:0}.panel{padding:16px}.side{display:flex;flex-direction:column;gap:16px}.panel-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px}.panel-head.compact{margin-bottom:8px}.mode-switch,.monitor-tabs{display:flex;gap:6px;flex-wrap:wrap}.monitor-tabs{margin:10px 0}.monitor-list{display:flex;flex-direction:column;gap:7px;max-height:390px;overflow:auto}.monitor-row{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);border-radius:12px;padding:9px 10px;cursor:pointer}.monitor-row:hover{background:rgba(255,255,255,.09);border-color:rgba(34,211,238,.35)}.monitor-row>div:first-child{display:flex;justify-content:space-between;gap:8px}.impact-box{margin-top:12px;border-top:1px solid rgba(255,255,255,.1);padding-top:10px;line-height:1.45}.impact-title{color:#f3f5ff;margin-bottom:8px}.impact-title a{color:#67e8f9;margin-left:8px}.impact-etf{border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:8px;margin:6px 0;background:rgba(0,0,0,.14)}.impact-etf span{color:var(--muted);font-size:12px}
.table-wrap{width:100%;overflow:auto;border:1px solid rgba(255,255,255,.1);border-radius:16px}table{width:100%;border-collapse:collapse;min-width:960px}th,td{padding:11px 10px;border-bottom:1px solid rgba(255,255,255,.08);text-align:right;vertical-align:middle}th{position:sticky;top:0;z-index:1;background:#15182d;color:#b8c1e0;font-size:12px;font-weight:700}th:nth-child(1),th:nth-child(2),td:nth-child(1),td:nth-child(2){text-align:left}tr.etf-row{cursor:pointer}tr.etf-row:hover{background:rgba(255,255,255,.045)}tr.etf-row.expanded{background:rgba(34,211,238,.06)}td b{font-weight:800}.pos{color:var(--green)}.neg{color:var(--red)}.flash{animation:flash .8s ease}.flash-up{animation:flashUp .9s ease}.flash-down{animation:flashDown .9s ease}@keyframes flash{0%{background:rgba(34,211,238,.18)}100%{background:transparent}}@keyframes flashUp{0%{background:rgba(24,212,123,.32);box-shadow:0 0 0 1px rgba(24,212,123,.45) inset}100%{background:transparent;box-shadow:none}}@keyframes flashDown{0%{background:rgba(255,77,109,.32);box-shadow:0 0 0 1px rgba(255,77,109,.45) inset}100%{background:transparent;box-shadow:none}}
.holdings{padding:14px;background:rgba(0,0,0,.16);border-radius:14px;overflow:auto}.cluster-note{margin-bottom:10px;color:#cbd4ef}.holding-grid{display:grid;grid-template-columns:minmax(190px,1.5fr) minmax(120px,.9fr) minmax(90px,.7fr) minmax(90px,.7fr) minmax(120px,.9fr) minmax(75px,.6fr) minmax(70px,.6fr) minmax(90px,.7fr);gap:8px;align-items:center;min-width:980px}.holding-grid.header{color:var(--muted);font-size:12px;font-weight:700;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:6px;margin-bottom:6px}.holding{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06)}.holding .num{text-align:right}.chips{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.research ul{margin:12px 0 0;padding-left:20px;color:#d5dcf5;line-height:1.6}.group-row{background:rgba(139,92,246,.08)}
@media(max-width:1200px){.grid{grid-template-columns:1fr}.ticker-track{white-space:normal}.monitor-list{max-height:260px}.side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.side .research{grid-column:1 / -1}}
@media(max-width:900px){.shell{padding:14px}.hero{flex-direction:column}h1{font-size:34px}.top-strip{grid-template-columns:1fr}.user-head{align-items:flex-start;flex-direction:column}.profile-edit,.watch-controls{width:100%}.profile-edit input,.watch-controls input{flex:1;min-width:150px}.side{display:flex}.table-wrap{overflow:auto}table{min-width:900px}}
@media(max-width:700px){html,body{overflow-x:hidden}.shell{padding:10px;width:100%;max-width:100%;overflow:hidden}.hero{gap:10px;margin-bottom:10px;align-items:stretch}.hero>*{min-width:0}.eyebrow{font-size:11px;letter-spacing:.08em;flex-wrap:wrap}h1{font-size:30px}.status-card{min-width:0;width:100%;padding:14px}.clock{font-size:24px}.market-regime{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.market-regime div:nth-child(3){grid-column:1 / -1}.market-regime div{padding:8px}.market-regime b{font-size:16px}.market-regime span{font-size:10px}.source-badges span{font-size:10px;padding:5px 7px}.calendar-card,.panel{border-radius:16px;padding:12px;max-width:100%;overflow:hidden}.top-strip{gap:10px}.grid{display:block}.side{margin-top:12px}.user-head,.panel-head{align-items:stretch;flex-direction:column}#userInfo,p,.hint{max-width:100%;white-space:normal;word-break:normal;overflow-wrap:anywhere}.profile-edit{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;width:100%}.profile-edit input,.profile-edit button{min-width:0;width:100%}.watch-controls{display:grid;grid-template-columns:1fr;gap:6px;width:100%}.watch-controls button,.watch-controls input,.watch-controls select{width:100%;min-width:0}.watch-controls #searchInput,.watch-controls #groupName,.watch-controls #groupFilter,.watch-controls #shareStatus,.watch-controls #createGroupBtn{grid-column:1 / -1;width:100%;min-width:0}.mode-switch,.monitor-tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap}.ticker-track{white-space:nowrap;flex-wrap:nowrap;overflow-x:auto}.tape-item{flex:0 0 auto}.table-wrap{border:0;overflow:visible}table{min-width:0;width:100%;display:block}thead{display:none}tbody{display:block}tr.etf-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:10px 0;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.045)}tr.etf-row td{display:block;border:0;padding:0;text-align:left;min-width:0;overflow-wrap:anywhere}.etf-row td:nth-child(2){grid-column:1 / -1;order:-1}.etf-row td:nth-child(n+3)::before{display:block;color:var(--muted);font-size:10px;margin-bottom:2px}.etf-row td:nth-child(3)::before{content:'거래소 NAV'}.etf-row td:nth-child(4)::before{content:'추정(매도)'}.etf-row td:nth-child(5)::before{content:'추정(중간)'}.etf-row td:nth-child(6)::before{content:'추정(매수)'}.etf-row td:nth-child(7)::before{content:'괴리'}.etf-row td:nth-child(8)::before{content:'스프레드'}.etf-row td:nth-child(9)::before{content:'커버'}.row-actions{flex-wrap:wrap}.row-group-select{max-width:120px}tr.detail{display:block}tr.detail td{display:block;border:0;padding:0;width:100%}.holdings{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.holding-grid{display:grid!important;grid-template-columns:180px 130px 92px 92px 120px 78px 70px 92px;min-width:854px}.holding-grid.header div:nth-child(n),.holding-grid .num:nth-child(n){display:block}.chips{grid-template-columns:repeat(5,1fr)}.monitor-list{max-height:300px}.group-row{display:block}.group-row td{display:block;border-radius:12px;margin:8px 0}}
@media(max-width:420px){.profile-edit{grid-template-columns:minmax(0,1fr)}.profile-edit button,.watch-controls button{width:100%}}

.fx-box{margin-top:10px;border-top:1px solid rgba(255,255,255,.08);padding-top:9px}.chart-btn{padding:4px 7px;font-size:11px;margin-top:4px}.heatmap-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.heat-cell,.health-row,.water-row{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);border-radius:10px;padding:8px}.heat-cell{display:grid;grid-template-columns:1fr auto;gap:4px}.heat-cell em,.health-row em{grid-column:1/-1;color:var(--muted);font-size:11px;font-style:normal}.health-list{display:flex;flex-direction:column;gap:7px;margin-top:10px}.health-row{display:grid;grid-template-columns:1fr auto;gap:4px}.waterfall{border:1px solid rgba(139,92,246,.22);background:rgba(139,92,246,.08);border-radius:12px;padding:10px;margin:10px 0}.water-row{display:grid;grid-template-columns:1fr auto;margin-top:6px;padding:6px 8px}.chart-modal[hidden]{display:none}.chart-modal{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.68);display:flex;align-items:center;justify-content:center;padding:18px}.chart-card{width:min(1100px,96vw);background:#0c0f20;border:1px solid rgba(255,255,255,.16);border-radius:18px;box-shadow:var(--shadow);padding:14px}.chart-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.chart-head>div:last-child{display:flex;gap:8px;align-items:center}.chart-head select{background:#111325;color:var(--text);border:1px solid rgba(255,255,255,.15);border-radius:10px;padding:7px}.chart-box{height:420px;min-height:420px}.chart-empty{display:flex;align-items:center;justify-content:center;height:100%}@media(max-width:700px){.heatmap-list{grid-template-columns:1fr}.chart-card{width:100%;height:92vh;overflow:auto}.chart-box{height:360px;min-height:360px}tr.etf-row{grid-template-columns:minmax(0,1fr) auto}.chart-head{align-items:flex-start;flex-direction:column}}

.home-shell{min-height:100vh}.home-hero{margin-top:6vh}.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-card{display:block;text-decoration:none;color:var(--text);background:linear-gradient(180deg,rgba(24,27,51,.88),rgba(13,15,30,.92));border:1px solid rgba(139,151,190,.18);border-radius:22px;padding:22px;box-shadow:var(--shadow);min-height:150px}.home-card:hover{border-color:rgba(34,211,238,.45);transform:translateY(-1px)}.home-card b{display:block;font-size:20px;margin-bottom:12px}.home-card span{color:var(--muted);line-height:1.5}.home-card.disabled{opacity:.65}@media(max-width:900px){.home-grid{grid-template-columns:1fr}.home-hero{margin-top:0}}


/* Research portal pages */
.top-nav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.top-nav a{color:var(--text);text-decoration:none;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);border-radius:999px;padding:8px 12px;font-size:13px}.top-nav a.active,.top-nav a:hover{border-color:rgba(34,211,238,.55);background:rgba(34,211,238,.12)}.portal-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.portal-card{position:relative;overflow:hidden}.portal-card em{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:11px;background:rgba(34,211,238,.12);border:1px solid rgba(34,211,238,.24);color:#67e8f9;font-style:normal;font-weight:800;margin-bottom:18px}.portal-card.primary{background:linear-gradient(180deg,rgba(68,52,130,.9),rgba(13,15,30,.96))}.research-layout{display:grid;grid-template-columns:420px minmax(0,1fr);gap:16px}.market-grid{display:grid;grid-template-columns:420px minmax(0,1fr);gap:16px}.wide-panel{grid-column:1 / -1}.post-list,.cluster-list{display:flex;flex-direction:column;gap:10px}.report-search{margin:0 0 12px}.report-search input{width:100%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:var(--text);border-radius:12px;padding:10px 12px;outline:none}.report-search input:focus{border-color:rgba(255,207,0,.55);box-shadow:0 0 0 2px rgba(255,207,0,.11)}.post-card,.cluster-card,.indicator-card,.news-card,.etf-detail,.holding-mini{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);border-radius:16px;padding:14px;color:var(--text);text-decoration:none}.post-card{cursor:pointer}.post-card.active,.cluster-card.active{border-color:rgba(34,211,238,.5);background:linear-gradient(90deg,rgba(139,92,246,.18),rgba(34,211,238,.08))}.post-card h3{margin:2px 0 8px}.post-card-head{display:flex;align-items:flex-start;gap:10px}.post-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:12px;background:rgba(255,207,0,.13);border:1px solid rgba(255,207,0,.3);font-size:19px;line-height:1}.post-date{font-size:12px;color:#67e8f9;font-weight:800}.mini-badge{display:inline-flex;align-items:center;margin-left:6px;padding:2px 6px;border-radius:999px;border:1px solid rgba(34,211,238,.35);background:rgba(34,211,238,.12);color:#dffbff;font-size:10px;text-transform:uppercase}.post-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.post-actions a{color:#e0f7ff;text-decoration:none;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:6px 9px;font-size:12px}.pdf-frame{width:100%;height:72vh;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#0b0e1e;margin-top:12px}.cluster-card{text-align:left;cursor:pointer}.cluster-card b{display:block;font-size:16px}.cluster-card span,.cluster-card em,.indicator-card span,.indicator-card em,.news-card span,.etf-detail summary span{display:block;color:var(--muted);font-size:12px;font-style:normal;margin-top:5px}.cluster-detail h3{margin:18px 0 10px}.common-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.holding-mini b{display:block;color:#f3f5ff}.holding-mini span{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.holding-mini em{display:block;color:#67e8f9;font-size:12px;font-style:normal;margin-top:6px}.etf-detail-list{display:flex;flex-direction:column;gap:8px}.etf-detail summary{cursor:pointer}.mini-holdings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}.mini-holdings div{display:grid;grid-template-columns:70px minmax(0,1fr) 60px;gap:6px;border-top:1px solid rgba(255,255,255,.06);padding-top:6px}.mini-holdings span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.mini-holdings em{text-align:right;color:#dbeafe;font-style:normal}.indicator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.indicator-card{min-height:150px}.indicator-card>div:first-child{display:flex;justify-content:space-between;gap:8px}.indicator-card strong{display:block;margin-top:8px}.spark{width:100%;height:58px;margin-top:10px}.spark path{fill:none;stroke-width:2.3}.spark path.up{stroke:var(--green)}.spark path.down{stroke:var(--red)}.spark.empty{display:flex;align-items:center;justify-content:center;color:var(--muted);background:rgba(0,0,0,.12);border-radius:10px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.news-card b{display:block;line-height:1.4}.viewer-panel{min-width:0}
@media(max-width:1300px){.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.research-layout,.market-grid{grid-template-columns:1fr}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.portal-grid,.indicator-grid,.common-grid,.mini-holdings,.news-grid{grid-template-columns:1fr}.pdf-frame{height:60vh}.mini-holdings div{grid-template-columns:58px minmax(0,1fr) 48px}.research-shell .hero{margin-top:0}.top-nav{overflow-x:auto;flex-wrap:nowrap}.top-nav a{white-space:nowrap}}

/* KB Market Maker brand refresh */
:root{--kb-yellow:#ffcf00;--kb-gold:#f7b500;--kb-dark:#15110a;--kb-navy:#12152b}
body{background:radial-gradient(920px 520px at 6% -10%,rgba(255,207,0,.24),transparent),radial-gradient(860px 520px at 88% 0%,rgba(34,211,238,.16),transparent),linear-gradient(180deg,#070811,#0d1020 45%,#07080e)}
h1 span{background:linear-gradient(90deg,#fff7c2,var(--kb-yellow) 42%,#67e8f9);-webkit-background-clip:text;background-clip:text;color:transparent}
.brand-logo{display:inline-flex;align-items:center;gap:3px;margin-right:2px;padding:5px 7px;border-radius:10px;background:linear-gradient(135deg,var(--kb-yellow),#fff2a8 58%,var(--kb-gold));color:#1b1604;box-shadow:0 8px 24px rgba(255,207,0,.2), inset 0 0 0 1px rgba(0,0,0,.14);font-weight:900;letter-spacing:-.04em;line-height:1}.brand-logo-thumb{min-width:34px;min-height:30px;justify-content:center;font-size:21px;letter-spacing:0;padding:4px 7px}.brand-logo b{font-size:14px}.brand-logo i{font-style:normal;font-size:10px;border-left:1px solid rgba(0,0,0,.24);padding-left:4px;letter-spacing:.02em}.eyebrow{color:#fff1a8}.pulse-dot{display:none}.status-card,.calendar-card,.panel,.home-card{border-color:rgba(255,207,0,.18);box-shadow:0 24px 80px rgba(0,0,0,.36),0 0 0 1px rgba(255,207,0,.05)}.clock{color:#fff4bd}.source-badges span,.legend span{border-color:rgba(255,207,0,.18);background:rgba(255,207,0,.075)}.top-nav a.active,.top-nav a:hover{border-color:rgba(255,207,0,.62);background:rgba(255,207,0,.12)}.portal-card em{background:rgba(255,207,0,.14);border-color:rgba(255,207,0,.34);color:#ffe578}.portal-card.primary{background:linear-gradient(180deg,rgba(91,73,20,.92),rgba(13,15,30,.96))}.home-card:hover{border-color:rgba(255,207,0,.48)}.post-card.active,.cluster-card.active{border-color:rgba(255,207,0,.5);background:linear-gradient(90deg,rgba(255,207,0,.15),rgba(34,211,238,.06))}.post-date,.holding-mini em{color:#ffe578}.mini-badge{border-color:rgba(255,207,0,.45);background:rgba(255,207,0,.13);color:#fff5bf}.mini-btn.accent,.filter-btn.active,.mode-btn.active,.monitor-tab.active{border-color:rgba(255,207,0,.5);background:linear-gradient(90deg,rgba(255,207,0,.26),rgba(34,211,238,.18))}

/* Homepage v2: scoped so dashboard/research pages keep their existing layout */
body.home-page{position:relative;overflow-x:hidden;background:radial-gradient(900px 540px at 12% -6%,rgba(255,207,0,.22),transparent 62%),radial-gradient(760px 520px at 92% 4%,rgba(34,211,238,.16),transparent 66%),linear-gradient(180deg,#070812 0%,#0b1020 48%,#05060d 100%);font-feature-settings:"cv01","ss03"}.mobile-break{display:none}
.home-page:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(180deg,rgba(0,0,0,.78),transparent 72%)}
.home-orb{position:fixed;border-radius:999px;filter:blur(8px);opacity:.72;pointer-events:none}.home-orb-a{width:360px;height:360px;left:-130px;top:140px;background:radial-gradient(circle,rgba(255,207,0,.12),transparent 64%)}.home-orb-b{width:420px;height:420px;right:-150px;bottom:80px;background:radial-gradient(circle,rgba(34,211,238,.11),transparent 68%)}
.home-page .home-shell{position:relative;z-index:1;max-width:1500px;padding:22px 24px 44px}.home-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:54px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(8,10,22,.56);backdrop-filter:blur(18px);box-shadow:0 20px 70px rgba(0,0,0,.24)}.home-brand,.home-nav-links a{color:var(--text);text-decoration:none}.home-brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.02em}.home-nav-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.home-nav-links a{padding:8px 11px;border-radius:999px;color:#cbd4ef;font-size:13px}.home-nav-links a:hover{background:rgba(255,207,0,.1);color:#fff6c5}
.home-hero-v2{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.55fr);align-items:end;gap:28px;margin-bottom:22px}.home-copy{min-width:0}.home-eyebrow{margin-bottom:15px;text-transform:uppercase;letter-spacing:.15em;font-size:12px}.home-page h1{max-width:1040px;margin:0 0 18px;font-size:clamp(42px,5.35vw,76px);line-height:.98;letter-spacing:-.06em;font-weight:800}.home-copy p{max-width:820px;color:#bac4e5;font-size:17px;line-height:1.72}.home-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.home-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border:1px solid rgba(255,255,255,.11);border-radius:12px;color:#f8fbff;text-decoration:none;background:rgba(255,255,255,.045);font-weight:700}.home-cta.primary{color:#1d1704;background:linear-gradient(135deg,var(--kb-yellow),#fff0a8);border-color:rgba(255,207,0,.68);box-shadow:0 16px 36px rgba(255,207,0,.13)}.home-cta:hover{transform:translateY(-1px);border-color:rgba(255,207,0,.48)}
.market-console{position:relative;overflow:hidden;padding:22px;border:1px solid rgba(255,207,0,.18);border-radius:26px;background:linear-gradient(180deg,rgba(22,25,48,.84),rgba(8,10,22,.94));box-shadow:0 28px 90px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05)}.market-console:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,207,0,.11),transparent 34%,rgba(34,211,238,.08));pointer-events:none}.console-head,.console-grid,.home-sources{position:relative}.console-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.console-kicker{display:block;margin-bottom:5px;color:#8f98b8;font-size:11px;letter-spacing:.14em;text-transform:uppercase}.console-head strong{display:block;color:#fff5c4;font-size:34px;letter-spacing:-.05em}.live-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid rgba(24,212,123,.24);border-radius:999px;background:rgba(24,212,123,.09);color:#bcffd9;font-size:12px;font-weight:700}.live-pill i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 16px rgba(24,212,123,.9)}.console-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.console-grid div{padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.04)}.console-grid span,.console-grid em{display:block;color:#8f98b8;font-size:11px;font-style:normal}.console-grid b{display:block;margin:4px 0;color:#f6f8ff;font-size:16px}.home-sources{margin-top:16px}
.home-page .home-grid-v2{grid-template-columns:1.15fr repeat(4,1fr);gap:14px}.home-page .home-card{position:relative;display:flex;flex-direction:column;min-height:216px;padding:22px;border-radius:24px;background:linear-gradient(180deg,rgba(22,25,48,.78),rgba(9,11,24,.92));box-shadow:0 24px 78px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04);transition:transform .18s ease,border-color .18s ease,background .18s ease}.home-page .home-card:after{content:"";position:absolute;inset:auto 18px 16px 18px;height:1px;background:linear-gradient(90deg,rgba(255,207,0,.42),transparent)}.home-page .home-card.primary{background:linear-gradient(160deg,rgba(94,75,17,.93),rgba(15,17,34,.95) 58%,rgba(9,11,24,.96))}.home-page .home-card:hover{transform:translateY(-4px);background:linear-gradient(180deg,rgba(28,32,59,.88),rgba(10,12,25,.95))}.home-page .home-card b{font-size:22px;letter-spacing:-.04em}.home-page .home-card span{display:block;color:#aeb8d9;font-size:14px}.home-page .home-card strong{display:block;margin-top:auto;padding-top:18px;color:#fff2a8;font-size:12px;letter-spacing:.02em}
@media(max-width:1200px){.home-hero-v2{grid-template-columns:1fr}.home-page .home-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.home-page .home-card.primary{grid-column:1 / -1}}
@media(max-width:700px){.home-page .home-shell{padding:10px 10px 28px}.home-nav{margin-bottom:28px;align-items:flex-start;flex-direction:column;border-radius:16px}.home-nav-links{width:100%;overflow-x:auto;flex-wrap:nowrap}.home-nav-links a{white-space:nowrap}.home-hero-v2{gap:16px;margin-bottom:14px}.mobile-break{display:inline}.home-page h1{font-size:clamp(36px,11vw,45px);line-height:.99;letter-spacing:-.055em}.home-copy p{font-size:15px;line-height:1.68}.home-actions{margin-top:18px}.home-cta{width:100%}.market-console{padding:15px;border-radius:20px}.console-head strong{font-size:28px}.console-grid{grid-template-columns:1fr}.home-page .home-grid-v2{grid-template-columns:1fr;gap:10px}.home-page .home-card{min-height:184px;padding:20px}.home-page .home-card strong{bottom:21px}}
/* ETF PDF matching + compact macro/holiday overrides */
.top-strip{grid-template-columns:minmax(0,1.15fr) minmax(260px,.62fr) minmax(220px,.5fr);gap:10px;margin-bottom:10px}.calendar-card.compact-cal{padding:12px 14px}.calendar-card.compact-cal .event-row-list{margin-top:7px;gap:5px}.event.compact{padding:6px 0}.event.compact b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event.compact span{font-size:12px}.holiday-line,.fx-box{margin-top:7px;padding-top:7px}.holding-grid{grid-template-columns:minmax(210px,1.55fr) minmax(88px,.62fr) minmax(74px,.5fr) minmax(92px,.62fr) minmax(118px,.75fr) minmax(64px,.45fr) minmax(68px,.45fr) minmax(102px,.62fr);min-width:900px}.holdings{max-height:70vh}.holding{padding:6px 0}@media(max-width:1200px){.top-strip{grid-template-columns:1fr 1fr}.top-strip .calendar-card.wide{grid-column:1 / -1}}@media(max-width:700px){.top-strip{grid-template-columns:1fr;gap:8px;margin-bottom:8px}.calendar-card.compact-cal{padding:10px 11px}.holdings{max-height:68vh}}
/* ETFNow-inspired iNAV detail cards */
.inav-panel{display:grid;grid-template-columns:minmax(250px,.75fr) 1.25fr;gap:12px;margin:8px 0 12px;padding:14px;border:1px solid rgba(255,207,0,.2);border-radius:18px;background:linear-gradient(135deg,rgba(255,207,0,.10),rgba(34,211,238,.07) 45%,rgba(255,255,255,.045));box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.inav-main{display:flex;flex-direction:column;gap:4px}.inav-kicker{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#facc15}.inav-main b{font-size:34px;letter-spacing:-.04em}.inav-main em{font-style:normal;font-size:18px;font-weight:800}.inav-main small{color:var(--muted);line-height:1.45}.inav-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inav-metrics div,.contrib-pill,.holding-card{border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(5,7,18,.34);padding:10px}.inav-metrics span,.holding-stats span{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.inav-metrics b{font-size:14px}.detail-title{margin:13px 0 8px;font-size:13px;font-weight:900;color:#f3f5ff}.contrib-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.contrib-pill{display:grid;grid-template-columns:auto auto;gap:3px 8px;align-items:center}.contrib-pill b{font-size:13px}.contrib-pill span{font-weight:900;text-align:right}.contrib-pill em{grid-column:1/-1;color:var(--muted);font-style:normal;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.holding-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.holding-card{padding:12px}.holding-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.holding-head b{display:block;font-size:14px}.holding-head span{display:block;margin-top:2px;color:var(--muted);font-size:11px}.weight-bar{height:6px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:10px 0}.weight-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--kb-yellow),#22d3ee)}.holding-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.holding-stats b{font-size:13px}.pos{color:var(--green)!important}.neg{color:var(--red)!important}.neu{color:var(--muted)!important}@media(max-width:1100px){.inav-panel,.holding-cards{grid-template-columns:1fr}.holding-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.inav-metrics{grid-template-columns:1fr}.inav-main b{font-size:28px}}
/* Expanded ETF detail should grow naturally, not clip constituent cards */
tr.detail .holdings{max-height:none!important;overflow:visible!important}
tr.detail td{overflow:visible}
/* ETF constituent real-time heatmap */
.holding-heatmap{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 14px;overflow:visible;max-width:760px}.heat-tile{min-width:150px;min-height:104px;flex-shrink:0;border-radius:16px;padding:11px;border:1px solid rgba(255,255,255,.10);background:rgba(148,163,184,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);transition:transform .18s ease, box-shadow .18s ease, background .18s ease}.heat-tile:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08)}.heat-tile.pos{background:linear-gradient(135deg,rgba(34,197,94,.23),rgba(34,197,94,.06));border-color:rgba(34,197,94,.28)}.heat-tile.neg{background:linear-gradient(135deg,rgba(248,113,113,.24),rgba(248,113,113,.06));border-color:rgba(248,113,113,.30)}.heat-tile.neu{background:linear-gradient(135deg,rgba(148,163,184,.16),rgba(148,163,184,.04))}.heat-top,.heat-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.heat-top b{font-size:15px}.heat-top span{font-size:12px;color:var(--muted);font-weight:800}.heat-tile strong{display:block;margin:8px 0 12px;font-size:12px;line-height:1.25;min-height:30px;color:#f8fafc;overflow:visible;white-space:normal}.heat-bottom span{font-weight:900;font-size:16px}.heat-bottom em{font-style:normal;font-weight:900}.heat-tile.flash-up{animation:heatPulseUp .7s ease}.heat-tile.flash-down{animation:heatPulseDown .7s ease}@keyframes heatPulseUp{0%{box-shadow:0 0 0 0 rgba(34,197,94,.75);filter:brightness(1.45)}100%{box-shadow:0 0 0 18px rgba(34,197,94,0);filter:brightness(1)}}@keyframes heatPulseDown{0%{box-shadow:0 0 0 0 rgba(248,113,113,.75);filter:brightness(1.45)}100%{box-shadow:0 0 0 18px rgba(248,113,113,0);filter:brightness(1)}}@media(max-width:700px){.heat-tile{flex-basis:calc(50% - 8px)!important;min-width:0}.heat-bottom{align-items:flex-start;flex-direction:column;gap:2px}}

/* ETFNow-style Plotly treemap */
.plotly-treemap{width:100%;height:300px;min-height:260px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(5,7,18,.28);overflow:hidden;margin:8px 0 0}
.plotly-treemap .main-svg{border-radius:16px}
.tm-legend{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:8px 0 0;color:var(--muted);font-size:11px}.tm-legend span{border:1px solid rgba(255,255,255,.10);border-radius:999px;background:rgba(255,255,255,.045);padding:5px 8px}
@media(max-width:700px){.plotly-treemap{height:260px}}


/* dashboard login/nav/marquee refinements */
.dashboard-nav{margin:0 0 12px}.auth-box{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.auth-box input{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:var(--text);border-radius:10px;padding:8px 10px;outline:none}.home-page .common-nav{justify-content:center;margin-bottom:18px}.login-gate-prominent{max-width:880px;margin:0 auto 28px;padding:30px 34px;text-align:center;display:grid;justify-items:center;gap:20px;border:1.5px solid rgba(255,207,0,.78);background:linear-gradient(180deg,rgba(255,207,0,.13),rgba(22,25,48,.82) 42%,rgba(8,10,22,.92));box-shadow:0 0 0 1px rgba(255,207,0,.18) inset,0 24px 88px rgba(0,0,0,.42),0 0 46px rgba(255,207,0,.16);border-radius:30px}.login-gate-prominent .section-title{font-size:26px;color:#fff7c2}.login-gate-prominent #homeAuthInfo{font-size:15px;color:#d9def4}.home-auth-box{justify-content:center;gap:12px}.home-auth-box input{min-width:220px;padding:14px 16px;border-radius:14px;font-size:16px;border-color:rgba(255,207,0,.28);background:rgba(255,255,255,.075)}.home-auth-box .mini-btn{padding:14px 22px;border-radius:14px;font-size:16px;font-weight:800}.home-hero-compact{display:block;max-width:980px;margin:0 auto 22px;text-align:center}.home-hero-compact .home-copy{margin:0 auto}.home-hero-compact .home-eyebrow{margin-bottom:12px}.home-hero-compact p{margin-left:auto;margin-right:auto}.ticker-tape{padding:0;overflow:hidden}.ticker-viewport{overflow:hidden;padding:10px 0}.ticker-track{display:inline-flex;width:max-content;gap:10px;white-space:nowrap;overflow:visible;animation:tapeFlow 38s linear infinite;padding-left:100%}.ticker-tape:hover .ticker-track{animation-play-state:paused}@keyframes tapeFlow{from{transform:translateX(0)}to{transform:translateX(-50%)}}.tape-item.is-etf{border-color:rgba(255,207,0,.95);box-shadow:0 0 0 1px rgba(255,207,0,.22),0 0 18px rgba(255,207,0,.12);background:rgba(255,207,0,.09)}.futures-list{max-height:360px;overflow-y:auto;scrollbar-width:none}.futures-list::-webkit-scrollbar{width:0}.futures-list:hover{scrollbar-width:thin}.futures-list:hover::-webkit-scrollbar{width:7px}.futures-list:hover::-webkit-scrollbar-thumb{background:rgba(255,207,0,.35);border-radius:999px}.group-toggle{padding:4px 8px;margin-right:8px;font-size:11px}.group-row td{text-align:left!important;color:#fff4bd}
@media(max-width:700px){.auth-box{display:grid;grid-template-columns:1fr;width:100%}.auth-box input,.auth-box button{width:100%}.ticker-track{animation-duration:48s}}

/* Dashboard data loading progress */
.load-progress{position:fixed;left:50%;top:14px;z-index:1200;transform:translateX(-50%);width:min(560px,calc(100vw - 24px));padding:13px 15px;border:1.5px solid rgba(255,207,0,.72);border-radius:16px;background:linear-gradient(180deg,rgba(18,21,43,.96),rgba(8,10,22,.96));box-shadow:0 20px 70px rgba(0,0,0,.42),0 0 34px rgba(255,207,0,.16)}
.load-progress-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px;color:#f5f7ff;font-size:14px;font-weight:900}
.load-progress-top b{color:#fff4bd;font-size:17px;font-variant-numeric:tabular-nums}
.load-progress-bar{height:10px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.10);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.load-progress-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--kb-yellow),#22d3ee);box-shadow:0 0 18px rgba(255,207,0,.36);transition:width .24s ease}
.common-nav.top-nav{gap:14px;margin-bottom:20px}.common-nav.top-nav a{padding:12px 18px;font-size:16px;font-weight:900;border-radius:14px}
@media(max-width:700px){.common-nav.top-nav{gap:8px}.common-nav.top-nav a{padding:10px 13px;font-size:14px}.load-progress{top:8px}}

/* Side-panel overflow cleanup + nicer realtime cards */
.side,.side .panel,.futures-list,.monitor-list{min-width:0;max-width:100%;overflow-x:hidden}
.stock-monitor{overflow:hidden}.monitor-list{max-height:390px;padding-right:2px;scrollbar-width:none}.monitor-list::-webkit-scrollbar{width:0;height:0}.monitor-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px 13px;border-radius:15px;background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,207,0,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.monitor-row:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:99px;background:linear-gradient(180deg,var(--kb-yellow),#22d3ee)}.monitor-row>div:first-child{min-width:0;display:block}.monitor-row>div:first-child b{font-size:15px;color:#fff7c2}.monitor-row>div:first-child span{display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#aeb8d9;font-size:12px}.monitor-row>.num{font-size:16px;font-weight:900}.monitor-row>.hint{grid-column:1 / -1;margin-left:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-card{min-width:0;overflow:visible;border:1px solid rgba(255,255,255,.13);background:linear-gradient(135deg,rgba(255,255,255,.065),rgba(34,211,238,.04));border-radius:13px;padding:9px 9px 8px;margin-bottom:7px}.market-head{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:8px;align-items:start}.market-name{min-width:0}.market-name b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff7c2;font-size:14px;line-height:1.15}.market-name em{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aeb8d9;font-size:11px;font-style:normal;line-height:1.15}.market-price-wrap{text-align:right;min-width:max-content}.market-price-wrap small{display:inline-flex;margin-bottom:3px;font-size:10px;color:var(--muted);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:2px 6px;line-height:1}.market-price{display:block;font-weight:900;color:#f8fafc;font-size:14px;line-height:1.15;white-space:nowrap}.market-change-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-top:5px}.market-change{min-width:0;display:grid;justify-items:center;gap:2px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.20);border-radius:8px;padding:4px 3px;line-height:1.05}.market-change span{color:var(--muted);font-size:10px}.market-change b{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:11px;white-space:nowrap;letter-spacing:-.04em}.futures-list{scrollbar-width:none}.futures-list::-webkit-scrollbar{width:0;height:0}
.chart-card{overflow:hidden}.chart-head{min-width:0}.chart-head>div:first-child{min-width:0}.chart-title,#chartTitle{word-break:break-word}.chart-box{width:100%;height:420px;min-height:420px;border:1px solid rgba(255,207,0,.12);border-radius:14px;overflow:hidden;background:#0c0f20}
@media(max-width:1450px){.market-change-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1200px){.market-change-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.monitor-row>.hint{white-space:normal}.market-card{padding:9px}.market-price,.market-name b{font-size:13px}.market-change-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.market-change{padding:4px 2px}.market-change b{font-size:10px}.chart-box{height:360px;min-height:360px}}

/* Collapsible macro/earnings cards + hover-only scrollbars */
.collapsible-card{min-height:0;overflow:hidden}.card-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;user-select:none}.card-toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collapse-btn{padding:5px 9px;font-size:12px;flex:0 0 auto}.collapsible-card.collapsed{padding-bottom:12px}.collapsible-card.collapsed #earnings,.collapsible-card.collapsed #macro,.collapsible-card.collapsed #holidays,.collapsible-card.collapsed #fxBox{display:none}.event-row-list,.futures-list,.monitor-list{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.event-row-list{max-height:168px;padding-right:2px}.futures-list{max-height:430px;padding-right:2px}.event-row-list:hover,.futures-list:hover,.monitor-list:hover{scrollbar-color:rgba(255,207,0,.45) transparent}.event-row-list::-webkit-scrollbar,.futures-list::-webkit-scrollbar,.monitor-list::-webkit-scrollbar{width:7px;height:0}.event-row-list::-webkit-scrollbar-thumb,.futures-list::-webkit-scrollbar-thumb,.monitor-list::-webkit-scrollbar-thumb{background:transparent;border-radius:999px}.event-row-list:hover::-webkit-scrollbar-thumb,.futures-list:hover::-webkit-scrollbar-thumb,.monitor-list:hover::-webkit-scrollbar-thumb{background:rgba(255,207,0,.42)}.event{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.045);border-radius:12px;padding:8px 9px;margin-bottom:6px}.event b{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.market-card.crypto-card{background:linear-gradient(135deg,rgba(96,165,250,.075),rgba(34,211,238,.045));border-color:rgba(96,165,250,.18)}

th[data-sort]{cursor:pointer;user-select:none;white-space:nowrap}th[data-sort]::after{content:"↕";margin-left:4px;color:#64708f;font-size:10px}th[data-sort][data-dir="asc"]::after{content:"↑"}th[data-sort][data-dir="desc"]::after{content:"↓"}th[data-sort].sorted{color:#fff7c2}
.quote-mini{display:block;margin-top:3px;color:inherit;font-size:10px;line-height:1.22;white-space:normal;letter-spacing:-.03em}.quote-mini em{display:block;color:#9ca7c7;font-style:normal;font-weight:600}.quote-mini.muted{color:#74809f}.quote-mini.gold-note{color:#fff1a8;font-weight:900;text-shadow:0 0 9px rgba(255,207,0,.38)}.quote-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 12px}.quote-panel>div{border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(5,7,18,.34);padding:10px}.quote-panel span{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.quote-panel b{font-size:14px}.quote-panel em{display:block;margin-top:3px;color:#9ca7c7;font-style:normal;font-size:11px;line-height:1.35}@media(max-width:900px){.quote-panel{grid-template-columns:1fr}}
tr.price-divergence-row-up,tr.price-divergence-row-down{position:relative;isolation:isolate}tr.price-divergence-row-up{box-shadow:inset 3px 0 0 rgba(255,77,109,.65)}tr.price-divergence-row-down{box-shadow:inset 3px 0 0 rgba(96,165,250,.65)}.price-divergence-cell-up,.price-divergence-cell-down{position:relative;font-weight:900}.price-divergence-cell-up{color:#ff4d6d!important;text-shadow:0 0 12px rgba(255,77,109,.36)}.price-divergence-cell-down{color:#60a5fa!important;text-shadow:0 0 12px rgba(96,165,250,.36)}.price-divergence-cell-up b,.price-divergence-cell-down b{display:inline-block;padding:3px 8px;color:inherit!important;border-radius:999px;background-image:linear-gradient(90deg,currentColor 50%,transparent 0),linear-gradient(90deg,currentColor 50%,transparent 0),linear-gradient(0deg,currentColor 50%,transparent 0),linear-gradient(0deg,currentColor 50%,transparent 0);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;animation:dashMove .62s linear infinite}.price-divergence-panel-up,.price-divergence-panel-down{border-radius:16px;padding:8px;background-image:linear-gradient(90deg,currentColor 50%,transparent 0),linear-gradient(90deg,currentColor 50%,transparent 0),linear-gradient(0deg,currentColor 50%,transparent 0),linear-gradient(0deg,currentColor 50%,transparent 0);background-size:12px 1px,12px 1px,1px 12px,1px 12px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;animation:dashMove .72s linear infinite}.price-divergence-panel-up{color:#ff4d6d}.price-divergence-panel-down{color:#60a5fa}@keyframes dashMove{to{background-position:12px 0,12px 100%,0 12px,100% 12px}}

.return-risk-panel{margin:10px 0 12px;padding:12px;border:1px solid rgba(96,165,250,.20);border-radius:16px;background:linear-gradient(135deg,rgba(96,165,250,.08),rgba(255,207,0,.045));box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.return-risk-panel .detail-title{margin-top:0}.return-risk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.return-risk-card{border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(5,7,18,.36);padding:10px;min-width:0}.return-risk-card span{display:block;color:var(--muted);font-size:11px;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.return-risk-card b{display:block;font-size:15px;font-weight:900}.return-risk-card em{display:block;margin-top:4px;font-size:12px;font-style:normal;font-weight:800;line-height:1.35}@media(max-width:900px){.return-risk-grid{grid-template-columns:1fr}}

.help-modal{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:18px;background:rgba(2,4,14,.72);backdrop-filter:blur(8px)}
.help-modal[hidden]{display:none}.help-card{width:min(780px,calc(100vw - 24px));max-height:min(82vh,760px);overflow:hidden;border:1px solid rgba(255,207,0,.28);border-radius:22px;background:linear-gradient(180deg,rgba(22,25,48,.98),rgba(8,10,22,.98));box-shadow:0 30px 100px rgba(0,0,0,.52)}
.help-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.10)}.help-head b{font-size:18px}.help-body{padding:16px 20px;overflow:auto;max-height:calc(min(82vh,760px) - 62px);color:#d7def6;line-height:1.65}.help-body h3{margin:10px 0 6px;color:#fff7c2}.help-body ul{margin:6px 0 14px;padding-left:20px}.help-body li{margin:4px 0}.help-body b{color:#f5f7ff}
.research-shell .pdf-control-panel,.research-shell .best-pair-panel{margin-bottom:16px}.research-shell .pdf-controls{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.research-shell .pdf-controls label{display:grid;gap:5px;color:var(--muted);font-size:12px}.research-shell .pdf-controls select{min-width:190px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:var(--text);border-radius:10px;padding:8px 10px;outline:none}.research-shell .pdf-method-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.research-shell .pdf-method-card{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);border-radius:8px;padding:10px;min-width:0;text-align:left;color:var(--text);cursor:pointer}.research-shell .pdf-method-card.active{border-color:rgba(255,207,0,.5);background:rgba(255,207,0,.1)}.research-shell .pdf-method-card b{display:block;font-size:13px}.research-shell .pdf-method-card span,.research-shell .pdf-method-card em{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-top:5px;font-style:normal}.research-shell .pdf-method-card em{color:#ffe578}.research-shell .research-notes,.research-shell .cluster-diagnostics,.research-shell .pair-notes{margin:12px 0 0;padding-left:18px;color:#cbd4ef;font-size:12px;line-height:1.55}.research-shell .pdf-empty{border:1px solid rgba(255,207,0,.22);background:rgba(255,207,0,.07);border-radius:8px;padding:10px;color:#e8edf9}.research-shell .pdf-empty b{display:block;margin-bottom:6px}.research-shell .pdf-empty ul{margin:0;padding-left:18px;color:#cbd4ef;font-size:12px;line-height:1.55}.mini-badge.warn{border-color:rgba(251,191,36,.5);background:rgba(251,191,36,.14);color:#fde68a}.research-shell .pdf-pair-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:12px}.research-shell .pdf-pair-head strong{border:1px solid rgba(255,207,0,.35);border-radius:999px;background:rgba(255,207,0,.12);padding:6px 9px;color:#fff4bd;font-size:12px}.research-shell .pair-legs,.research-shell .pair-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.research-shell .pair-legs.compact{margin:8px 0}.research-shell .pair-legs>div,.research-shell .pair-metrics>div,.research-shell .pair-candidate,.research-shell .pair-reco{border:1px solid rgba(255,255,255,.1);border-radius:8px;background:rgba(5,7,18,.32);padding:10px;min-width:0}.research-shell .pair-legs span,.research-shell .pair-metrics span{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.research-shell .pair-legs b,.research-shell .pair-metrics b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.research-shell .pair-metrics{grid-template-columns:repeat(8,minmax(0,1fr))}.research-shell .pair-list{display:grid;gap:8px}.research-shell .pair-candidate,.research-shell .pair-reco{display:grid;gap:6px}.research-shell .pair-candidate span,.research-shell .pair-reco span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.research-shell .pair-candidate em,.research-shell .pair-reco em{color:#ffe578;font-style:normal;font-size:12px}@media(max-width:1300px){.research-shell .pdf-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.research-shell .pair-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.research-shell .pdf-controls,.research-shell .pdf-controls label,.research-shell .pdf-controls select,.research-shell .pdf-controls button{width:100%}.research-shell .pdf-method-grid,.research-shell .pair-legs,.research-shell .pair-metrics{grid-template-columns:1fr}.research-shell .pdf-pair-head{display:block}.research-shell .pdf-pair-head strong{display:inline-flex;margin-top:8px}}
.event-row-list,.futures-list,.monitor-list,.help-body,.table-wrap{scrollbar-width:none;scrollbar-color:transparent transparent}.event-row-list:hover,.event-row-list:focus,.event-row-list:focus-within,.futures-list:hover,.futures-list:focus,.futures-list:focus-within,.monitor-list:hover,.monitor-list:focus,.monitor-list:focus-within,.help-body:hover,.help-body:focus,.help-body:focus-within,.table-wrap:hover,.table-wrap:focus,.table-wrap:focus-within{scrollbar-width:thin;scrollbar-color:rgba(255,207,0,.45) transparent}.event-row-list::-webkit-scrollbar,.futures-list::-webkit-scrollbar,.monitor-list::-webkit-scrollbar,.help-body::-webkit-scrollbar,.table-wrap::-webkit-scrollbar{width:0;height:0}.event-row-list:hover::-webkit-scrollbar,.event-row-list:focus::-webkit-scrollbar,.event-row-list:focus-within::-webkit-scrollbar,.futures-list:hover::-webkit-scrollbar,.futures-list:focus::-webkit-scrollbar,.futures-list:focus-within::-webkit-scrollbar,.monitor-list:hover::-webkit-scrollbar,.monitor-list:focus::-webkit-scrollbar,.monitor-list:focus-within::-webkit-scrollbar,.help-body:hover::-webkit-scrollbar,.help-body:focus::-webkit-scrollbar,.help-body:focus-within::-webkit-scrollbar,.table-wrap:hover::-webkit-scrollbar,.table-wrap:focus::-webkit-scrollbar,.table-wrap:focus-within::-webkit-scrollbar{width:7px;height:7px}.event-row-list::-webkit-scrollbar-thumb,.futures-list::-webkit-scrollbar-thumb,.monitor-list::-webkit-scrollbar-thumb,.help-body::-webkit-scrollbar-thumb,.table-wrap::-webkit-scrollbar-thumb{background:transparent;border-radius:999px}.event-row-list:hover::-webkit-scrollbar-thumb,.event-row-list:focus::-webkit-scrollbar-thumb,.event-row-list:focus-within::-webkit-scrollbar-thumb,.futures-list:hover::-webkit-scrollbar-thumb,.futures-list:focus::-webkit-scrollbar-thumb,.futures-list:focus-within::-webkit-scrollbar-thumb,.monitor-list:hover::-webkit-scrollbar-thumb,.monitor-list:focus::-webkit-scrollbar-thumb,.monitor-list:focus-within::-webkit-scrollbar-thumb,.help-body:hover::-webkit-scrollbar-thumb,.help-body:focus::-webkit-scrollbar-thumb,.help-body:focus-within::-webkit-scrollbar-thumb,.table-wrap:hover::-webkit-scrollbar-thumb,.table-wrap:focus::-webkit-scrollbar-thumb,.table-wrap:focus-within::-webkit-scrollbar-thumb{background:rgba(255,207,0,.42)}.holiday-line span{display:block;margin-top:3px;color:var(--muted);font-size:11px}.market-price-wrap .chart-btn{display:inline-flex;margin-top:4px;padding:3px 7px}.research-shell .pair-metrics{grid-template-columns:repeat(10,minmax(0,1fr))}@media(max-width:1300px){.research-shell .pair-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.research-shell .pair-metrics{grid-template-columns:1fr}}


/* PDF research readability/manual tools */
.research-shell .strategy-chart{background:linear-gradient(180deg,rgba(248,250,252,.96),rgba(226,232,240,.94));border:1px solid rgba(148,163,184,.45);border-radius:14px;padding:10px;color:#111827;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.research-shell .strategy-chart svg{width:100%;height:210px;display:block;background:repeating-linear-gradient(to bottom,rgba(15,23,42,.06) 0,rgba(15,23,42,.06) 1px,transparent 1px,transparent 42px)}
.research-shell .strategy-chart path{fill:none;stroke-width:4;filter:drop-shadow(0 1px 1px rgba(0,0,0,.18))}.research-shell .strategy-chart path.up{stroke:#16a34a}.research-shell .strategy-chart path.down{stroke:#dc2626}.research-shell .strategy-chart .zero{stroke:#334155;stroke-width:1.4;stroke-dasharray:6 6}.research-shell .chart-title{display:flex;justify-content:space-between;align-items:center;font-weight:800;margin:0 2px 6px;color:#111827}.research-shell .chart-axis{color:#334155;font-weight:700}.research-shell .chart-axis span:nth-child(2){color:#64748b}.research-shell .pair-reco .strategy-chart,.research-shell .cluster-sim .strategy-chart{margin-top:10px}.research-shell .basket-legs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.research-shell .basket-leg{max-height:190px;overflow:auto;scrollbar-width:none}.research-shell .basket-leg:hover{scrollbar-width:thin}.research-shell .basket-leg::-webkit-scrollbar{width:0}.research-shell .basket-leg:hover::-webkit-scrollbar{width:7px}.research-shell .basket-leg::-webkit-scrollbar-thumb{background:rgba(255,207,0,.38);border-radius:999px}.manual-card{width:min(920px,calc(100vw - 24px))}.help-body textarea#manualSimilarityText{width:100%;min-height:150px;resize:vertical;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(2,6,23,.55);color:#f8fafc;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.manual-actions{display:flex;gap:10px;align-items:center;margin:12px 0}.manual-actions span{color:#fde68a}.manual-result{display:grid;gap:10px}.manual-summary,.manual-etf{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.05);padding:12px}.manual-etf h3{margin:0 0 4px;color:#fff}.manual-clusters{display:grid;gap:8px;margin-top:10px}.manual-clusters div{display:grid;gap:4px;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:9px;background:rgba(0,0,0,.18)}.manual-clusters span,.manual-clusters em{color:#cbd5e1;font-size:12px;font-style:normal}.help-body pre{white-space:pre-wrap;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(0,0,0,.24);padding:10px;color:#f8fafc}.pdf-controls .mini-btn{white-space:nowrap}
@media(max-width:700px){.research-shell .basket-legs{grid-template-columns:1fr}.research-shell .strategy-chart svg{height:180px}}

/* PDF Analysis compact controls + upload tools */
.research-shell .pdf-control-panel .panel-head{align-items:flex-start;gap:14px}
.research-shell .pdf-controls{gap:6px;justify-content:flex-end;flex-wrap:nowrap}
.research-shell .pdf-controls label{min-width:0}
.research-shell .pdf-controls select{min-width:132px;max-width:156px;padding:7px 8px;font-size:12px}
.research-shell .pdf-controls .mini-btn{padding:7px 9px;font-size:12px;white-space:nowrap}
.manual-actions{flex-wrap:wrap}.manual-actions .mini-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:34px}
@media(max-width:900px){.research-shell .pdf-controls{flex-wrap:wrap;justify-content:flex-start}.research-shell .pdf-controls select{min-width:150px}}


/* PDF Analysis strategy chart dark theme v2 */
.research-shell .strategy-chart{background:linear-gradient(180deg,rgba(17,20,38,.96),rgba(7,9,20,.98));border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:12px;color:#eef2ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 48px rgba(0,0,0,.22)}
.research-shell .strategy-chart svg{width:100%;height:240px;display:block;background:linear-gradient(180deg,rgba(255,255,255,.025),transparent),repeating-linear-gradient(to bottom,rgba(255,255,255,.055) 0,rgba(255,255,255,.055) 1px,transparent 1px,transparent 48px)}
.research-shell .strategy-chart path{fill:none;stroke:var(--line,#facc15);stroke-width:3.4;filter:drop-shadow(0 0 7px color-mix(in srgb,var(--line,#facc15) 38%,transparent))}.research-shell .strategy-chart .zero{stroke:rgba(226,232,240,.42);stroke-width:1.2;stroke-dasharray:6 7}.research-shell .chart-title{font-weight:900;color:#f8fafc;margin-bottom:8px}.research-shell .chart-legend{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}.research-shell .chart-legend span{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.055);padding:5px 8px;font-size:12px;color:#dbeafe}.research-shell .chart-legend i{width:9px;height:9px;border-radius:50%;box-shadow:0 0 10px currentColor}.research-shell .chart-axis{color:#94a3b8;font-weight:700;font-size:11px}.research-shell .chart-axis span:nth-child(2){color:#cbd5e1}.top-strategy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.top-strategy,.strategy-card{border:1px solid rgba(255,255,255,.11);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));padding:14px;min-width:0}.top-strategy.aggressive,.strategy-card.aggressive{border-color:rgba(250,204,21,.24)}.top-strategy.defensive,.strategy-card.defensive{border-color:rgba(34,197,94,.26)}.strategy-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.strategy-card-head b{display:block;color:#fff;font-size:16px}.strategy-card-head span{display:block;color:#b8c4de;font-size:12px;line-height:1.45;margin-top:4px}.strategy-card-head strong{flex:0 0 auto;border:1px solid rgba(255,207,0,.35);border-radius:999px;background:rgba(255,207,0,.12);padding:6px 9px;color:#fff4bd;font-size:12px}.one-to-one-legs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}.leg-card{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(2,6,23,.36);padding:11px;display:grid;gap:3px}.leg-card span{color:#94a3b8;font-size:11px}.leg-card b{font-size:18px;color:#f8fafc}.leg-card em{font-style:normal;color:#cbd5e1;font-size:12px}.leg-card small{color:#fde68a}.basket-legs.tidy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.basket-leg{border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(2,6,23,.32);padding:10px;max-height:260px;overflow:auto}.basket-leg-title{font-weight:800;color:#f8fafc;margin-bottom:8px}.basket-item-grid{display:grid;gap:6px}.basket-item{display:grid;grid-template-columns:72px 1fr;gap:6px 8px;align-items:center;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.035);padding:7px}.basket-item b{color:#fff7c2}.basket-item span{color:#dbe4f7;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.basket-item em{grid-column:2;color:#94a3b8;font-style:normal;font-size:11px}.compact-leg{display:grid;gap:5px;max-height:180px;overflow:auto}.compact-leg span{color:#94a3b8;font-size:12px}.compact-leg b{display:block;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(2,6,23,.28);padding:6px 7px;color:#fff}.compact-leg em{font-style:normal;color:#cbd5e1;font-size:11px}.cluster-sim{display:grid;gap:14px}
@media(max-width:900px){.top-strategy-grid,.basket-legs.tidy,.one-to-one-legs{grid-template-columns:1fr}.research-shell .strategy-chart svg{height:200px}}


/* Unified sticky application navigation + PDF loading */
.common-nav.top-nav{position:sticky;top:0;z-index:1100;display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:10px 12px;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:linear-gradient(180deg,rgba(13,16,33,.94),rgba(8,10,22,.92));backdrop-filter:blur(18px);box-shadow:0 18px 58px rgba(0,0,0,.34)}
.common-nav.top-nav .nav-brand{padding:0;border:0;background:transparent;box-shadow:none;margin-right:4px}.common-nav.top-nav .nav-brand:hover{background:transparent;border:0}
.common-nav.top-nav a,.common-nav .nav-group-main{display:inline-flex;align-items:center;justify-content:center;min-height:38px;color:var(--text);text-decoration:none;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);border-radius:12px;padding:9px 14px;font-size:14px;font-weight:900;white-space:nowrap}
.common-nav.top-nav a.active,.common-nav.top-nav a:hover,.common-nav .nav-group.active>.nav-group-main,.common-nav .nav-group-main:hover{border-color:rgba(255,207,0,.62);background:rgba(255,207,0,.13);color:#fff8cf}
.common-nav .nav-group{display:flex;align-items:center;gap:6px;margin-left:auto}.common-nav .nav-sub{display:flex;gap:5px}.common-nav .nav-sub a{min-height:32px;padding:6px 10px;font-size:12px;border-radius:10px;background:rgba(255,255,255,.04)}
.research-shell>.common-nav.top-nav,.shell>.common-nav.top-nav{margin-top:0}.research-shell .hero,.shell .hero{margin-top:0}
.pdf-load-progress{position:relative;left:auto;top:auto;transform:none;width:100%;margin:10px 0 0;z-index:1;padding:10px 12px;border-radius:13px}.pdf-load-progress .load-progress-top{font-size:12px}.pdf-load-progress .load-progress-top b{font-size:14px}.pdf-load-progress .load-progress-bar{height:8px}
@media(max-width:760px){.common-nav.top-nav{overflow-x:auto;flex-wrap:nowrap;border-radius:14px;padding:8px}.common-nav .nav-group{margin-left:0}.common-nav.top-nav a,.common-nav .nav-group-main{font-size:13px;padding:8px 11px}.common-nav .nav-sub a{font-size:12px;padding:6px 9px}}


/* ETF PDF Analysis final layout fixes */
.research-shell #pdfLoadProgress.load-progress{position:fixed;right:22px;bottom:22px;z-index:90;width:min(420px,calc(100vw - 36px));padding:12px 14px;border:1px solid rgba(255,207,0,.34);border-radius:16px;background:linear-gradient(180deg,rgba(15,23,42,.96),rgba(2,6,23,.98));box-shadow:0 18px 60px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.04);backdrop-filter:blur(12px)}
.research-shell #pdfLoadProgress[hidden]{display:none!important}.research-shell #pdfLoadProgress .load-progress-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#f8fafc;font-size:12px;font-weight:800}.research-shell #pdfLoadProgress .load-progress-bar{height:8px;border-radius:999px;background:rgba(255,255,255,.10);overflow:hidden;margin-top:8px}.research-shell #pdfLoadProgress .load-progress-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#facc15,#38bdf8);box-shadow:0 0 18px rgba(250,204,21,.45);transition:width .22s ease}
.research-shell .cluster-card.ai-reco-card{border-color:rgba(250,204,21,.48);background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(56,189,248,.08));box-shadow:inset 3px 0 0 rgba(250,204,21,.82)}
.research-shell .top-strategy-grid{align-items:start}.research-shell .pair-legs.compact,.research-shell .basket-legs.tidy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.research-shell .compact-leg,.research-shell .basket-leg{min-width:0;max-height:240px;overflow:auto;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(2,6,23,.34);padding:10px;scrollbar-width:none}.research-shell .compact-leg:hover,.research-shell .basket-leg:hover{scrollbar-width:thin;scrollbar-color:rgba(255,207,0,.42) transparent}.research-shell .compact-leg span,.research-shell .basket-leg-title{display:block;color:#fde68a;font-size:12px;font-weight:900;margin-bottom:8px}.research-shell .compact-leg b,.research-shell .basket-item{display:block;min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.045);padding:7px 8px;margin:5px 0;color:#f8fafc;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.research-shell .compact-leg b em,.research-shell .basket-item span{display:block;color:#b8c4de;font-style:normal;font-weight:600;white-space:normal;overflow-wrap:anywhere}.research-shell .basket-item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:6px;min-width:0}.research-shell .basket-item-grid .basket-item{margin:0}.research-shell .pair-metrics{display:grid;grid-template-columns:repeat(4,minmax(118px,1fr));gap:8px;margin:10px 0}.research-shell .pair-metrics div{min-width:0;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:rgba(255,255,255,.055);padding:9px 10px}.research-shell .pair-metrics span{display:block;color:#aebbd6;font-size:11px;font-weight:800;white-space:nowrap}.research-shell .pair-metrics b{display:block;color:#f8fafc;font-size:14px;line-height:1.25;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.research-shell .manual-summary{display:grid;gap:5px}.research-shell .manual-summary b{color:#fff}.research-shell .manual-summary span,.research-shell .manual-summary em{color:#cbd5e1;font-size:12px;font-style:normal;line-height:1.45}.research-shell #manualStrategyFile,.research-shell #manualSimilarityFile{max-width:260px;color:#cbd5e1}.best-pair-panel[hidden]{display:none!important}
@media(max-width:900px){.research-shell .pair-legs.compact,.research-shell .basket-legs.tidy{grid-template-columns:1fr}.research-shell .pair-metrics{grid-template-columns:repeat(2,minmax(118px,1fr))}.research-shell #pdfLoadProgress.load-progress{left:14px;right:14px;bottom:14px;width:auto}}
@media(max-width:520px){.research-shell .pair-metrics{grid-template-columns:1fr}.research-shell .basket-item-grid{grid-template-columns:1fr}}


/* ETF PDF Analysis screenshot fix: no persistent AI border, historical date picker, responsive strategy detail */
.research-shell .pdf-controls label{min-width:120px}.research-shell .pdf-controls #pdfAsOf{min-width:116px;max-width:142px}
.research-shell .cluster-card.ai-reco-card{border-color:rgba(255,255,255,.14)!important;background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(56,189,248,.045))!important;box-shadow:none!important}
.research-shell .cluster-card.ai-reco-card.active{border-color:rgba(250,204,21,.58)!important;background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(56,189,248,.08))!important;box-shadow:inset 3px 0 0 rgba(250,204,21,.82)!important}
.research-shell .top-strategy-grid.ai-strategy-stack{grid-template-columns:1fr!important;max-width:100%;overflow:visible;margin-top:24px;padding:2px}
.research-shell .top-strategy,.research-shell .strategy-card{min-width:0;max-width:100%;overflow:hidden}.research-shell .strategy-card-head{min-width:0}.research-shell .strategy-card-head>div{min-width:0}.research-shell .strategy-card-head span{overflow-wrap:anywhere}.research-shell .strategy-card-head strong{white-space:normal;text-align:center;max-width:180px}
.research-shell .pair-metrics{grid-template-columns:repeat(auto-fit,minmax(128px,1fr))!important}.research-shell .pair-metrics div{min-width:0}.research-shell .pair-metrics span{white-space:normal;line-height:1.2}.research-shell .pair-metrics b{white-space:normal;overflow:visible;text-overflow:clip;font-size:13px}
.research-shell .one-to-one-legs{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;min-width:0}.research-shell .leg-card{min-width:0;overflow:hidden}.research-shell .leg-card b,.research-shell .leg-card em{overflow-wrap:anywhere}
.research-shell .strategy-chart{max-width:100%;overflow:hidden}.research-shell .strategy-chart svg{max-width:100%;height:220px}.research-shell .chart-legend span{max-width:100%;white-space:normal}.research-shell .cluster-detail{min-width:0;overflow:hidden}.research-shell .panel{min-width:0}
@media(min-width:901px){.research-shell .top-strategy-grid:not(.ai-strategy-stack){grid-template-columns:minmax(0,1fr)!important}}

/* ETF PDF Analysis control spacing + non-scroll basket presentation */
.research-shell .pdf-control-panel{padding:22px 24px;margin-bottom:22px}
.research-shell .pdf-control-panel .panel-head{gap:20px}
.research-shell .pdf-controls{gap:12px;align-items:flex-end}
.research-shell .pdf-controls label{gap:7px;min-width:132px}
.research-shell .pdf-controls select,
.research-shell .pdf-controls .mini-btn{height:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;line-height:1;padding-top:0;padding-bottom:0}
.research-shell .pdf-controls select{padding-left:11px;padding-right:34px;max-width:168px}
.research-shell .pdf-controls .mini-btn{padding-left:14px;padding-right:14px}
.research-shell .pdf-method-grid{gap:12px;margin-top:16px}
.research-shell .pdf-method-card{padding:16px 14px;border-radius:14px;min-height:116px}
.research-shell .research-notes{margin-top:16px;line-height:1.75}
.research-shell .section-title{margin-bottom:10px}
.research-shell .cluster-detail{padding:20px 22px}
.research-shell .top-strategy,.research-shell .strategy-card{padding:26px 28px;border-radius:22px}
.research-shell .top-strategy-grid{gap:22px}
.research-shell .strategy-card-head{margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}
.research-shell .strategy-card-head b{font-size:18px;line-height:1.35}
.research-shell .strategy-card-head span{margin-top:8px;line-height:1.75}
.research-shell .pair-legs.compact,.research-shell .basket-legs.tidy{gap:18px;margin:22px 0 20px}
.research-shell .strategy-chart+.pair-legs.compact,.research-shell .strategy-chart+.basket-legs.tidy{margin-top:20px}
.research-shell .compact-leg,.research-shell .basket-leg{padding:16px;border-radius:18px;overflow:hidden!important;max-height:none!important}
.research-shell .compact-leg-grid,.research-shell .basket-item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;min-width:0;padding:2px 4px 2px 0}
.research-shell .basket-scroll{max-height:310px;overflow-y:auto;overflow-x:hidden;padding-right:4px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:transparent transparent}
.research-shell .basket-scroll:hover,.research-shell .basket-scroll:focus,.research-shell .basket-scroll:focus-within{scrollbar-color:rgba(255,207,0,.48) rgba(255,255,255,.04)}
.research-shell .basket-scroll::-webkit-scrollbar{width:8px;height:8px}.research-shell .basket-scroll::-webkit-scrollbar-track{background:transparent;border-radius:999px}.research-shell .basket-scroll::-webkit-scrollbar-thumb{background:transparent;border-radius:999px}.research-shell .basket-scroll:hover::-webkit-scrollbar-track,.research-shell .basket-scroll:focus::-webkit-scrollbar-track,.research-shell .basket-scroll:focus-within::-webkit-scrollbar-track{background:rgba(255,255,255,.04)}.research-shell .basket-scroll:hover::-webkit-scrollbar-thumb,.research-shell .basket-scroll:focus::-webkit-scrollbar-thumb,.research-shell .basket-scroll:focus-within::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(250,204,21,.65),rgba(56,189,248,.45))}
.research-shell .compact-leg b,.research-shell .basket-item{margin:0;min-height:76px;display:flex;flex-direction:column;justify-content:center;padding:12px 13px;border-radius:13px;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.045)}
.research-shell .compact-leg b{display:flex!important}
.research-shell .basket-leg-title,.research-shell .compact-leg>span{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:14px!important}
.research-shell .basket-leg-title small,.research-shell .compact-leg>span small{font-size:12px;color:#e2e8f0;font-weight:900}
.research-shell .basket-more{display:none}
.research-shell .pair-metrics{gap:12px;margin:18px 0}
@media(max-width:900px){.research-shell .pdf-controls{flex-wrap:wrap;justify-content:flex-start}.research-shell .pdf-controls select{min-width:150px}.research-shell .pdf-control-panel{padding:18px}}

/* AI recommendation frame stabilization */
.research-shell .ai-reco-intro{display:block;margin:6px 0 0;padding-bottom:4px;line-height:1.75}
.research-shell .ai-strategy-stack>.top-strategy{position:relative;width:100%;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(18,24,45,.92),rgba(8,12,26,.96));box-shadow:0 16px 42px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.055)}
.research-shell .ai-strategy-stack>.top-strategy.aggressive{border-color:rgba(250,204,21,.30)}
.research-shell .ai-strategy-stack>.top-strategy.defensive{border-color:rgba(34,197,94,.30)}
.research-shell .ai-strategy-stack>.top-strategy:last-child{margin-bottom:0}

.market-control-card{display:grid;gap:12px}.market-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:4px}.market-actions select{min-width:150px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:var(--text);border-radius:12px;padding:9px 10px}.market-actions a{text-decoration:none}.market-report-grid{grid-template-columns:360px minmax(0,1fr)}.market-summary-panel{border-color:rgba(250,204,21,.32);background:linear-gradient(180deg,rgba(42,36,20,.92),rgba(13,15,30,.94))}.market-summary h2{margin:6px 0 12px;font-size:22px;line-height:1.35;letter-spacing:0;color:#fff7c2}.market-summary ul{margin:0;padding-left:20px;color:#dbe4f7;line-height:1.7}.market-summary li+li{margin-top:4px}.market-report-grid .post-card{width:100%;text-align:left}.market-report-grid .news-card span{line-height:1.55;overflow-wrap:anywhere}.market-report-grid .indicator-card{min-height:172px}.market-report-grid .indicator-card em{line-height:1.55}.market-report-grid .source-badges{margin-top:0}@media(max-width:1300px){.market-report-grid{grid-template-columns:1fr}}@media(max-width:700px){.market-actions{display:grid;grid-template-columns:1fr}.market-actions select,.market-actions .mini-btn{width:100%;justify-content:center}.market-summary h2{font-size:18px}.market-report-grid .indicator-card{min-height:auto}}


/* Market Research editorial article redesign */
.research-shell{max-width:1180px}.research-shell .hero{align-items:stretch}.common-nav.top-nav{flex-wrap:wrap;gap:8px}.common-nav .nav-group{margin-left:0;flex-wrap:wrap}.common-nav .nav-sub{display:flex!important;flex-wrap:wrap}.common-nav .nav-sub a[href="/market/etp"]{border-color:rgba(34,211,238,.42);background:rgba(34,211,238,.1);color:#b8f5ff}.market-tabs{display:flex;gap:10px;align-items:center;margin:0 0 18px;padding:10px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.045);overflow:auto}.market-tabs a{display:inline-flex;align-items:center;justify-content:center;min-width:120px;padding:11px 18px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:#dfe7ff;text-decoration:none;font-weight:900}.market-tabs a.active,.market-tabs a:hover{background:linear-gradient(135deg,rgba(250,204,21,.25),rgba(34,211,238,.14));border-color:rgba(250,204,21,.58);color:#fff8cf}.report-pdf-button{gap:8px!important;border:1px solid rgba(250,204,21,.68)!important;box-shadow:0 14px 34px rgba(250,204,21,.18);font-weight:950;text-decoration:none!important}.report-pdf-button span{display:inline-grid;place-items:center;min-width:34px;height:22px;border-radius:7px;background:#111827;color:#facc15;font-size:11px;letter-spacing:.08em}.market-article{display:grid;grid-template-columns:280px minmax(0,820px);align-items:start;gap:22px}.market-sidebar{position:sticky;top:12px}.market-story{display:grid;gap:22px}.market-article-section{position:relative;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:linear-gradient(180deg,rgba(12,18,35,.94),rgba(8,11,24,.96));box-shadow:0 20px 60px rgba(0,0,0,.26);padding:22px;overflow:hidden}.market-article-section:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:4px;border-radius:4px;background:var(--cyan)}.market-article-section .section-title{font-size:25px;line-height:1.15;margin:0 0 16px;padding-left:12px;letter-spacing:-.05em}.section-title.accent-green{color:#34f5a0}.section-title.accent-purple{color:#c4b5fd}.section-title.accent-yellow{color:#facc15}.section-title.accent-cyan{color:#67e8f9}.market-summary-panel{background:radial-gradient(520px 180px at 20% 0%,rgba(250,204,21,.22),transparent),linear-gradient(180deg,rgba(21,25,42,.96),rgba(8,11,24,.97))!important}.market-summary h2{font-size:27px!important;color:#fff7c2!important;line-height:1.32;margin:0 0 14px!important}.market-summary ul{font-size:15px;line-height:1.85}.issue-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.issue-card{position:relative;min-height:142px;padding:16px 16px 15px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(21,30,52,.96),rgba(11,16,31,.96));box-shadow:inset 3px 0 0 rgba(52,245,160,.65)}.issue-card strong{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;margin-bottom:10px;border-radius:10px;background:rgba(52,245,160,.13);color:#34f5a0;font-weight:950}.issue-card b{display:block;color:#f8fafc;font-size:15px;line-height:1.35;margin-bottom:8px}.issue-card span,.issue-card em{display:block;color:#bac6de;font-size:13px;line-height:1.55;font-style:normal}.issue-card.analog{box-shadow:inset 3px 0 0 rgba(250,204,21,.72)}.issue-card.analog strong{background:rgba(250,204,21,.14);color:#facc15}.market-table-wrap{overflow:auto;border-radius:18px;background:#070b16;border:1px solid rgba(255,255,255,.12)}.market-dark-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;background:#070b16;color:#e5ecff}.market-dark-table th{position:static;background:#10192c;color:#a78bfa;text-align:right;font-size:12px;font-weight:950;padding:12px 13px;border-bottom:1px solid rgba(167,139,250,.32)}.market-dark-table th:first-child,.market-dark-table td:first-child{text-align:left}.market-dark-table td{padding:12px 13px;border-bottom:1px solid rgba(255,255,255,.07);text-align:right;font-size:13px}.market-dark-table td:first-child b{display:block;color:#fff}.market-dark-table td:first-child span{display:block;color:#7dd3fc;font-size:12px;margin-top:3px}.market-dark-table tr:nth-child(even) td{background:rgba(255,255,255,.025)}.score-pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(148,163,184,.14);color:#dbeafe;font-style:normal;white-space:nowrap}.score-pill.pos{background:rgba(34,197,94,.14);color:#86efac}.score-pill.neg{background:rgba(244,63,94,.14);color:#fda4af}.scenario-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.scenario-card{padding:17px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(18,27,48,.96),rgba(9,13,28,.97))}.scenario-card b{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:9px}.scenario-card strong{display:block;font-size:19px;line-height:1.25;color:#fff;margin-bottom:8px}.scenario-card span{color:#bdc7dc;line-height:1.55}.scenario-card.bull{box-shadow:inset 4px 0 0 #34f5a0}.scenario-card.bull b{color:#34f5a0}.scenario-card.bear{box-shadow:inset 4px 0 0 #fb7185}.scenario-card.bear b{color:#fb7185}.market-history-panel .post-card{border-radius:16px}.market-history-panel .post-card h3{font-size:14px}.market-history-panel .post-card p{font-size:12px}.market-report-grid .news-card{background:linear-gradient(180deg,rgba(21,30,52,.96),rgba(11,16,31,.96))}.pos{color:#34f5a0!important}.neg{color:#fb7185!important}@media(max-width:1050px){.market-article{grid-template-columns:1fr}.market-sidebar{position:static}.issue-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.market-tabs a{min-width:92px}.market-article-section{padding:18px}.market-article-section .section-title{font-size:21px}.issue-card-grid,.scenario-grid{grid-template-columns:1fr}.market-summary h2{font-size:21px!important}}


/* Market Research final polish: make PDF CTA prominent and prevent long ETP filenames from spilling */
.research-shell .report-pdf-button{min-height:46px!important;padding:0 18px!important;border-radius:15px!important;background:linear-gradient(135deg,#facc15,#f59e0b)!important;color:#111827!important;border-color:rgba(255,231,128,.95)!important;font-size:14px!important;letter-spacing:-.01em;box-shadow:0 16px 38px rgba(250,204,21,.28), inset 0 1px 0 rgba(255,255,255,.45)!important}.research-shell .report-pdf-button:hover{transform:translateY(-1px);filter:brightness(1.04)}.research-shell .report-pdf-button span{background:#111827!important;color:#facc15!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.15)}.issue-card,.issue-card b,.issue-card span,.issue-card em{min-width:0;overflow-wrap:anywhere;word-break:keep-all}.issue-card.etp-data b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.issue-card.etp-data span{font-size:12px;line-height:1.45;color:#aebbd2}.market-actions{align-items:center}.market-actions select{min-height:46px}.market-actions .report-pdf-button{white-space:nowrap}


/* Unified top navigation: stable alignment + hover submenu */
.common-nav.top-nav{
  position:sticky!important;top:0;z-index:1100!important;width:100%;max-width:100%;
  justify-content:flex-start!important;flex-wrap:nowrap!important;overflow:visible!important;
  gap:8px!important;margin:0 0 18px!important;padding:10px 12px!important;
}
.home-page .common-nav{justify-content:flex-start!important;margin-left:0!important;margin-right:0!important}
.common-nav.top-nav .nav-brand{flex:0 0 auto!important;margin-right:8px!important}
.common-nav.top-nav>a:not(.nav-brand),.common-nav .nav-group-main{flex:0 0 auto!important}
.common-nav .nav-group{position:relative!important;display:inline-flex!important;align-items:center!important;margin-left:0!important;flex:0 0 auto!important;gap:0!important}
.common-nav .nav-group-main::after{content:'▾';font-size:10px;margin-left:7px;color:#fde68a}
.common-nav .nav-sub{
  position:absolute;left:0;top:calc(100% + 8px);min-width:180px;display:grid!important;gap:6px!important;
  padding:9px;border:1px solid rgba(255,207,0,.22);border-radius:14px;
  background:linear-gradient(180deg,rgba(13,16,33,.98),rgba(8,10,22,.98));
  box-shadow:0 18px 48px rgba(0,0,0,.38);opacity:0;visibility:hidden;transform:translateY(-4px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;backdrop-filter:blur(16px);
}
.common-nav .nav-group:hover .nav-sub,.common-nav .nav-group:focus-within .nav-sub{opacity:1;visibility:visible;transform:translateY(0)}
.common-nav .nav-sub a{justify-content:flex-start!important;width:100%;min-height:36px!important;font-size:13px!important;padding:8px 10px!important}
.common-nav .nav-sub a[href="/market/etp"]{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.04)!important;color:var(--text)!important}
.market-sidebar{top:84px!important}.research-shell{max-width:1180px!important}.research-shell .market-sidebar{position:sticky}
.analog-context{grid-column:1/-1;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.09);display:grid;gap:8px}
.analog-context small{color:#cbd5e1;line-height:1.55}.analog-context small b{color:#fff7c2;margin-right:4px}
.analog-news-links{display:grid;gap:6px}.analog-news-links a{color:#93c5fd;text-decoration:none;font-size:12px;line-height:1.35}.analog-news-links a:hover{color:#fde68a;text-decoration:underline}
@media(max-width:760px){.common-nav.top-nav{overflow-x:auto!important;overflow-y:visible!important}.common-nav .nav-sub{position:fixed;left:12px;right:12px;top:58px;min-width:auto}.market-sidebar{position:static!important}}

/* Market Research: report-style tables, fewer rounded cards */
.research-shell.report-shell{max-width:1280px!important}
.research-shell.report-shell .market-article{grid-template-columns:300px minmax(0,1fr)!important;gap:18px!important}
.research-shell.report-shell .market-story{gap:16px!important}
.research-shell.report-shell .market-article-section{border-radius:10px!important;padding:18px 18px 20px!important;background:linear-gradient(180deg,rgba(10,15,28,.98),rgba(8,10,20,.98))!important;box-shadow:0 8px 28px rgba(0,0,0,.22)!important;border-color:rgba(148,163,184,.22)!important}
.research-shell.report-shell .market-article-section:before{top:0!important;bottom:0!important;width:3px!important;border-radius:0!important}
.research-shell.report-shell .section-title{font-size:20px!important;border-bottom:1px solid rgba(148,163,184,.20);padding:0 0 10px 12px!important;margin-bottom:12px!important}
.research-shell.report-shell .market-summary-panel{background:linear-gradient(180deg,rgba(35,31,20,.96),rgba(9,13,24,.98))!important}
.research-shell.report-shell .issue-card-grid,.research-shell.report-shell .scenario-grid,.research-shell.report-shell .market-table-wrap{display:block!important;overflow-x:auto!important}
.research-shell.report-shell .market-dark-table{width:100%;border-collapse:collapse;border-spacing:0;background:rgba(3,7,18,.30);font-size:13px;line-height:1.45}
.research-shell.report-shell .market-dark-table th{position:sticky;top:0;z-index:1;background:rgba(15,23,42,.98);color:#fde68a;text-align:left;font-size:12px;font-weight:900;letter-spacing:-.01em;border-bottom:1px solid rgba(250,204,21,.26);padding:10px 9px;white-space:nowrap}
.research-shell.report-shell .market-dark-table td{padding:10px 9px;border-bottom:1px solid rgba(148,163,184,.14);vertical-align:top;color:#dbe4f7}
.research-shell.report-shell .market-dark-table td:nth-child(3),.research-shell.report-shell .market-dark-table td:nth-child(4),.research-shell.report-shell .market-dark-table td:nth-child(5),.research-shell.report-shell .market-dark-table td:nth-child(6),.research-shell.report-shell .market-dark-table td:nth-child(7),.research-shell.report-shell .market-dark-table td:nth-child(8){white-space:nowrap}
.research-shell.report-shell .market-dark-table th:last-child,.research-shell.report-shell .market-dark-table td:last-child{white-space:nowrap!important;min-width:64px;width:64px;text-align:center;word-break:normal!important;overflow-wrap:normal!important}
.research-shell.report-shell .market-dark-table td:last-child *{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
.research-shell.report-shell .issue-table td:nth-child(3),.research-shell.report-shell .analog-table td:nth-child(3),.research-shell.report-shell .analog-table td:nth-child(4){white-space:normal;line-height:1.58}
.research-shell.report-shell .market-dark-table tbody tr:hover{background:rgba(255,255,255,.035)}
.research-shell.report-shell .market-dark-table td b{display:block;color:#f8fafc;font-size:13px;margin-bottom:3px;word-break:keep-all}
.research-shell.report-shell .market-dark-table td span{display:block;color:#9fb0cc;font-size:12px;line-height:1.45}
.research-shell.report-shell .market-dark-table .num{width:36px;color:#fde68a;font-weight:900;text-align:center}
.research-shell.report-shell .market-dark-table .chart-cell{min-width:150px;width:180px;padding-top:6px;padding-bottom:4px}
.research-shell.report-shell .market-dark-table .chart-cell svg{width:160px;height:42px;display:block}
.research-shell.report-shell .source-link{display:inline-flex;margin-top:6px;color:#93c5fd;text-decoration:none;font-size:12px;font-weight:800;border-bottom:1px solid rgba(147,197,253,.45)}
.research-shell.report-shell .source-link:hover{color:#fde68a;border-color:#fde68a}
.research-shell.report-shell .analog-table th:nth-child(1){width:120px}.research-shell.report-shell .analog-table th:nth-child(2){width:90px}.research-shell.report-shell .analog-table th:nth-child(4){width:42%}
.research-shell.report-shell .analog-context{margin:0!important;padding:0!important;border-top:0!important;gap:8px!important}
.research-shell.report-shell .analog-context small{display:block;color:#d7e2f6;font-size:12.5px;line-height:1.6}
.research-shell.report-shell .analog-news-links{margin-top:8px;padding-top:8px;border-top:1px dashed rgba(148,163,184,.22)}
.research-shell.report-shell .analog-news-links>b{color:#fde68a;font-size:12px;margin-bottom:4px}
.research-shell.report-shell .analog-news-links a{font-size:12px;color:#93c5fd;text-decoration:none;line-height:1.45}
.research-shell.report-shell .analog-news-links a:before{content:'↗ ';color:#fde68a}
.research-shell.report-shell .post-card,.research-shell.report-shell .market-tabs,.research-shell.report-shell .market-actions select,.research-shell.report-shell .mini-btn{border-radius:8px!important}
@media(max-width:900px){.research-shell.report-shell .market-article{grid-template-columns:1fr!important}.research-shell.report-shell .market-sidebar{position:static!important}.research-shell.report-shell .market-dark-table{min-width:760px}.research-shell.report-shell .analog-table{min-width:920px}}

/* Market Research repair: stable PDF CTA, hover-only scrollbars, analyst-table readability */
.research-shell.report-shell .market-control-card{min-width:300px;overflow:hidden}
.research-shell.report-shell .market-actions{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.research-shell.report-shell .market-actions select{flex:0 0 150px!important;height:46px!important;line-height:46px!important;padding:0 34px 0 12px!important;min-width:145px!important;max-width:170px!important}
.research-shell.report-shell .report-pdf-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:46px!important;min-height:46px!important;max-width:100%!important;padding:0 16px!important;white-space:nowrap!important;line-height:1!important;overflow:hidden!important;text-overflow:ellipsis!important;flex:1 1 190px!important}
.research-shell.report-shell .report-pdf-button span{flex:0 0 auto!important;display:inline-grid!important;place-items:center!important;min-width:34px!important;height:22px!important;line-height:22px!important}
.research-shell.report-shell .market-sidebar .post-list{max-height:calc(100vh - 230px);overflow:auto;scrollbar-gutter:stable}
.research-shell.report-shell .issue-card-grid,.research-shell.report-shell .scenario-grid,.research-shell.report-shell .market-table-wrap,.research-shell.report-shell .post-list{scrollbar-width:none;scrollbar-color:transparent transparent}
.research-shell.report-shell .issue-card-grid:hover,.research-shell.report-shell .issue-card-grid:focus-within,.research-shell.report-shell .scenario-grid:hover,.research-shell.report-shell .scenario-grid:focus-within,.research-shell.report-shell .market-table-wrap:hover,.research-shell.report-shell .market-table-wrap:focus-within,.research-shell.report-shell .post-list:hover,.research-shell.report-shell .post-list:focus-within{scrollbar-width:thin;scrollbar-color:rgba(250,204,21,.58) rgba(255,255,255,.06)}
.research-shell.report-shell .issue-card-grid::-webkit-scrollbar,.research-shell.report-shell .scenario-grid::-webkit-scrollbar,.research-shell.report-shell .market-table-wrap::-webkit-scrollbar,.research-shell.report-shell .post-list::-webkit-scrollbar{width:0;height:0}
.research-shell.report-shell .issue-card-grid:hover::-webkit-scrollbar,.research-shell.report-shell .scenario-grid:hover::-webkit-scrollbar,.research-shell.report-shell .market-table-wrap:hover::-webkit-scrollbar,.research-shell.report-shell .post-list:hover::-webkit-scrollbar{width:8px;height:8px}
.research-shell.report-shell .issue-card-grid:hover::-webkit-scrollbar-thumb,.research-shell.report-shell .scenario-grid:hover::-webkit-scrollbar-thumb,.research-shell.report-shell .market-table-wrap:hover::-webkit-scrollbar-thumb,.research-shell.report-shell .post-list:hover::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(250,204,21,.68),rgba(34,211,238,.38));border-radius:999px}
.research-shell.report-shell .issue-card-grid:hover::-webkit-scrollbar-track,.research-shell.report-shell .scenario-grid:hover::-webkit-scrollbar-track,.research-shell.report-shell .market-table-wrap:hover::-webkit-scrollbar-track,.research-shell.report-shell .post-list:hover::-webkit-scrollbar-track{background:rgba(255,255,255,.045);border-radius:999px}
.research-shell.report-shell .issue-table th:nth-child(1),.research-shell.report-shell .issue-table td:nth-child(1){width:38px;min-width:38px;text-align:center}
.research-shell.report-shell .issue-table th:nth-child(2),.research-shell.report-shell .issue-table td:nth-child(2){width:28%;min-width:180px;white-space:normal!important;text-align:left!important}
.research-shell.report-shell .issue-table th:nth-child(3),.research-shell.report-shell .issue-table td:nth-child(3){white-space:normal!important;min-width:360px;line-height:1.6;text-align:left!important}
.research-shell.report-shell .market-dark-table th:last-child,.research-shell.report-shell .market-dark-table td:last-child{min-width:78px;width:auto}
.research-shell.report-shell .score-pill,.research-shell.report-shell .market-dark-table td:last-child{white-space:nowrap!important}
.research-shell.report-shell .analog-news-links b{font-weight:900}
@media(max-width:760px){.research-shell.report-shell .market-control-card{min-width:0}.research-shell.report-shell .market-actions{display:grid!important;grid-template-columns:1fr!important}.research-shell.report-shell .market-actions select,.research-shell.report-shell .report-pdf-button{width:100%!important;max-width:100%!important;flex:auto!important}.research-shell.report-shell .market-sidebar .post-list{max-height:260px}}

.research-shell.report-shell .report-pdf-button{height:36px!important;min-height:36px!important;flex:0 0 auto!important;padding:0 10px!important;border-radius:8px!important;font-size:12px!important;box-shadow:0 8px 18px rgba(250,204,21,.18),inset 0 1px 0 rgba(255,255,255,.35)!important}
.research-shell.report-shell .report-pdf-button span{min-width:28px!important;height:18px!important;line-height:18px!important;border-radius:5px!important;font-size:10px!important}
.research-shell.report-shell .market-actions select{height:36px!important;line-height:36px!important;min-height:36px!important}
.research-shell.report-shell .target-table{min-width:1080px}
.research-shell.report-shell .target-table th:nth-child(2),.research-shell.report-shell .target-table td:nth-child(2){width:150px;min-width:150px}
.research-shell.report-shell .target-table td:nth-child(10){white-space:normal!important;min-width:150px;color:#9fb0cc;font-size:12px;text-align:left!important}
.research-shell.report-shell .final-table{min-width:720px}
.research-shell.report-shell .final-table th:first-child,.research-shell.report-shell .final-table td:first-child{width:120px}
.research-shell.report-shell .final-table td:last-child{white-space:normal!important;text-align:left!important;line-height:1.65}
.research-shell.report-shell .market-source-note{display:block;margin-top:8px;color:#9fb0cc;font-size:12px;line-height:1.5}
/* Macro fallback + FX/holiday readability */
.macro-event{border-bottom:1px solid rgba(255,255,255,.08);padding:7px 0!important}.macro-event b{color:#f8fafc!important;font-size:13px;line-height:1.3}.macro-event span{display:block;margin-top:3px;color:#cbd5e1!important;line-height:1.35}.macro-event span strong{color:#fff7c2;font-weight:900}.macro-empty{color:#dbeafe!important}.holiday-line,.fx-box{border-top:1px solid rgba(255,255,255,.10);color:#e5e7eb!important;line-height:1.45}.holiday-line b{display:block;color:#f8fafc;font-size:13px;margin-bottom:3px}.holiday-line span,.fx-box em,.fx-box small{display:block;color:#cbd5e1!important;font-style:normal;font-size:12px}.fx-main{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;align-items:baseline}.fx-main b{color:#fff7c2;font-size:13px}.fx-main strong{color:#f8fafc;font-size:18px;text-align:right;font-variant-numeric:tabular-nums}.fx-main span{grid-column:1/-1;font-size:13px;font-weight:900}.fx-box small{margin-top:2px;color:#94a3b8!important}


/* Market Research no-horizontal-scroll + section explanation polish */
.research-shell.report-shell,
.research-shell.report-shell .market-article,
.research-shell.report-shell .market-story,
.research-shell.report-shell .market-article-section,
.research-shell.report-shell .market-table-wrap,
.research-shell.report-shell .issue-card-grid,
.research-shell.report-shell .scenario-grid{
  min-width:0!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
.research-shell.report-shell .market-dark-table,
.research-shell.report-shell .analog-table,
.research-shell.report-shell .forecast-table,
.research-shell.report-shell .target-table,
.research-shell.report-shell .scenario-table,
.research-shell.report-shell .issue-table,
.research-shell.report-shell .theme-match-table,
.research-shell.report-shell .final-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
.research-shell.report-shell .market-dark-table th,
.research-shell.report-shell .market-dark-table td,
.research-shell.report-shell .market-dark-table td:nth-child(3),
.research-shell.report-shell .market-dark-table td:nth-child(4),
.research-shell.report-shell .market-dark-table td:nth-child(5),
.research-shell.report-shell .market-dark-table td:nth-child(6),
.research-shell.report-shell .market-dark-table td:nth-child(7),
.research-shell.report-shell .market-dark-table td:nth-child(8),
.research-shell.report-shell .market-dark-table th:last-child,
.research-shell.report-shell .market-dark-table td:last-child,
.research-shell.report-shell .market-dark-table td:last-child *{
  white-space:normal!important;
  word-break:keep-all!important;
  overflow-wrap:anywhere!important;
  min-width:0!important;
  max-width:100%!important;
  text-align:left!important;
}
.research-shell.report-shell .market-dark-table th{
  position:static!important;
  line-height:1.3!important;
  padding:9px 7px!important;
}
.research-shell.report-shell .market-dark-table td{
  line-height:1.55!important;
  padding:9px 7px!important;
}
.research-shell.report-shell .market-dark-table .num{
  width:34px!important;
  text-align:center!important;
}
.research-shell.report-shell .market-dark-table .chart-cell{
  min-width:0!important;
  width:auto!important;
  padding:6px 4px!important;
}
.research-shell.report-shell .market-dark-table .chart-cell svg{
  width:100%!important;
  min-width:0!important;
  max-width:118px!important;
  height:38px!important;
}
.research-shell.report-shell .score-pill,
.research-shell.report-shell .risk-pill{
  display:inline-flex!important;
  white-space:normal!important;
  line-height:1.2!important;
  justify-content:center;
  text-align:center!important;
}
.research-shell.report-shell .section-brief{
  margin:0 0 12px 12px;
  padding:11px 13px;
  border-left:3px solid rgba(250,204,21,.85);
  border-radius:0 10px 10px 0;
  background:linear-gradient(90deg,rgba(250,204,21,.10),rgba(255,255,255,.035));
  color:#dbe7ff;
  font-size:13.5px;
  line-height:1.72;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.research-shell.report-shell .market-conclusion{
  display:grid;
  gap:10px;
  margin:0;
}
.research-shell.report-shell .market-conclusion .conclusion-kicker{
  display:inline-flex;
  width:max-content;
  padding:5px 9px;
  border:1px solid rgba(250,204,21,.55);
  border-radius:999px;
  background:rgba(250,204,21,.14);
  color:#fff1a8;
  font-size:12px;
  font-weight:950;
  letter-spacing:.03em;
}
.research-shell.report-shell .market-conclusion h2{
  margin:0!important;
  color:#fff7c2!important;
  font-size:24px!important;
  line-height:1.42!important;
  letter-spacing:-.04em;
}
.research-shell.report-shell .market-conclusion ul{
  margin:0!important;
  padding-left:19px!important;
  color:#e5ecff!important;
  line-height:1.72!important;
}
.research-shell.report-shell .market-conclusion li+li{margin-top:3px}
@media(max-width:900px){
  .research-shell.report-shell .market-dark-table{font-size:12px!important}
  .research-shell.report-shell .market-dark-table th,
  .research-shell.report-shell .market-dark-table td{padding:8px 5px!important}
  .research-shell.report-shell .market-dark-table .chart-cell svg{max-width:90px!important;height:34px!important}
  .research-shell.report-shell .market-conclusion h2{font-size:20px!important}
}
@media(max-width:620px){
  .research-shell.report-shell .market-dark-table{font-size:11.5px!important;line-height:1.45!important}
  .research-shell.report-shell .market-dark-table th,
  .research-shell.report-shell .market-dark-table td{padding:7px 4px!important}
  .research-shell.report-shell .forecast-table .chart-cell,
  .research-shell.report-shell .target-table .chart-cell{display:none!important}
  .research-shell.report-shell .section-brief{margin-left:8px;font-size:13px;line-height:1.65}
}


/* Market Research fixed-width reading layout + conclusion cards */
.research-shell.report-shell{
  width:1280px!important;
  max-width:1280px!important;
  min-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.research-shell.report-shell .market-article{
  grid-template-columns:300px 962px!important;
  width:1280px!important;
  max-width:1280px!important;
  min-width:1280px!important;
}
.research-shell.report-shell .market-sidebar{width:300px!important;min-width:300px!important;max-width:300px!important}
.research-shell.report-shell .market-story{width:962px!important;min-width:962px!important;max-width:962px!important}
.research-shell.report-shell .market-article-section{width:962px!important;max-width:962px!important}
.research-shell.report-shell .market-dark-table{font-size:12.5px!important}
.research-shell.report-shell .conclusion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:2px}
.research-shell.report-shell .conclusion-grid>div{min-width:0;border:1px solid rgba(250,204,21,.20);border-radius:12px;background:rgba(255,255,255,.045);padding:12px 13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.research-shell.report-shell .conclusion-grid b{display:block;color:#fff1a8;font-size:13px;font-weight:950;margin-bottom:6px}
.research-shell.report-shell .conclusion-grid span{display:block;color:#e5ecff;font-size:13px;line-height:1.72;word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:1320px){
  .research-shell.report-shell{width:1180px!important;max-width:1180px!important;min-width:1180px!important}
  .research-shell.report-shell .market-article{grid-template-columns:280px 882px!important;width:1180px!important;max-width:1180px!important;min-width:1180px!important}
  .research-shell.report-shell .market-sidebar{width:280px!important;min-width:280px!important;max-width:280px!important}
  .research-shell.report-shell .market-story{width:882px!important;min-width:882px!important;max-width:882px!important}
  .research-shell.report-shell .market-article-section{width:882px!important;max-width:882px!important}
}
@media(max-width:900px){
  .research-shell.report-shell{width:100%!important;max-width:100%!important;min-width:0!important}
  .research-shell.report-shell .market-article{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
  .research-shell.report-shell .market-sidebar,.research-shell.report-shell .market-story,.research-shell.report-shell .market-article-section{width:100%!important;min-width:0!important;max-width:100%!important}
  .research-shell.report-shell .conclusion-grid{grid-template-columns:1fr}
}


/* Market Research layout repair v2: fixed frame without clipping */
.research-shell.report-shell{
  width:min(1280px, calc(100vw - 48px))!important;
  max-width:1280px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-article{
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:18px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  align-items:start!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-sidebar{
  grid-column:1!important;
  grid-row:1!important;
  width:300px!important;
  max-width:300px!important;
  min-width:0!important;
  align-self:start!important;
  position:sticky!important;
  top:84px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-story{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-article-section{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  height:auto!important;
}
.research-shell.report-shell .market-table-wrap,
.research-shell.report-shell .issue-card-grid,
.research-shell.report-shell .scenario-grid{
  overflow:visible!important;
  height:auto!important;
  max-height:none!important;
  min-width:0!important;
  max-width:100%!important;
}
.research-shell.report-shell .market-dark-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
.research-shell.report-shell .market-dark-table th,
.research-shell.report-shell .market-dark-table td,
.research-shell.report-shell .market-dark-table b,
.research-shell.report-shell .market-dark-table span,
.research-shell.report-shell .market-dark-table em,
.research-shell.report-shell .section-brief,
.research-shell.report-shell .market-conclusion,
.research-shell.report-shell .conclusion-grid span{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:keep-all!important;
  overflow-wrap:anywhere!important;
}
.research-shell.report-shell .market-sidebar .market-control-card{
  order:0!important;
  margin:0!important;
}
.research-shell.report-shell .market-sidebar .market-control-card .section-title{
  margin-top:0!important;
}
.research-shell.report-shell .market-sidebar .post-list{
  order:1!important;
  max-height:none!important;
  overflow:visible!important;
  margin-top:0!important;
}
.research-shell.report-shell .market-sidebar .market-toc{
  order:2!important;
  margin-top:0!important;
}
.research-shell.report-shell .post-card{
  overflow:visible!important;
  height:auto!important;
}
.research-shell.report-shell .post-card h3,
.research-shell.report-shell .post-card p{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  display:block!important;
}
.research-shell.report-shell .chart-cell svg{
  max-width:100%!important;
}
@media(max-width:900px){
  .research-shell.report-shell{width:100%!important;max-width:100%!important;min-width:0!important}
  .research-shell.report-shell .market-article{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
  .research-shell.report-shell .market-sidebar{position:static!important;width:100%!important;max-width:100%!important}
  .research-shell.report-shell .market-story{width:100%!important;max-width:100%!important;min-width:0!important}
}


/* Market Research layout repair v3: sidebar starts at top, main content never clips */
.research-shell.report-shell .market-article.market-report-grid{
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  margin-top:0!important;
}
.research-shell.report-shell .market-main-column{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  display:grid!important;
  gap:16px!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-main-column>.hero{
  margin:0!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,320px)!important;
  gap:16px!important;
  align-items:stretch!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-main-column>.market-tabs{
  margin:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-main-column>.market-story{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-sidebar{
  grid-column:1!important;
  grid-row:1!important;
  align-self:start!important;
  width:300px!important;
  max-width:300px!important;
  min-width:0!important;
  top:84px!important;
  margin-top:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
}
.research-shell.report-shell .market-history-panel{
  order:0!important;
  margin-top:0!important;
}
.research-shell.report-shell .market-toc-panel{
  order:1!important;
  margin-top:0!important;
}
.research-shell.report-shell .market-history-panel .post-list{
  max-height:none!important;
  overflow:visible!important;
}
.research-shell.report-shell .market-article-section,
.research-shell.report-shell .market-summary,
.research-shell.report-shell .market-summary-panel,
.research-shell.report-shell .market-table-wrap,
.research-shell.report-shell .issue-card-grid,
.research-shell.report-shell .scenario-grid{
  overflow:visible!important;
  height:auto!important;
  max-height:none!important;
}
@media(max-width:900px){
  .research-shell.report-shell .market-article.market-report-grid{display:block!important}
  .research-shell.report-shell .market-main-column{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .research-shell.report-shell .market-main-column>.hero{grid-template-columns:1fr!important}
  .research-shell.report-shell .market-sidebar{width:100%!important;max-width:100%!important;position:static!important;margin-bottom:14px!important}
}


/* Market Research sidebar toc polish: make Report Sections look like a designed navigation panel */
.research-shell.report-shell .market-toc-panel{
  padding:16px!important;
  border-color:rgba(250,204,21,.22)!important;
  background:linear-gradient(180deg,rgba(17,24,39,.96),rgba(8,12,24,.98))!important;
  box-shadow:0 14px 34px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.research-shell.report-shell .market-toc-panel>.section-title{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 12px!important;
  padding:0 0 10px!important;
  border-bottom:1px solid rgba(250,204,21,.18)!important;
  color:#fff4bd!important;
  font-size:15px!important;
  letter-spacing:-.02em!important;
}
.research-shell.report-shell .market-toc-panel>.section-title:before{
  content:'☰';
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:8px;
  background:linear-gradient(135deg,rgba(250,204,21,.28),rgba(34,211,238,.12));
  color:#fde68a;
  font-size:12px;
  box-shadow:inset 0 0 0 1px rgba(250,204,21,.25);
}
.research-shell.report-shell .market-toc{
  display:grid!important;
  gap:7px!important;
  margin:0!important;
}
.research-shell.report-shell .market-toc a{
  position:relative!important;
  display:grid!important;
  grid-template-columns:26px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  min-height:38px!important;
  padding:8px 10px 8px 9px!important;
  border:1px solid rgba(148,163,184,.16)!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  color:#dbe7ff!important;
  text-decoration:none!important;
  font-size:12.5px!important;
  font-weight:850!important;
  line-height:1.25!important;
  letter-spacing:-.015em!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  transition:transform .14s ease,border-color .14s ease,background .14s ease,color .14s ease!important;
}
.research-shell.report-shell .market-toc a:before{
  content:counter(toc-item, decimal-leading-zero);
  counter-increment:toc-item;
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:8px;
  background:rgba(15,23,42,.86);
  color:#fde68a;
  font-size:10px;
  font-weight:950;
  box-shadow:inset 0 0 0 1px rgba(250,204,21,.22);
}
.research-shell.report-shell .market-toc{counter-reset:toc-item}
.research-shell.report-shell .market-toc a:after{
  content:'›';
  color:#7dd3fc;
  font-size:18px;
  line-height:1;
  opacity:.78;
}
.research-shell.report-shell .market-toc a:hover,
.research-shell.report-shell .market-toc a.active{
  transform:translateX(2px)!important;
  border-color:rgba(250,204,21,.48)!important;
  background:linear-gradient(135deg,rgba(250,204,21,.18),rgba(34,211,238,.08))!important;
  color:#fff8cf!important;
}
.research-shell.report-shell .market-toc a:hover:before,
.research-shell.report-shell .market-toc a.active:before{
  background:linear-gradient(135deg,#facc15,#f59e0b)!important;
  color:#111827!important;
}
.research-shell.report-shell .market-toc a.active:after{color:#fde68a;opacity:1}

/* PnL ETF draft workbench */
.pnl-shell .pnl-controls{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}.pnl-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}.pnl-card{padding:16px;min-height:110px}.pnl-card span{display:block;color:var(--muted,#9aa4bf);font-size:13px}.pnl-card b{display:block;font-size:28px;margin:8px 0;color:#f4c542}.pnl-card em{display:block;font-style:normal;color:var(--muted,#9aa4bf);font-size:12px;line-height:1.45}.bridge-flow{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}.bridge-flow div{flex:1;min-width:120px;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:12px;background:rgba(255,255,255,.04);font-weight:800}.bridge-flow span{display:block;color:var(--muted,#9aa4bf);font-size:12px;font-weight:500;margin-top:4px}.bridge-flow i{align-self:center;font-style:normal;color:#f4c542;font-weight:900}.pnl-grid{grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr)}.pnl-table th,.pnl-table td{white-space:nowrap;font-size:12px}.pnl-table td{vertical-align:top}.source-link{border:0;background:transparent;color:#f4c542;font-weight:800;cursor:pointer}.status-pill{display:inline-block;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.09);font-size:11px}.status-pill.ok{background:rgba(67,210,139,.16);color:#7ee2ad}.status-pill.warn{background:rgba(255,191,71,.18);color:#ffd489}.warning-list ul{margin:0;padding-left:18px}.raw-preview-wrap{max-height:520px;overflow:auto}.raw-preview th{position:sticky;top:0;background:#101426;z-index:1}@media(max-width:900px){.pnl-card-grid{grid-template-columns:1fr}.pnl-grid{grid-template-columns:1fr}}


.pnl-table .paste-chip{display:inline-block;margin:1px 3px 1px 0;padding:3px 7px;border-radius:999px;background:rgba(244,197,66,.14);color:#ffe08a;font-weight:800;font-size:11px}.pnl-table .paste-chip.ok{background:rgba(67,210,139,.16);color:#7ee2ad}.pnl-table .paste-chip.low{background:rgba(255,122,122,.16);color:#ffb2b2}.raw-target-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin:0 0 10px}.raw-target-card{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);border-radius:12px;padding:10px}.raw-target-card b{display:block;color:#f4c542}.raw-target-card span,.raw-target-card em{display:block;color:var(--muted,#9aa4bf);font-size:12px;line-height:1.4;font-style:normal}.raw-target-card em{margin-top:4px;color:#dbeafe}.pnl-table tr[data-source]:hover{background:rgba(244,197,66,.05)}


.pnl-summary-sheet-panel{margin:14px 0}.sheet-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.sheet-tabs .active{background:linear-gradient(135deg,#facc15,#f59e0b)!important;color:#111827!important}.summary-sheet-wrap{max-height:520px;overflow:auto}.summary-sheet th{position:sticky;top:0;background:#101426;z-index:2}.summary-sheet td:first-child,.summary-sheet th:first-child{position:sticky;left:0;background:#101426;z-index:1;color:#f4c542;font-weight:800}.summary-sheet td{min-width:90px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.adjust-form{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) auto;gap:8px;margin:10px 0}.adjust-form input{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#e5e7eb;border-radius:10px;padding:9px 10px}@media(max-width:900px){.adjust-form{grid-template-columns:1fr}.summary-sheet td{min-width:110px}}
