/* Shared feedback for mouse, touch and keyboard. */
a[href], button, summary, select, label:has(input:is([type="radio"],[type="checkbox"])) {
  -webkit-tap-highlight-color: rgb(170 130 73 / .24);
}
:where(a[href], button, summary, input, textarea, select):focus-visible {
  outline: 2px solid #aa8249;
  outline-offset: 3px;
}
:where(a[href], button:not(:disabled), summary):active {
  filter: brightness(.88);
}
@media (hover: hover) and (pointer: fine) {
  a[href]:hover { text-decoration-color: #aa8249; text-decoration-thickness: 2px }
  :where(button:not(:disabled), [role="button"], summary):hover { filter: brightness(1.12) }
}
@media (prefers-reduced-motion: no-preference) {
  :where(a[href], button, summary) { transition: filter 150ms ease, translate 150ms ease }
  :is(button:not(:disabled), .button, summary):active { translate: 0 1px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important }
}

.submission-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-block: 16px;
  padding: 16px;
  border: 1px solid #aec5b2;
  border-radius: 8px;
  color: #183d2b;
  background: #eaf3e9;
  overflow-wrap: anywhere;
}
.submission-success strong { display: block; margin-bottom: 4px; font-size: 1.15em }
.submission-check {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 19px;
  line-height: 1;
}

.submission-ticket-number {
  font-weight: 700;
  font-size: 1.1em;
  margin-block: 6px 10px;
}
