.ds-board .ds-weight-chart {
  min-width: 0;
  margin: clamp(20px,1.8vw,32px) 0;
  color: var(--board-ink);
}

.ds-weight-chart figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ds-weight-chart .ds-weight-series {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  row-gap: clamp(21px,1.65vw,28px);
  column-gap: clamp(12px, 1.1vw, 19px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-weight-chart .ds-weight-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  row-gap: 3px;
}

.ds-weight-chart .ds-weight-label {
  grid-column: 1 / -1;
  color:#233e5b;
  font-size:15px;
  font-weight: 550;
}

.ds-weight-chart .ds-weight-track {
  display: block;
  height:12px;
  background:#edf2f8;
  border-radius:0 4px 4px 0;
  overflow: hidden;
}

.ds-weight-chart .ds-weight-fill {
  display: block;
  height: 100%;
  background:var(--chart-buy);
  border-radius: inherit;
}

.ds-weight-chart [data-side="sell"] .ds-weight-fill {background:var(--chart-sell);}

.ds-weight-chart .ds-weight-value {
  min-width: 3.4ch;
  max-width: 13ch;
  text-align: right;
  font:660 clamp(20px,1.5vw,25px)/1.2 var(--panel-digits);
  color:var(--panel-heading);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.ds-weight-chart .ds-weight-value small {
  font-size:.6em;
  color:var(--panel-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.ds-weight-chart .ds-weight-missing {
  font-size: 13px;
  font-weight: 400;
  color: var(--board-muted);
}

@supports not (grid-template-columns: subgrid) {
  .ds-weight-chart .ds-weight-row {grid-template-columns: minmax(0, 1fr) 6em; column-gap: 12px;}
}

@media (max-width:640px) {
  .ds-board .ds-weight-chart {margin:22px 0;}
}
