.stage-run-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.stage-run-header h2{margin:3px 0 0}.stage-connection{border:1px solid var(--line);border-radius:99px;padding:6px 10px;font-size:12px;color:var(--muted);white-space:nowrap}.stage-connection-connected,.stage-connection-recovered{border-color:#2f7a67;color:var(--green)}.stage-connection-disconnected{border-color:#87525a;color:#ffd7dd;background:#3e2529}.stage-run-meta{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.stage-run-meta span{background:#0a1923;border:1px solid var(--line);border-radius:8px;padding:6px 9px;color:var(--muted);font-size:12px}.stage-run-layout{display:grid;grid-template-columns:minmax(280px,420px) minmax(0,1fr);gap:16px;align-items:start;margin-top:14px}.stage-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stage-card{min-width:0;text-align:left;color:var(--text);background:#0a1923;border:1px solid var(--line);border-radius:12px;padding:13px;display:grid;gap:7px}.stage-card:hover,.stage-card.active{border-color:var(--cyan)}.stage-card.active{box-shadow:inset 3px 0 var(--cyan);background:#102630}.stage-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.stage-order{font:800 12px/1 Arial,sans-serif;letter-spacing:.12em;color:var(--cyan)}.stage-status{display:inline-flex;border-radius:99px;border:1px solid #42535c;padding:3px 7px;font-size:11px;color:#c0d0d4;background:#1a2931}.stage-status-preparing,.stage-status-running,.stage-status-checking{border-color:#376d7d;color:#bdebf0;background:#13313d}.stage-status-completed{border-color:#2f7a67;color:var(--green);background:#123a32}.stage-status-failed{border-color:#87525a;color:#ffd7dd;background:#3e2529}.stage-status-stopped{border-color:#6f6251;color:#e4d0af;background:#332c24}.stage-card-action{font-size:13px;color:#d9e9eb;line-height:1.35}.stage-card-blocker,.stage-blocker{display:block;color:#ffccd2;background:#3e2529;border:1px solid #75434b;border-radius:7px;padding:6px 8px;font-size:12px;overflow-wrap:anywhere}.stage-card small{color:var(--muted);overflow-wrap:anywhere}.stage-detail{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px}.stage-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.stage-detail-head>div{display:flex;align-items:center;gap:9px}.stage-detail h3{font-size:19px;margin:0}.stage-priority{margin:14px 0;padding:13px;background:#102630;border-left:3px solid var(--cyan);border-radius:0 9px 9px 0;display:grid;gap:5px}.stage-label{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.1em}.stage-progress-detail{display:flex;align-items:center;gap:12px;margin:12px 0;color:var(--muted);font-size:12px}.stage-progress-detail progress{width:min(340px,100%);height:10px;accent-color:var(--cyan)}.stage-facts{display:grid;grid-template-columns:130px minmax(0,1fr);gap:5px 12px;margin:14px 0}.stage-facts dt{color:var(--muted)}.stage-facts dd{margin:0;overflow-wrap:anywhere}.stage-section{margin-top:18px}.stage-section h4{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin:0 0 8px}.stage-list{display:grid;gap:7px}.stage-empty{color:var(--muted);border:1px dashed var(--line);border-radius:9px;padding:11px;text-align:center}.stage-run-empty{padding:24px}.stage-run-empty p{margin:6px auto 14px;max-width:650px}.stage-run-empty .btn{margin:4px}.stage-record,.stage-check,.stage-feed-event,.stage-counter{background:#0a1923;border:1px solid #203c47;border-radius:9px;padding:10px;min-width:0;overflow-wrap:anywhere}.stage-record p,.stage-check p,.stage-feed-event p{margin:5px 0}.stage-record small,.stage-feed-event small{display:block;color:var(--muted)}.stage-record a{display:inline-block;margin-top:5px}.stage-check{border-left:3px solid #42535c}.stage-check-passed{border-left-color:var(--green)}.stage-check-warning{border-left-color:var(--amber)}.stage-check-failed{border-left-color:var(--red)}.stage-check-status{float:right;font-size:11px;color:var(--muted)}.stage-counter{display:flex;justify-content:space-between;gap:10px}.stage-counter span{color:var(--muted)}.stage-feed-head{display:flex;justify-content:space-between;gap:12px}.stage-feed-head time{color:var(--muted);font-size:11px;white-space:nowrap}.stage-technical{margin-top:18px;border-top:1px solid var(--line);padding-top:10px;color:var(--muted)}.stage-technical summary{cursor:pointer}.stage-technical p{overflow-wrap:anywhere}.stage-section .btn{margin-top:10px}@media(max-width:1100px){.stage-run-layout{grid-template-columns:1fr}.stage-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.stage-run-header{display:grid}.stage-connection{justify-self:start}.stage-card-grid{grid-template-columns:1fr}.stage-card{padding:12px}.stage-card-action,.stage-card-blocker{order:-1}.stage-card-top{order:-2}.stage-run-layout{gap:12px}.stage-detail{padding:14px}.stage-priority{order:-1}.stage-facts{grid-template-columns:1fr;gap:1px}.stage-facts dd{margin-bottom:7px}.stage-progress-detail{display:grid}.stage-progress-detail progress{width:100%}.stage-feed-head{display:grid;gap:2px}.stage-feed-head time{white-space:normal}}@media(prefers-reduced-motion:reduce){.stage-card,.stage-connection{transition:none!important;scroll-behavior:auto!important}}
/* Blocked and cancelled are explicit operator-visible terminal/paused states. */
.stage-status-cancelled,.stage-status-blocked{border-color:#6f6251;color:#e4d0af;background:#332c24}
