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

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

.switch-demo-option {
  display:         flex;
  align-items:     flex-start;
  justify-content: space-between;
  gap:             var(--space-4);
  width:           100%;
  max-width:       24rem;
}

.switch-demo-option > div {
  min-width: 0;
}

.switch-demo-option .hint {
  margin: var(--space-1) 0 0;
}

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

.switch-demo-row {
  display: flex;
  gap:     var(--space-2);
}

.switch-demo-card {
  width:     100%;
  max-width: 24rem;
}

/* 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 > .switch-demo-log {
  align-self: stretch;
  min-height: 2lh;
  text-align: center;
}
