/* The embedded sample uses the same controls and simulation as the full lesson. */
.cart-preview body {
  background: transparent;
}

.cart-preview body main {
  max-width: 700px;
  padding: 0;
}

.cart-preview body main > :not(.layout),
.cart-preview body footer,
.cart-preview body .controls > :not(:nth-child(3), :nth-child(4)),
.cart-preview body .panel:not(.controls) > :not(.stage, .toolbar),
.cart-preview body #result {
  display: none;
}

.cart-preview body .layout {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0;
}

.cart-preview body .panel {
  border: 0;
  background: transparent;
  padding: 0;
}

.cart-preview body .controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cart-preview body .controls label {
  margin: 0;
}

.cart-preview body .toolbar {
  margin: 7px 0;
}

.cart-preview body .stage {
  border-radius: 8px;
}

.cart-preview body .stage svg {
  max-height: 145px;
}
