/*
 * A form's sent answer, one motion everywhere it is used: the agency
 * sites' contact form (#143) and the realtor's Support page (#436). The
 * fields fade out, then the answer rises where they stood under a short
 * mark. Each screen sets the colours from its own tokens (--sent-mark,
 * --sent-ease) and the answer's type; the motion and its timing live here
 * alone. Less motion: nothing moves.
 */
.sent-body.is-leaving { animation: sent-leave .25s ease both; }
/* Focused by the script so a screen reader reads it, never pressed: no ring, over a screen's own ring for every :focus-visible. */
.sent-answer[tabindex="-1"]:is(:focus, :focus-visible) { outline: none; }
.sent-answer:not(:empty) { animation: sent-rise .5s var(--sent-ease, cubic-bezier(.2, .7, .2, 1)) both; }
.sent-answer:not(:empty)::before { content: ""; display: block; inline-size: 2.5rem; block-size: 2px; margin-block-end: 1rem; background: var(--sent-mark, currentcolor); }

@keyframes sent-leave { to { opacity: 0; } }
@keyframes sent-rise { from { opacity: 0; translate: 0 .35em; } }

@media (prefers-reduced-motion: reduce) {
  .sent-body.is-leaving, .sent-answer:not(:empty) { animation: none; }
}
