/* Chart-first desk: one navigation rail, flat panes, compact controls. */
#terminal .t-header{height:52px;padding:0 16px;gap:16px}
#terminal .t-brand b{font-size:15px}#terminal .t-brand b>span{display:none}
#terminal .t-logo{width:27px;height:27px;border-radius:4px;font-size:21px}
#terminal .t-build{font-size:8px;padding:3px 5px}
#terminal .t-header-end{gap:16px;font-size:11px}
#terminal .t-header-end button{padding:6px 9px}
#terminal .t-market a{padding:6px 10px;font-size:12px}
#terminal .t-rail{width:54px;top:52px;padding:10px 4px;gap:12px}
#terminal .t-rail-top{gap:5px}#terminal .t-rail button{width:44px;padding:10px 0;border-radius:3px;gap:4px}
#terminal .t-main{margin-left:54px;padding:0 0 0 0}
#terminal .t-context{height:44px;margin:0;padding:0 12px;border-bottom:1px solid var(--t-border);gap:12px}
#terminal #t-title{font-size:13px;letter-spacing:0;margin:0;font-weight:600;white-space:nowrap}
#terminal .t-context .t-eyebrow,#terminal #t-title>span{display:none}
#terminal .t-symbol{min-width:0;flex-direction:row;align-items:center;gap:12px;padding:5px 9px!important;border:0;background:transparent!important}
#terminal .t-symbol strong{font-size:12px}#terminal .t-symbol span{font-size:10px}
#terminal .t-workspace{grid-template-columns:minmax(0,1fr) 350px;gap:0;animation:none}
#terminal .t-analysis{min-width:0}
#terminal .t-chart-region{border:0;border-radius:0;border-bottom:1px solid var(--t-border)}
#terminal .t-chart-region #chartPanel{padding:0!important}
#terminal .t-chart-region .bf-pg-svg{height:clamp(370px,53vh,640px)!important}
#terminal .t-chart-region #bfPxMain .bf-pg-t{border:0!important;border-radius:0!important;box-shadow:none!important}
#terminal .t-composer{top:52px;border:0;border-left:1px solid var(--t-border);border-radius:0;max-height:calc(100dvh - 52px)}
#terminal .t-composer-head{padding:10px 12px;border-bottom:1px solid var(--t-border)}
#terminal .t-composer-head .t-eyebrow{display:none}
#terminal .t-composer-head h2{font-size:12px;margin:0}
#terminal .t-builder-body{padding:10px 12px}
#terminal .t-bias{margin:0 0 10px}#terminal .t-bias button{padding:7px 10px;min-height:32px}
#terminal .t-label{font-size:11px;margin:10px 0 6px}
#terminal .t-label>span,#terminal #t-month-hint{display:none}
#terminal #t-expiry,#terminal #t-strategies,#terminal #w-setup{display:block;width:100%;min-height:33px;padding:6px 8px;font-size:12px;border-radius:3px}
#terminal #t-rule{display:none}
#terminal .w-gate{margin:12px 0;border:0;border-top:1px solid var(--t-border);border-bottom:1px solid var(--t-border);border-radius:0;background:transparent!important}
#terminal .w-gate-head{padding:10px 0 6px;flex-direction:row;gap:8px;font-size:11px}
#terminal .w-setup-label{font-size:10px;color:var(--t-muted);display:block;margin:4px 0 5px}
#terminal .w-evidence-note{padding:6px 0;font-size:9px;line-height:1.5;color:var(--t-muted)}
#terminal .w-check-grid{grid-template-columns:1fr;border:0}
#terminal .w-check-grid>.w-check{border-right:0!important}
#terminal .w-check{padding:7px 0;border-bottom:1px solid var(--t-border)}
#terminal .w-check b{font-size:11px;font-weight:500}
#terminal .w-rule-detail summary{display:flex;align-items:center;gap:7px;list-style:none;line-height:1.5}
#terminal .w-rule-detail summary::-webkit-details-marker{display:none}
#terminal .w-rule-detail summary:after{content:'+';color:var(--t-muted);margin-left:auto}
#terminal .w-rule-detail[open] summary:after{content:'−'}
#terminal .w-rule-detail p{font-size:11px;margin:7px 0 3px}
#terminal .w-rule-detail small{font-size:9px}
#terminal .w-badge{font-size:9px;padding:1px 5px;border-radius:2px;min-width:44px;line-height:1.6}
#terminal .w-factors{margin-top:7px;gap:5px}#terminal .w-factors>span{font-size:10px;gap:6px}
#terminal .w-factors b{font-size:9px;margin-left:auto}
#terminal .w-details{padding:7px 0}#terminal .w-details summary{font-size:10px}
#terminal .w-warning{margin:7px 0;padding:7px 9px;font-size:10px;line-height:1.6}
#terminal .w-scroll td,#terminal .w-scroll th{padding:8px 6px}
#terminal .t-leg{padding:9px;margin:8px 0;border-radius:3px;box-shadow:none}
#terminal .t-leg-fields{gap:6px}#terminal .t-leg-fields input,#terminal .t-leg-fields select{padding:5px 3px;min-height:30px}
#terminal .t-metrics{margin:10px 0;gap:8px}#terminal .t-metrics>div{padding:6px 0}
#terminal .t-section-heading{padding:9px 12px;margin:0;border-bottom:1px solid var(--t-border)}
#terminal .t-section-heading h2{font-size:11px}#terminal .t-section-heading>span{display:none}
#terminal .t-panel-grid{gap:1px;background:var(--t-border)}
#terminal .t-panel-grid>.t-native{border-radius:0!important;border:0!important;margin:0!important;box-shadow:none!important}
#terminal .t-footer{padding:14px 12px;border-top:1px solid var(--t-border)}
#terminal #t-settings{width:30px;min-width:30px;min-height:30px;padding:5px;justify-content:center}
#terminal #t-settings svg{height:18px;width:18px}
#terminal #w-risk{padding:14px}
html[data-terminal-theme="light"] #terminal .t-context{background:#fff}
html[data-terminal-theme="light"] #terminal .w-gate{border-color:#d5dee9!important}
@media(min-width:1700px){#terminal .t-workspace{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:1100px) and (min-width:851px){#terminal .t-workspace{grid-template-columns:minmax(0,1fr) 320px}#terminal .t-build{display:none}}
@media(max-width:850px){
 #terminal .t-header{padding:0 10px;gap:8px}#terminal .t-header-end{gap:5px}
 #terminal .t-rail{display:flex;position:sticky;top:52px;bottom:auto;width:100%;height:43px;flex-direction:row;padding:0 8px;z-index:40;border-right:0;border-bottom:1px solid var(--t-border)}
 #terminal .t-rail-top{flex-direction:row;justify-content:space-around;gap:4px}
 #terminal .t-rail button{flex-direction:row;width:auto;padding:8px;gap:6px}
 #terminal .t-rail>a,#terminal .t-rail-line,#terminal #t-help{display:none}
 #terminal .t-main{margin-left:0}#terminal .t-workspace{grid-template-columns:1fr}
 #terminal .t-composer{position:static;max-height:none;border-left:0;border-top:1px solid var(--t-border)}
 #terminal .t-builder-body{padding:12px}#terminal .t-context{flex-direction:row;align-items:center;height:42px}
 #terminal .t-symbol{width:auto}.t-symbol span{display:none}
 #terminal .t-chart-region .bf-pg-svg{height:380px!important}
 #terminal .w-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
 #terminal .t-builder-body select{font-size:16px!important;min-height:40px!important}
}
@media(max-width:520px){#terminal .t-build{display:none}#terminal .t-market{gap:0}#terminal .t-market a{font-size:10px;padding:6px}#terminal .t-rail svg{width:17px;height:17px}#terminal .t-context #t-title{font-size:11px}#terminal .t-symbol strong{font-size:11px}#terminal .w-check-grid{grid-template-columns:1fr}#terminal .compact-actions{gap:3px}#terminal .compact-actions button{min-height:34px}}
/* Override legacy host-page layout rules without changing its chart engine. */
html body.terminal-site #terminal>.t-main{margin:0 0 0 54px!important;padding:0!important}
html body.terminal-site #terminal .t-chart-region .bf-pg-svg{height:clamp(370px,53vh,640px)!important}
#terminal #p-gx{grid-column:1/-1!important;min-width:0}
#terminal #p-gx>.ph{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;padding:8px 10px!important}
#terminal #p-gx>.ph h3{font-size:12px!important;margin:0!important}
#terminal #p-gx>.ph>.sp{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;flex:1 0 100%!important;min-width:0;width:100%;max-width:100%;overflow-x:auto;scrollbar-width:thin;margin:0!important;padding:3px 0!important}
#terminal #p-gx>.ph>.sp .seg{display:inline-flex!important;align-items:center;flex-wrap:nowrap!important;flex:0 0 auto!important;width:auto!important;margin:0!important;padding:2px!important;border-radius:3px!important}
#terminal #p-gx>.ph>.sp button{flex:0 0 auto;white-space:nowrap;font-size:11px!important;min-height:28px!important;padding:4px 8px!important;box-shadow:none!important;border-radius:3px!important}
#terminal #p-gx>.ph>.sp .bf-nt-btn{width:28px;height:28px;padding:0!important;border-radius:50%!important;display:inline-flex!important;justify-content:center;align-items:center}
#terminal #p-gx #gxTag{font-size:10px!important;margin:0!important}
@media(max-width:850px){html body.terminal-site #terminal>.t-main{margin:0!important;padding:0!important}}
@media(max-width:520px){html body.terminal-site #terminal .t-chart-region .bf-pg-svg{height:230px!important}html body.terminal-site #terminal #bfPxMain{min-height:0!important}}
#terminal #t-panel-tabs{position:sticky;top:52px;z-index:35;display:flex;align-items:center;gap:2px;padding:0 10px;border-bottom:1px solid var(--t-border);background:var(--t-panel);overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
#terminal #t-panel-tabs button{flex:0 0 auto;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;padding:10px 12px;font-size:12px;min-height:38px;color:var(--t-muted)}
#terminal #t-panel-tabs button[aria-selected="true"]{color:var(--t-accent);border-bottom-color:var(--t-accent)}
html body.terminal-site #terminal .t-pane-off{display:none!important}
#terminal.t-panel-mode .t-section-heading{display:none!important}
#terminal.t-panel-mode :is(#t-market-panels,#t-vol-panels,#overview-indicators,#three-vol){display:block!important;background:var(--t-panel)}
html body.terminal-site #terminal.t-panel-mode :is(#t-market-panels,#t-vol-panels,#overview-indicators,#three-vol).t-pane-off{display:none!important}
#terminal.t-panel-mode .t-panel-grid>.t-native{content-visibility:visible;contain-intrinsic-size:none}
#terminal.t-panel-mode .t-composer{top:91px;max-height:calc(100dvh - 91px)}
#terminal.t-panel-mode .t-analysis{min-height:calc(100dvh - 170px)}
@media(max-width:850px){#terminal #t-panel-tabs{top:95px;padding-inline:4px}#terminal #t-panel-tabs button{padding:10px;min-height:42px}#terminal.t-panel-mode .t-composer{max-height:none}#terminal.t-panel-mode .t-analysis{min-height:0}}
#terminal #terminal-chart-help{position:fixed;z-index:10020;pointer-events:none;max-width:calc(100vw - 20px);padding:11px 13px;border:1px solid var(--t-border);border-radius:5px;background:var(--t-panel);color:var(--t-text);box-shadow:0 6px 24px #0003;font-size:11px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}
#terminal #terminal-chart-help[hidden],#terminal #t-panel-tabs[hidden]{display:none!important}
html body.terminal-site #terminal .t-sub-off{display:none!important}
#terminal #t-squeeze-tabs{display:flex;gap:3px;overflow-x:auto;padding:5px 0;margin:4px 0;border-bottom:1px solid var(--t-border);white-space:nowrap;scrollbar-width:thin}
#terminal #t-squeeze-tabs button{flex:0 0 auto;padding:7px 9px;font-size:11px;border:0;background:transparent}
#terminal #t-squeeze-tabs button[aria-selected="true"]{background:var(--t-soft);color:var(--t-accent)}
#terminal #overview-history{max-height:none!important;overflow:visible!important}
#terminal #sq7Body{min-height:0!important}
#terminal .t-search-select{position:relative;margin:0 0 5px;min-width:0}
#terminal .t-search-select>input{width:100%;height:37px;padding:7px 29px 7px 9px;font-size:12px;border-radius:3px;background:var(--t-panel);border:1px solid var(--t-border);color:var(--t-text)}
#terminal .t-search-select>input::-webkit-search-cancel-button{display:none}
#terminal .t-search-select>input::placeholder{color:var(--t-muted)}
#terminal .t-search-clear{position:absolute;top:3px;right:3px;width:28px;height:30px;border:0;background:transparent;color:var(--t-muted);font-size:18px;padding:0}
#terminal .t-search-results{position:absolute;top:calc(100% + 3px);left:0;right:0;z-index:70;max-height:240px;overflow:auto;padding:4px;border:1px solid var(--t-border);background:var(--t-panel);box-shadow:0 8px 22px #0003;border-radius:4px}
#terminal .t-search-results button{display:block;width:100%;text-align:left;font-size:12px;white-space:normal;border:0;background:transparent;padding:9px 7px;line-height:1.5;color:var(--t-text)}
#terminal .t-search-results button[aria-selected="true"],#terminal .t-search-results button:hover{background:var(--t-soft);color:var(--t-accent)}
#terminal .t-search-results p{margin:8px;font-size:11px;line-height:1.6;color:var(--t-muted)}
#terminal .t-search-results[hidden]{display:none!important}
@media(max-width:850px){#terminal .t-search-select>input{font-size:16px;height:44px}#terminal .t-search-clear{height:38px}}
#terminal .t-search-select:before{content:'⌕';position:absolute;left:9px;top:6px;font-size:19px;line-height:24px;color:var(--t-muted);pointer-events:none}
#terminal .t-search-select>input{padding-left:29px}

/* Mobile: the document owns vertical scrolling; only wide tables/tabs scroll sideways. */
@media(max-width:850px){
 html body.terminal-site #terminal .t-composer{position:static!important;max-height:none!important;overflow:visible!important}
 #terminal .t-search-results{position:static;max-height:none;overflow:visible;box-shadow:none;margin-top:4px}
 #terminal :is(#t-panel-tabs,#t-squeeze-tabs) button{min-height:44px}
 #terminal .t-search-clear{top:0;right:0;width:44px;height:44px}
 #terminal .t-search-select>input{padding-right:44px}
 #terminal :is(.w-scroll,.t-legs){max-height:none!important}
 html body.terminal-site #terminal .bf-pg-zm button{min-width:44px!important;min-height:44px!important}
 html body.terminal-site #terminal svg.bf-pg-svg{touch-action:pan-y}
 #terminal :is(input,select,textarea){font-size:16px}
}

#terminal .w-rec-list{display:grid;gap:6px}
#terminal .w-rec-item{padding:9px 0;border-bottom:1px solid var(--t-border);font-size:12px}
#terminal .w-rec-item>div{display:flex;justify-content:space-between;gap:8px;align-items:center}
#terminal .w-rec-item>small{display:block;color:var(--t-muted);margin:4px 0}
#terminal .w-rec-item summary{cursor:pointer;min-height:32px;line-height:32px}
#terminal .w-rec-item>button{width:100%;min-height:36px}
#terminal .w-scan-result{display:flex;width:100%;justify-content:space-between;gap:8px;min-height:44px;text-align:left}
#terminal .w-scan-result span{font-size:10px;color:var(--t-muted)}
#terminal .w-rec-basis{font-size:11px;color:var(--t-muted)}
@media(max-width:850px){#terminal .w-rec-item :is(summary,button){min-height:44px}}
#terminal .t-pnl-legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--t-muted)}
#terminal .t-pnl-zoom{display:flex;margin-left:auto}
#terminal .t-pnl-zoom button{min-width:36px;min-height:36px;padding:3px}
#terminal .t-pnl-chart{display:block;width:100%;height:auto;color:var(--t-muted);touch-action:pan-y}
#terminal .t-pnl-chart text{fill:var(--t-muted);font-size:11px}
#terminal .t-pnl-read{font-size:12px;font-variant-numeric:tabular-nums;padding:8px 0}
#terminal .t-pnl-sliders{display:grid;gap:5px}
#terminal .t-pnl-sliders label{display:block;font-size:12px}
#terminal .t-pnl-sliders label>span{display:flex;justify-content:space-between}
#terminal .t-pnl-sliders input[type=range]{display:block;width:100%;height:32px;padding:0;accent-color:var(--t-accent);touch-action:pan-y}
#terminal .t-pnl-note{display:block;color:var(--t-muted);font-size:10px;line-height:1.6}
@media(max-width:850px){#terminal .t-pnl-zoom button{min-width:44px;min-height:44px}#terminal .t-pnl-sliders input[type=range]{height:44px}}

html body.terminal-site #terminal .t-builder-off{display:none!important}
@media(max-width:850px){html body.terminal-site #terminal :is(#p-gx,#ocTopBox,#p-optval,#p-live-card .ev){height:auto!important;max-height:none!important;overflow:visible!important}}

html body.terminal-site #terminal #dynamic-hedge,html body.terminal-site #terminal #dynamic-hedge>.dh-tools{display:none!important}
html body.terminal-site #terminal[data-area="direction"][data-dealer-hedge="true"] #dynamic-hedge{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important}
html body.terminal-site #terminal[data-area="direction"][data-dealer-hedge="true"] #dynamic-hedge>.dh-tools{display:flex!important}
#terminal #t-dealer-hedge[aria-pressed="true"]{color:var(--t-accent);background:var(--t-soft)}
#terminal #t-dealer-hedge[hidden]{display:none!important}
#terminal #dynamic-hedge .dh-flow{overflow-x:auto;max-height:none}
#terminal #dynamic-hedge .dh-read{font-size:11px;line-height:1.6;min-height:20px}
#terminal #dynamic-hedge .ph h3{font-size:12px}

#terminal #dynamic-hedge .dh-read{white-space:pre-line}
@media(max-width:850px){
 html body.terminal-site #terminal #bfPxMain svg.bf-pg-svg{height:220px!important;min-height:0!important}
 html body.terminal-site #terminal #dynamic-hedge #cvPress{height:180px!important}
 #terminal #dynamic-hedge>.dh-tools{margin:2px 0!important;padding:0!important}
 #terminal #dynamic-hedge>.dh-tools .bellrow{display:none!important}
 #terminal #dynamic-hedge #dealer-trend-summary{font-size:11px!important;padding:5px!important;margin:5px!important}
}

#terminal #t-market-search{padding:12px;min-width:0;background:var(--t-panel)}
#terminal .w-screen-head{display:flex;justify-content:space-between;gap:10px;padding:8px 0;font-size:14px}
#terminal .w-screen-head span{font-size:11px;color:var(--t-muted)}
#terminal #w-screen-form{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:8px 0 14px}
#terminal #w-screen-form label{display:flex;flex:1 1 160px;flex-direction:column;gap:5px;font-size:11px;min-width:0}
#terminal #w-screen-form :is(select,input){width:100%;min-height:44px;color:var(--t-text);background:var(--t-panel);border:1px solid var(--t-border)}
#terminal #w-screen-form button{min-height:44px}
#terminal #w-screen-status{padding:10px 0;font-size:13px;font-weight:600}
#terminal .w-screen-result{padding:12px 0;border-bottom:1px solid var(--t-border);font-size:12px}
#terminal .w-screen-result>div{display:flex;justify-content:space-between;align-items:center}
#terminal .w-screen-result small{display:block;color:var(--t-muted);line-height:1.7}
#terminal .w-screen-result button{min-height:44px;margin:4px 6px 4px 0;color:var(--t-accent)}
#terminal #w-screen-output summary{min-height:44px;line-height:44px;cursor:pointer}
@media(max-width:850px){#terminal #w-screen-form label{flex-basis:100%}#terminal #w-screen-form button{width:100%}}

html body.terminal-site #terminal #bfPxMain [data-mm665="v"]{display:none!important}
html body.terminal-site:not(.terminal-market-gamma) #terminal #bfPxMain :is(.iv656,.bf-pg-f){display:none!important}
html body.terminal-site.terminal-market-gamma #terminal #bfPxMain :is(.iv656,.bf-pg-f){display:block!important}
/* Legible text at native size; SVG remains vector and canvas uses physical pixels. */
#terminal{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:auto}
#terminal :is(.w-evidence-note,.w-rule-detail small,.w-badge,.w-factors b,.w-details summary,.t-label,.w-setup-label,.t-pnl-note){font-size:12px}
#terminal :is(.w-check b,.w-rule-detail p,.w-warning,.w-rec-item,.w-screen-result){font-size:13px}
#terminal :is(.t-metrics b,.t-symbol strong,.w-monitor-strip strong){font-weight:600;font-variant-numeric:tabular-nums}
#terminal :is(canvas,svg){image-rendering:auto}
@media(max-width:850px){
 #terminal :is(.t-market a,.t-context #t-title,.t-symbol strong,.compact-actions button,#t-panel-tabs button){font-size:12px!important}
 html body.terminal-site #terminal #dynamic-hedge :is(#cvPress,#cvPressX){height:270px!important}
 #terminal #bfPxMain .bf-pg-ax{font-size:8px!important}
 #terminal #bfPxMain .bf-pg-lastt{font-size:8.5px!important;font-weight:600}
}
@media(max-width:850px){
 html body.terminal-site #terminal #ocTopBox{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important}
 #terminal #w-plan textarea{min-height:100px;overflow-y:hidden;resize:vertical;line-height:1.6}
}
@media(max-width:850px){html body.terminal-site #terminal #t-market-panels #ocTopBox{overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;height:auto!important;max-height:none!important}}

html body.terminal-site #terminal #bfPxMain button[data-ivov]{display:none!important}
/* Rule help belongs to the existing selection control; no second set of choices. */
#terminal .setup-select-host{position:relative}
#terminal .setup-select-host:not(.t-search-select)>select{width:calc(100% - 44px)!important}
#terminal .t-search-select.setup-select-host>input{padding-right:86px}
.setup-help-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;padding:0;border:1px solid var(--t-border,#c7d1da);border-radius:50%;background:transparent;color:var(--t-muted,#53657a);font-size:15px;font-weight:600;cursor:pointer}
#terminal .setup-current-help{position:absolute;right:0;bottom:0;width:40px;height:40px;border:0;border-radius:3px}
#terminal .t-search-select .setup-current-help{right:42px;top:0;height:100%}
#setup-help-popover{position:fixed;inset:auto;margin:0;z-index:10040;box-sizing:border-box;width:min(420px,calc(100vw - 16px));max-height:calc(100dvh - 24px);overflow:auto;padding:12px 14px;border:1px solid var(--t-border,#c7d1da);border-radius:6px;background:var(--t-panel,#fff);color:var(--t-text,#182b42);box-shadow:0 6px 24px #0003;font:13px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;overscroll-behavior:contain}
#setup-help-popover[hidden]{display:none!important}
.setup-help-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.setup-help-head>button{width:36px;height:36px;padding:0;border:0;background:transparent;color:inherit;font-size:22px;cursor:pointer}
#setup-help-popover p{margin:9px 0;overflow-wrap:anywhere}
#setup-help-popover summary{min-height:40px;cursor:pointer;line-height:1.5;padding:9px 0}
#setup-help-popover h4{margin:16px 0 6px}
.setup-evidence-row{padding:8px 0;border-bottom:1px solid var(--t-border,#d5dee9)}
.setup-evidence-row>div:first-child{display:flex;align-items:start;gap:7px;font-size:12px}
.setup-evidence-row p{margin:5px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.setup-evidence-row small{font-size:10px;color:var(--t-muted,#53657a)}
.setup-evidence-row>.setup-evidence{padding-left:12px}
.setup-result-reason{font-size:12px;line-height:1.65;margin:6px 0}
.setup-result-reason>span{color:var(--t-muted,#53657a)}
.setup-result-reason p{margin:4px 0}
.setup-candidate-detail{padding:10px 0;border-top:1px solid var(--t-border,#d5dee9)}
.setup-candidate-detail>button{width:100%;min-height:44px;cursor:pointer}
:root{--trade-green:#20764f;--trade-green-bg:#e9f5ed;--trade-red:#b1393e;--trade-red-bg:#fbecee}
html[data-terminal-theme=dark]{--trade-green:#79d7a5;--trade-green-bg:#19392b;--trade-red:#f19a9f;--trade-red-bg:#43282c}
.tone-long{color:var(--trade-green)!important;background:var(--trade-green-bg)!important}
.tone-short{color:var(--trade-red)!important;background:var(--trade-red-bg)!important}
.tone-neutral{color:var(--t-muted,#53657a);background:var(--t-soft,#edf2f7)}
.setup-result-meta{display:flex;flex-wrap:wrap;gap:6px;font-size:12px}
.setup-result-meta>span{padding:3px 7px;border-radius:3px}
#setup-help-popover .w-badge{display:inline-block;white-space:nowrap;padding:2px 5px;border-radius:3px;font-size:11px}
#setup-help-popover .w-badge.pass{color:var(--trade-green);background:var(--trade-green-bg)}
#setup-help-popover .w-badge.fail{color:var(--trade-red);background:var(--trade-red-bg)}
#setup-help-popover .w-badge.unknown{color:var(--t-muted,#53657a);background:var(--t-soft,#edf2f7)}
#terminal .t-bias [data-bias="1"].active{color:var(--trade-green);background:var(--trade-green-bg)}
#terminal .t-bias [data-bias="-1"].active{color:var(--trade-red);background:var(--trade-red-bg)}
#terminal .w-screen-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;margin:8px 0}
#terminal .w-screen-tile{aspect-ratio:1;min-width:0;min-height:72px;padding:7px;border:1px solid currentColor;border-radius:5px;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}
#terminal .w-screen-tile:hover,#terminal .w-screen-tile:focus-visible{outline:2px solid currentColor;outline-offset:2px}
#terminal #w-result-filters{display:flex;gap:8px;margin:8px 0 12px}
#terminal #w-result-filters[hidden]{display:none}
#terminal #w-result-filters label{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;font-size:12px;color:var(--t-muted)}
#terminal #w-result-filters select{width:100%;min-height:44px;border:1px solid var(--t-border);border-radius:3px;background:var(--t-panel);color:var(--t-text)}
@media(max-width:850px){#terminal .setup-current-help{min-width:44px;min-height:44px}#setup-help-popover .setup-help-head>button{width:44px;height:44px}}

#terminal .w-screen-tile:has(.w-stock-mark){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
#terminal .w-stock-mark{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:4px;background:#fff;border-radius:8px;flex-shrink:0}
#terminal .w-stock-mark img{display:block;width:100%;height:100%;object-fit:contain}
#terminal .w-stock-mark.logo-missing{display:none}
#terminal .w-stock-symbol{font-size:12px;font-weight:650;letter-spacing:.02em;line-height:1.2}

#terminal[data-analysis-unavailable]:not([data-panel=screen]) .t-analysis>:not(#t-analysis-unavailable){display:none!important}
#terminal[data-analysis-unavailable] .t-composer{visibility:hidden;pointer-events:none}
#t-analysis-unavailable{min-height:320px;display:grid;place-content:center;padding:24px;color:var(--t-muted);text-align:center}
#t-analysis-unavailable[hidden]{display:none}

#terminal[data-panel=screen] #t-analysis-unavailable{display:none}
.setup-group-detail+.setup-group-detail{border-top:1px solid var(--t-border,#dce1e8);margin-top:16px;padding-top:16px}

/* Desktop: controls stay subordinate to the chart and decision. */
.w-search-verdict{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;padding:12px 0}
.w-search-verdict strong{font-size:17px;font-weight:650}
.w-search-verdict span{font-size:12px;font-weight:400;color:var(--t-muted)}
.w-rec-more{margin-top:8px}.w-rec-more>summary,.w-gate-details>summary{cursor:pointer;font-size:12px;padding:8px 0;color:var(--t-muted)}
@media(min-width:851px){
 #terminal[data-panel=screen] .t-workspace{grid-template-columns:minmax(0,1fr)}
 #terminal[data-panel=screen] .t-composer{display:none}
 #terminal #w-screen-form{flex-wrap:nowrap;gap:8px;margin:0 0 8px}
 #terminal #w-screen-form label{flex:0 1 210px;gap:3px}
 #terminal #w-screen-form label:has(#w-screen-bias){flex-basis:115px}
 #terminal #w-screen-form label:has(#w-screen-query){flex:1 1 180px;max-width:340px}
 #terminal #w-screen-form :is(select,input,button){min-height:32px;height:32px;font-size:12px;padding:4px 9px}
 #terminal #w-screen-form>.t-primary{width:auto;flex:0 0 94px}
 #terminal #w-screen-form .setup-current-help{min-width:30px;width:30px}
 #terminal #w-result-filters{gap:8px;margin:4px 0 8px}
 #terminal #w-result-filters label{flex:0 1 190px;gap:3px;font-size:11px}
 #terminal #w-result-filters select{min-height:30px;height:30px;font-size:12px;padding:3px 8px}
 #terminal .t-builder-body{padding:10px}
 #terminal .t-builder-body>select,#terminal .t-builder-body .t-search-select input{min-height:32px;height:32px;font-size:12px;padding:4px 8px}
 #terminal .t-builder-body .setup-current-help,#terminal .t-search-clear{min-height:30px;height:30px;min-width:30px;width:30px}
 #terminal .t-bias button{min-height:32px;padding:5px 8px;font-size:12px}
 #terminal .t-label,#terminal .w-setup-label{font-size:11px;margin:7px 0 3px}
 #terminal .w-rec-item{padding:9px;margin:6px 0}
 #terminal .w-rec-item>div:first-child b{font-size:13px}
 #terminal .w-evidence-note{font-size:11px;line-height:1.5;margin:5px 0}
 #terminal .w-screen-tiles{grid-template-columns:repeat(auto-fill,minmax(78px,92px));gap:7px}
}

.w-decision-brief{font-size:12px;line-height:1.55;margin:9px 0;border-top:1px solid var(--t-border,#dce1e8);padding-top:8px}
.w-decision-brief>div{margin:6px 0}.w-decision-brief p{margin:3px 0;color:var(--t-muted)}
.w-decision-brief small{display:block;font-size:10px;line-height:1.5;color:var(--t-muted)}
.w-hedge-comparison>summary{cursor:pointer;font-weight:600;padding:7px 0}
.w-decision-brief table{font-size:11px;width:100%;border-collapse:collapse}.w-decision-brief :is(th,td){padding:5px 4px;text-align:right;white-space:nowrap}.w-decision-brief th:first-child,.w-decision-brief td:first-child{text-align:left}
#terminal .w-rec-item>.w-decision-brief,#terminal .w-rec-item>.setup-result-reason{display:block;align-items:initial;justify-content:initial;gap:0}
#terminal .w-decision-brief>div{display:block}
@media(min-width:851px){
 #terminal[data-panel=price] .t-builder-body{display:flex;flex-direction:column;gap:0}
 #terminal[data-panel=price] .t-builder-body>.t-bias{order:-2}
 #terminal[data-panel=price] .t-builder-body>#w-recommend{order:-1}
 #terminal .t-builder-body .t-search-select input{padding-left:30px;padding-right:66px}
}

/* Desktop price desk: main chart and hedge on the left, three compact studies on the right. */
.desktop-chart-empty{min-height:130px;display:grid;place-content:center;font-size:12px;color:var(--t-muted)}
.desktop-chart-values{display:flex;gap:12px;justify-content:space-between;font-size:10px;padding:0 5px 4px;white-space:nowrap}
.desktop-chart-values>span:first-child{color:#429765}.desktop-chart-values>span:last-child{color:#cf5961}
#terminal #p-live-card .c638svg :is(path,polyline)[stroke]{stroke-width:1px!important;vector-effect:non-scaling-stroke}
@media(min-width:851px){
 html body.terminal-site #terminal.t-desktop-charts .t-analysis{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);grid-template-rows:repeat(3,minmax(0,1fr));align-content:start;gap:1px;background:var(--t-border);min-height:0}
 html body.terminal-site #terminal.t-desktop-charts :is(#t-market-panels,#t-vol-panels,#overview-indicators):not(.t-pane-off){display:contents!important}
 html body.terminal-site #terminal.t-desktop-charts #t-price-slot{grid-column:1;grid-row:1/4;background:var(--t-panel);min-width:0}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators>section{grid-column:2;height:auto!important;min-height:0!important;min-width:0;background:var(--t-panel);border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators>:nth-child(1){grid-row:1}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators>:nth-child(2){grid-row:2}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators>:nth-child(3){grid-row:3}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .ph{height:28px!important;min-height:28px!important;padding:5px 8px!important}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .ph h3{font-size:11px!important}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .oi-chart{height:auto!important;padding:3px 5px;min-height:0;background:none}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .overview-ind-svg{height:clamp(130px,18vh,210px)!important;width:100%;min-height:0}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .oi-legend{display:none}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .overview-zoom-toggle{top:3px;right:5px;font-size:10px;min-height:22px;padding:2px 5px}
 html body.terminal-site #terminal.t-desktop-charts #chartPanel svg.bf-pg-svg{height:clamp(180px,22vh,280px)!important;min-height:0!important}
 html body.terminal-site #terminal.t-desktop-charts :is(#chartWrap,#chartPanel,#bfPxMain){min-height:0!important;height:auto!important}
 html body.terminal-site #terminal.t-desktop-charts .compact-actions{gap:3px;flex-wrap:wrap}
 html body.terminal-site #terminal.t-desktop-charts .compact-actions button{font-size:10px;padding:4px 6px;min-height:28px}
 html body.terminal-site #terminal.t-desktop-charts .compact-chart-head{gap:5px;flex-wrap:wrap}
 html body.terminal-site #terminal.t-desktop-charts #bfReplay-price{font-size:10px;padding:3px 5px;margin:0;gap:4px}
 html body.terminal-site #terminal.t-desktop-charts #dynamic-hedge>.dh-tools{margin:0;padding:2px 5px;gap:3px}
 html body.terminal-site #terminal.t-desktop-charts #dynamic-hedge>.dh-tools button{font-size:10px;min-height:25px;padding:3px 5px}
 html body.terminal-site #terminal.t-desktop-charts #dynamic-hedge :is(#cvPress,#cvPressX){height:340px!important}
 html body.terminal-site #terminal.t-desktop-charts #dynamic-hedge .ph{min-height:24px;padding:3px 8px}
 html body.terminal-site #terminal.t-desktop-charts #dynamic-hedge .dh-read{font-size:10px;margin:3px 8px}
 html body.terminal-site #terminal.t-desktop-charts #dynamic-hedge :is(.dh-head,.dh-flow,.dh-status){font-size:10px;margin:5px 8px}
 /* Squeeze and anomaly charts share one overview, without nested scroll containers. */
 #terminal[data-panel=squeeze] .t-workspace{grid-template-columns:1fr}
 #terminal[data-panel=squeeze] .t-composer{display:none}
 html body.terminal-site #terminal[data-panel=squeeze] #t-market-panels{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(250px,1fr);gap:1px;background:var(--t-border)}
 html body.terminal-site #terminal[data-panel=squeeze] #overview-history{grid-column:1;grid-row:1;min-width:0;height:auto!important;overflow:visible!important}
 html body.terminal-site #terminal[data-panel=squeeze] #overview-history #v-sq7{position:static!important;overflow:visible!important}
 html body.terminal-site #terminal[data-panel=squeeze] #overview-history :is(.p,.pb,#sq7Body){height:auto!important;min-height:0!important;overflow:visible!important;margin:0!important;padding:3px!important;border-radius:0!important}
 html body.terminal-site #terminal[data-panel=squeeze] #overview-history .ph{min-height:30px!important;height:30px!important;padding:3px 6px!important}
 html body.terminal-site #terminal[data-panel=squeeze] #overview-history .ph h3{font-size:11px}
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch>.sq7-rng{grid-column:1/-1;font-size:10px;margin:0}
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch>.sq7-cols{display:contents!important}
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch .sq7-cell{min-width:0;border:0!important;padding:0!important}
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch>.sq7-svg,
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch .sq7-cell svg{display:block!important;width:100%!important;height:clamp(150px,18vh,200px)!important;min-height:0!important;margin:0!important;border:1px solid var(--t-border);background:var(--t-panel)}
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch :is(details,.sq7-read),
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch .sq7-cols>.sq7-cell:nth-child(-n+2){display:none!important}
 html body.terminal-site #terminal[data-panel=squeeze] #sq7Ch svg text{font-size:15px}
 html body.terminal-site #terminal[data-panel=squeeze] #p-live-card{grid-column:2;grid-row:1;min-width:0;height:auto!important;overflow:visible!important;border:0!important;border-radius:0!important}
 html body.terminal-site #terminal[data-panel=squeeze] #p-live-card>.ph{display:none!important}
 html body.terminal-site #terminal[data-panel=squeeze] #c638{margin:0!important;padding:7px!important;border:0!important}
 html body.terminal-site #terminal[data-panel=squeeze] #c638 .hd{font-size:10px;flex-wrap:wrap;gap:3px}
 html body.terminal-site #terminal[data-panel=squeeze] #c638 .c638svg{height:clamp(100px,calc((100dvh - 320px)/3),220px)!important}
 html body.terminal-site #terminal[data-panel=squeeze] #c638 svg text{font-size:15px}
 html body.terminal-site #terminal[data-panel=squeeze] #c638 details{font-size:10px}
 html body.terminal-site #terminal[data-panel=squeeze] #overview-history>.overview-zoom-toggle{display:none}
}

#terminal #dynamic-hedge .dh-pressure{padding-bottom:12px}
#terminal #dynamic-hedge .dh-history{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:10px;line-height:1.4}
#terminal #dynamic-hedge .dh-history>div{min-width:0}
#terminal #dynamic-hedge .dh-history svg{display:block;height:46px;margin-top:3px}
@media(max-width:850px){#terminal #dynamic-hedge .dh-history{grid-template-columns:1fr}}

@media(max-width:850px){html body.terminal-site #terminal #p-live-card{height:auto!important;max-height:none!important;overflow:visible!important}}
html[data-terminal-theme=dark] #terminal #dynamic-hedge .presswrap{background:#101a28;border:1px solid #29394c;border-radius:3px}
html[data-terminal-theme=dark] #terminal #dynamic-hedge :is(.dh-read,.dh-head,details){color:#c6d2e3}

html body.terminal-site #terminal #p-gx{height:auto!important;max-height:none!important;overflow:visible!important}

/* Keep monitor artwork sharp at its fixed cell size. */
#terminal #sq7Ch svg{shape-rendering:geometricPrecision;text-rendering:geometricPrecision}
#terminal #sq7Ch svg :is(path,polyline)[stroke]{vector-effect:non-scaling-stroke;stroke-width:1.25px}
/* Native refreshes replace the lead card; explanation content must not flash open. */
#terminal #c638>:is(.lg,.ev,.set),#terminal #c638>.dim:not(.hd),#terminal #c638>.hd>.dim{display:none!important}

/* Shared dark chart surface; hover never changes the chart background. */
html[data-terminal-theme=dark] #terminal{--t-chart-bg:#101a28}
html[data-terminal-theme=dark] body.terminal-site #terminal :is(.t-chart-region,#chartPanel,#chartWrap,#bfPxMain,#bfPxMain .bf-pg-t,#p-gx,#p-live-card,#c638,#dynamic-hedge,.presswrap,#overview-history,#overview-indicators>section,.oi-chart,.chartwrap,#three-vol>.vol-card,#overview-volatility,#p-optval,#p-volgrid,#t-interactive-payoff,#w-risk .w-card),
html[data-terminal-theme=dark] body.terminal-site #terminal :is(.t-chart-region,#bfPxMain .bf-pg-t,#p-gx,#p-live-card,#overview-history,#overview-indicators>section):hover{background:var(--t-chart-bg)!important;background-image:none!important}
html[data-terminal-theme=dark] body.terminal-site #terminal #sq7Ch :is(svg,.sq7-cell){background:var(--t-chart-bg)!important}
html body.terminal-site #terminal :is(#overview-indicators>section,#p-gx,#p-live-card,#overview-history):hover{box-shadow:none!important}
@media(min-width:851px){
 html body.terminal-site #terminal.t-price-with-gamma #chartPanel{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 html body.terminal-site #terminal.t-price-with-gamma #compact-chart-toolbar{grid-column:1/-1;grid-row:1}
 html body.terminal-site #terminal.t-price-with-gamma #chartBar2{display:none!important}
 html body.terminal-site #terminal.t-price-with-gamma #chartWrap{grid-column:1;grid-row:3;min-width:0}
 html body.terminal-site #terminal.t-price-with-gamma #chartPanel>#p-gx{grid-column:2!important;grid-row:3;min-width:0;border:0!important;border-left:1px solid var(--t-border)!important;box-shadow:none!important;border-radius:0!important}
 html body.terminal-site #terminal.t-price-with-gamma #bfReplay-price{grid-column:1/-1;grid-row:4}
 html body.terminal-site #terminal.t-price-with-gamma #dynamic-hedge{grid-column:1/-1;grid-row:5;min-width:0}
 html body.terminal-site #terminal.t-price-with-gamma #chartPanel svg.bf-pg-svg{height:300px!important;min-height:0!important}
 html body.terminal-site #terminal.t-price-with-gamma #p-gx>:is(#bfReplay-gamma,.phzoom,.phwall){display:none!important}
 html body.terminal-site #terminal.t-price-with-gamma #p-gx .chartwrap>:is(.legend,#gxTime){display:none!important}
 html body.terminal-site #terminal.t-price-with-gamma #p-gx .ph{padding:3px!important;min-height:28px;gap:2px!important}
 html body.terminal-site #terminal.t-price-with-gamma #p-gx .ph h3{font-size:10px!important}
 html body.terminal-site #terminal.t-price-with-gamma #p-gx .ph>:is(#gxTag,.phstar){display:none!important}
 html body.terminal-site #terminal.t-price-with-gamma #p-gx .ph>.sp{flex-wrap:nowrap!important;max-height:32px;min-height:28px;gap:3px!important}
 html body.terminal-site #terminal.t-price-with-gamma #p-gx .ph button{font-size:10px!important;min-height:24px!important;padding:2px 4px!important}
 html body.terminal-site #terminal.t-price-with-gamma #p-gx>.chartwrap{padding:2px!important;min-height:0!important}
}
/* Price assessment: comparable contracts and auditable direction scores. */
#t-price-assessment{padding:14px;color:var(--t-text);font-size:12px;min-width:0}
.pa-heading,.pa-controls,.pa-benchmark{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:8px 0}
.pa-heading>span,.pa-note,.pa-score p,.pa-variant small{color:var(--t-muted)}
.pa-heading{border-bottom:1px solid var(--t-border);margin-bottom:12px}
.pa-scores{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pa-score{border:1px solid var(--t-border);padding:12px;min-width:0}
.pa-score header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pa-score header strong{font-size:22px;font-variant-numeric:tabular-nums}
.pa-long header{color:#45ad81}.pa-short header{color:#df6570}
.pa-score details summary,.pa-family summary{cursor:pointer;padding:6px 0}
.pa-module{padding:10px 0;border-bottom:1px solid var(--t-border)}
.pa-module>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:5px 0}
.pa-module small{grid-column:1/-1;color:var(--t-muted)}
.pa-controls{margin:12px 0}.pa-controls label{display:flex;align-items:center;gap:6px}
#terminal .pa-controls button,#terminal .pa-controls select,#terminal .pa-controls input{min-height:32px;padding:5px 8px;font-size:12px;border:1px solid var(--t-border);border-radius:4px;background:var(--t-panel);color:var(--t-text)}
.pa-controls input{width:160px}.pa-controls button[aria-pressed=true][data-pa-bias="1"]{color:#45ad81!important;border-color:#45ad81!important}.pa-controls button[aria-pressed=true][data-pa-bias="-1"]{color:#df6570!important;border-color:#df6570!important}
.pa-benchmark{border-top:1px solid var(--t-border);border-bottom:1px solid var(--t-border)}
.pa-note{line-height:1.7;margin:8px 0;font-size:11px}
.pa-table-head,.pa-row{display:grid;grid-template-columns:minmax(210px,2.4fr) repeat(5,minmax(70px,1fr));gap:10px;align-items:center;padding:12px 8px;font-variant-numeric:tabular-nums}
.pa-table-head{color:var(--t-muted);border-bottom:1px solid var(--t-border)}
.pa-family{border-bottom:1px solid var(--t-border)}.pa-family>details{padding:0 8px}.pa-variant small{display:block;margin-top:6px;line-height:1.5}
#terminal[data-panel=assessment] .t-workspace{grid-template-columns:minmax(0,1fr)}
#terminal[data-panel=assessment] .t-composer{display:none}
@media(max-width:850px){#t-price-assessment{padding:10px}.pa-scores{gap:8px}.pa-score{padding:10px}.pa-score header{align-items:start;flex-direction:column;gap:6px}.pa-score header strong{font-size:19px}.pa-table-head{display:none}.pa-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0}.pa-variant{grid-column:1/-1}.pa-row>[data-label]::before{content:attr(data-label);display:block;color:var(--t-muted);font-size:11px;margin-bottom:4px}.pa-controls{gap:8px}.pa-controls input{width:145px}.pa-score .pa-module>div{display:block}.pa-module small{display:block}.pa-module>div>span:nth-child(2){display:block}}
/* Market structure is a chart overlay; toggling it never changes the plot geometry. */
html body.terminal-site #terminal #bfPxMain .bf-pg-t{position:relative!important}
html body.terminal-site #terminal #bfPxMain .bf-pg-f{position:absolute!important;left:12px;bottom:34px;right:auto;max-width:calc(100% - 28px);z-index:4;margin:0!important;padding:6px 8px!important;background:var(--t-panel)!important;border:1px solid var(--t-border);border-radius:4px;font-size:11px}
html body.terminal-site #terminal #bfPxMain .iv656{position:absolute!important;top:48px;left:12px;right:12px;z-index:4;margin:0!important;padding:5px 8px!important;background:var(--t-panel)!important;font-size:11px}
#terminal:not([data-area=direction]) #t-price-assessment{display:none!important}
#terminal #t-price-assessment .pa-score header{background:transparent!important;border:0!important;padding:0!important;position:static!important;min-height:0!important;height:auto!important}
.pa-periods{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}
#terminal .pa-score header .w-badge{font-size:14px}
.pa-row>div>small{display:block;margin-top:5px;color:var(--t-muted);line-height:1.55}
.pa-row>div>b{font-weight:550}.pa-leg-evidence{padding:0 8px 8px}
#terminal .pa-controls #pa-days{width:76px}
@media(min-width:851px){.pa-table-head,.pa-row{grid-template-columns:minmax(210px,1.8fr) minmax(120px,1.1fr) minmax(95px,.8fr) minmax(150px,1.25fr) minmax(100px,.85fr) minmax(165px,1.3fr)}}
@media(min-width:851px) and (max-width:1150px){.pa-table-head,.pa-row{grid-template-columns:minmax(175px,1.6fr) repeat(5,minmax(0,1fr));gap:8px}.pa-row{font-size:11px}}

/* Assessment metrics: benefit / reduced advantage / increased risk. */
#terminal{--pa-green:#5ac99b;--pa-amber:#f0b45c;--pa-red:#f27983}
html[data-terminal-theme="light"] #terminal{--pa-green:#19734d;--pa-amber:#a45b05;--pa-red:#bc3341}
#terminal .pa-table-head button{display:flex;align-items:center;justify-content:space-between;gap:4px;border:0;background:transparent;color:var(--t-muted);padding:5px 0;min-height:30px;font:inherit;text-align:left;cursor:pointer;border-radius:0}
#terminal .pa-table-head button[aria-pressed="true"]{color:var(--t-text)}
#terminal .pa-table-head button:focus-visible,#terminal .pa-risk-link:focus-visible{outline:2px solid var(--t-accent);outline-offset:3px}
#terminal .pa-row .pa-advantage,#terminal .pa-row .pa-advantage small{color:var(--pa-green)}
#terminal .pa-row .pa-disadvantage,#terminal .pa-row .pa-disadvantage small{color:var(--pa-amber)}
#terminal .pa-row .pa-risk-up,#terminal .pa-row .pa-risk-up small{color:var(--pa-red)}
#terminal .pa-risk-link{cursor:pointer;font:inherit;font-size:11px;min-height:28px;padding:3px 9px;border:1px solid currentColor;border-radius:3px;color:var(--pa-green);background:transparent}
@media(max-width:850px){#terminal .pa-table-head{display:flex;flex-wrap:wrap;gap:4px 12px;padding:6px 0}#terminal .pa-table-head>span{display:none}#terminal .pa-table-head button{font-size:11px;min-height:36px}#terminal .pa-risk-link{min-height:36px;min-width:44px}}

.pa-price-position{margin:10px 0 4px}
#terminal .pa-price-position>summary{display:list-item;width:fit-content;max-width:100%;padding:5px 9px;border:1px solid currentColor;border-radius:4px;font-size:12px;cursor:pointer}
.pa-price-position>summary>span+span{margin-left:10px;font-size:11px}
#terminal .pa-price-position>.pa-position-pass{color:var(--pa-green)}
#terminal .pa-price-position>.pa-position-partial{color:#dfbc49}
html[data-terminal-theme="light"] #terminal .pa-price-position>.pa-position-partial{color:#806400;background:#fff8d9}
#terminal .pa-price-position>.pa-position-fail{color:var(--pa-red)}
#terminal .pa-price-position>.pa-position-unknown{color:var(--t-muted)}
.pa-price-position>summary:focus-visible{outline:2px solid var(--t-accent);outline-offset:3px}
@media(max-width:850px){#terminal .pa-price-position>summary{padding:9px;line-height:18px}}

.pa-take-profit{padding:10px 0;border-bottom:1px solid var(--t-border);margin-bottom:8px}
.pa-exit-heading{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.pa-exit-heading span,.pa-take-profit>small{color:var(--t-muted);font-size:11px}
.pa-exit-levels{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:6px;margin:8px 0}
#terminal .pa-exit-levels button{display:grid;gap:5px;text-align:left;min-width:0;padding:8px;border:1px solid var(--t-border);border-radius:4px;background:var(--t-panel);color:var(--t-text);font-size:11px;cursor:pointer}
#terminal .pa-exit-levels button b{font-size:14px;font-variant-numeric:tabular-nums;color:var(--pa-green)}
#terminal .pa-exit-levels button small{color:var(--t-muted)}
#terminal .pa-exit-levels button:disabled{cursor:default;opacity:.65}
#terminal .pa-exit-levels button:disabled b{color:var(--t-muted)}

#terminal .pa-rank-link{cursor:pointer;font:inherit;font-size:11px;min-height:28px;padding:3px 9px;border:1px solid currentColor;border-radius:3px;color:var(--pa-green);background:transparent}
#terminal .pa-rank-link:focus-visible{outline:2px solid var(--t-accent);outline-offset:3px}
.pa-ranking-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:10px 0;border-bottom:1px solid var(--t-border);font-size:12px}
.pa-ranking-context span{color:var(--t-muted)}
#pa-comparison{scroll-margin-top:100px}
@media(max-width:850px){#terminal .pa-rank-link{min-height:36px;min-width:44px}}

.pa-efficiency{border:1px solid var(--t-border);margin:12px 0;padding:10px}
.pa-efficiency-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}
#terminal .pa-efficiency-head button{font:inherit;font-size:11px;padding:6px 9px;min-height:32px;color:var(--t-muted);background:var(--t-panel);border:1px solid var(--t-border);border-radius:4px;cursor:pointer}
#terminal .pa-efficiency-head button[aria-pressed=true]{color:var(--t-accent);border-color:var(--t-accent)}
.pa-efficiency-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px;align-items:center;padding:8px 4px;border-top:1px solid var(--t-border);font-size:12px;font-variant-numeric:tabular-nums}
.pa-efficiency-labels{color:var(--t-muted);font-size:11px}
.pa-efficiency-row small{display:block;color:var(--t-muted);font-size:11px;margin-top:3px}
.pa-rank-positive{color:var(--pa-green)}.pa-rank-negative{color:var(--pa-amber)}
@media(max-width:850px){.pa-efficiency{padding:8px}.pa-efficiency-row{grid-template-columns:1.1fr 1fr 1fr;gap:6px;font-size:11px}.pa-efficiency-head>div{display:flex;gap:5px;flex-wrap:wrap}#terminal .pa-efficiency-head button{min-height:36px}}
/* Keep the rule-help control from covering the phone's condition selector. */
@media(max-width:850px){#terminal #w-screen-form .setup-current-help{width:44px!important;min-width:44px;max-width:44px;padding:0}#terminal #w-screen-form .setup-select-host>select{width:calc(100% - 48px)!important}}
/* Current quote versus same-bucket historical valuation, vector-rendered. */
#terminal .pa-premium-mini{display:block;width:100%;max-width:190px;margin-top:8px;padding:5px 0;border:0;background:transparent;text-align:left;color:var(--t-text);cursor:pointer}
.pa-premium-mini span,.pa-premium-mini small{display:block;font-size:10px;line-height:1.5}
#terminal .pa-premium-mini small,.pa-premium-pending{color:var(--t-muted)!important;font-size:10px}
.pa-premium-chart{display:block;width:100%;height:auto;overflow:visible;color:var(--t-accent)}
.pa-premium-chart rect{fill:currentColor;opacity:.48}.pa-premium-current{stroke:var(--t-text);stroke-width:1.5;vector-effect:non-scaling-stroke}.pa-premium-current-dot{fill:var(--t-text)}
#terminal .pa-cost-lower .pa-premium-chart,#terminal .pa-cost-lower>span{color:var(--pa-green)}
#terminal .pa-cost-higher .pa-premium-chart,#terminal .pa-cost-higher>span{color:var(--pa-amber)}
.pa-premium-detail{color:var(--t-text)}.pa-premium-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:24px;align-items:center;padding:12px 0}
.pa-premium-axis{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--t-muted)}
.pa-premium-layout dl{margin:0}.pa-premium-layout dl>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0}.pa-premium-layout dt{color:var(--t-muted)}.pa-premium-layout dd{margin:0}
.pa-premium-legs>div{display:flex;flex-wrap:wrap;gap:6px 16px;padding:8px 0;border-top:1px solid var(--t-border)}.pa-premium-legs small{color:var(--t-muted)}
@media(max-width:850px){.pa-premium-layout{grid-template-columns:1fr;gap:8px}.pa-premium-legs>div{display:grid}#terminal .pa-premium-mini{min-height:44px}}
/* Give both the price strip and pressure bars vertical room. */
html body.terminal-site #terminal.t-desktop-charts #dynamic-hedge :is(#cvPress,#cvPressX){height:440px!important}
@media(max-width:850px){html body.terminal-site #terminal #dynamic-hedge :is(#cvPress,#cvPressX){height:320px!important}}
.t-vol-switch{display:flex;gap:6px;padding:5px 14px;border-bottom:1px solid var(--t-border)}.t-vol-switch[hidden]{display:none!important}
#terminal .t-vol-switch button{background:transparent;color:var(--t-muted);padding:6px 12px;border:1px solid transparent;border-radius:3px;font-size:12px}
#terminal .t-vol-switch [data-vol-area=longvol][aria-pressed=true]{color:var(--pa-green);border-color:var(--pa-green)}#terminal .t-vol-switch [data-vol-area=shortvol][aria-pressed=true]{color:var(--pa-red);border-color:var(--pa-red)}
#t-family-vol{padding:14px;min-width:0;color:var(--t-text);font-size:12px}#t-family-vol .w-badge{white-space:nowrap}
.fv-head,.fv-head>div,.fv-verdict{display:flex;align-items:center;justify-content:space-between;gap:12px}.fv-head>div{justify-content:start;flex-wrap:wrap}.fv-head span{color:var(--t-muted);font-size:11px}
.fv-main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;margin-top:16px}.fv-market,.fv-choices{min-width:0}.fv-verdict strong{font-weight:550;font-size:15px}.fv-meters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.fv-meter{min-width:0}.fv-meter>div{display:flex;justify-content:space-between;gap:4px;flex-wrap:wrap}.fv-meter svg{width:100%;height:28px}.fv-meter small,.fv-choices>small{display:block;color:var(--t-muted);line-height:1.6}.fv-meter p{margin:5px 0}.fv-rule-heading{display:flex;gap:12px;align-items:center}
.fv-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}#terminal .fv-list button{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:9px 7px;border:1px solid var(--t-border);border-radius:3px;background:transparent;text-align:left;color:var(--t-text)}#terminal .fv-list button[aria-pressed=true]{border-color:var(--t-accent)}
.fv-legs{display:grid;gap:5px;padding:8px 0;font-variant-numeric:tabular-nums}.fv-buy{color:var(--pa-green)}.fv-sell{color:var(--pa-red)}.fv-choices>.t-primary{margin:12px 0;width:100%}.fv-plan{padding:12px 0;margin-top:12px;border-top:1px solid var(--t-border);line-height:1.7}.fv-plan p{margin:5px 0}.fv-details>summary{cursor:pointer;padding:10px 0}.fv-main .w-evidence-note{font-size:11px}
@media(max-width:850px){.t-vol-switch{padding:4px 10px}#terminal .t-vol-switch button{min-height:40px}#t-family-vol{padding:10px}.fv-head{align-items:start}.fv-main{grid-template-columns:1fr;gap:12px}.fv-meters{gap:8px}.fv-verdict strong{font-size:14px}.fv-head>div{gap:5px}.fv-head>button{flex-shrink:0}}
.fv-probability{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0;color:var(--t-muted)}.fv-probability select{max-width:90px}.fv-probability small{flex-basis:100%;font-size:10px}
/* Each split study uses the full card, with geometry rendered at its actual size. */
@media(min-width:851px){
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators>section{display:grid!important;grid-template-rows:28px minmax(0,1fr)}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .oi-chart{height:100%!important;box-sizing:border-box;display:flex;flex-direction:column;min-height:0!important;min-width:0;overflow:hidden}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .overview-ind-svg{flex:1 1 0;height:100%!important;width:100%!important;min-height:0!important;display:block;max-height:none!important}
 html body.terminal-site #terminal.t-desktop-charts #overview-indicators .desktop-chart-values{flex:0 0 20px}
}
#terminal #overview-indicators .ivov-ax{font-size:10px!important}
/* Keep the active instrument and live daily change at the left of every workspace. */
#terminal .t-context{justify-content:flex-start}
#terminal .t-context>div{order:2;flex-shrink:0}
#terminal .t-context #t-search{order:1;justify-content:flex-start;max-width:100%;width:auto;gap:8px;min-width:0;padding-left:0!important;font-variant-numeric:tabular-nums}
#terminal .t-quote-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:24ch}
#terminal .t-symbol .t-quote-price{font-size:16px;font-weight:650;white-space:nowrap;border-radius:2px}
#terminal .t-symbol .t-quote-day{font-size:12px;white-space:nowrap}
#terminal .t-symbol[data-tone=up] :is(.t-quote-price,.t-quote-day){color:var(--pa-green)}
#terminal .t-symbol[data-tone=down] :is(.t-quote-price,.t-quote-day){color:var(--pa-red)}
#terminal .t-symbol[data-tone=flat] :is(.t-quote-price,.t-quote-day){color:var(--t-muted)}
.crowd-stop-panel{border-top:1px solid var(--t-border);padding:9px 0;font-size:12px}
.crowd-stop-panel>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px}
.crowd-stop-panel p{line-height:1.6;margin:8px 0;color:var(--t-muted)}
.crowd-stop-verdict{display:flex;gap:14px;flex-wrap:wrap}.crowd-stop-verdict .w-badge{margin-left:5px}
.crowd-stop-levels>div{display:flex;gap:12px;align-items:baseline;border-bottom:1px solid var(--t-border);padding:7px 0;font-variant-numeric:tabular-nums}
.crowd-stop-levels small{margin-left:auto;color:var(--t-muted)}
.crowd-stop-params{margin-top:10px}.crowd-stop-params label{display:flex;align-items:center;gap:6px;padding:3px 0}
#terminal .crowd-stop-params input{width:64px;min-height:30px;padding:4px;font-size:12px}
@media(max-width:850px){#terminal .t-context{height:auto;min-height:44px;gap:6px;flex-wrap:wrap;padding-block:5px}#terminal .t-context #t-search{flex-wrap:wrap;column-gap:6px;row-gap:2px}#terminal .t-quote-name{max-width:13ch}#terminal .t-symbol .t-quote-code{display:none}#terminal .t-context>div{margin-left:auto}.crowd-stop-levels>div{flex-wrap:wrap}.crowd-stop-levels small{margin-left:0}}
#terminal .t-symbol .t-quote-day{display:inline-block}
#terminal #bfReplay-price .bf-rp-scope{display:none!important}
#terminal [data-replay-help]{margin-left:auto;min-width:24px;min-height:24px;border-radius:50%;padding:2px 6px}
#terminal #replay-usage-help{position:fixed;margin:0;inset:auto;padding:14px;border:1px solid var(--t-border);border-radius:5px;background:var(--t-panel);color:var(--t-text);box-shadow:0 8px 30px #0004;font-size:12px;line-height:1.7;box-sizing:border-box}
#replay-usage-help p{margin:6px 0}

/* Drag the data window without resizing or scrolling the page. */
#overview-indicators svg[data-times]{cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-y}
#overview-indicators.study-dragging,#overview-indicators.study-dragging *{cursor:grabbing!important;user-select:none!important}

/* The tick-pressure picker stays beside its trigger, including after scrolling. */
#dynamic-hedge .dh-window-control{position:relative;display:inline-flex;flex:none}
#dynamic-hedge .dh-window-control>select[hidden]{display:none!important}
#dynamic-hedge .dh-window-button{font:inherit;white-space:nowrap;min-height:30px;padding:4px 9px}
#dynamic-hedge .dh-window-menu{position:absolute;z-index:30;right:0;bottom:calc(100% + 4px);min-width:100%;width:max-content;padding:4px;background:var(--t-panel,#142031);color:var(--t-text,#dce6f2);border:1px solid var(--t-border,#354457);border-radius:5px;box-shadow:0 4px 16px #0003}
#dynamic-hedge .dh-window-menu[hidden]{display:none!important}
#dynamic-hedge .dh-window-menu button{display:block;width:100%;min-height:36px;padding:6px 10px;font:inherit;white-space:nowrap;text-align:left;border:0;background:transparent;color:inherit}
#dynamic-hedge .dh-window-menu button[aria-selected=true]{color:var(--t-accent,#368778);font-weight:600}
#dynamic-hedge .dh-window-menu button:is(:hover,:focus-visible){background:var(--t-hover,#36877822);outline:1px solid var(--t-accent,#368778)}

/* Desktop volatility is a chart dashboard; only phones show one study per tab. */
@media(min-width:851px){
 html body.terminal-site #terminal.t-vol-dashboard .t-analysis{display:block;min-height:0}
 html body.terminal-site #terminal.t-vol-dashboard #t-vol-panels{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;align-items:start;background:var(--t-border)}
 html body.terminal-site #terminal.t-vol-dashboard :is(#overview-indicators,#three-vol){display:contents!important}
 html body.terminal-site #terminal.t-vol-dashboard #t-vol-panels>:is(#overview-volatility,#p-optval,#p-volgrid){grid-column:auto!important;min-width:0;order:3;background:var(--t-panel)}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators>section{display:grid;grid-template-rows:28px minmax(0,1fr);height:clamp(230px,29vh,320px)!important;min-width:0;overflow:hidden;order:1;background:var(--t-panel);border:0;border-radius:0}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .ph{height:28px;min-height:28px;padding:5px 8px!important}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .ph h3{font-size:11px}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .oi-chart{height:100%!important;min-height:0;padding:3px 5px;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;background:none}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators svg.overview-ind-svg{height:100%!important;min-height:0;width:100%!important;flex:1 1 0;max-height:none}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .desktop-chart-values{flex:0 0 20px}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .oi-legend{display:none}
 html body.terminal-site #terminal.t-vol-dashboard #three-vol>.vol-card{order:2;min-width:0;padding:8px!important;border:0;border-radius:0;height:clamp(240px,29vh,320px);box-sizing:border-box;background:var(--t-panel)}
 html body.terminal-site #terminal.t-vol-dashboard #three-vol .vol-plot{height:clamp(130px,18vh,210px)!important;width:100%!important}
 html body.terminal-site #terminal.t-vol-dashboard #three-vol>details{order:4;grid-column:1/-1;padding:8px;background:var(--t-panel)}
 html body.terminal-site #terminal.t-vol-dashboard #t-family-vol{padding:0 0 12px;border-bottom:1px solid var(--t-border)}
 html body.terminal-site #terminal.t-vol-dashboard .fv-main{grid-template-columns:1fr;gap:12px;margin-top:12px}
 html body.terminal-site #terminal.t-vol-dashboard .fv-head{align-items:start;gap:6px}
 html body.terminal-site #terminal.t-vol-dashboard .fv-head>button{flex-shrink:0;font-size:11px;padding:5px}
 html body.terminal-site #terminal.t-vol-dashboard .fv-head>div{gap:5px}
 html body.terminal-site #terminal.t-vol-dashboard .fv-verdict strong{font-size:13px}
 html body.terminal-site #terminal.t-vol-dashboard .fv-meters{gap:8px;margin:12px 0}
 html body.terminal-site #terminal.t-vol-dashboard #w-recommend{display:none!important}
}
@media(min-width:1441px){html body.terminal-site #terminal.t-vol-dashboard #t-vol-panels{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(min-width:851px){
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .ph{display:flex!important;align-items:center!important;box-sizing:border-box;overflow:visible}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .ph h3{margin:0!important;line-height:16px!important}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators>section{border-radius:0!important;border:0!important}
 html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .overview-zoom-toggle{top:3px;right:5px;font-size:10px;min-height:22px;padding:2px 5px}
 html body.terminal-site #terminal.t-vol-dashboard #t-vol-panels>#p-volgrid{grid-column:1/-1!important}
 #terminal.t-vol-dashboard .t-vol-focus{outline:1px solid var(--t-accent);outline-offset:-1px}
 #terminal.t-vol-dashboard #t-vol-panels :is(section,.mine-cell){scroll-margin-top:96px}
}
@media(min-width:1441px){html body.terminal-site #terminal.t-vol-dashboard #t-vol-panels>#overview-volatility{grid-column:span 2!important}}

html body.terminal-site #terminal :is(.t-vol-placeholder,#overview-indicators) .ph{box-sizing:border-box}
html body.terminal-site #terminal:is(.t-vol-dashboard,.t-desktop-charts) #overview-indicators .ph{height:28px!important;min-height:28px!important;max-height:28px!important;display:flex!important;align-items:center!important;padding:4px 52px 4px 8px!important;margin:0!important;overflow:hidden}
html body.terminal-site #terminal:is(.t-vol-dashboard,.t-desktop-charts) #overview-indicators .ph h3{margin:0!important;font-size:11px!important;line-height:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.terminal-site #terminal #three-vol .vol-legend{gap:6px 10px;font-size:11px}
#three-vol [data-percentile]{font-variant-numeric:tabular-nums;font-weight:600}
#terminal #p-optval .ov-exph{display:flex;flex-wrap:wrap;gap:5px;align-items:center;position:relative;isolation:isolate}
#terminal #p-optval :is(.bf-calbtn,#ovBase){position:relative;z-index:2;flex:none;pointer-events:auto}
#terminal #ovExpNote{display:none!important}
#terminal #ov-expiry-picker{position:fixed;inset:auto;margin:0;padding:6px;border:1px solid var(--t-border);border-radius:4px;background:var(--t-panel);color:var(--t-text);max-height:260px;overflow:auto}
#terminal #ov-expiry-picker button{display:block;width:100%;padding:8px;text-align:left;background:transparent;color:inherit;border:0;white-space:nowrap}
#terminal #ov-expiry-picker button[aria-selected=true]{color:var(--t-accent);background:var(--t-soft)}

#terminal .w-vol-range{display:flex;align-items:center;gap:5px}
#terminal #w-screen-form .w-vol-range input{width:66px;min-width:0;flex:1}
#terminal .fv-purpose{display:flex;align-items:center;gap:8px;margin:8px 0}
#terminal .fv-purpose select{flex:1;min-width:0;font-size:12px}
#terminal .fv-exposure{display:flex;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums;margin:8px 0}
#terminal #fv-payoff{padding:8px 0;min-width:0}
#terminal #fv-payoff .t-pnl-chart{width:100%;height:auto;min-height:170px}
#terminal #fv-payoff .t-pnl-note{display:none}
@media(max-width:850px){#terminal #w-screen-form .w-vol-range input{width:100%;font-size:16px}#terminal .fv-purpose select{font-size:16px;min-height:42px}}

/* A single top-level filter; study labels remain with the charts. */
#terminal #t-top-search{margin-right:10px;border-right:1px solid var(--t-border);font-weight:600}
#terminal #t-top-search[aria-expanded=true]{color:var(--t-accent)}
#terminal #t-market-search.t-top-search-panel{padding:10px 14px;background:var(--t-panel);border-bottom:1px solid var(--t-border);width:100%;box-sizing:border-box}
#terminal #t-market-search[hidden]{display:none!important}
#terminal .t-top-search-panel .w-screen-head{display:none}
#terminal .t-top-search-panel #w-screen-form{margin:0;gap:10px;align-items:end}
#terminal .t-top-search-panel .w-search-verdict{margin:8px 0}
#terminal .t-top-search-panel .w-screen-tile{min-height:52px}
#terminal:is([data-area=longvol],[data-area=shortvol]):is([data-panel=family],[data-panel=dashboard]) .t-workspace{grid-template-columns:minmax(0,1fr)}
#terminal:is([data-area=longvol],[data-area=shortvol]):is([data-panel=family],[data-panel=dashboard]) .t-composer{display:none!important}
#terminal[data-panel=family] .fv-main{grid-template-columns:minmax(280px,.8fr) minmax(380px,1.2fr);align-items:start}
#terminal .fv-odds{margin:12px 0;padding:10px;border:1px solid var(--t-border);border-radius:4px;font-variant-numeric:tabular-nums}
.fv-odds-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.fv-odds small{display:block;color:var(--t-muted);margin:5px 0}.fv-odds svg{width:100%;height:62px}.fv-odds-value,.fv-odds-history{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0}.fv-odds-value b{font-size:22px}.fv-odds-history small{flex-basis:100%}.fv-odds label{display:flex;align-items:center;justify-content:space-between;gap:10px}.fv-odds-time{flex-direction:column;align-items:stretch!important;margin-top:8px}.fv-odds-time span{display:flex;justify-content:space-between}.fv-odds-time input{width:100%;accent-color:var(--t-accent)}
.fv-odds-help{position:relative;flex:0 0 22px}.fv-odds-help summary{cursor:pointer;list-style:none;border:1px solid var(--t-border);border-radius:50%;text-align:center}.fv-odds-help[open]{flex-basis:70%}.fv-odds-help p{font-size:11px;line-height:1.6;color:var(--t-muted)}
html[data-terminal-theme=dark] body.terminal-site #terminal :is(#overview-volatility,#overview-volatility .mine-cell,#ivkBox,#ivkBox .ivk-toolbar,#p-optval,#ovChips,#ovIvkSlot),html[data-terminal-theme=dark] body.terminal-site #terminal :is(#overview-volatility,#overview-volatility .mine-cell,#ivkBox,#ivkBox .ivk-toolbar,#p-optval,#ovChips,#ovIvkSlot):hover{background:#101a28!important;background-image:none!important;box-shadow:none!important}
html[data-terminal-theme=light] body.terminal-site #terminal :is(#overview-volatility,#overview-volatility .mine-cell,#ivkBox,#p-optval,#ovChips,#ovIvkSlot),html[data-terminal-theme=light] body.terminal-site #terminal :is(#overview-volatility,#overview-volatility .mine-cell,#ivkBox,#p-optval,#ovChips,#ovIvkSlot):hover{background:#fff!important;background-image:none!important;box-shadow:none!important}
@media(max-width:850px){#terminal[data-panel=family] .fv-main{grid-template-columns:minmax(0,1fr)}#terminal.t-vol-dashboard #t-vol-panels{display:block!important}#terminal.t-vol-dashboard #overview-indicators,#terminal.t-vol-dashboard #three-vol{display:block!important}#terminal.t-vol-dashboard #overview-indicators>section{height:300px}#terminal #t-market-search.t-top-search-panel{padding:10px}.fv-odds-help[open]{flex-basis:85%}}
/* Legacy valuation wrappers share the chart surface, including hover. */
html[data-terminal-theme=dark] body.terminal-site #terminal :is(#overview-volatility .p,#overview-volatility .ph,#overview-volatility .ov-top,#p-mm-ivk,#p-mm-ivk .ph,#p-mm-ivk .ivk-top,#p-mm-ivk .ivk-head),html[data-terminal-theme=dark] body.terminal-site #terminal :is(#overview-volatility .p,#overview-volatility .ph,#overview-volatility .ov-top,#p-mm-ivk,#p-mm-ivk .ph,#p-mm-ivk .ivk-top,#p-mm-ivk .ivk-head):hover{background:#101a28!important;background-image:none!important;box-shadow:none!important}
html[data-terminal-theme=light] body.terminal-site #terminal :is(#overview-volatility .p,#overview-volatility .ph,#overview-volatility .ov-top,#p-mm-ivk,#p-mm-ivk .ph),html[data-terminal-theme=light] body.terminal-site #terminal :is(#overview-volatility .p,#overview-volatility .ph,#overview-volatility .ov-top,#p-mm-ivk,#p-mm-ivk .ph):hover{background:#fff!important;background-image:none!important;box-shadow:none!important}
#terminal #t-panel-tabs{scroll-margin-top:52px}
#terminal #t-family-vol.fv-hedging :is(.fv-meters,.fv-rule-heading,.fv-market>.pa-note,.fv-probability,.fv-probability+small){display:none!important}
@media(max-width:850px){html body.terminal-site #terminal.t-vol-dashboard #overview-indicators{height:auto!important;max-height:none!important;overflow:visible!important}html body.terminal-site #terminal.t-vol-dashboard #overview-indicators>section{display:grid;grid-template-rows:28px minmax(0,1fr);height:300px!important;overflow:hidden}html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .oi-chart{height:100%!important;min-height:0;padding:3px 5px;box-sizing:border-box;display:flex;flex-direction:column}html body.terminal-site #terminal.t-vol-dashboard #overview-indicators svg.overview-ind-svg{width:100%;height:100%!important;min-height:0;flex:1 1 0}html body.terminal-site #terminal.t-vol-dashboard #overview-indicators .oi-legend{display:none}}
@media(min-width:851px){html body.terminal-site #terminal.t-vol-dashboard #three-vol>.vol-card{height:auto!important;min-height:clamp(240px,29vh,320px)}}
@media(max-width:850px){html body.terminal-site #terminal.t-vol-dashboard :is(#overview-volatility,#overview-volatility>.p){height:auto!important;max-height:none!important;overflow:visible!important}}
/* Direct family results and expiry-specific contract odds. */
#terminal[data-panel=odds] .t-workspace{grid-template-columns:minmax(0,1fr)}
#terminal[data-panel=odds] .t-composer{display:none!important}
#t-family-vol .fv-auto-market{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:14px 0 20px}
#t-family-vol .fv-auto-market h3{font-size:13px;margin:0 0 10px}
#terminal #t-family-vol .fv-auto-pick{display:grid;grid-template-columns:1fr 1fr;gap:4px;text-align:left;width:100%;margin-bottom:4px;padding:10px;border:1px solid var(--t-border);background:var(--t-panel);border-radius:3px}
#t-family-vol .fv-auto-pick small{grid-column:1/-1;color:var(--t-muted)}
#t-family-vol .fv-direct-plans{display:flex;gap:6px;flex-wrap:wrap}
#terminal #t-family-vol .fv-direct-plans button{display:flex;gap:12px;align-items:center;padding:7px 10px;border:1px solid var(--t-border)}
#terminal #t-family-vol .fv-direct-plans button[aria-pressed=true]{border-color:var(--t-accent)}
#t-family-vol .fv-copy-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:22px;margin:16px 0}
#t-family-vol .fv-legs>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--t-border)}
#t-family-vol .fv-copy-layout #fv-payoff{padding:0}
#t-family-vol>details{border-top:1px solid var(--t-border);padding:10px 0}
#terminal #t-odds{padding:12px;color:var(--t-text);min-width:0;font-size:12px}
.oc-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.oc-toolbar label{display:flex;align-items:center;gap:8px}.oc-toolbar .oc-day{min-width:220px;flex:1;max-width:420px}.oc-day span{white-space:nowrap}.oc-day input{min-width:60px;flex:1;accent-color:var(--t-accent)}
.oc-basis{color:var(--t-muted)}#odds-help{margin-left:auto;max-width:550px}#odds-help summary{cursor:pointer;list-style:none;border:1px solid var(--t-border);border-radius:50%;width:22px;height:22px;text-align:center;line-height:22px}#odds-help p{font-size:11px;line-height:1.6;color:var(--t-muted)}
.oc-rankings{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:14px 0}.oc-rank{border:1px solid var(--t-border);padding:10px}.oc-rank h3{margin:0 0 8px;font-size:12px}.oc-rank.up h3{color:var(--pa-green)}.oc-rank.down h3{color:var(--pa-red)}.oc-rank ol{margin:0;padding-left:24px}.oc-rank p{color:var(--t-muted)}
#terminal .oc-rank button{display:flex;align-items:center;gap:10px;width:100%;padding:6px;background:transparent;text-align:left;font-variant-numeric:tabular-nums}.oc-rank button small{margin-left:auto;color:var(--t-muted)}
.oc-chain-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0}.oc-chain-header span{color:var(--t-muted)}
#terminal .oc-chain{width:100%;table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:12px}
.oc-chain th,.oc-chain td{padding:5px 3px;text-align:center;border-bottom:1px solid var(--t-border);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oc-chain thead{background:var(--t-panel)}.oc-chain thead tr:first-child th:first-child{color:var(--pa-green)}.oc-chain thead tr:first-child th:last-child{color:var(--pa-red)}
#terminal .oc-chain button{padding:6px 2px;min-height:30px;width:100%;border:0;background:transparent;font-size:inherit;color:inherit;font-variant-numeric:tabular-nums}.oc-chain button[aria-pressed=true]{outline:1px solid var(--t-accent);outline-offset:-2px}.oc-chain small{display:block;font-size:9px}
#terminal .oc-high{background:color-mix(in srgb,var(--pa-green) 16%,var(--t-panel))!important;color:var(--pa-green)!important;box-shadow:inset 2px 0 var(--pa-green)}
.oc-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.oc-detail-grid>section{min-width:0;border:1px solid var(--t-border);padding:10px;background:var(--t-panel)}.oc-detail-grid h3{font-size:12px;margin:0 0 8px}.oc-detail-grid svg{width:100%;height:auto;display:block}.oc-detail-grid svg text{fill:var(--t-muted);font-size:11px}.oc-chart-empty{height:180px;display:grid;place-items:center;color:var(--t-muted)}
#oc-leg-detail .fv-odds-time{display:none!important}#oc-leg-detail .fv-odds{max-width:760px}.oc-detail-grid small{color:var(--t-muted)}
#terminal[data-panel=odds] .t-analysis{display:flex;flex-direction:column}#terminal[data-panel=odds] #t-odds{order:-1}
#terminal[data-panel=odds] #t-vol-panels{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px}
#terminal[data-panel=odds] :is(#overview-indicators,#three-vol){display:contents!important}
#terminal[data-panel=odds] #overview-indicators>section{height:300px;display:grid;grid-template-rows:28px minmax(0,1fr);overflow:hidden}
#terminal[data-panel=odds] #overview-indicators .ph{height:28px!important;min-height:28px!important;padding:4px 50px 4px 8px!important;display:flex;align-items:center}
#terminal[data-panel=odds] #overview-indicators h3{margin:0;font-size:11px}
#terminal[data-panel=odds] #overview-indicators .oi-chart{min-height:0;height:100%;display:flex;flex-direction:column;padding:3px;box-sizing:border-box}
#terminal[data-panel=odds] #overview-indicators svg{width:100%;height:100%!important;min-height:0;flex:1 1 0}
#terminal[data-panel=odds] #overview-volatility{grid-column:span 2}#terminal[data-panel=odds] #overview-indicators .oi-legend{display:none}
@media(max-width:850px){#t-family-vol .fv-auto-market,#t-family-vol .fv-copy-layout,.oc-rankings,.oc-detail-grid{grid-template-columns:minmax(0,1fr)}#terminal #t-odds{padding:8px}.oc-toolbar{gap:8px}.oc-toolbar>label{font-size:12px}.oc-toolbar select{font-size:16px;max-width:180px}.oc-toolbar .oc-day{flex-basis:100%;max-width:none}.oc-rankings{gap:8px}.oc-chain .oc-wide{display:none}.oc-chain thead tr:first-child{display:none}.oc-chain thead tr:nth-child(2):before{display:none}#terminal .oc-chain{font-size:10px}.oc-chain th,.oc-chain td{padding:4px 1px}.oc-chain tbody th{font-size:11px}#terminal .oc-chain button{min-height:40px}.oc-chain small{font-size:8px}.oc-rank button small{font-size:10px}.oc-chain-header span{font-size:10px}.oc-chain-header{flex-wrap:wrap}#terminal[data-panel=odds] #t-vol-panels{display:block!important}#terminal[data-panel=odds] :is(#overview-indicators,#three-vol){display:block!important;height:auto!important;max-height:none!important;overflow:visible!important}#terminal[data-panel=odds] :is(#overview-volatility,#overview-volatility>.p){height:auto!important;max-height:none!important;overflow:visible!important}}
.oc-mobile-only{display:none}@media(max-width:850px){.oc-mobile-only{display:table-cell}}
#terminal .oc-chain :is(th,td){padding:3px 2px;font-size:11px;background:var(--t-panel);border-color:var(--t-border)}
#terminal .oc-chain tbody th{font-weight:650;background:var(--t-panel)}
#terminal .oc-chain button{min-height:24px;padding:3px 1px;font-size:11px}
.oc-pages{display:flex;align-items:center;justify-content:center;gap:16px;padding:8px;font-size:11px;color:var(--t-muted)}
#terminal .oc-pages button{min-height:28px;padding:3px 10px}
@media(max-width:850px){#terminal .oc-chain :is(th,td){font-size:10px}#terminal .oc-chain button{font-size:10px;min-height:38px}.oc-chain th:first-child,.oc-chain td:first-child{color:var(--t-text)}}

/* Risk workspace contains the saved-position monitor only. */
html body.terminal-site #terminal[data-area="risk"] .t-analysis > :not(#t-risk-panels){display:none!important}

#t-family-vol .fv-market-symbol{margin:0 0 16px}#t-family-vol .fv-market-symbol h4{font-size:13px;margin:0 0 7px;color:var(--t-text)}

#t-family-vol .fv-current{scroll-margin-top:150px}

#t-family-vol .fv-symbol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px}#terminal #t-family-vol .fv-symbol-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:88px;padding:10px 6px;border:1px solid transparent;border-radius:5px;font-size:12px}#terminal #t-family-vol .fv-symbol-tile.fv-long{background:color-mix(in srgb,#319768 13%,var(--t-panel));color:var(--pa-green,#55bd8c)}#terminal #t-family-vol .fv-symbol-tile.fv-short{background:color-mix(in srgb,#d3535b 13%,var(--t-panel));color:var(--pa-red,#e3757c)}#terminal #t-family-vol .fv-symbol-tile:hover{border-color:currentColor}#t-family-vol .fv-symbol-tile .w-stock-mark{width:42px;height:42px;border-radius:8px;background:#fff;display:grid;place-items:center;overflow:hidden}#t-family-vol .fv-symbol-tile img{width:42px;height:42px;object-fit:contain}#t-family-vol [data-fv-back]{margin:8px 0}

.ri-analysis{grid-column:1/-1;border:1px solid var(--t-border);padding:12px;background:var(--t-panel);border-radius:6px;min-width:0}.ri-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.ri-controls label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--t-muted)}.ri-controls input{width:110px}.ri-controls :is(input,select){font:inherit;font-size:12px;color:var(--t-text);background:var(--t-panel);border:1px solid var(--t-border);border-radius:4px;padding:7px}.ri-controls input:disabled{opacity:.6}.ri-help{margin-left:auto;max-width:560px;font-size:11px}.ri-help summary{cursor:pointer;list-style:none;border:1px solid var(--t-border);border-radius:50%;width:25px;height:25px;text-align:center;line-height:25px}.ri-verdict{display:flex;gap:16px;flex-wrap:wrap;padding:14px 0;font-size:12px}.ri-verdict span{color:var(--t-muted)}.ri-table{white-space:nowrap;font-variant-numeric:tabular-nums}.ri-table small{display:block;color:var(--t-muted);font-size:10px;margin-top:4px}.ri-table th,.ri-table td{padding:9px 7px}.ri-table th:first-child{position:sticky;left:0;background:var(--t-panel);z-index:1}@media(max-width:850px){.ri-controls{display:grid;grid-template-columns:1fr 1fr;align-items:start}.ri-controls :is(input,select){min-width:0;width:100%;font-size:16px;box-sizing:border-box}.ri-controls label{min-width:0}.ri-help{grid-column:1/-1}.ri-analysis{padding:10px}.ri-verdict{gap:7px}.ri-table{font-size:11px}}

#terminal .ri-table small.w-positive{color:var(--pa-green,#55bd8c)}#terminal .ri-table small.w-negative{color:var(--pa-red,#e3757c)}#terminal #w-risk .ri-table [data-ri-scenario]{border:0;background:transparent;color:var(--t-text);padding:0;min-height:32px;font-size:11px;text-align:left}

.ri-sliders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:16px 0}.ri-sliders label>span{display:flex;justify-content:space-between;font-size:12px;color:var(--t-muted)}.ri-sliders input{width:100%;accent-color:var(--t-accent);touch-action:pan-y}.ri-live{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:12px;border:1px solid var(--t-border);margin:10px 0;font-size:12px}.ri-cost-inputs{padding:9px 0}.ri-cost-inputs>.ri-controls{margin-top:12px}.ri-decision{margin:12px 0;border:1px solid var(--t-border);padding:12px;font-size:12px}.dr-verdict{padding:8px 0;display:flex;justify-content:space-between;gap:12px}.dr-verdict small{color:var(--t-muted)}.dr-verdict.exit,.dr-verdict.restructure{color:var(--pa-red,#e3757c)}.dr-verdict.hold{color:var(--pa-green,#55bd8c)}.dr-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:12px 0}.dr-metrics span{color:var(--t-muted)}.dr-metrics b{display:block;color:var(--t-text);margin-top:6px;font-size:15px}.dr-metrics small{display:block;margin-top:5px}.dr-stress,.dr-wall{display:grid;gap:9px;padding:12px 0;border-top:1px solid var(--t-border)}.dr-wall table{width:100%;white-space:nowrap}.ri-decision details{color:var(--t-muted)}@media(max-width:850px){.ri-sliders{grid-template-columns:1fr;gap:12px}.ri-sliders input{min-height:30px}.dr-metrics{grid-template-columns:1fr 1fr}.dr-verdict{flex-direction:column}.ri-live{gap:8px}.ri-decision{padding:8px}}

.w-auto-monitor{border-bottom:1px solid var(--t-line);padding-bottom:10px;margin-bottom:10px}.w-auto-monitor .setup-evidence-row{border:0}.w-monitor-response{font-size:12px;color:var(--t-text);margin:2px 0 0!important}.w-auto-monitor:last-child{border:0}

.rt-editor{min-width:0}.rt-toolbar,.rt-linear{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:14px}.rt-toolbar h3{margin:0}.rt-toolbar label,.rt-linear label{display:flex;align-items:center;gap:6px}.rt-editor input{width:68px}.rt-editor :is(input,select){background:var(--t-panel);color:var(--t-text);border:1px solid var(--t-border);border-radius:4px;padding:6px}.rt-linear{padding:12px;border:1px solid var(--t-border);border-radius:4px}.rt-linear details{margin-left:auto;font-size:12px;max-width:440px}.rt-linear summary{cursor:pointer}.rt-chain{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.rt-chain :is(td,th){padding:8px 5px;border-bottom:1px solid var(--t-border);text-align:right;white-space:nowrap}.rt-chain button{margin-left:4px;min-width:30px}.rt-pages{display:flex;justify-content:center;align-items:center;gap:16px;padding:12px}.rt-preview{padding:12px;border:1px solid var(--t-accent);margin-bottom:12px}.rt-preview>div{display:flex;gap:20px;flex-wrap:wrap;padding:12px 0}.rt-current>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--t-border);padding:8px 0}.rt-mobile{display:none}.rt-current>span{display:block;margin-top:10px;font-size:12px}
@media(max-width:850px){.rt-editor{padding:10px!important}.rt-toolbar{gap:8px}.rt-toolbar label{font-size:12px}.rt-toolbar :is(select,input){max-width:155px;font-size:16px}.rt-mobile{display:block}.rt-extra{display:none}.rt-editor[data-side="C"] .rt-side-P,.rt-editor[data-side="P"] .rt-side-C{display:none}.rt-chain{font-size:12px}.rt-chain button{min-height:38px;min-width:36px}.rt-linear{gap:8px}.rt-linear>span{width:100%;font-size:12px}.rt-linear input{font-size:16px}.rt-linear button{min-height:40px}.rt-current>div{font-size:12px}.rt-preview>div{gap:10px;font-size:12px}}

.w-auto-plan{padding:10px 0 12px;font-size:12px;line-height:1.65}.w-auto-plan>b{color:var(--t-text)}.w-auto-plan ul{padding-left:17px;margin:7px 0 12px}.w-auto-plan li{margin:5px 0}.w-auto-plan>div{border-top:1px solid var(--t-border);padding-top:8px}.w-auto-plan p{margin:4px 0!important}

#w-risk-chain{grid-column:1/-1}.rt-chain-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain}.rt-standard{width:100%;font-size:11px}.rt-standard :is(td,th){min-width:46px;padding:7px 5px}.rt-standard .rt-strike{min-width:76px;text-align:center;background:var(--t-panel);border-left:1px solid var(--t-border);border-right:1px solid var(--t-border)}.rt-strike small{display:block;font-size:9px;color:var(--t-accent)}.rt-standard .rt-call-heading,.rt-standard .rt-put-heading{text-align:center;padding:10px;background:var(--t-panel)}.rt-standard .rt-itm{background:color-mix(in srgb,var(--t-accent) 13%,var(--t-panel))}.rt-standard .rt-otm,.rt-standard .rt-unknown{background:var(--t-panel)}.rt-standard .rt-atm-row :is(td,th){border-top:1px solid var(--t-accent);border-bottom:1px solid var(--t-accent)}.rt-chain-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:11px;margin-bottom:8px}.rt-chain-legend>span{padding:3px 7px}.rt-legend-itm{background:color-mix(in srgb,var(--t-accent) 18%,var(--t-panel));border:1px solid var(--t-border)}.rt-legend-atm{border-bottom:1px solid var(--t-accent)}.rt-columns{margin-left:auto;position:relative}.rt-columns summary{cursor:pointer;padding:6px;border:1px solid var(--t-border);border-radius:4px}.rt-columns>div{position:absolute;right:0;top:100%;width:270px;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;background:var(--t-panel);border:1px solid var(--t-border);box-shadow:0 5px 18px #0004;z-index:20}.rt-columns label{display:flex;gap:5px;align-items:center}.rt-columns input{width:15px;margin:0}.rt-standard button{font-size:11px;min-width:26px;margin-left:2px;padding:5px}
@media(max-width:850px){.rt-standard{min-width:1150px}.rt-standard button{min-width:32px;min-height:38px}.rt-columns>div{width:245px}.rt-chain-legend{gap:5px}}

.w-group-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.w-group-bar label{display:flex;align-items:center;gap:7px}.w-group-bar :is(input,select){padding:7px;max-width:260px;background:var(--t-panel);color:var(--t-text);border:1px solid var(--t-border);border-radius:4px}.w-group-bar>span{font-size:12px;color:var(--t-muted)}.w-monitor-pnl{grid-column:1/-1}.rt-quote{width:100%;border:0!important;background:transparent!important;font-variant-numeric:tabular-nums}.rt-quote:hover{outline:1px solid var(--t-accent)}
#rtOptionPop{position:fixed;z-index:12000;width:460px;max-width:calc(100vw - 16px);padding:10px;background:var(--t-panel,#0e1927);color:var(--t-text,#d6e1ec);border:1px solid var(--t-border,#35455b);border-radius:8px;box-shadow:0 10px 35px #0006;box-sizing:border-box;font-size:12px}#rtOptionPop .op-h{display:flex;align-items:center;gap:6px;flex-wrap:wrap}#rtOptionPop .op-t{flex:1;font-weight:600}#rtOptionPop small{display:block;font-size:10px;color:var(--t-muted)}#rtOptionPop button{border:1px solid var(--t-border);background:var(--t-panel);color:inherit;padding:4px 6px;cursor:pointer;border-radius:3px}#rtOptionPop button.on{color:var(--t-accent);border-color:var(--t-accent)}#rtOptionPop .op-q{display:flex;gap:8px;align-items:center;margin:9px 0}#rtOptionPop .op-q>b{font-size:18px}#rtOptionPop .up{color:#47b68c}#rtOptionPop .dn{color:#ed6c77}#rtOptionPop canvas{display:block;width:100%;height:200px;background:transparent}#rtOptionPop .op-f{font-size:10px;color:var(--t-muted);margin-top:5px}
@media(max-width:850px){.w-group-bar{gap:6px}.w-group-bar label{width:100%}.w-group-bar select{flex:1;min-width:0;max-width:none}.w-group-bar input{width:145px;font-size:16px}.w-group-bar select{font-size:16px}#rtOptionPop canvas{height:180px}}

.hm-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;margin:8px 0 12px}.hm-toolbar label,.pnl-expiry{display:flex;gap:5px;align-items:center}.hm-toolbar select,.pnl-expiry select{font:inherit;color:var(--t-text);background:var(--t-panel);border:1px solid var(--t-border);border-radius:4px;padding:6px}.hm-scroll{cursor:grab;user-select:none;touch-action:pan-x pan-y;overscroll-behavior-x:contain;max-width:100%;overflow-x:auto;overflow-y:hidden}.hm-scroll:active{cursor:grabbing}#terminal .hm-scroll .w-heatmap{width:max-content;min-width:100%;font-variant-numeric:tabular-nums}#terminal .hm-scroll .w-heatmap :is(td,th){min-width:78px;padding:11px 6px;white-space:nowrap;font-size:11px}#terminal .hm-scroll .w-heatmap th:first-child{position:sticky;left:0;z-index:2;background:var(--t-panel)}#terminal .hm-scroll .w-heatmap td{border:2px solid var(--t-panel)!important;border-radius:3px;font-weight:600}.pnl-expiry{font-size:11px;margin-bottom:10px}
@media(max-width:850px){.hm-toolbar{gap:6px}.hm-toolbar select,.pnl-expiry select{font-size:16px;max-width:210px}#terminal .hm-scroll .w-heatmap :is(td,th){min-width:72px}}

/* Compact hedge comparison below the payoff heatmap. */
#terminal #w-hedge-plans{padding:12px 0 0;margin:16px 0 0;border:0;border-top:1px solid var(--t-border);border-radius:0;box-shadow:none;min-width:0}
#terminal #w-hedge-plans .w-card-head{margin-bottom:8px;flex-direction:row;align-items:center}
#terminal #w-hedge-plans h3{font-size:13px;margin:0}
#terminal #w-hedge-plans .w-card-head>span{font-size:10px}
#terminal #w-hedge-plans .w-scenario-controls{gap:10px;margin:8px 0;font-size:11px;flex-wrap:wrap}
#terminal #w-hedge-plans .w-scenario-controls input{width:64px;padding:5px;font-size:12px}
#terminal #w-hedge-plans .w-scenario-controls>span{font-size:10px}
#terminal #w-hedge-plans .w-plans{font-size:11px;min-width:570px}
#terminal #w-hedge-plans .w-plans :is(td,th){padding:7px 5px}
#terminal #w-hedge-plans .w-plans small{max-width:170px;line-height:1.4;margin-top:3px;font-size:10px}
#terminal #w-hedge-plans .w-plans button{padding:5px 7px;min-height:28px;font-size:11px}
#terminal #w-hedge-plans .w-action-row{margin-top:10px;gap:10px}
#terminal #w-hedge-plans .w-action-row p{font-size:10px;line-height:1.5;margin:0}
#terminal #w-hedge-plans .w-action-row button{font-size:11px;padding:7px 10px;flex-shrink:0}
@media(max-width:760px){#terminal #w-hedge-plans .w-plans button{min-height:40px}#terminal #w-hedge-plans .w-scenario-controls input{font-size:16px}}
#terminal #w-hedge-plans .w-action-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
#terminal #w-hedge-plans .w-action-row button{width:auto;max-width:100%;min-height:32px}
@media(max-width:760px){#terminal #w-hedge-plans .w-action-row{grid-template-columns:1fr}#terminal #w-hedge-plans .w-action-row button{justify-self:start;min-height:40px}}
/* Monitoring: equal-width payoff and scenario analysis on desktop. */
@media(min-width:851px){
 #terminal #w-risk>.w-risk-two:has(>.w-monitor-left)>.w-monitor-left,
 #terminal #w-risk>.w-risk-two:has(>.w-monitor-left)>.ri-analysis{grid-column:auto;min-width:0;align-self:start;height:auto}
 #terminal #w-risk .ri-analysis .ri-controls{gap:8px}
 #terminal #w-risk .ri-analysis .ri-controls input{width:82px}
 #terminal #w-risk .ri-analysis .ri-table{font-size:11px}
 #terminal #w-risk .ri-analysis .ri-table :is(th,td){padding:7px 5px}
}
@media(max-width:850px){
 #terminal #w-risk>.w-risk-two:has(>.w-monitor-left){grid-template-columns:minmax(0,1fr)}
}

#terminal .w-monitor-left{display:grid;gap:18px;min-width:0;align-content:start;grid-column:1/-1}
#terminal .w-monitor-left>.w-card{height:auto;min-width:0;margin:0}
@media(min-width:851px){#terminal .w-monitor-left{grid-column:auto}}

/* Continuous compact odds chain; moneyness is independent of trading direction. */
#terminal .oc-chain td.oc-itm,.oc-chain-legend .oc-itm{background:color-mix(in srgb,#54aaa0 20%,var(--t-panel))}
#terminal .oc-chain td.oc-otm,.oc-chain-legend .oc-otm{background:color-mix(in srgb,#8da0c6 7%,var(--t-panel))}
#terminal .oc-chain td.oc-atm,.oc-chain-legend .oc-atm{background:color-mix(in srgb,#ddb453 19%,var(--t-panel))}
.oc-chain-legend{display:flex;align-items:center;gap:8px;font-size:10px;margin:0 0 5px}.oc-chain-legend span{padding:3px 9px;border:1px solid var(--t-border);border-radius:3px}.oc-chain-legend small{color:var(--t-muted)}
#terminal .oc-chain :is(td,th){padding:2px 3px;font-size:11px;height:25px;box-sizing:border-box}#terminal .oc-chain button{min-height:21px;padding:1px;font-size:11px}#terminal .oc-chain .oc-odds small{display:inline;margin-left:3px;font-size:8px}#terminal .oc-chain thead th{height:24px}
.fv-score{font-size:11px;white-space:nowrap;color:var(--t-text);border-left:1px solid var(--t-border);padding-left:8px}.fv-score.partial{color:var(--t-muted)}.fv-score-details{margin:10px 0;border:1px solid var(--t-border);padding:8px}.fv-score-details>div{display:grid;grid-template-columns:minmax(170px,1fr) auto auto;gap:7px;padding:7px 0;border-bottom:1px solid var(--t-border)}.fv-score-details small{grid-column:1/-1;color:var(--t-muted)}.fv-score-details p{color:var(--t-muted);font-size:11px}
@media(max-width:850px){.oc-chain .oc-greek-extra{display:none}#terminal .oc-chain :is(td,th){font-size:9px;padding:2px 1px}#terminal .oc-chain button{font-size:9px;min-height:32px}#terminal .oc-chain .oc-odds small{display:block;margin:0;font-size:7px}.fv-score-details>div{grid-template-columns:1fr auto}.fv-score-details small{grid-column:1/-1}}

#terminal .oc-chain thead{position:sticky;top:92px;z-index:6;background:var(--t-panel)}@media(max-width:850px){#terminal .oc-chain thead{top:90px}}

@media(min-width:851px){
 html body.terminal-site #terminal[data-panel=squeeze] #p-live-card{display:flex!important;flex-direction:column!important;align-self:stretch}
 html body.terminal-site #terminal[data-panel=squeeze] #c638{flex:1;display:grid!important;grid-template-rows:auto auto minmax(150px,1fr) auto minmax(150px,1fr) auto minmax(150px,1fr) auto;gap:7px;min-height:calc(100dvh - 150px);box-sizing:border-box;align-content:stretch}
 html body.terminal-site #terminal[data-panel=squeeze] #c638 .c638svg:not(.app-chart-expanded){height:100%!important;min-height:0!important;width:100%!important;max-height:none!important;display:block;align-self:stretch}
 html body.terminal-site #terminal[data-panel=squeeze] #c638>.hd{margin:0!important;min-height:20px}
 html body.terminal-site #terminal[data-panel=squeeze] #c638>.overview-explain{align-self:end;margin-top:4px}
}

/* Market-position summary belongs to Gamma, never over the replay control. */
html body.terminal-site #terminal #bfPmInfo{display:none!important}
html body.terminal-site #terminal #p-gx#p-gx:not(.app-chart-expanded){height:auto!important}
html body.terminal-site #terminal #p-gx#p-gx>.ph{height:auto!important;min-height:28px!important;max-height:none!important;flex-wrap:wrap!important;overflow:visible!important}
html body.terminal-site #terminal #p-gx#p-gx>.ph>.sp{flex:1 0 100%!important;width:100%!important;max-width:100%!important;max-height:none!important;flex-wrap:wrap!important;overflow:visible!important;gap:3px!important}
html body.terminal-site #terminal #p-gx#p-gx>.ph>.sp .seg{flex-wrap:wrap!important;max-width:100%!important;gap:0!important}
html body.terminal-site #terminal #p-gx#p-gx.dashboard-gamma-replay>.ph{display:none!important}
#terminal #gx-position-summary{position:relative;flex:0 0 auto;min-width:0;margin:3px 5px;padding:4px 6px;border-top:1px solid var(--t-border);background:var(--t-chart-bg,var(--t-panel));color:var(--t-text);box-sizing:border-box}
#terminal #gx-position-summary[hidden]{display:none!important}
#terminal #gx-position-summary .bf-pmt{width:100%;max-width:100%;table-layout:auto;font-size:11px;border:0}
#terminal #gx-position-summary .bf-pmt td{padding:1px 3px;white-space:nowrap}
#terminal #gx-position-summary .bf-pmt td.bar{width:20%;min-width:30px}
#terminal #gx-position-summary .bf-ms-t{width:100%!important;min-width:0!important}
#terminal #gx-position-summary .bf-ms-k svg{width:20px;height:16px}
#terminal #gx-position-summary small{display:block;font-size:9px}
@media(max-width:600px){#terminal #gx-position-summary .bf-pmt{font-size:10px}#terminal #gx-position-summary .bf-pmt td{padding:1px 2px}}

html body.terminal-site #terminal #p-gx#p-gx>.ph>.sp .seg{margin:0!important;padding:1px!important}
html body.terminal-site #terminal #p-gx#p-gx.app-chart-expanded :is(#cvGx,#cvGxX){height:var(--gx-expanded-height,calc(100vh - 210px))!important}

/* Position totals already encode sign in their value and bar; omit the tiny glyph. */
#terminal .bf-ms-k,#terminal #gx-position-summary .bf-pmt td.k{display:none!important}
