/* v16.9.8 · I PAINT CO. button feedback (button-system.md, "Pressed" and "Loading").
   Pressed: instant ink tint + 98% scale. transform only, so nothing around the button moves.
   Loading: disabled, label changes, small spinner; then a brief green done or red error state. */
button,.btn,.chip,[role="button"]{-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:transform 60ms ease-out,box-shadow 60ms ease-out}
button:active:not(:disabled),.btn:active:not(:disabled),.chip:active,[role="button"]:active,
button.is-pressed:not(:disabled),.btn.is-pressed:not(:disabled),.chip.is-pressed,[role="button"].is-pressed{transform:scale(.98);box-shadow:inset 0 0 0 999px rgba(20,20,18,.10);transition-duration:0s}
.btn.pri:active:not(:disabled),.btn.pri.is-pressed:not(:disabled){box-shadow:inset 0 0 0 999px rgba(255,255,255,.16)}
.is-busy{pointer-events:none;cursor:progress}
.is-busy,.is-ok,.is-err,.is-busy:disabled,.is-ok:disabled,.is-err:disabled{opacity:1!important}
/* v125.41.36 · ONE sync wheel per busy button (CLSpin in press.js / CL.ui.busy). No ::before wheel any more: it stacked a second wheel on top of the injected .spin. The wheel sits centered on the label line; the button is size-locked in JS so the pill never grows. */
.is-busy::before,.is-busy::after{content:none!important}
button.is-busy,.btn.is-busy,[role="button"].is-busy{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.45em!important;white-space:nowrap!important;overflow:hidden!important;vertical-align:middle;line-height:1!important}
.is-busy>.spin{display:block!important;flex:none!important;width:1em!important;height:1em!important;margin:0!important;padding:0!important;border:2px solid currentColor!important;border-right-color:transparent!important;border-radius:50%!important;box-sizing:border-box!important;opacity:.9;animation:svspin .7s linear infinite!important;vertical-align:middle}
.is-busy>.spin~.spin{display:none!important}
.is-busy>.busyl{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;line-height:1.1}
@keyframes svspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.is-busy>.spin{animation-duration:2.4s!important}}
.btn.is-ok,button.is-ok{background:#2E7D4F!important;border-color:#2E7D4F!important;color:#fff!important}
.btn.is-err,button.is-err{background:#DB6B62!important;border-color:#DB6B62!important;color:#fff!important}
/* v125.4 · pressing a call link inside a tappable row presses the link only: the row (its :active ancestor) stays untinted, no transition left behind */
[role="button"]:has(.callb:active),[role="button"]:has(.callb.is-pressed){transform:none;box-shadow:none;transition:none}
