/* ETF overview layout. Colors and type come from the app tokens. */

.etf-ov {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 28px;
  color: var(--text-primary);
}

.etf-ov > .section-title {
  margin: 16px 0 0;
}
.etf-section-head { flex-wrap: wrap; }
.etf-ov > .section-title:first-child { margin-top: 0; }
.etf-section-head .etf-fear { margin-left: auto; }
.etf-head-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex: none;
}
.etf-flows-head { flex-wrap: nowrap; align-items: center; }
.etf-head-measure {
  display: flex;
  justify-content: flex-end;
}
.etf-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.etf-flow-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.etf-flow-tools .etf-slide { flex: 1 1 auto; }
.etf-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.etf-card-title h3 { flex: 1 1 auto; min-width: 0; }
.etf-flow-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  margin-left: auto;
}
.etf-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
}
.etf-iconbtn:hover { color: var(--text-primary); background: var(--bg-hover); }
.etf-iconbtn.is-on {
  background: var(--text-primary);
  color: var(--bg-card);
  border-color: var(--text-primary);
}
.etf-iconbtn svg { display: block; }
.etf-flow-body { height: 560px; overflow: auto; }
.etf-flow-body.short { height: 375px; }
.etf-flow-body.short:has(.etf-moves) {
  height: auto;
  overflow: visible;
}
button.etf-flowline.is-group {
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
button.etf-flowline.is-group:hover { background: var(--bg-hover); }
.etf-fold {
  width: 0;
  height: 0;
  margin-top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-secondary);
  flex-shrink: 0;
}
.etf-flowline.is-shut .etf-fold { transform: rotate(-90deg); }
.etf-flowline.is-group .etf-seg-name { font-weight: 700; }
.etf-flowline.is-sub .etf-flow-name { padding-left: 16px; }
@media (max-width: 900px) {
  .etf-flow-grid { grid-template-columns: 1fr; }
}
.etf-ov > .section-title > span,
.etf-card h3 > span {
  min-width: 0;
}

.etf-sub {
  margin: 0;
  color: var(--text-secondary);
}

.etf-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
}

.etf-status { color: var(--text-secondary); padding: 28px 0; }

.etf-fear {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.etf-fear-bar { display: flex; gap: 2px; align-items: center; }
.etf-fear-seg {
  width: 18px;
  height: 10px;
  border-radius: 2px;
  opacity: 0.2;
}
.etf-fear-seg.is-on { opacity: 1; }
.etf-fear-seg.s0 { background: #e74c3c; }
.etf-fear-seg.s1 { background: #e67e22; }
.etf-fear-seg.s2 { background: #f1c40f; }
.etf-fear-seg.s3 { background: #2ecc71; }
.etf-fear-seg.s4 { background: #27ae60; }
.etf-fear-lab { font-size: 13px; font-weight: 600; white-space: nowrap; }
.etf-fear-lab.s0 { color: #e74c3c; }
.etf-fear-lab.s1 { color: #e67e22; }
.etf-fear-lab.s2 { color: #f1c40f; }
.etf-fear-lab.s3 { color: #2ecc71; }
.etf-fear-lab.s4 { color: #27ae60; }

.etf-signals {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.etf-sig {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px 14px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  text-align: left;
}

.etf-sig:hover,
.etf-sig:focus-within { z-index: 2; }

.etf-sig-k {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.etf-sig-v {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

.etf-sig-v.up { color: var(--gain); }
.etf-sig-v.dn { color: var(--loss); }

.etf-sig-sub {
  min-height: 2.7em;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-secondary);
}

.etf-sig-track {
  display: block;
  height: 6px;
  width: 100%;
  border-radius: 3px;
  background: var(--bg-hover);
  overflow: hidden;
}

.etf-sig-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--text-muted);
}

.etf-sig-foot {
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-muted);
}

.etf-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  cursor: help;
  flex: 0 0 auto;
  vertical-align: middle;
}

.etf-info:hover,
.etf-info:focus,
.etf-info.is-open { color: var(--text-primary); border-color: var(--text-muted); }

.etf-info-pop {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 4;
  width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
}

.etf-info:hover .etf-info-pop,
.etf-info:focus .etf-info-pop,
.etf-info.is-open .etf-info-pop { display: block; }

.etf-split { display: flex; flex-wrap: wrap; gap: 16px; }
.etf-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.etf-slide {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.etf-slide::-webkit-scrollbar { display: none; }
.etf-slide .period-toggle--underline {
  width: max-content;
  max-width: none;
}
.etf-card.main { flex: 999 1 640px; }
.etf-card.side { flex: 1 1 320px; }
.etf-card.half { flex: 1 1 420px; }

.etf-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.etf-card-head .etf-slide { flex: 1 1 0; min-width: 0; }
.etf-map-tools {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}
.etf-div.cls.is-on { background: var(--bg-hover); }
.etf-card.etf-class-card {
  position: relative;
  flex: 0 1 480px;
  min-width: 440px;
}
.etf-class-card .etf-all {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
}
.etf-class-card .etf-divs {
  flex: 1;
  justify-content: center;
}
.etf-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.etf-scroll { overflow: auto; max-height: 560px; }
.etf-rank .etf-scroll {
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}
#etf-overview-root .etf-rank .data-table {
  width: max-content;
  min-width: 100%;
}
#etf-overview-root .etf-rank .data-table th,
#etf-overview-root .etf-rank .data-table td {
  padding: 8px 4px;
}
#etf-overview-root .etf-rank .data-table th:first-child,
#etf-overview-root .etf-rank .data-table td:first-child {
  white-space: nowrap;
}
#etf-overview-root .etf-rank .data-table td:first-child .etf-link {
  flex: none;
  min-width: max-content;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
}
#etf-overview-root .etf-rank .etf-fund { gap: 6px; }
#etf-overview-root .etf-rank .data-table th:nth-child(2),
#etf-overview-root .etf-rank .data-table td:nth-child(2) {
  text-align: left;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}
.etf-phone { display: none; }
.etf-rank .movers-sort-badge {
  font-size: inherit;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.etf-fund { display: flex; align-items: center; gap: 8px; min-width: 0; }
.etf-fund img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
  background: var(--bg-hover);
  flex: none;
}
.etf-fund .etf-link {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.etf-fund .etf-mut { flex: none; }
.etf-ov .data-table th:not(:first-child),
.etf-ov .data-table td:not(:first-child) {
  white-space: nowrap;
  text-align: right;
  padding-left: 8px;
  padding-right: 0;
}
.etf-card.half .data-table { table-layout: fixed; }
.etf-card.half .data-table th,
.etf-card.half .data-table td { vertical-align: middle; }
.etf-card.half .data-table th:nth-child(2),
.etf-card.half .data-table td:nth-child(2) { width: 84px; }
.etf-card.half .data-table th:nth-child(3),
.etf-card.half .data-table td:nth-child(3) { width: 96px; }
.etf-card.half .data-table th:nth-child(4),
.etf-card.half .data-table td:nth-child(4) { width: 64px; }
.etf-mut { color: var(--text-muted); }
.etf-up { color: var(--gain); }
.etf-dn { color: var(--loss); }
#etf-overview-root .etf-moves {
  width: max-content;
  max-width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 14px;
}
.etf-moves + .etf-moves { margin-top: 8px; }
.etf-moves th,
.etf-moves td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-secondary);
}
.etf-moves th:nth-child(n+2),
.etf-moves td:nth-child(n+2) {
  text-align: right;
  white-space: nowrap;
  padding-left: 12px;
}
.etf-moves td { color: var(--text-primary); }
.etf-moves .movers-sort-badge {
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.etf-moves .etf-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.etf-moves td.etf-up { color: var(--gain); }
.etf-moves td.etf-dn { color: var(--loss); }

.etf-link {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.etf-flowline {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(110px, 1fr) 92px 72px;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.etf-flowline.head {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 0;
}
.etf-flowline.head > span:nth-child(3),
.etf-flowline.head > span:nth-child(4),
.etf-flowline.head > button:nth-child(3),
.etf-flowline.head > button:nth-child(4) { text-align: right; }
.etf-flowline.head > button.etf-col {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.etf-flowline.head > button.etf-col.is-end { justify-content: flex-end; }
.etf-flowline.head > button.etf-col.is-on { color: var(--text-primary); }
.etf-col-arrow {
  width: 8px;
  height: 8px;
  flex: none;
  position: relative;
}
.etf-col-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.etf-col.is-desc .etf-col-arrow::before { border-top: 5px solid currentColor; }
.etf-col.is-asc .etf-col-arrow::before { top: 1px; border-bottom: 5px solid currentColor; }
.etf-flow-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.etf-flow-ico {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.etf-flow-flag {
  display: inline-flex;
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.etf-flow-flag-empty { visibility: hidden; }
.etf-menu-ico {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
}
.etf-menu-ico svg { width: 18px; height: 18px; }
.etf-flowline .etf-link {
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}
.etf-diverge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 12px;
  position: relative;
}
.etf-diverge::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.etf-out, .etf-in { display: flex; height: 10px; min-width: 0; }
.etf-out { justify-content: flex-end; }
.etf-out span, .etf-in span {
  display: block;
  height: 10px;
  border-radius: 2px;
  flex: none;
}
.etf-out span { background: var(--loss); }
.etf-in span { background: var(--gain); }
.etf-diverge-lab {
  display: flex;
  justify-content: space-between;
}
.etf-flow-amt {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  padding-right: 12px;
  white-space: nowrap;
}
.etf-flow-amt.up { color: var(--gain); }
.etf-flow-amt.dn { color: var(--loss); }
.etf-divs { display: flex; flex-direction: column; gap: 0; }
.etf-div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 52px 48px;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.etf-class-card .etf-flowline {
  grid-template-columns: minmax(0, 1fr) minmax(48px, 1fr) max-content max-content;
  gap: 8px;
}
.etf-class-card .etf-flowline.head > span:first-child { white-space: nowrap; }
.etf-class-card .etf-flow-amt,
.etf-class-card .etf-flowline.head > span:nth-child(3),
.etf-class-card .etf-flowline.head > span:nth-child(4) {
  white-space: nowrap;
  padding-right: 0;
}
.etf-class-card .etf-class-row > .etf-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.etf-class-row.is-on { background: var(--bg-hover); }
.etf-div.cls { grid-template-columns: minmax(0, 1fr) 72px 56px; }
.etf-div.head {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 0;
}
.etf-div .etf-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  font-size: 14px;
}
.etf-cls-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}
.etf-axis {
  position: relative;
  height: 12px;
}
.etf-axis i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 12px;
  background: var(--border);
}
.etf-axis-lab {
  display: flex;
  justify-content: space-between;
}
.etf-card .etf-read {
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
  line-height: 1.45;
}

#etf-treemap { width: 100%; min-height: 280px; }

.etf-scatter {
  position: relative;
  height: 440px;
  margin: 8px 8px 28px 36px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.etf-axis-v, .etf-axis-h {
  position: absolute;
  background: var(--border);
  pointer-events: none;
}
.etf-axis-v { left: 50%; top: 0; bottom: 0; width: 1px; }
.etf-axis-h { top: 50%; left: 0; right: 0; height: 1px; }
.etf-corner {
  position: absolute;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-secondary);
  max-width: 46%;
  cursor: default;
  z-index: 2;
}
.etf-corner-mark { display: none; }
.etf-corner.tr { right: 10px; top: 8px; text-align: right; color: var(--gain); }
.etf-corner.tl { left: 10px; top: 8px; }
.etf-corner.br { right: 10px; bottom: 8px; text-align: right; color: var(--blue); }
.etf-corner.bl { left: 10px; bottom: 8px; color: var(--loss); }
@media (max-width: 800px) {
  .etf-corner {
    width: 28px;
    height: 28px;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .etf-corner-mark {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: currentColor;
  }
  .etf-corner-txt {
    display: none;
    position: absolute;
    width: 148px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
  }
  .etf-corner.is-open { z-index: 6; }
  .etf-corner.is-open .etf-corner-txt { display: block; }
  .etf-corner.tr .etf-corner-txt,
  .etf-corner.br .etf-corner-txt { right: 0; }
  .etf-corner.tl .etf-corner-txt,
  .etf-corner.bl .etf-corner-txt { left: 0; }
  .etf-corner.tr .etf-corner-txt,
  .etf-corner.tl .etf-corner-txt { top: calc(100% + 4px); }
  .etf-corner.br .etf-corner-txt,
  .etf-corner.bl .etf-corner-txt { bottom: calc(100% + 4px); }
  .etf-rot-head {
    flex-direction: column;
    align-items: stretch;
  }
  .etf-rot-head .etf-slide {
    width: 100%;
    flex: 0 0 auto;
  }
}
.etf-xlab {
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}
.etf-ylab { position: absolute; left: -32px; color: var(--text-muted); }
.etf-dot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--text-primary);
  transform: translate(-6px, -6px);
}
.etf-dot i {
  display: block;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 2px solid var(--bg-card);
}

.etf-vol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.etf-vol div {
  flex: 1;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.etf-vol .is-long {
  background: color-mix(in srgb, var(--gain) 24%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--gain) 50%, var(--border));
}
.etf-vol .is-short {
  background: color-mix(in srgb, var(--loss) 24%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--loss) 50%, var(--border));
}
.etf-vol b { font-size: 22px; }
.etf-vol .is-long b { color: var(--gain); }
.etf-vol .is-short b { color: var(--loss); }
.etf-vol span, .etf-read { color: var(--text-secondary); }

@media (max-width: 900px) {
  .etf-scatter { height: 320px; }
}

.etf-wait {
  display: inline-block;
  width: 4.5em;
  height: 0.9em;
  vertical-align: middle;
}
.etf-sig-v .etf-wait.is-lg { width: 5.5em; height: 1.15em; }
.etf-wait.is-gauge { width: 9em; height: 1.1em; }
.etf-wait.is-line { display: block; width: 100%; height: 1.1em; margin: 8px 0; }
.etf-wait.is-block { display: block; width: 100%; min-height: 280px; }
.etf-wait-stack { padding: 8px 0; }

@media (max-width: 800px) {
  .etf-desk { display: none; }
  .etf-phone { display: inline; }
  .etf-signals { grid-template-columns: 1fr 1fr; }
  .etf-sig-v { font-size: 18px; }
  .etf-card.etf-class-card {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    order: 2;
  }
  .etf-split > .etf-card.main { order: 1; }
  .etf-flowline {
    grid-template-columns: minmax(0, 1fr) minmax(36px, 0.7fr) max-content max-content;
  }
  #etf-overview-root .data-table th,
  #etf-overview-root .data-table td,
  .etf-flowline,
  .etf-flowline.head,
  .etf-div {
    font-size: 12px;
  }
  #etf-overview-root .etf-card.half .data-table {
    min-width: 0;
    width: 100%;
  }
  .etf-card.half .data-table th,
  .etf-card.half .data-table td {
    padding: 8px 2px;
  }
  .etf-card.half .data-table th:nth-child(2),
  .etf-card.half .data-table td:nth-child(2) { width: 52px; }
  .etf-card.half .data-table th:nth-child(3),
  .etf-card.half .data-table td:nth-child(3) { width: 62px; }
  .etf-card.half .data-table th:nth-child(4),
  .etf-card.half .data-table td:nth-child(4) { width: 46px; }
  .etf-card.half .data-table td:first-child { overflow: hidden; }
  #etf-overview-root [data-etf-sorttable="stress"] {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }
  #etf-overview-root [data-etf-sorttable="stress"] th,
  #etf-overview-root [data-etf-sorttable="stress"] td {
    padding: 8px 2px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #etf-overview-root [data-etf-sorttable="stress"] .movers-sort-badge {
    font-size: inherit;
    letter-spacing: 0.5px;
    padding: 0;
    gap: 0;
  }
  #etf-overview-root [data-etf-sorttable="stress"] th:nth-child(2),
  #etf-overview-root [data-etf-sorttable="stress"] td:nth-child(2) { width: 64px; }
  #etf-overview-root [data-etf-sorttable="stress"] th:nth-child(3),
  #etf-overview-root [data-etf-sorttable="stress"] td:nth-child(3) { width: 34px; }
  #etf-overview-root [data-etf-sorttable="stress"] th:nth-child(4),
  #etf-overview-root [data-etf-sorttable="stress"] td:nth-child(4) { width: 48px; }
  #etf-overview-root [data-etf-sorttable="stress"] th:nth-child(5),
  #etf-overview-root [data-etf-sorttable="stress"] td:nth-child(5) { width: 48px; }
  #etf-overview-root [data-etf-sorttable="stress"] td:first-child .etf-link {
    flex: 1 1 8ch;
    min-width: 8ch;
  }
}

html[data-theme="light"] #etf-overview-root .etf-sig,
html[data-theme="light"] #etf-overview-root .etf-card,
html[data-theme="light"] #etf-overview-root .data-table th,
html[data-theme="light"] #etf-overview-root .data-table td {
  background: #e8ecf0;
}
html[data-theme="light"] #etf-overview-root .data-table tr:hover td {
  background: #dde2e8;
}

