.chuko-action-position { position: relative !important; }
.chuko-action-busy,
.chuko-action-busy * { transition: none !important; }
.chuko-action-busy {
    color: transparent !important;
    text-shadow: none !important;
    background-image: none !important;
    cursor: wait !important;
}
.chuko-action-busy > *,
.chuko-action-busy::before,
.chuko-action-busy::after { visibility: hidden !important; }
.chuko-action-busy > .chuko-action-spinner,
.chuko-action-spinner-input {
    visibility: visible !important;
    position: absolute !important;
    inset: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
    color: var(--chuko-spinner-color, #333) !important;
}
.chuko-action-spinner-input { position: fixed !important; inset: auto; z-index: 10000; }
.chuko-action-spinner::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    background: none !important;
    filter: none !important;
    transform: rotate(0deg);
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: chuko-action-spin .75s linear infinite;
    visibility: visible !important;
}
.chuko-action-spinner::after { content: none !important; }
.chuko-action-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0 !important;
}
/* Explicitly set both endpoints so bookshelf icon translateY does not become
   the animation's implicit starting transform. */
@keyframes chuko-action-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .chuko-action-spinner::before { animation: none; transform: none !important; }
}
