@keyframes batchready-spin{to{transform:rotate(360deg)}}
.is-working::before,button[aria-busy="true"]::before,.pack-workspace:has(#finished-pack[aria-busy="true"]) #pack-count::before{
 content:"";display:inline-block;width:15px;height:15px;box-sizing:border-box;flex:0 0 15px;border:2px solid #bca16c70;border-top-color:#496349;border-right-color:#a88b4a;border-radius:50%;margin-right:8px;vertical-align:-3px;animation:batchready-spin .85s linear infinite;
}
#working-indicator{position:fixed;left:max(18px,env(safe-area-inset-left));bottom:max(18px,env(safe-area-inset-bottom));z-index:70;display:flex;gap:13px;align-items:flex-start;width:350px;max-width:calc(100vw - 112px);box-sizing:border-box;padding:16px 18px;border:1px solid #ac915b;border-top-color:#dec897;border-radius:14px;background:#203e33;color:#fff9e9;box-shadow:0 6px 28px #17312630;pointer-events:none}
#working-indicator[hidden]{display:none}
#working-indicator>div{min-width:0;flex:1}
#working-indicator strong{display:block;font-family:inherit;line-height:1.4;font-size:14px;font-weight:600}
#working-indicator p{font-size:12px;line-height:1.5;color:#e5e9dc;margin:5px 0 0;overflow-wrap:anywhere}
.work-symbol{width:24px;height:24px;box-sizing:border-box;flex:0 0 24px;text-align:center;font-size:21px;line-height:24px;color:#eed69b}
#working-indicator[data-phase="working"] .work-symbol{border:3px solid #f0ddac33;border-top-color:#f0ddac;border-right-color:#c6a361;border-radius:50%;animation:batchready-spin .85s linear infinite}
#working-indicator[data-phase="done"] .work-symbol::before{content:"✓"}
#working-indicator[data-phase="stopped"] .work-symbol::before{content:"—"}
#working-indicator[data-phase="error"] .work-symbol::before{content:"!"}
#working-indicator[data-phase="error"]{background:#593c2e}
#work-progress{display:block;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;margin-top:10px;accent-color:#e8cd8e;background:#f9edcc24}
#work-progress[hidden]{display:none}
#work-progress::-webkit-progress-bar{background:#f9edcc24}#work-progress::-webkit-progress-value{background:#e8cd8e}
@media(max-width:480px){#working-indicator{left:12px;bottom:12px;padding:12px;gap:9px;max-width:calc(100vw - 98px)}#working-indicator strong{font-size:12px}#working-indicator p{font-size:11px}.work-symbol{width:20px;height:20px;flex-basis:20px;font-size:18px;line-height:20px}}
@media(prefers-reduced-motion:reduce){.is-working::before,button[aria-busy="true"]::before,.pack-workspace:has(#finished-pack[aria-busy="true"]) #pack-count::before,#working-indicator[data-phase="working"] .work-symbol{animation:none}}
