.ayiti-action-pending { cursor: progress !important; }
button:is(.is-loading, [aria-busy="true"]) {
    pointer-events: none;
    position: relative;
    padding-right: 2.45rem !important;
}
/* The editorial motion stylesheet paints the indicator in the same slot. */
button:is(.is-loading, [aria-busy="true"])::after {
    content: "";
    position: absolute;
    right: .9rem;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: ayiti-action-spin .75s linear infinite;
}
.ayiti-action-result { position:fixed; right:24px; bottom:24px; z-index:10000; max-width:min(420px,calc(100vw - 32px)); padding:17px 21px; border:1px solid #bfc9c1; border-left:4px solid #2a6343; border-radius:8px; background:#fff; color:#17251e; box-shadow:0 8px 28px #0002; font:650 16px/1.5 Inter,Arial,sans-serif; overflow-wrap:anywhere; }
.ayiti-action-result.is-error { border-left-color:#ac3c30; color:#7c241d; }
.ayiti-action-result[hidden] { display:none; }
@keyframes ayiti-action-spin { to { transform: rotate(360deg); } }
@media (max-width: 540px) {
    .ayiti-action-result { right:16px; bottom:16px; }
}
@media (prefers-reduced-motion: reduce) {
    button:is(.is-loading, [aria-busy="true"])::after { animation:none; }
}
