/* Header colors inherit shared surface roles; historical attachments are excluded. */
.mtcb-host{--mtcb-axis-space:108px;position:relative}
html body .mtcb-header{position:relative;z-index:121;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 var(--mtcb-axis-space) 0 10px;padding:8px 0;min-height:48px;color:var(--mt-ui-text);background:none}
.mtcb-identity{flex:1 1 0;min-width:0;font-size:15px;line-height:1.4;overflow-wrap:anywhere;letter-spacing:0}
html body .mtcb-header #mtIntelligenceTabs{position:static!important;display:flex!important;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:4px;inset:auto!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible}
html body .mtcb-header #mtIntelligenceTabs button{min-height:36px;padding:7px 8px;border:0;border-radius:0;background:none;color:var(--mt-ui-text);font-size:13px;font-weight:600;white-space:nowrap;letter-spacing:0}
html body .mtcb-header #mtIntelligenceTabs button.active{box-shadow:inset 0 -2px var(--mt-global-accent)!important}
html body .mtcb-header #mtIntelligenceTabs [data-view="balance"],html body .mtcb-header #mtIntelligenceTabs [data-view="history"],html body .mtcb-header #mtIntelligenceTabs [data-view="analysts"]{display:none!important}
.mtcb-label{position:relative;z-index:6;margin:0 var(--mtcb-axis-space) 8px 10px;padding:0;color:var(--mt-ui-text);font-size:12px;line-height:1.5;pointer-events:none;letter-spacing:0}
.mtcb-price{font-size:17px;font-weight:700}.mtcb-up{color:var(--mt-positive,#20df83)}.mtcb-down{color:var(--mt-negative,#ff354f)}.mtcb-time{color:var(--mt-ui-muted);font-size:11px}.mtcb-candle{overflow-wrap:anywhere;font-size:11px}
html body #chartWrap.mtcb-host,html body .mt-forecast-interactive.mtcb-host,html body .msa.mtcb-host{padding-top:0!important}
html body #chartWrap.mtcb-host>#mtInstrumentOverlay{display:none!important}
html body #chartWrap.mtcb-host>.chart,html body #chartWrap.mtcb-host>.overlay,html body #chartWrap.mtcb-host>.mt-signal-hit-layer{top:140px!important;height:calc(100% - 140px)!important}
@media(max-width:1000px){html body .mtcb-header{flex-wrap:wrap}.mtcb-identity{flex-basis:100%}html body .mtcb-header #mtIntelligenceTabs{justify-content:flex-start;flex:1 1 100%}}
@media(max-width:640px){.mtcb-host{--mtcb-axis-space:74px}html body .mtcb-header{gap:5px}.mtcb-identity{font-size:12px}html body .mtcb-header #mtIntelligenceTabs button{font-size:12px;padding:7px 5px}.mtcb-label{font-size:11px}}

html body .mtcb-host>.mtcb-header{position:absolute!important;top:0!important;left:0!important;right:0!important;height:auto!important;min-height:48px!important;box-sizing:border-box}
html body .mtcb-host>.mtcb-label{position:absolute!important;left:0!important;right:0!important;height:auto!important;box-sizing:border-box}
html body #chartWrap.mtcb-host>.chart,html body #chartWrap.mtcb-host>.overlay,html body #chartWrap.mtcb-host>.mt-signal-hit-layer{top:var(--mtcb-head-size,140px)!important;height:calc(100% - var(--mtcb-head-size,140px))!important}
html body .mt-forecast-interactive.mtcb-host>div:not(.mtcb-header):not(.mtcb-label),html body .mt-forecast-interactive.mtcb-host>svg{position:absolute;top:var(--mtcb-head-size,140px)!important;height:calc(100% - var(--mtcb-head-size,140px))!important}
html body .msa.mtcb-host{padding-top:var(--mtcb-head-size,120px)!important}
html body .mtcb-host>.mtcb-label .mtcb-price{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;font-size:17px!important;line-height:1.5!important}
html body .mtcb-host>.mtcb-header{height:max-content!important;min-height:0!important}

html body .mtcb-header{border-bottom:1px solid var(--mt-ui-border)}
html body .mtcb-label .mtcb-up{color:var(--mt-positive,#20df83)!important}html body .mtcb-label .mtcb-down{color:var(--mt-negative,#ff354f)!important}
