/* the rebuild strip (26.10): a saved change rebuilds the workspace; this is where the person sees it */
@keyframes rbIn{0%{opacity:0;transform:translateY(-6px)}100%{opacity:1;transform:none}}
@keyframes rbFill{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}
@keyframes rbSpin{to{transform:rotate(360deg)}}
@keyframes rbPopIn{0%{opacity:0;transform:translate(-50%,12px) scale(.96)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes rbPopOut{to{opacity:0;transform:translate(-50%,8px)}}
@keyframes rbDraw{to{stroke-dashoffset:0}}
.rebuild{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 28px 14px;padding:12px 16px;border-radius:12px;border:1px solid var(--line);background:var(--white);animation:rbIn .22s ease-out;font-size:13px}
.rebuild[hidden]{display:none}
.rb-l{display:flex;align-items:center;gap:12px;min-width:0}
.rb-ic{display:inline-flex;width:34px;height:34px;border-radius:50%;align-items:center;justify-content:center;flex:none;background:#F1F3F1;color:var(--ink)}
.rb-ic .ms{font-size:20px}
.rb-t{font-weight:600}
.rb-x{color:var(--muted,#5B6663);margin-top:2px;text-wrap:pretty}
.rb-r{display:flex;align-items:center;gap:8px;flex:none}
.rb-bar{position:relative;width:160px;height:6px;border-radius:3px;background:#E7EAE7;overflow:hidden}
.rb-fill{position:absolute;top:0;left:0;width:40%;height:100%;border-radius:3px;background:var(--green);animation:rbFill 1.4s ease-in-out infinite}
.rebuild.rb-scheduled .rb-ic{background:#FFF4DB;color:#8A5A00}
.rebuild.rb-blocked .rb-ic{background:#FFF4DB;color:#8A5A00}
.rebuild.rb-running .rb-ic{background:var(--green-bg);color:var(--green)}
.rebuild.rb-running .rb-ic .ms{animation:rbSpin 1.6s linear infinite}
.rebuild.rb-ready{border-color:#CFE3D7;background:#F6FBF8}
.rebuild.rb-ready .rb-ic{background:var(--green);color:var(--white)}
.rebuild.rb-failed{border-color:#F3C9C4;background:#FFF7F6}
.rebuild.rb-failed .rb-ic{background:#F9DCD8;color:#9B2C1F}
.rb-pop{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:14px;max-width:520px;padding:14px 16px 14px 14px;border-radius:14px;background:var(--ink);color:var(--white);box-shadow:0 18px 48px rgba(20,40,43,.3);animation:rbPopIn .32s cubic-bezier(.2,.9,.3,1.2) both}
.rb-pop.out{animation:rbPopOut .4s ease-in forwards}
.rb-pop-t{font-weight:600;font-size:14px}
.rb-pop-x{font-size:12.5px;opacity:.8;margin-top:2px;text-wrap:pretty}
.rb-pop-close{color:var(--white);opacity:.7}
.rb-mark{width:44px;height:44px;flex:none}
.rb-mark-c{fill:none;stroke:var(--green);stroke-width:2.5;stroke-dasharray:160;stroke-dashoffset:160;animation:rbDraw .6s ease-out forwards}
.rb-mark-t{fill:none;stroke:var(--white);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:rbDraw .4s ease-out .5s forwards}
@media (max-width:760px){.rebuild{flex-direction:column;align-items:stretch;margin:0 12px 12px}.rb-r{justify-content:flex-end}}
@media (prefers-reduced-motion:reduce){.rb-mark-c,.rb-mark-t{stroke-dashoffset:0}.rb-pop{transform:translateX(-50%)}}
