/* V29: legible prices and controls; preserve the compact trading layout. */
body{font-weight:450}
.workspace-nav .wn-link,.workspace-nav .wn-current-circle,.workspace-shell .topbar{font-weight:500}
:is(.terminal-app,.pro-terminal,.mt-app){font-weight:500}
:is(.terminal-app,.pro-terminal,.mt-app) :is(button,input,select){font-weight:500}
html[data-trade-theme="light"] :is(.terminal-app,.pro-terminal){
  --desk-text:#172638;--desk-soft:#35485e;--desk-muted:#506176;
  --desk-line:#dce3eb;--desk-line-strong:#b6c3d2;
  --desk-buy:#06734f;--desk-sell:#b82d4b;
}
/* The scrolling ribbon owns explicit theme colors, including price and change. */
:is(.terminal-app,.pro-terminal) .vmt-ribbon{background:var(--desk-panel);color:var(--desk-text)}
:is(.terminal-app,.pro-terminal) .vmt-ribbon .vmt-item{font-size:11px;font-weight:600;flex-basis:214px;gap:8px;padding-inline:14px}
:is(.terminal-app,.pro-terminal) .vmt-ribbon .vmt-item b{font-size:11px;font-weight:650;color:var(--desk-text)}
:is(.terminal-app,.pro-terminal) .vmt-ribbon .vmt-item>span{font-size:11px;font-weight:600;color:var(--desk-text)}
:is(.terminal-app,.pro-terminal) .vmt-ribbon .vmt-item em{font-size:10px;font-weight:600}
:is(.terminal-app,.pro-terminal) .vmt-ribbon .vmt-up{color:var(--desk-buy)}
:is(.terminal-app,.pro-terminal) .vmt-ribbon .vmt-down{color:var(--desk-sell)}
:is(.terminal-app,.pro-terminal) .vmt-controls{background:var(--desk-panel);border-color:var(--desk-line)}
:is(.terminal-app,.pro-terminal) :is(.vmt-source,.vmt-demo,.vmt-pause){color:var(--desk-muted);font-weight:600}
:is(.terminal-app,.pro-terminal) .vmt-source{font-size:10px}
:is(.terminal-app,.pro-terminal) .vmt-demo{font-size:9px;letter-spacing:.025em}
html[data-trade-theme="light"] :is(.terminal-app,.pro-terminal) .vmt-ribbon{background:#f3f6fa}
html[data-trade-theme="light"] :is(.terminal-app,.pro-terminal) .vmt-controls{background:#f3f6fa}
html[data-trade-theme="light"] :is(.terminal-app,.pro-terminal) .vmt-ribbon .vmt-up{color:#06734f}
html[data-trade-theme="light"] :is(.terminal-app,.pro-terminal) .vmt-ribbon .vmt-down{color:#b82d4b}
/* Market context and order entry gain weight without increasing header height. */
:is(.terminal-app,.pro-terminal) :is(.term-market-bar,.pro-market-header) .vm-stat>span{font-size:10px;line-height:13px;font-weight:500}
:is(.terminal-app,.pro-terminal) :is(.term-market-bar,.pro-market-header) .vm-stat>b{font-size:12px;line-height:15px;font-weight:600}
:is(.terminal-app,.pro-terminal) :is(.vm-capsule-symbol,.vm-market-capsule strong){font-weight:650}
:is(.terminal-app,.pro-terminal) :is(.ow-field>label,.ow-field label,.ow-estimates,.ow-estimates>div,.ow-options>summary){font-size:11px;font-weight:500}
:is(.terminal-app,.pro-terminal) :is(.ow-type-tabs button,.ow-table-tabs button){font-size:11px;font-weight:600}
:is(.terminal-app,.pro-terminal) .ow-field input{font-weight:600}
:is(.terminal-app,.pro-terminal) :is(.ow-estimates b,.ow-account-summary b){font-weight:600}
:is(.terminal-app,.pro-terminal) .ow-table th{font-size:11px;font-weight:600}
:is(.terminal-app,.pro-terminal) .ow-table td{font-weight:500}
:is(.terminal-app,.pro-terminal) :is(.term-depth-row,.pro-dom-row,.pro-tape-row){font-size:11px;font-weight:500}
:is(.terminal-app,.pro-terminal) :is(.term-book-cols,.pro-dom-columns,.pro-tape-columns){font-size:10px;font-weight:600}
.pro-refined :is(.pro-workspace-presets button,.pro-workspace-actions button){font-weight:600}
.pro-refined .pro-workspace-actions button{font-size:11px}
.pro-refined .pro-chart-focus b{font-size:12px;font-weight:600}
.pro-refined .pro-chart-source-tag{font-size:9px;font-weight:500}
.pro-refined :is(.vdepth-heading b,.vps-heading b){font-size:12px;font-weight:600}
.pro-refined :is(.vdepth-x-axis,.vdepth-y-axis,.vdepth-footer,.vdepth-status){font-size:10px;font-weight:500}
.pro-refined .vdepth-curve{stroke-width:2}
.pro-refined .vdepth-tooltip strong{font-weight:600}
.pro-refined .vps-screener th,.pro-refined .vps-screener th button{font-size:10px!important;font-weight:600}
.pro-refined .vps-screener td{font-size:12px;font-weight:500}
.pro-refined .vps-market b{font-size:12px;font-weight:600}
/* Keep all four presets available on compact desktops and phones. */
@media(max-width:1300px){
  .trade-immersive .pro-refined .pro-workspace-bar,.pro-refined .pro-workspace-bar{height:auto;min-height:39px;max-height:none;flex:0 0 auto;flex-wrap:wrap;gap:5px 12px}
  .pro-refined .pro-workspace-actions{margin-left:auto}
}
@media(max-width:700px){
  .pro-refined .pro-workspace-presets{width:100%;min-width:0;flex:1 1 100%;overflow-x:auto;scrollbar-width:thin}
  .pro-refined .pro-workspace-presets button{flex:1 0 auto;padding-inline:9px}
  :is(.terminal-app,.pro-terminal) .vmt-source{font-size:9px}
}
