
:where(.dialog-form-demo) {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  max-width: 44rem;
  padding: 1.25rem;
  border: 1px solid light-dark(#c4b5fd, #6d28d9);
  border-radius: 0.875rem;
  background: Canvas;
  color: CanvasText;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

:where(.dialog-form-demo h2, .dialog-form-demo p) {
  margin: 0;
}

:where(.dialog-form-demo > p:first-child) {
  color: light-dark(#6d28d9, #c4b5fd);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:where(.dialog-form-demo__choices) {
  display: grid;
  gap: 0.5rem;
}

:where(.dialog-form-demo__choices button) {
  padding: 0.75rem 1rem;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

:where(.dialog-form-demo__result) {
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-size: 0.875rem;
}
