/* A deliberate audio-output choice; the native modal owns focus and inertness. */
#voice-choice-dialog {
  box-sizing: border-box;
  width: min(26rem, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  margin: auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  overflow-y: auto;
  border: 0;
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--es-surface) 90%, transparent);
  color: var(--es-ink);
  backdrop-filter: blur(var(--es-reading-softness));
  font: 400 var(--es-text-body) / var(--es-line-body) var(--es-font-body);
}
#voice-choice-dialog::backdrop {
  background: color-mix(in srgb, var(--es-ground) 35%, transparent);
}
#voice-choice-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  font-size: var(--es-text-small);
  color: var(--es-muted);
}
#voice-choice-mark {
  width: 2rem;
  height: 2rem;
  flex: none;
  background: var(--es-pore);
  mask: url("../brand/interface-mark.svg") center / contain no-repeat;
}
#voice-choice-title {
  margin: 0;
  max-width: none;
  font: var(--es-display-weight) clamp(1.5rem, 4vw, 2rem) / 1.15
    var(--es-font-display);
  letter-spacing: -0.03em;
  color: var(--es-ink);
}
#voice-choice-description {
  margin: 1rem 0 1.5rem;
  color: var(--es-muted);
  font: inherit;
}
#voice-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
#voice-choice-actions button {
  flex: 1 1 5rem;
  min-height: 3rem;
  padding: 0.6rem 1.25rem;
  border: 0;
  border-radius: 2rem;
  background: var(--es-glass);
  color: var(--es-ink);
  font: inherit;
  cursor: pointer;
}
#voice-choice-actions #voice-choice-yes {
  background: var(--es-pore);
  color: var(--es-pore-ink);
}
#voice-choice-actions button:focus-visible {
  outline: 2px solid var(--es-pore);
  outline-offset: 3px;
}
