@import "https://assets.elements.dev/assets/app/shared/ui-catalog/catalog/style.c38e1d7304920e3.css";

.toggle-group-demo-stack {
  display:        flex;
  flex-direction: column;
  align-items:    flex-start;
  gap:            var(--space-3);
}

.toggle-group-demo-weight {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            var(--space-1);
  font-size:      var(--text-xs);
}

.toggle-group-demo-weight b {
  font-size: var(--text-xl);
}

.toggle-group-demo-log {
  font-family: var(--font-mono);
  font-size:   var(--text-xs);
  color:       var(--ink-dim);
}

/* Four large items are wider than a phone; let them wrap. */
.toggle-group.toggle-group-demo-wrap {
  flex-wrap: wrap;
  max-width: 100%;
}

/* An echo line in a column demo takes the stage's width and reserves two
   lines, so a longer or wrapping echo never moves the controls above it or
   grows the demo. */
.demo-stage.is-column > .toggle-group-demo-log {
  align-self: stretch;
  min-height: 2lh;
  text-align: center;
}
