.sc-mask{z-index:2000;background:#141a2673;place-items:center;padding:16px;animation:.16s ease-out sc-fade;display:grid;position:fixed;inset:0}.sc-dialog{box-sizing:border-box;background:var(--card);width:min(368px,100%);color:var(--foreground);border-radius:16px;padding:16px 16px 12px;animation:.22s cubic-bezier(.22,1,.36,1) sc-rise;box-shadow:0 18px 48px -16px #141a2673}.sc-head{justify-content:space-between;align-items:center;display:flex}.sc-head strong{font-size:16px;font-weight:600}.sc-tools{gap:4px;display:inline-flex}.sc-icon{width:32px;height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.sc-icon:hover:not(:disabled){background:var(--muted);color:var(--foreground)}.sc-icon:disabled{opacity:.4;cursor:default}.sc-icon:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.sc-tip{color:var(--muted-foreground);margin:4px 0 10px;font-size:13px}.sc-stage{background:var(--muted);-webkit-user-select:none;user-select:none;border-radius:10px;width:100%;position:relative;overflow:hidden}.sc-image{pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.sc-overlay{touch-action:none;width:100%;height:100%;position:absolute;inset:0}.sc-anchor{fill:#fff;stroke:var(--kl-blue-700);stroke-width:3px}.sc-rope{fill:none;stroke:var(--kl-blue-700);stroke-width:3.5px;stroke-linecap:round}.sc-ropeHead{fill:var(--kl-blue-600);stroke:#fff;stroke-width:3px;cursor:grab}.sc-ropeHead[data-active]{animation:1.6s ease-in-out infinite sc-pulse}.sc-overlay:active .sc-ropeHead{cursor:grabbing}.sc-piece{fill:#ffffffeb;stroke:var(--kl-blue-600);stroke-width:2.5px}.sc-busy,.sc-passed,.sc-failed{place-items:center;display:grid;position:absolute;inset:0}.sc-busy{color:var(--primary);background:#ffffff59}.sc-spin{animation:.9s linear infinite sc-spin}.sc-passed{background:linear-gradient(#12805c00 40%,#12805c29);place-items:end stretch;animation:.2s ease-out sc-fade}.sc-passedBar{color:#fff;background:linear-gradient(90deg,#12805cf2,#20a06eeb);align-items:center;gap:8px;height:36px;padding:0 14px;font-size:13px;animation:.32s cubic-bezier(.2,.8,.2,1) both sc-up;display:flex}.sc-passedBar b{letter-spacing:.5px;font-weight:600}.sc-passedBar span{opacity:.92;font-variant-numeric:tabular-nums;border-left:1px solid #ffffff59;margin-left:2px;padding-left:9px;font-size:12px}.sc-failed{text-align:center;color:var(--muted-foreground);align-content:center;gap:8px;padding:12px;font-size:13px}.sc-failed button{border:1px solid var(--border);background:var(--background);height:30px;color:var(--primary);cursor:pointer;font:inherit;border-radius:8px;justify-self:center;padding:0 16px}.sc-bar{background:var(--muted);border:1px solid var(--border);touch-action:none;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:22px;height:44px;margin-top:12px;position:relative}.sc-barFill{background:var(--accent);border-radius:22px;position:absolute;top:0;bottom:0;left:0}.sc-barText{color:var(--muted-foreground);pointer-events:none;place-items:center;font-size:13px;transition:opacity .16s;display:grid;position:absolute;inset:0}.sc-barText[data-hidden]{opacity:0}.sc-bar[data-passed]{background:var(--success-soft);border-color:#12805c80}.sc-bar[data-passed] .sc-barFill{background:#12805c2e}.sc-bar[data-passed] .sc-handle{background:var(--success);cursor:default}.sc-handle{background:var(--primary);color:#fff;cursor:grab;border-radius:20px;place-items:center;width:44px;height:40px;font-size:22px;line-height:1;display:grid;position:absolute;top:1px;box-shadow:0 4px 10px -4px #2556f5cc}.sc-msg{min-height:20px;color:var(--muted-foreground);margin-top:8px;font-size:13px}.sc-msg[data-tone=danger]{color:var(--destructive)}.sc-msg[data-tone=success]{color:var(--success)}@keyframes sc-fade{0%{opacity:0}to{opacity:1}}@keyframes sc-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes sc-rise{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}@keyframes sc-pulse{0%,to{stroke-width:3px}50%{stroke-width:6px}}@keyframes sc-spin{to{transform:rotate(360deg)}}@media (max-width:480px){.sc-mask{place-items:end center;padding:0}.sc-dialog{width:100%;padding-bottom:calc(16px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0}}@media (prefers-reduced-motion:reduce){.sc-mask,.sc-dialog,.sc-passed,.sc-passedBar,.sc-ropeHead[data-active]{animation:none}.sc-spin{animation-duration:2s}}
