/* Transcrib Si — the styles of the demo page of the anim widget.
 *
 * The widget itself lives in anim.css. This file only dresses the page that
 * shows the widget: the block with the line of code, the caption under the
 * wave, the chart and the table captions.
 */
.anim-code {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg-sunken);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.anim-caption {
  margin: var(--space-3) auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: var(--fs-200);
  color: var(--band-muted);
}

.anim-chart {
  display: block;
  width: 100%;
  max-width: 660px;
  height: auto;
  margin: 0 0 var(--space-4);
}

.anim-table caption {
  caption-side: top;
  text-align: left;
  font-size: var(--fs-300);
  color: var(--text-muted);
  padding: var(--space-3) 0;
}

.anim-calc__out {
  margin: var(--space-4) 0 0;
}

.anim-calc__out strong {
  font-variant-numeric: tabular-nums;
}
