/* Shared, contextual columns for the homepage; loaded after mobile defaults. */
body .dashboard-module .contextual-row {
  display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;
  gap:16px;min-height:78px;padding:16px 4px;margin:0;
  border:0;border-bottom:1px solid #252525;border-radius:0;
  color:inherit;text-decoration:none;font-family:inherit;
}
body .dashboard-module .contextual-row:hover {background:#0b0b0b;}
body .dashboard-module .contextual-row:focus-visible {outline:2px solid #aaa;outline-offset:3px;}
body .dashboard-module .contextual-row > .bb-identity {--identity-size:40px;width:64px;min-width:64px;max-width:64px;grid-column:1;grid-row:1;}
body .dashboard-module .contextual-row > .stock-info,
body .dashboard-module .contextual-row > .index-info,
body .dashboard-module .contextual-row > .market-leader-info {grid-column:2;grid-row:1;min-width:0;display:grid;gap:5px;}
body .dashboard-module .contextual-row .index-name,
body .dashboard-module .contextual-row .market-leader-name,
body .dashboard-module .contextual-row .stock-symbol {font-size:14px;line-height:1.4;font-weight:600;text-decoration:none;white-space:normal;}
body .dashboard-module .contextual-row .stock-company,
body .dashboard-module .contextual-row .index-symbol-label,
body .dashboard-module .contextual-row .market-leader-symbol-badge {display:block;font-size:12px;line-height:1.4;color:#aaa;background:none;padding:0;font-weight:400;text-decoration:none;white-space:normal;}
.market-metrics {display:grid;grid-auto-flow:column;grid-auto-columns:96px;gap:20px;align-items:center;font-variant-numeric:tabular-nums;}
.market-metric {position:relative;display:grid;gap:6px;text-align:right;white-space:nowrap;}
.market-metric small {font-size:12px;line-height:1.4;font-weight:400;color:#aaa;}
.market-metric strong {font-size:14px;line-height:1.4;font-weight:550;color:#e4e4e4;}
.market-metric.positive strong {color:#00b89c;}
.market-metric.negative strong {color:#f23645;}
body .dashboard-module .ranking-list {display:block;}
body .part1-module .launch-leaders {gap:28px;}
body .dashboard-module .volume-row .market-metrics {grid-auto-columns:96px;gap:18px;}
body .part3-module .footer-column .footer-product-label {display:flex;flex-wrap:wrap;gap:5px 8px;color:#999;font:inherit;font-size:14px;line-height:1.6;}
.footer-status {font:inherit;color:#777;}
.footer-trading-modes {margin:24px 0;color:#999;font-size:13px;line-height:1.6;font-weight:400;}
@media(min-width:901px) and (max-width:1200px) {
 body .part1-module .launch-leaders {grid-template-columns:1fr;}
}
@media(max-width:700px) {
 body .dashboard-module .contextual-row {grid-template-columns:44px minmax(0,1fr) auto;gap:10px;min-height:76px;padding:14px 0;}
 body .dashboard-module .contextual-row > .bb-identity {--identity-size:30px;width:44px;max-width:44px;}
 .market-metrics {grid-auto-columns:80px;gap:12px;}
 .market-metric strong {font-size:13px;}
 .market-metric small {font-size:12px;}
 body .dashboard-module .contextual-row .stock-company {font-size:12px;}
 body .new-listings-grid {grid-template-columns:1fr;gap:0;}
 body .dashboard-module .volume-row {grid-template-columns:44px minmax(0,1fr);}
 body .dashboard-module .volume-row > .market-metrics {grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;gap:12px;padding-top:4px;}
 body .dashboard-module .volume-row .market-metric {text-align:left;}
}

/* Column labels appear once per list; each value keeps its accessible label. */
.market-column-head {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:8px 4px;color:#aaa;font-size:12px;line-height:1.5;}
.market-column-head .market-metrics > span {text-align:right;white-space:nowrap;}
.contextual-row .market-metric small {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
body .dashboard-module .contextual-row > .bb-pair {--identity-size:32px;}
@media(max-width:700px) {
 .market-column-head {padding:8px 0;gap:10px;}
 body .dashboard-module .contextual-row {grid-template-columns:54px minmax(0,1fr) auto;}
 body .dashboard-module .contextual-row > .bb-identity {width:54px;min-width:54px;max-width:54px;}
 body .dashboard-module .contextual-row > .bb-pair {--identity-size:28px;}
 body .dashboard-module .volume-row {grid-template-columns:54px minmax(0,1fr);}
 .volume-head {display:none;}
 .volume-row .market-metric small {position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;}
}
body .dashboard-module .contextual-row .index-info,
body .dashboard-module .contextual-row .market-leader-info {text-align:left;}
.volume-head .market-metrics {gap:18px;}
body .part3-module .footer-branding p,
body .part3-module .footer-column h3,
body .part3-module .copyright {color:#999;}
body .part1-module .indices-header a,
body .part1-module .market-leaders-header a,
body .part1-module .see-all-link {color:inherit;text-decoration:none;}

/* Keep the desktop row hierarchy at every width: identity, name/symbol, metrics. */
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] {
  display:grid;grid-template-columns:64px minmax(0,1fr) auto;
  grid-auto-flow:row;gap:12px;min-height:76px;padding:14px 0;
}
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] > .bb-identity {
  grid-column:1;grid-row:1;--identity-size:40px;width:64px;min-width:64px;max-width:64px;margin:0;
}
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] > :is(.index-info,.market-leader-info,.stock-info) {
  grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:4px;min-width:0;width:auto;text-align:left;margin:0;
}
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] :is(.index-name,.market-leader-name,.stock-company) {
  display:block;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.4;
}
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] :is(.index-symbol-label,.market-leader-symbol-badge) {
  display:block;margin:0;padding:0;align-self:flex-start;white-space:nowrap;line-height:1.4;
}
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] > .market-metrics {
  grid-column:3;grid-row:1;display:grid;grid-auto-flow:column;grid-auto-columns:82px;
  grid-template-columns:none;gap:12px;padding:0;margin:0;min-width:0;
}
body .unified-dashboard .dashboard-module .market-column-head .market-metrics {grid-auto-columns:82px;gap:12px;}
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] .market-metric {text-align:right;}
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] .market-metric small {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] > .bb-pair {--identity-size:32px;}
@media(max-width:900px) {
  body .part1-module .launch-leaders {
    display:grid;grid-template-columns:minmax(0,1fr);grid-auto-flow:row;grid-auto-columns:auto;
    overflow:visible;gap:16px;scroll-snap-type:none;
  }
  body .part1-module .launch-leaders .market-leaders-card {min-width:0;width:auto;padding:18px 16px;}
  body .new-listings-grid {grid-template-columns:minmax(0,1fr);gap:0;}
}
@media(max-width:700px) {
  body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] {
    grid-template-columns:32px minmax(0,1fr) auto;gap:8px;min-height:72px;padding:12px 0;
  }
  body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] > .bb-identity {
    --identity-size:28px;width:32px;min-width:32px;max-width:32px;
  }
  body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] > .bb-pair {--identity-size:18px;}
  body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] > .market-metrics,
  body .unified-dashboard .dashboard-module .market-column-head .market-metrics {grid-auto-columns:68px;gap:8px;}
  body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] :is(.index-name,.market-leader-name,.stock-symbol) {font-size:12px;}
  body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] :is(.index-symbol-label,.market-leader-symbol-badge,.stock-company) {font-size:12px;}
  body .unified-dashboard .dashboard-module a.contextual-row[data-contextual-row] .market-metric strong {font-size:13px;}
  body .unified-dashboard .dashboard-module .market-column-head {display:grid;}
  body .unified-dashboard .dashboard-module .market-column-head .market-metrics > span {font-size:10px;white-space:normal;}
  body .unified-dashboard .dashboard-module a.volume-row[data-contextual-row] > .market-metrics,
  body .unified-dashboard .dashboard-module .volume-head .market-metrics {grid-auto-columns:64px;gap:6px;}
}
@media(max-width:360px) {
  body .unified-dashboard .dashboard-module a.volume-row[data-contextual-row] > .market-metrics,
  body .unified-dashboard .dashboard-module .volume-head .market-metrics {grid-auto-columns:56px;gap:4px;}
  body .unified-dashboard .dashboard-module a.volume-row[data-contextual-row] .market-metric strong {font-size:13px;}
}

.metric-compact {display:none;}
@media(max-width:700px) { .market-metric .metric-full {display:none;} .market-metric .metric-compact {display:inline;} }
