/* V170: consistent showcase surfaces and usable chart area */
html:not([data-theme=light]) body.bc-public-137 :is(.bc-demo-frame,.landing-market-terminal,.bc-plan-finder){background:var(--bc-premium-panel)!important;border-color:var(--bc-premium-line)!important;box-shadow:none!important}
html:not([data-theme=light]) body.bc-public-137 :is(.bc-demo-canvas,.terminal-main){background:#080808!important}
html body .bc-plan-result-actions{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:16px}
html body .bc-plan-result-actions .bc-plan-back{margin:0!important}
html body.dash-body #marketOverview .market-command-shell>.market-command-bottom{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
html body #marketOverview .market-command-bottom>article{width:100%!important;min-width:0!important;box-sizing:border-box}
html body .watchlist-card .bc-favorite-actions{display:grid;grid-template-columns:1fr;gap:6px;margin-top:8px}
html body .watchlist-card .bc-favorite-actions .watchlist-analyze-btn{margin:0!important;width:100%;box-sizing:border-box;text-decoration:none}
html body .watchlist-card .bc-favorite-chart{background:transparent!important;color:var(--text)!important;border:1px solid var(--line)!important}
html body #indicatorGrid .bc-indicator-preview{grid-column:1/-1;width:100%;max-width:320px;display:block;margin:10px 0 2px;border-radius:8px;border:1px solid var(--line)}
html body #indicatorGrid .bc-indicator-demo-label{grid-column:1/-1;font-size:10px;color:var(--muted);margin:0 0 8px}
html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-main{height:max(var(--bc-workspace-height,calc(100dvh - 64px)),960px)!important}
html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-layout .bc-chart-plot{flex:1 0 520px!important;min-height:520px!important}
html body.dash-body.chart-body.bc-chart-focus .bc-chart-main{padding:0!important;gap:0!important;overflow:hidden!important}
html body.dash-body.chart-body.bc-chart-focus .bc-chart-layout,html body.dash-body.chart-body.bc-chart-focus .bc-chart-layout>.bc-chart-workspace{flex:1 1 0!important;min-height:0!important;overflow:hidden!important;gap:0!important;border:0!important;border-radius:0!important}
html body.dash-body.chart-body.bc-chart-focus :is(.bc-chart-asset-field,.bc-chart-refresh,.bc-chart-headline,.bc-chart-metrics,.bc-chart-plotbar,.bc-chart-instructions,.bc-browser-tabs-hint){display:none!important}
html body.dash-body.chart-body.bc-chart-focus .bc-chart-controls{padding:4px 12px!important;min-height:0!important;display:flex!important}
html body.dash-body.chart-body.bc-chart-focus .bc-chart-plot{flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important}
html body.dash-body.chart-body.bc-chart-focus .bc-chart-bottom{padding:3px 8px!important;position:static!important;min-height:0!important}
html body.dash-body.chart-body.bc-chart-focus .bc-chart-nav>button:not(#bcChartFocus){display:none!important}
@media(max-width:1050px){html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-main{height:auto!important}html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-layout{grid-template-rows:minmax(850px,90dvh) auto!important}}
@media(max-width:680px){html body.dash-body #marketOverview .market-command-shell>.market-command-bottom{grid-template-columns:1fr!important}html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-layout{grid-template-rows:minmax(850px,90dvh) auto auto!important}}

/* V171 */
html body #indicatorGrid .indicator-card-code{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;padding:18px!important;align-content:start!important;min-width:0!important}
html body #indicatorGrid .bc-indicator-visual{grid-column:1/-1;position:relative;margin:0 0 6px;overflow:hidden;border-radius:8px;background:#090909;aspect-ratio: 2.25;display:grid;place-items:center}
html body #indicatorGrid .bc-indicator-preview{width:100%;height:100%;max-width:none;object-fit:contain;margin:0;border:0;border-radius:0}
html body #indicatorGrid .bc-indicator-demo-label{position:absolute;right:9px;top:9px;background:#171717;color:#bbb;padding:4px 7px;border-radius:4px;margin:0}
html body #indicatorGrid .indicator-icon{display:none!important}
html body #indicatorGrid .indicator-card-code>div{min-width:0}
html body #indicatorGrid .indicator-card-code h3{margin:0 0 8px;line-height:1.35}
html body #indicatorGrid .indicator-card-code p{line-height:1.6}
html body #indicatorGrid .indicator-card-actions{gap:10px;margin-top:16px}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){border-color:transparent!important;box-shadow:none!important;outline:none!important}
html body :is(input:not([type=hidden]),select,textarea):focus-visible{outline:2px solid var(--muted,#888)!important;outline-offset:2px!important}
html body .bc-signal-chart-actions{gap:14px!important;flex-wrap:wrap}
html body .bc-signal-chart-legend{gap:12px!important;margin-inline-end:10px!important}
html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-main{height:max(var(--bc-workspace-height,calc(100dvh - 64px)),1080px)!important}
html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-layout .bc-chart-plot{flex-basis:580px!important;min-height:580px!important}
html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-hero{padding:16px 22px!important}
html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-hero h1{font-size:23px!important;margin:3px 0!important}
html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-hero p{display:block!important;font-size:12px!important;line-height:1.5;margin:4px 0!important}
.bc-chart-intro-kicker{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
html body.chart-body:is(.bc-chart-embed,.bc-chart-focus) .bc-chart-hero{display:none!important}
@media(max-width:1050px){html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-main{height:auto!important}html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-layout{grid-template-rows:minmax(960px,90dvh) auto!important}}
@media(max-width:680px){html body.chart-body:not(.bc-chart-embed):not(.bc-chart-focus) .bc-chart-layout{grid-template-rows:minmax(960px,90dvh) auto auto!important}}

/* V172: compact, extensible indicator library */
html body #indicatorGrid.indicator-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,490px),1fr))!important;gap:12px!important;align-items:stretch!important}
html body #indicatorGrid .indicator-card-code{grid-template-columns:148px minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;column-gap:18px!important;row-gap:7px!important;padding:16px!important;align-items:start!important;align-content:stretch!important;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:10px!important;box-shadow:none!important}
html body #indicatorGrid .bc-indicator-visual{grid-column:1!important;grid-row:1 / span 2!important;width:148px!important;height:90px!important;aspect-ratio:auto!important;margin:0!important;align-self:start!important;border-radius:6px!important;border:1px solid #303030!important}
html body #indicatorGrid .bc-indicator-preview{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important}
html body #indicatorGrid .bc-indicator-demo-label{font-size:9px!important;line-height:1!important;top:auto!important;bottom:4px!important;right:4px!important;padding:3px 5px!important;background:#181818!important}
html body #indicatorGrid .indicator-card-code>div:not(.indicator-icon){grid-column:2!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-self:stretch!important;min-width:0!important}
html body #indicatorGrid .indicator-card-code>.badge{grid-column:2!important;grid-row:1!important;justify-self:start!important;position:static!important;font-size:9px!important;padding:3px 6px!important;min-height:0!important;color:var(--muted)!important;background:transparent!important;border-color:var(--line)!important}
html body #indicatorGrid .indicator-card-code h3{font-size:15px!important;line-height:1.35!important;margin:0 0 6px!important;overflow-wrap:anywhere}
html body #indicatorGrid .indicator-card-code p{font-size:12px!important;line-height:1.55!important;margin:0 0 12px!important;max-width:none!important}
html body #indicatorGrid .indicator-card-actions{margin-top:auto!important;gap:6px!important;align-items:center!important;flex-wrap:wrap!important}
html body #indicatorGrid .indicator-card-actions .btn{font-size:11px!important;min-height:32px!important;padding:6px 10px!important;white-space:normal!important;text-align:center!important}
html body #indicatorGrid .indicator-search-empty{grid-column:1/-1}
html body #indicatorGrid [hidden]{display:none!important}
@media(max-width:520px){html body #indicatorGrid .indicator-card-code{grid-template-columns:96px minmax(0,1fr)!important;column-gap:12px!important;padding:12px!important}html body #indicatorGrid .bc-indicator-visual{width:96px!important;height:64px!important}html body #indicatorGrid .indicator-card-code h3{font-size:14px!important}}


/* V173 — indicator library refinement and control sizing */
html body #indicatorGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html body #indicatorGrid .indicator-card-code{
  grid-template-columns:176px minmax(0,1fr)!important;
  column-gap:16px!important;
  row-gap:10px!important;
  padding:16px!important;
  border-radius:16px!important;
  border:1px solid var(--line)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.01))!important;
  align-items:start!important;
  overflow:hidden!important;
}
html body #indicatorGrid .bc-indicator-visual{
  grid-column:1!important;grid-row:1 / span 3!important;
  width:176px!important;height:102px!important;min-width:176px!important;
  border-radius:12px!important;border:1px solid rgba(255,255,255,.08)!important;
  background:#0b0b0b!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
html body #indicatorGrid .bc-indicator-preview{object-fit:cover!important;background:#0b0b0b!important}
html body #indicatorGrid .bc-indicator-demo-label{
  top:8px!important;bottom:auto!important;right:8px!important;
  padding:4px 7px!important;border-radius:999px!important;
  background:rgba(10,10,10,.72)!important;border:1px solid rgba(255,255,255,.08)!important;
  color:#d2d2d2!important;font-size:9px!important;letter-spacing:.06em!important;text-transform:uppercase!important
}
html body #indicatorGrid .indicator-icon{display:none!important}
html body #indicatorGrid .indicator-card-code>div:nth-of-type(1){grid-column:2!important;grid-row:1!important}
html body #indicatorGrid .indicator-card-code .badge{grid-column:2!important;grid-row:2!important;justify-self:start!important;margin-top:2px!important}
html body #indicatorGrid .indicator-card-code p{font-size:12px!important;line-height:1.62!important;max-width:52ch!important}
html body #indicatorGrid .indicator-card-code h3{font-size:16px!important;margin:0 0 6px!important;letter-spacing:-.02em!important}
html body #indicatorGrid .indicator-card-actions{margin-top:12px!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important}
html body #indicatorGrid .indicator-card-actions .btn{min-height:34px!important;padding:0 12px!important;font-size:11px!important}
@media(max-width:980px){html body #indicatorGrid{grid-template-columns:1fr!important}}
@media(max-width:640px){html body #indicatorGrid .indicator-card-code{grid-template-columns:132px minmax(0,1fr)!important;padding:14px!important}html body #indicatorGrid .bc-indicator-visual{width:132px!important;height:82px!important;min-width:132px!important}html body #indicatorGrid .indicator-card-code h3{font-size:14px!important}html body #indicatorGrid .indicator-card-code p{font-size:11px!important}}
@media(max-width:460px){html body #indicatorGrid .indicator-card-code{grid-template-columns:1fr!important}html body #indicatorGrid .bc-indicator-visual{grid-row:auto!important;width:100%!important;height:auto!important;aspect-ratio:1.72!important;min-width:0!important}html body #indicatorGrid .indicator-card-code>div:nth-of-type(1),html body #indicatorGrid .indicator-card-code .badge{grid-column:1!important}}

/* Equal sizing for theme, language and dashboard style actions */
html body :is(.theme-toggle,.bc-lang-picker,.bc-language-toggle,.auth-theme-toggle .bc-lang-picker,.auth-theme-toggle .theme-toggle){
  min-height:42px!important;height:42px!important;border-radius:12px!important;
}
html body :is(.bc-lang-picker,.bc-language-toggle){min-width:72px!important;padding-inline:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html body .theme-toggle{width:72px!important;min-width:72px!important;padding:3px!important}
html body .btn.full, html body a.btn.full{min-height:42px!important;border-radius:12px!important}


/* V174 — global light mode polish */
html[data-theme="light"] body{
  background:#f3f3f1!important;
  color:#171717!important;
}
html[data-theme="light"] body .dash-main,
html[data-theme="light"] body .bc-legal-main,
html[data-theme="light"] body .auth-page{
  background:transparent!important;
}
html[data-theme="light"] body :is(.panel,.auth-card,.bc-legal-copy,.selected-plan,.bc-security-preview,.bc-2fa-setup,.bc-2fa-recovery,.provider-credit,.bc-pricing-card,.bc-faq-card,.bc-quote-card,.plan-kicker-card){
  background:#ffffff!important;
  border-color:rgba(22,22,22,.10)!important;
  box-shadow:0 10px 32px rgba(17,17,17,.04)!important;
}
html[data-theme="light"] body :is(.btn,.icon-btn,.watchlist-analyze-btn,.indicator-download-btn,.indicator-guide-link,.bc-trade-preview-btn,.bc-plan-next,.signal-choice,.signal-tier,.account-pill,.bc-lang-picker,.theme-toggle){
  box-shadow:none!important;
}
html[data-theme="light"] body .btn.primary{
  background:#151515!important;
  border-color:#151515!important;
  color:#fff!important;
}
html[data-theme="light"] body .btn.primary:hover{background:#0d0d0d!important;border-color:#0d0d0d!important}
html[data-theme="light"] body :is(.btn.secondary,.btn.ghost,.watchlist-analyze-btn,.indicator-guide-link){
  background:#fff!important;
  color:#171717!important;
  border:1px solid rgba(23,23,23,.12)!important;
}
html[data-theme="light"] body :is(.icon-btn,.bc-lang-picker,.account-pill,.theme-toggle){
  background:#fff!important;
  border:1px solid rgba(20,20,20,.10)!important;
  color:#151515!important;
}
html[data-theme="light"] body .theme-icon.active{background:#171717!important;color:#fff!important}
html[data-theme="light"] body :is(input,select,textarea,.indicator-search-box,.bc-market-search,.bc-code-source,.field input,.field select){
  background:#fff!important;
  color:#141414!important;
  border-color:rgba(23,23,23,.11)!important;
  box-shadow:none!important;
}
html[data-theme="light"] body :is(input,select,textarea,.indicator-search-box,.bc-market-search,.bc-code-source,.field input,.field select):focus,
html[data-theme="light"] body :is(input,select,textarea,.field input,.field select):focus-visible{
  border-color:rgba(23,23,23,.28)!important;
  box-shadow:0 0 0 3px rgba(20,20,20,.06)!important;
}
html[data-theme="light"] body :is(.field label,.auth-card p,.auth-card small,.bc-legal-lead,.market-command-head p,.market-overview-foot,.indicator-card p,.tv-guide-step p,.market-command-launch p,.provider-credit,.watchlist-card-meta,.watchlist-card-top label span){
  color:#5a5a5a!important;
}
html[data-theme="light"] body :is(.badge,.coming-chip,.market-overview-live,.signal-chip,.oi-status,.provider-badge){
  background:#f6f6f4!important;
  border-color:rgba(22,22,22,.10)!important;
}

/* V174 — market overview in light mode */
html[data-theme="light"] body #marketOverview .market-command-shell{background:transparent!important}
html[data-theme="light"] body #marketOverview .market-command-head h1,
html[data-theme="light"] body #marketOverview :is(.watchlist-head h2,.market-command-launch h2,.market-command-subhead b){color:#171717!important}
html[data-theme="light"] body #marketOverview .market-command-kpis{
  background:#fff!important;border:1px solid rgba(17,17,17,.09)!important;border-radius:14px!important;overflow:hidden!important;
}
html[data-theme="light"] body #marketOverview .market-command-kpis article{
  background:linear-gradient(180deg,#fff,#fbfbf9)!important;
  border-right:1px solid rgba(17,17,17,.08)!important;
}
html[data-theme="light"] body #marketOverview .market-command-kpis article span{color:#686868!important}
html[data-theme="light"] body #marketOverview .market-command-kpis article b{color:#191919!important}
html[data-theme="light"] body #marketOverview .dashboard-watchlist-panel,
html[data-theme="light"] body #marketOverview .market-news-panel,
html[data-theme="light"] body #marketOverview .market-command-oi,
html[data-theme="light"] body #marketOverview .market-command-launch,
html[data-theme="light"] body #marketOverview .av-ec-panel{
  background:#fff!important;border:1px solid rgba(17,17,17,.09)!important;border-radius:14px!important;padding:16px!important;
}
html[data-theme="light"] body #marketOverview .watchlist-card{
  background:#fff!important;
  border-right:1px solid rgba(17,17,17,.08)!important;
}
html[data-theme="light"] body #marketOverview .watchlist-card-main strong,
html[data-theme="light"] body #marketOverview .market-command-price{color:#161616!important}
html[data-theme="light"] body #marketOverview .oi-tile,
html[data-theme="light"] body #marketOverview .market-news-item,
html[data-theme="light"] body #marketOverview .av-ec-tile{
  background:#fcfcfb!important;border-color:rgba(17,17,17,.08)!important;
}
html[data-theme="light"] body #marketOverview .oi-grid>div{
  background:#fafaf8!important;border:1px solid rgba(17,17,17,.07)!important;border-radius:10px!important;
}
html[data-theme="light"] body #marketOverview .oi-grid b{color:#171717!important}
html[data-theme="light"] body #marketOverview .market-overview-foot{color:#6a6a6a!important;border-top:1px solid rgba(17,17,17,.08)!important}

/* V174 — nav and utility consistency */
html[data-theme="light"] body .dash-nav-wrap,
html[data-theme="light"] body .bc-legal-top,
html[data-theme="light"] body .site-header{
  background:transparent!important;
}
html[data-theme="light"] body :is(.dash-nav,.nav-shell,.bc-legal-top-inner){
  background:rgba(255,255,255,.84)!important;
  border:1px solid rgba(17,17,17,.08)!important;
  box-shadow:0 8px 24px rgba(17,17,17,.05)!important;
  backdrop-filter:blur(10px)!important;
}

/* V175 — explicit non-overlapping library layout and matching utility controls */
html body.dash-body .dash-main #indicatorGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card:not([hidden]){display:grid!important;grid-template-columns:minmax(0, 40%) minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;gap:8px 18px!important;padding:18px!important;align-items:start!important;align-content:start!important;overflow:hidden!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card>.bc-indicator-visual{grid-column:1!important;grid-row:1 / 3!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;aspect-ratio:376/208!important;position:relative!important;align-self:start!important;margin:0!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card>.bc-indicator-visual img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card>.indicator-icon{display:none!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card>.badge{grid-column:2!important;grid-row:1!important;position:static!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card>div:not(.indicator-icon){grid-column:2!important;grid-row:2!important;position:static!important;min-width:0!important;width:100%!important;display:flex!important;flex-direction:column!important}
@media(max-width:1100px){html body.dash-body .dash-main #indicatorGrid{grid-template-columns:1fr!important}}
@media(max-width:560px){html body.dash-body .dash-main #indicatorGrid>.indicator-card:not([hidden]){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important}html body.dash-body .dash-main #indicatorGrid>.indicator-card>.bc-indicator-visual{grid-column:1!important;grid-row:1!important;max-width:320px!important}html body.dash-body .dash-main #indicatorGrid>.indicator-card>.badge{grid-column:1!important;grid-row:2!important}html body.dash-body .dash-main #indicatorGrid>.indicator-card>div:not(.indicator-icon){grid-column:1!important;grid-row:3!important}}
html[data-theme=light] body.dash-body .dash-main #marketOverview .bc-favorite-actions .watchlist-analyze-btn{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-height:34px!important;padding:8px 10px!important;border-radius:7px!important;background:#222!important;color:#fff!important;border:1px solid #222!important;font-weight:600!important;line-height:1.35!important;transition:background .15s,color .15s!important}
html[data-theme=light] body.dash-body .dash-main #marketOverview .bc-favorite-actions .bc-favorite-chart{background:#fff!important;color:#202020!important;border:1px solid #d5d5d5!important}
html[data-theme=light] body.dash-body .dash-main #marketOverview .bc-favorite-actions .watchlist-analyze-btn:hover{background:#080808!important;color:#fff!important}
html[data-theme=light] body.dash-body .dash-main #marketOverview .bc-favorite-actions .bc-favorite-chart:hover{background:#efefed!important;color:#111!important;border-color:#aaa!important}
html[data-theme=light] body.dash-body .dash-main #marketOverview :is(.icon-btn,.watchlist-add-btn,.watchlist-manage-btn){background:#fff!important;color:#222!important;border-color:#d5d5d5!important}
html body :is(.nav-links,.dash-menu) > :is(.theme-toggle[data-theme-toggle],.bc-lang-picker){box-sizing:border-box!important;width:88px!important;min-width:88px!important;max-width:88px!important;height:38px!important;min-height:38px!important;max-height:38px!important;flex:0 0 auto!important;align-self:center!important;margin:4px auto!important;border-radius:8px!important;border:1px solid var(--line)!important;background:var(--panel)!important;box-shadow:none!important}
html body :is(.nav-links,.dash-menu) > .theme-toggle[data-theme-toggle]{padding:4px!important;grid-template-columns:1fr 1fr!important}
html body :is(.nav-links,.dash-menu) > .bc-lang-picker{padding:0 9px!important;gap:4px!important}
html[data-theme=light] body :is(.nav-links,.dash-menu) > :is(.theme-toggle[data-theme-toggle],.bc-lang-picker){background:#fff!important;border-color:#d5d5d5!important;color:#222!important}
/* V176: fixed thumbnail dimensions, explicit grid cells, identical utility controls */
html body.dash-body .dash-main #indicatorGrid>.indicator-card:not([hidden]){grid-template-columns:176px minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;gap:8px 16px!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card>.bc-indicator-visual{width:176px!important;max-width:176px!important;min-width:0!important;height:102px!important;aspect-ratio:auto!important;grid-column:1!important;grid-row:1 / 3!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card>div:not(.indicator-icon){grid-column:2!important;grid-row:2!important;min-width:0!important;overflow-wrap:anywhere!important}
html body.dash-body .dash-main #indicatorGrid>.indicator-card>.badge{grid-column:2!important;grid-row:1!important}
@media(max-width:640px){html body.dash-body .dash-main #indicatorGrid>.indicator-card:not([hidden]){grid-template-columns:132px minmax(0,1fr)!important;gap:8px 12px!important;padding:14px!important}html body.dash-body .dash-main #indicatorGrid>.indicator-card>.bc-indicator-visual{width:132px!important;max-width:132px!important;height:82px!important}}
@media(max-width:460px){html body.dash-body .dash-main #indicatorGrid>.indicator-card:not([hidden]){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important}html body.dash-body .dash-main #indicatorGrid>.indicator-card>.bc-indicator-visual{grid-column:1!important;grid-row:1!important;width:176px!important;max-width:100%!important;height:102px!important}html body.dash-body .dash-main #indicatorGrid>.indicator-card>.badge{grid-column:1!important;grid-row:2!important}html body.dash-body .dash-main #indicatorGrid>.indicator-card>div:not(.indicator-icon){grid-column:1!important;grid-row:3!important}}
html body:is(.dash-body, .bc-top-nav) :is(.dash-nav,.dash-menu,.account-area) :is(.theme-toggle[data-theme-toggle],.bc-lang-picker),html body .auth-theme-toggle :is(.theme-toggle[data-theme-toggle],.bc-lang-picker),html body :is(.nav-actions,.nav-links) :is(.theme-toggle[data-theme-toggle],.bc-lang-picker){box-sizing:border-box!important;width:88px!important;min-width:88px!important;max-width:88px!important;height:38px!important;min-height:38px!important;max-height:38px!important;flex:0 0 88px!important;border-radius:8px!important;align-self:center!important;overflow:hidden!important}
html body :is(.dash-nav,.auth-theme-toggle,.nav-actions,.nav-links) .theme-toggle[data-theme-toggle]{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:3px!important}
html body :is(.dash-nav,.auth-theme-toggle,.nav-actions,.nav-links) .bc-lang-picker{padding:0 9px!important;gap:4px!important}

/* V177: center previews vertically alongside the text, preserve thumbnail sizes. */
html body.dash-body .dash-main #indicatorGrid>.indicator-card>.bc-indicator-visual{align-self:center!important;justify-self:center!important}
