#w_derivatives .derivatives-section-label {
  color: #b7cae0;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

#w_derivatives .derivatives-variations {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.02rem;
}

#w_derivatives .derivatives-var-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: center;
}

#w_derivatives .derivatives-var-label {
  color: #d8e8fa;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#w_derivatives .derivatives-var-values {
  display: flex;
  gap: 0.28rem;
}

#w_derivatives .derivatives-var-val {
  border: 1px solid rgba(141, 170, 204, 0.48);
  border-radius: 3px;
  padding: 0.08rem 0.28rem;
  color: var(--neutral);
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  min-width: 3.7rem;
  text-align: right;
}

#w_derivatives .derivatives-var-val.pos {
  border-color: rgba(51, 209, 122, 0.55);
  color: #c6f9dd;
  background: rgba(51, 209, 122, 0.12);
}

#w_derivatives .derivatives-var-val.neg {
  border-color: rgba(255, 77, 109, 0.55);
  color: #ffd0d9;
  background: rgba(255, 77, 109, 0.12);
}

#w_derivatives .derivatives-var-val.neutral {
  border-color: rgba(145, 166, 189, 0.48);
  color: #d8e8fa;
}

@media (max-width: 420px) {
  #w_derivatives .derivatives-var-row {
    grid-template-columns: 1fr;
  }

  #w_derivatives .derivatives-var-values {
    justify-content: stretch;
  }

  #w_derivatives .derivatives-var-val {
    flex: 1;
  }
}
