/* Busy states never infer work from a business-rule disabled button. */
[data-action-busy="true"] {cursor: wait !important;}
[data-action-busy="true"]::after,
.action-progress::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  margin-inline-start: .45em;
  vertical-align: -.12em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: action-spin .75s linear infinite;
}
.action-progress {
  position: fixed;
  inset: auto 1rem max(1rem, env(safe-area-inset-bottom)) auto;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  width: max-content;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  padding: .8rem 1rem;
  border: 1px solid #a8c5c0;
  border-radius: .8rem;
  background: #173f3c;
  color: #fff;
  font: 600 1rem/1.4 "Karla", sans-serif;
  box-shadow: 0 4px 18px #0003;
  z-index: 2147483647;
  pointer-events: none;
}
.action-progress[hidden] {display: none;}
.action-progress::before {margin: 0;}
@keyframes action-spin {to {transform: rotate(360deg);}}
@media (prefers-reduced-motion: reduce) {
  [data-action-busy="true"]::after, .action-progress::before {animation: none;}
}
