/* v7.24.1 — Bound the layout itself, not the document overflow.
   Legacy minimum sizes must never determine the viewport-sized shell. */
html:root{width:100%;min-width:0;max-width:100%;scrollbar-gutter:auto}
html:root body{width:100%;min-width:0!important;max-width:100%;margin:0!important;overflow-x:visible}
html:root body #auth.market-auth{box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0!important;padding:0!important}
html:root body #auth.market-auth .market-login-stage{box-sizing:border-box;display:block!important;width:100%;min-width:0;max-width:100%;overflow:visible;contain:inline-size}
html:root body #auth.market-auth #public-market-dashboard{box-sizing:border-box;width:100%;min-width:0;max-width:1440px;margin-inline:auto;contain:inline-size;overflow:visible}
html:root body #auth.market-auth #public-market-dashboard>:not(dialog){box-sizing:border-box;min-width:0;max-width:100%}
html:root body #auth.market-auth #public-market-dashboard :is(.terminal-header,.terminal-header-actions,.commercial-intro,.commercial-intro-actions,.bank-presentation,.bank-heading,.bank-intro,.market-primary-panel,.market-movers-grid,.movers-panel,.market-summary-strip,.terminal-chart-panel,.commercial-public-plans,.subscription-plans){min-width:0;max-width:100%}
html:root body #auth.market-auth #public-market-dashboard :is(.commercial-intro,.bank-presentation,.market-primary-panel,.terminal-chart-panel,.commercial-public-plans){width:100%}
html:root body #auth.market-auth #public-market-dashboard :is(.commercial-intro,.commercial-intro-actions,.bank-presentation,.market-primary-grid,.market-summary-strip,.market-movers-grid,.subscription-plans)>*{min-width:0;max-width:100%;box-sizing:border-box}
html:root body #auth.market-auth #public-market-dashboard :is(h1,h2,h3,p){max-width:100%;overflow-wrap:break-word;white-space:normal}
html:root body #auth.market-auth #public-market-dashboard [data-market-ticker]{width:100%;min-width:0;max-width:100%;contain:inline-size}
html:root body #auth.market-auth #public-market-dashboard .market-ticker{width:100%;max-width:100%;min-width:0}
html:root body #auth.market-auth #terminal-chart-plot{width:100%;min-width:0;max-width:100%;overflow:visible}
html:root body #auth.market-auth #terminal-chart-plot svg{width:100%!important;min-width:0!important;max-width:100%;height:auto;min-height:0;display:block}
/* Children in the authenticated flex shell must also shrink with their parent. */
html:root body.authenticated-view #app{width:100%;min-width:0;max-width:100%}
html:root body.authenticated-view #app :is(.workspace,main,#view){min-width:0;box-sizing:border-box}
html:root body.authenticated-view #view>:not(dialog){max-width:100%;min-width:0}
@media(max-width:760px){
 html:root body #auth.market-auth #public-market-dashboard{padding:0 max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left))!important}
 html:root body #auth.market-auth #public-market-dashboard .terminal-header{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;width:100%;height:auto;min-height:70px;gap:8px;padding:12px 0;align-items:center}
 html:root body #auth.market-auth #public-market-dashboard .terminal-nav{display:none!important}
 html:root body #auth.market-auth #public-market-dashboard .market-brand{display:flex;width:100%;min-width:0;max-width:100%;margin:0;overflow:visible}
 html:root body #auth.market-auth #public-market-dashboard .market-brand .ie-logo{width:142px;flex:0 1 142px;max-width:100%}
 html:root body #auth.market-auth #public-market-dashboard .terminal-header-actions{display:flex;gap:6px;min-width:0;max-width:100%;margin:0;justify-self:end}
 html:root body #auth.market-auth #public-market-dashboard .terminal-header-actions .display-icon-button{width:40px;min-width:40px;height:44px;flex:0 0 40px;padding:9px}
 html:root body #auth.market-auth #public-market-dashboard .terminal-header-actions .terminal-button{width:72px;min-width:72px;min-height:44px;flex:0 0 72px;padding:10px 8px;margin:0;font-size:13px;gap:0}
 html:root body #auth.market-auth #public-market-dashboard .terminal-header-actions .terminal-button>span{display:none}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro{display:grid;grid-template-columns:minmax(0,1fr);padding:20px 18px!important;gap:18px;margin:18px 0;border:1px solid var(--ie-line);border-top:3px solid var(--ie-accent);border-radius:16px}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro h2{font-size:27px!important;line-height:1.2!important;letter-spacing:-.035em;text-wrap:balance}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro p{font-size:13px;line-height:1.6;margin-top:10px}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro .subscription-kicker{font-size:9px;letter-spacing:.12em;line-height:1.6}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;justify-content:stretch}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro-actions .subscription-button{width:100%;min-width:0;max-width:100%;min-height:46px;padding:10px 8px;font-size:12px;line-height:1.4;white-space:normal;text-align:center;gap:5px}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro-actions small{grid-column:1/-1;margin-top:3px;font-size:11px;text-align:left}
 html:root body #auth.market-auth #public-market-dashboard .bank-presentation{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'heading' 'intro' 'logos' 'action' 'details';gap:12px;padding:18px;margin:0 0 20px;border-radius:16px}
 html:root body #auth.market-auth #public-market-dashboard .bank-heading{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
 html:root body #auth.market-auth #public-market-dashboard .bank-heading h2{font-size:19px;line-height:1.3;margin:0}
 html:root body #auth.market-auth #public-market-dashboard .bank-intro{font-size:12px;line-height:1.5;margin:0}
 html:root body #auth.market-auth #public-market-dashboard .bank-logo-scroll{width:100%;min-width:0;max-width:100%;overflow:visible}
 html:root body #auth.market-auth #public-market-dashboard .bank-logo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;width:100%;min-width:0;padding:0;margin:0}
 html:root body #auth.market-auth #public-market-dashboard .bank-logo-grid li{width:100%;min-width:0;min-height:62px;padding:10px 8px;display:flex;flex-direction:row;justify-content:flex-start;gap:9px;border-radius:10px}
 html:root body #auth.market-auth #public-market-dashboard .bank-logo-grid li:nth-child(n+5){display:none}
 html:root body #auth.market-auth #public-market-dashboard .bank-logo-grid img{width:26px;height:26px;flex:0 0 26px}
 html:root body #auth.market-auth #public-market-dashboard .bank-logo-grid li>span{font-size:11px;line-height:1.35;min-width:0;overflow-wrap:break-word;text-align:left}
 html:root body #auth.market-auth #public-market-dashboard .bank-coverage-trigger{display:flex;width:100%;max-width:100%;justify-content:space-between;min-height:46px;margin:0;font-size:12px}
 html:root body #auth.market-auth #public-market-dashboard .bank-details summary{width:100%;white-space:normal;font-size:12px;line-height:1.5}
 html:root body #auth.market-auth #public-market-dashboard .market-movers-grid{grid-template-columns:minmax(0,1fr)}
 html:root body #auth.market-auth #public-market-dashboard .mover-row{grid-template-columns:18px minmax(0,1fr) minmax(62px,.65fr) minmax(58px,.6fr);gap:6px}
 html:root body #auth.market-auth #public-market-dashboard .mover-meter{display:none}
 html:root body #auth.market-auth #public-market-dashboard .market-stock-value-row{display:flex;flex-wrap:wrap;gap:5px}
 html:root body #auth.market-auth #public-market-dashboard .terminal-chart-heading{display:flex;flex-wrap:wrap;gap:12px}
 html:root body #auth.market-auth #public-market-dashboard .terminal-ranges{display:flex;flex-wrap:wrap;max-width:100%;gap:5px}
 html:root body #auth.market-auth #public-market-dashboard .market-updated-box{width:100%;min-width:0;max-width:100%;margin:14px 0;padding:10px 12px}
 html:root body #auth.market-auth #public-market-dashboard .market-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:350px){
 html:root body #auth.market-auth #public-market-dashboard{padding-inline:12px!important}
 html:root body #auth.market-auth #public-market-dashboard .market-brand .ie-logo{width:124px;flex-basis:124px}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro h2{font-size:24px!important}
 html:root body #auth.market-auth #public-market-dashboard .commercial-intro-actions{grid-template-columns:minmax(0,1fr)}
 html:root body #auth.market-auth #public-market-dashboard .bank-logo-grid li{flex-direction:column;align-items:center;text-align:center}
}
