/* A persistent flowchart; an explicit decision releases the exception route. */
#workflow-demo .ue-player{background:#172011}
#workflow-demo .ue-player-controls,#workflow-demo .ue-player-steps,#workflow-demo .ue-player-evidence{display:none}
#workflow-demo .ue-player-scenarios{padding:16px 24px;border-bottom:1px solid #405230}
.wd-workspace{padding:25px;color:#e2edcf}
.wd-object{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}
.wd-eyebrow{font-size:10px;letter-spacing:1.2px;color:#aac38d}
.wd-object h4{font-size:27px;font-weight:500;line-height:1.3;letter-spacing:-.8px;margin:9px 0 0}
.wd-status{font-size:11px;white-space:nowrap;border:1px solid #607b44;background:#293c1b;color:#d8edb9;border-radius:20px;padding:8px 13px}
.wd-layout{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(230px,1fr);border:1px solid #465b35;border-radius:12px;overflow:hidden;background:#141e10}
.wd-main{min-width:0;display:flex;flex-direction:column}
.wf2-map{overflow:auto;scrollbar-width:thin;scrollbar-color:#57723c transparent;flex:1;background:radial-gradient(ellipse at 47% 65%,#2b401b66,transparent 70%)}
.wf2-map svg{display:block;width:100%;min-width:640px}
.wf2-map svg text{font-family:'DM Sans',sans-serif;stroke:none}
.wf2-lane{font-size:10px;letter-spacing:1.3px;fill:#9cb784}.wf2-subtitle{font-size:14px;fill:#c4d7b0}
.wf2-route path{fill:none;stroke:#4b6537;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .8s ease,opacity .8s ease}
.wf2-route.is-live path{stroke:#b9d98f}.wf2-route.is-muted path{stroke-dasharray:3 7;opacity:.25}
.wf2-route .wf2-signal{stroke:#d6fa81;stroke-dasharray:4 30;stroke-width:3;opacity:0}
.wf2-route.is-live .wf2-signal{opacity:1;animation:wf2-travel 2.4s linear infinite}
.wf2-route.is-muted .wf2-signal{opacity:0}
.wf2-detour{opacity:.16;transition:opacity .8s ease}.wf2-detour.is-visible{opacity:1}
.wf2-fastpath,.wf2-return{transition:opacity .8s ease}.wf2-fastpath{opacity:0}.wf2-fastpath.is-visible{opacity:1}.wf2-return.is-hidden{opacity:0}
.wf2-return-arrow{fill:none;stroke:#607d43;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.wf2-return-arrow.is-live{stroke:#d6fa81}
.wf2-branch-label{font-size:9px;letter-spacing:1px;fill:#a9c58d}
.wf2-agent circle{fill:#304621;stroke:#bcd994;stroke-width:1.5}.wf2-agent .wf2-agent-orbit{fill:none;stroke:#8aaa62;stroke-dasharray:3 8;stroke-width:1}
.wf2-agent-glyph{text-anchor:middle;font-size:28px;fill:#dbf5b4}
.wf2-node-name{text-anchor:middle;font-size:13px;fill:#dfebd1}
.wf2-kind{text-anchor:middle;font-size:8px;letter-spacing:.8px;fill:#9db788}
.wf2-approval rect{fill:#27391c;stroke:#a3bf7e;stroke-width:1.5}.wf2-approval circle{fill:#344a25;stroke:#6a874d;stroke-width:1}
.wf2-approval.is-approved rect{stroke:#d6fa81;fill:#354d24}
.wf2-approval-name{font-size:12px;fill:#e0edcf}.wf2-approval-sub{font-size:9px;fill:#aeca91}
.wf2-symbol{text-anchor:middle;font-size:18px;fill:#d8ecbc}
.wf2-event>circle:first-child,.wf2-end>circle:first-child{fill:#273b1b;stroke:#a4c87c;stroke-width:1.5}.wf2-event>circle:nth-child(2){fill:#c7ea96}
.wf2-condition path{fill:#25351b;stroke:#8fac69;stroke-width:1.5}
.wf2-condition.is-hot path{fill:#3a5222;stroke:#d6fa81;animation:wf2-hot 2.4s ease-in-out infinite}.wf2-condition.is-hot .wf2-kind{fill:#d6fa81}
.wf2-automation rect{fill:#223319;stroke:#6b8950;stroke-width:1.3}.wf2-automation.is-muted{opacity:.38}
.wf2-end>circle:nth-child(2){fill:none;stroke:#5b793e;stroke-width:1}.wf2-end.is-complete>circle{stroke:#d6fa81}
.wf2-map circle,.wf2-map rect,.wf2-return-arrow{transition:fill .8s ease,stroke .8s ease}
.wf2-trace{padding:17px 21px;display:flex;gap:12px;align-items:center;border-top:1px solid #384d2c}
.wf2-trace>span{font-size:22px;color:#b4d28e}.wf2-trace p{font-size:11px;line-height:1.65;color:#a4bc8c;margin:0}.wf2-trace strong{display:block;font-size:12px;color:#d2e6b8;font-weight:500;margin-bottom:3px}
.wd-context{padding:25px 22px;background:#202d19;border-left:1px solid #465b35}
.wd-context h5{font-size:23px;font-weight:500;line-height:1.3;letter-spacing:-.5px;margin:15px 0}
.wf2-summary{font-size:13px;line-height:1.75;color:#b8cca3;min-height:6.9em;margin:0}
.wf2-facts{margin:20px 0}.wf2-facts>div{display:flex;justify-content:space-between;gap:10px;padding:14px 0;border-top:1px solid #405332;font-size:12px;line-height:1.5}.wf2-facts dt{color:#9fb68b}.wf2-facts dd{margin:0;color:#d2e6b8;text-align:right}
.wf2-action{padding-top:17px;border-top:1px solid #405332;display:flex;flex-direction:column;gap:16px}
.wf2-action strong{font-size:12px;line-height:1.6;font-weight:500;min-height:3.2em;color:#c8dfb0}
.wf2-action button{border:1px solid #d6fa81;border-radius:5px;background:#d6fa81;color:#1d2d10;padding:13px;font:500 12px 'DM Sans',sans-serif;cursor:pointer;text-align:left}
.wf2-action button:hover{background:#e5ffac}.wf2-action .wd-reset{background:transparent;border-color:#6d8b4b;color:#cfe7ae}
.wf2-action small{font-size:10px;color:#92ac7c;line-height:1.6}
@keyframes wf2-travel{to{stroke-dashoffset:-68}}
@keyframes wf2-hot{50%{stroke-width:3}}
@media(max-width:1000px){.wd-layout{grid-template-columns:1fr}.wd-context{border-left:0;border-top:1px solid #465b35}.wf2-summary{min-height:0}.wf2-facts{display:flex;gap:24px}.wf2-facts>div{flex:1;flex-direction:column}.wf2-facts dd{text-align:left}.wf2-action strong{min-height:0}}
@media(max-width:700px){.wd-workspace{padding:18px 14px}.wd-object{align-items:flex-start;flex-direction:column;gap:14px}.wd-object h4{font-size:23px}.wd-context{padding:20px 16px}.wf2-facts{gap:15px}.wf2-trace{padding:15px}#workflow-demo .ue-player-scenarios{padding:14px}}
@media(prefers-reduced-motion:reduce){.wd-workspace *{animation:none!important;transition:none!important}}
