.playground-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.playground-controls button,
.playground-controls select {
  font: inherit;
  padding: 0.4rem 0.7rem;
}

.playground-controls button {
  background: var(--color-brand-primary);
  border: 0;
  border-radius: 0.25rem;
  color: white;
  cursor: pointer;
}

#playground-status {
  min-width: 12rem;
}

#playground-status[data-error="true"] {
  color: var(--color-problematic);
}

.playground-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.playground-editor,
.playground-preview {
  border: 1px solid var(--color-foreground-border);
  border-radius: 0.35rem;
  height: 58vh;
  min-height: 24rem;
  min-width: 0;
  overflow: hidden;
}

#chart-root {
  height: 100%;
  width: 100%;
}

@media (max-width: 55rem) {
  .playground-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
