.backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000; /* above the future feature-modal layer (discard-over-modal) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: rgb(0 0 0 / 0.5);
}

.dialog {
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--layer-01);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  /* Minimal shadow, reserved for true overlays (doc §09). */
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.3);
  /* The card sits on --layer-01, so its controls' hover fill steps up (the
     collision that once left Cancel looking dead — arch 09 §4). */
  --control-hover-fill: var(--layer-02);
}

.title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.message {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-secondary);
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* The actions are shared Buttons (secondary / primary|danger, lg). These two
   classes are pure markers — the focus trap's initial-focus selectors. */
.cancel {
}

.confirm {
}
