.td-dock{--td-surface:rgb(var(--c-white));--td-surface-2:rgb(var(--c-gray-50));--td-line:rgb(var(--c-gray-200));--td-fg:rgb(var(--c-gray-800));--td-fg-2:rgb(var(--c-gray-500));--td-fg-3:rgb(var(--c-gray-400));--td-accent:rgb(var(--c-blue-600));--td-accent-soft:rgb(var(--c-blue-50));--td-ok:rgb(var(--c-emerald-600));--td-ok-soft:rgb(var(--c-emerald-50));--td-ko:rgb(var(--c-red-600));--td-ko-soft:rgb(var(--c-red-50));--td-warn:#a16207;--td-warn-soft:#fef3c7;--td-shadow:0 12px 32px #1f293329, 0 2px 6px #1f293314;z-index:50;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;width:min(384px,100% - 32px);display:flex;position:fixed}.td-dock>*{pointer-events:auto}.dark .td-dock{--td-surface:rgb(var(--c-gray-800));--td-surface-2:#283344;--td-line:rgb(var(--c-gray-700));--td-fg:rgb(var(--c-gray-100));--td-fg-2:rgb(var(--c-gray-300));--td-fg-3:rgb(var(--c-gray-400));--td-accent:rgb(var(--c-blue-400));--td-accent-soft:#1e3058;--td-ok:rgb(var(--c-emerald-400));--td-ok-soft:#064234;--td-ko:rgb(var(--c-red-400));--td-ko-soft:#5c1a1a;--td-warn:#fbbf24;--td-warn-soft:#54340a;--td-shadow:0 12px 32px #00000073, 0 2px 6px #0000004d}.td-tray{background:var(--td-surface);width:100%;color:var(--td-fg);border:1px solid var(--td-line);box-shadow:var(--td-shadow);border-radius:12px;animation:.25s ease-out td-enter;overflow:hidden}.td-tray-head{font:inherit;background:var(--td-surface);width:100%;color:var(--td-fg);cursor:pointer;text-align:left;border:0;align-items:center;gap:10px;padding:9px 12px;display:flex}.td-tray-head:focus-visible{outline:2px solid var(--td-accent);outline-offset:-2px}.td-head-text{flex:1;min-width:0;line-height:1.3;display:grid}.td-head-text strong{font-size:.92rem}.td-head-sum{color:var(--td-fg-2);font-size:.8rem}.td-chev{color:var(--td-fg-3);transition:transform .2s}.td-tray[data-open=false] .td-chev{transform:rotate(180deg)}.td-tray[data-open=false] .td-tray-list{display:none}.td-tray-list{border-top:1px solid var(--td-line);flex-direction:column;gap:6px;max-height:min(60vh,440px);margin:0;padding:6px;list-style:none;display:flex;overflow-y:auto}.td-task{border-radius:9px;gap:11px;padding:10px;animation:.25s ease-out td-enter;display:flex}.td-task.is-failed{background:var(--td-ko-soft);animation:.5s ease-in-out .4s td-shake}.td-task.is-partial{background:var(--td-warn-soft);animation:.5s ease-in-out .4s td-shake}.td-task.is-done{background:var(--td-ok-soft)}.td-task.is-leaving{animation:.32s ease-in forwards td-leave}.td-task-body{flex:1;gap:2px;min-width:0;display:grid}.td-task-title{font-size:.9rem;font-weight:650;line-height:1.35}.td-task-sub{color:var(--td-fg-2);font-size:.8rem}.td-task-status{color:var(--td-fg-2);margin-top:4px;font-size:.8rem}.is-failed .td-task-status{color:var(--td-ko);font-weight:600}.is-partial .td-task-status{color:var(--td-warn);font-weight:600}.is-done .td-task-status{color:var(--td-ok);font-weight:600}.td-task-err{color:var(--td-fg);font-size:.8rem}.td-task-actions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.td-task-x{font:inherit;color:var(--td-fg-3);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;width:26px;height:26px;font-size:1.1rem;line-height:1}.td-task-x:hover{background:var(--td-surface-2);color:var(--td-fg)}.td-task-x:focus-visible{outline:2px solid var(--td-accent)}.td-steps{gap:4px;margin-top:6px;display:flex}.td-seg{background:var(--td-line);border-radius:2px;flex:1;height:4px}.td-seg.done{background:var(--td-ok)}.td-seg.fail{background:var(--td-ko)}.td-seg.warn{background:var(--td-warn)}.td-seg.run{background:linear-gradient(90deg, var(--td-accent-soft) 0%, var(--td-accent) 35%, var(--td-accent) 65%, var(--td-accent-soft) 100%);background-size:200% 100%;animation:1.1s linear infinite td-slide}.td-mark{flex:none;width:32px;height:32px;overflow:visible}.td-mark circle,.td-mark path{fill:none;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round}.td-m-track{stroke:var(--td-line)}.td-m-arc{stroke:var(--td-accent);stroke-dasharray:26 100;transform-origin:18px 18px;display:none}.td-m-tick,.td-m-x1,.td-m-x2,.td-m-b1,.td-m-b2{display:none}.is-queued .td-m-track{stroke:var(--td-fg-3);stroke-dasharray:2.5 4.2}.is-running .td-m-arc{animation:.9s linear infinite td-spin;display:block}.is-done .td-m-track{stroke:var(--td-ok);fill:var(--td-ok);transform-origin:18px 18px;animation:.45s ease-out td-pop}.is-done .td-m-tick{stroke:var(--td-surface);stroke-dasharray:20;stroke-dashoffset:20px;animation:.38s ease-out .18s forwards td-draw;display:block}.is-failed .td-m-track{stroke:var(--td-ko);fill:var(--td-ko);transform-origin:18px 18px;animation:.45s ease-out td-pop}.is-failed .td-m-x1,.is-failed .td-m-x2{stroke:var(--td-surface);stroke-dasharray:15;stroke-dashoffset:15px;display:block}.is-failed .td-m-x1{animation:.22s ease-out .15s forwards td-draw}.is-failed .td-m-x2{animation:.22s ease-out .32s forwards td-draw}.is-partial .td-m-track{stroke:var(--td-warn);fill:var(--td-warn);transform-origin:18px 18px;animation:.45s ease-out td-pop}.is-partial .td-m-b1,.is-partial .td-m-b2{stroke:var(--td-surface);stroke-dasharray:10;stroke-dashoffset:10px;display:block}.is-partial .td-m-b1{animation:.22s ease-out .15s forwards td-draw}.is-partial .td-m-b2{animation:.1s ease-out .36s forwards td-draw}@keyframes td-spin{to{transform:rotate(360deg)}}@keyframes td-draw{to{stroke-dashoffset:0}}@keyframes td-pop{0%{transform:scale(.55)}60%{transform:scale(1.14)}to{transform:scale(1)}}@keyframes td-shake{0%,to{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(3px)}}@keyframes td-enter{0%{opacity:0;transform:translateY(8px)}}@keyframes td-leave{to{opacity:0;transform:translate(28px)}}@keyframes td-slide{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){.td-dock *,.td-dock :before,.td-dock :after{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}.is-running .td-m-arc{animation:none!important}}
