/* Production reading/layout corrections. Existing AXIS type, colour and control shapes remain authoritative. */
:root{--axis-panel-radius:12px;--axis-control-radius:7px}
html:root body[data-route] main :is(h1,h2,h3,h4){min-width:0;max-width:100%;overflow-wrap:break-word}
html:root body[data-route] main :is(table,.macro-stat-value,.intel-metric-value,.venue-summary strong){font-variant-numeric:tabular-nums}
html:root body[data-route] :is(.dashboard-tile-head,.macro-panel-head,.intel-card-head,.venue-panel header)>div{min-width:0}
html:root body[data-route] :is(.selector-menu,.axis-native-select-menu,[role=dialog]){max-width:calc(100vw - 16px)}
html:root body[data-route] main :is(.intel-card,.venue-panel,.sm-panel,.mp-panel,.axis-data-chart,.company-chart-panel,.etf-chart-panel,.onchain-chart-panel){border-radius:var(--axis-panel-radius)!important}
html:root body[data-route="macro"][data-axis-design] :is(.macro-news-item,.macro-report-event,.macro-weekly-sequence-chapter):is(.is-high,.is-medium,.is-low){border-left:0!important;background:#000!important}
html:root body[data-route="macro"] :is(.macro-news-item,.macro-report-event,.macro-weekly-sequence-chapter,.macro-impact,.macro-news-impact).is-high{--macro-importance:#ff3338}
html:root body[data-route="macro"] :is(.macro-news-item,.macro-report-event,.macro-weekly-sequence-chapter,.macro-impact,.macro-news-impact).is-medium{--macro-importance:#ffd21f}
html:root body[data-route="macro"] :is(.macro-news-item,.macro-report-event,.macro-weekly-sequence-chapter,.macro-impact,.macro-news-impact).is-low{--macro-importance:#38bdf8}
html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .dashboard-tile-head :is(h2,h3){font-size:clamp(16px,1.25vw,22px)!important;line-height:1.3!important;margin:0;letter-spacing:normal}
html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .macro-panel{border-radius:var(--axis-panel-radius)!important}
html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .macro-command-status{display:flex;flex-wrap:wrap;gap:8px}
html:root body[data-route] main :is(.research-contract,.relative-contract,.structure-contract,.seasonality-contract){border-left:0!important}
html[data-axis-quality="LOW"] body :is(.site-header,.selector-menu,.axis-native-select-menu,.macro-top-nav){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
@media(max-width:900px){
 html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .macro-shell{grid-template-columns:minmax(0,1fr)!important}
 html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .macro-top-nav{position:static!important;height:auto!important;max-height:none!important;align-items:stretch;flex-direction:row!important;overflow-x:auto!important;gap:8px!important;padding:4px 0!important;max-width:100%;overscroll-behavior-x:contain}
 html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .obs-macro-nav-group{display:contents}
 html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .obs-macro-nav-label{display:none}
 html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .macro-rail-item{flex:0 0 auto;width:auto;min-width:140px;max-width:190px;grid-template-columns:18px minmax(0,1fr)}
 html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .macro-rail-item>strong,
 html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] .macro-rail-text small{display:none!important}
 html:root body.axis-observatory.obs-composed[data-route][data-axis-design="observatory"] .obs-composition-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important}
 html:root body.axis-observatory.obs-composed[data-route][data-axis-design="observatory"] .obs-composition-grid>[data-obs-composed]{grid-column:auto!important;grid-row:auto!important;min-width:0;min-height:280px!important;height:auto!important}
 html:root body.axis-observatory.obs-composed[data-route][data-axis-design="observatory"] .obs-composition-grid>[data-obs-composed].obs-main-visual{grid-column:1/-1!important}
 html:root body.axis-observatory.obs-macro-composed[data-route][data-axis-design="observatory"] :is(.macro-rates-hero-grid,.macro-intelligence-grid,.macro-rates-bottom-grid,.macro-deep-grid){grid-template-columns:minmax(0,1fr)!important}
 html:root body[data-route="macro"] .macro-command-bar{flex-wrap:wrap;min-width:0}
 html:root body[data-route="macro"] .macro-command-status{flex-wrap:wrap;min-width:0;justify-content:flex-start}
}
@media(max-width:600px){
 html:root body.axis-observatory.obs-composed[data-route][data-axis-design="observatory"] .obs-composition-grid{grid-template-columns:minmax(0,1fr)!important}
 html:root body[data-route="macro"] .macro-command-bar{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 html:root body[data-route="macro"] .macro-command-status{flex-direction:row!important;display:flex!important}
 html:root body[data-route="macro"] :is(.macro-session-chip,.macro-date-chip){width:auto!important;min-width:56px!important}
}
@media(max-width:900px){
 html:root body.axis-observatory.obs-composed[data-route][data-axis-design="observatory"] .obs-composition-grid{min-width:0!important;width:100%!important;max-width:100%!important}
 html:root body.axis-observatory.obs-composed[data-route][data-axis-design="observatory"] .obs-composition-grid :is(.obs-reorder,.obs-resize){display:none!important}
}

@media(min-width:901px){
 html:root body[data-route] :is(.chart-toolbar-row,.footprint-toolbar,.spot-depth-toolbar,.orderbook-toolbar,.orderbook-terminal-toolbar,.flow-terminal-toolbar,.fund-terminal-toolbar,.market-metric-terminal-toolbar){flex-wrap:wrap}
 html:root body[data-route] .chart-toolbar-left{flex:0 0 auto!important;flex-wrap:nowrap!important;min-width:max-content!important}
}

[data-yield-status]{position:absolute;left:8px;right:8px;top:8px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px;background:#000;border:1px solid rgba(255,210,31,.24);border-radius:12px;font-size:12px}
[data-yield-status] button{flex:0 0 auto}
