/* Immediate click feedback (public/pending-ui.js): top progress bar, button spinner, skeleton boxes. */
html[data-pending] body::before{content:'';position:fixed;z-index:10000;top:0;left:0;right:0;height:3px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--cyan,#22d3ee) 40%,color-mix(in srgb,var(--cyan,#22d3ee) 50%,#a78bfa) 60%,transparent);background-size:40% 100%;background-repeat:no-repeat;animation:pending-bar 1s cubic-bezier(.4,0,.2,1) infinite}
@keyframes pending-bar{from{background-position:-40% 0}to{background-position:140% 0}}
html[data-pending] body{cursor:progress}
html button.is-pending{cursor:progress;opacity:1!important}
html button.is-pending::after{content:'';display:inline-block;width:.85em;height:.85em;margin-left:.55em;vertical-align:-.1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:pending-spin .65s linear infinite}
@keyframes pending-spin{to{transform:rotate(360deg)}}
.pending-nudge{animation:pending-nudge .28s ease}
@keyframes pending-nudge{30%{transform:scale(.96)}70%{transform:scale(1.02)}}
.has-pending-skeleton{position:relative}
.pending-skeleton{position:absolute;inset:0;z-index:40;background:var(--ground,#0b0f14);animation:pending-in .14s ease-out both}
@keyframes pending-in{from{opacity:0}to{opacity:1}}
.pending-card{position:sticky;top:84px;display:grid;gap:14px;max-width:1100px;margin:0 auto;padding:28px;border-radius:18px;border:1px solid var(--line,#26303b);background:var(--ground-2,#121820)}
.pending-placeholder{list-style:none;margin:0 0 30px 60px}
.pending-placeholder .pending-skeleton{position:static;background:none}
.pending-placeholder .pending-card{position:static;max-width:none}
.pending-line,.pending-box{display:block;border-radius:8px;background:linear-gradient(90deg,color-mix(in srgb,var(--ink,#e6edf3) 7%,transparent) 25%,color-mix(in srgb,var(--ink,#e6edf3) 13%,transparent) 50%,color-mix(in srgb,var(--ink,#e6edf3) 7%,transparent) 75%);background-size:300% 100%;animation:pending-shimmer 1.2s ease-in-out infinite}
.pending-line{height:12px}
.pending-title{height:26px;width:52%}
.pending-box{min-height:72px;border-radius:12px}
.pending-option{min-height:50px}
.pending-drawing{min-height:220px}
.pending-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pending-grid .pending-box{min-height:150px}
.pending-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:24px}.pending-split>div:first-child{display:grid;gap:12px;align-content:start}
@keyframes pending-shimmer{from{background-position:100% 0}to{background-position:0 0}}
@media(prefers-reduced-motion:reduce){html[data-pending] body::before,.pending-line,.pending-box{animation:none}.pending-skeleton{animation:none}html button.is-pending::after{animation-duration:1.6s}.pending-nudge{animation:none}}
