:where(button[data-processing="true"]) {
    cursor: wait;
    pointer-events: none;
}

.action-state__spinner {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: action-state-spin 720ms linear infinite;
}

.action-state__label {
    min-width: 0;
    overflow-wrap: anywhere;
}

@keyframes action-state-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .action-state__spinner {
        animation-duration: 1.8s;
    }
}
