button {
  padding: 0.5rem 1rem;
  font: 0.875rem system-ui, sans-serif;
  border: 1px solid gray;
  border-radius: 0.375rem;
}

.dialog {
  inline-size: 100%;
  max-inline-size: min(22rem, 100% - 2rem);
  padding: 1.5rem;
  font: 0.875rem system-ui, sans-serif;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 16px 48px rgb(0 0 0 / 0.3);
}

.dialog::backdrop {
  background-color: rgb(30 30 60 / 0.5);
  backdrop-filter: blur(3px);
}

.title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: bold;
}

.text {
  margin: 0 0 1.25rem;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.actions .danger {
  color: white;
  background-color: crimson;
  border-color: crimson;
}