.decision-flow{padding:55px 0 35px}.df-heading{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:70px;margin-bottom:30px}.df-heading h2{margin-bottom:0}.df-heading>p{max-width:460px;font-size:20px;margin-bottom:5px}.df-stage{--blue:#71c3d9;--gold:#f2bf3f;--text:#f5f7fa;--muted:#b6cbd4;color-scheme:dark;color:var(--text);background:radial-gradient(ellipse at 40% 30%,#16323e 0,transparent 65%),#070d12;border:1px solid #375362;border-top:3px solid #71c3d9;border-radius:16px;overflow:hidden;position:relative;isolation:isolate}.df-stage:before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#5c9bb529 1px,transparent 1px);background-size:24px 24px}.df-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #29424e}.df-toolbar>span{font:10px/1.5 var(--mono);letter-spacing:.09em;color:#a4c4d1}.df-choices{display:flex;gap:8px;flex-wrap:wrap}.df-stage button{font:12px/1.4 var(--font);padding:10px 14px;min-height:44px;border:1px solid #537584;border-radius:6px;color:#dcebf0;background:#10212b;transform:none}.df-stage button:hover,.df-stage button:focus-visible{background:#203d49;border-color:#71c3d9}.df-stage button[aria-pressed=true]{color:#07141b;background:#71c3d9;border-color:#71c3d9}.df-stage button:focus-visible{outline:2px solid #f2bf3f!important}.df-stage svg{width:100%;height:auto;display:block;padding:10px 20px 0}.df-stage .df-mobile{display:none}.df-track,.df-line{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.df-track{stroke:#294551}.df-line{stroke:#71c3d9;stroke-dasharray:1;stroke-dashoffset:0}.df-line.df-clarify{stroke:#f2bf3f}.df-node rect{fill:#112a35;stroke:#659aaf;stroke-width:1.5}.df-node .df-depth{fill:#010609;stroke:#203e4a}.df-title{font:20px var(--font);fill:#f5f7fa}.df-sub{font:12px var(--font);fill:#b6cbd4}.df-diamond{fill:#302916;stroke:#f2bf3f;stroke-width:2}.df-check .df-title{fill:#ffe5a0}.df-owner rect{fill:#292313;stroke:#ae9146}.df-deliver rect{fill:#123b43;stroke:#71c3d9}.df-label{font:11px var(--mono);fill:#b1dae7;letter-spacing:.06em}.df-gold{fill:#e9c76b}.df-explanation{margin:0 28px;padding:18px 0;border-top:1px solid #29424e;color:#deebf0;font-size:16px;min-height:66px}.df-bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:0 28px 24px;min-height:68px}.df-bottom>span{color:#9bb5c0;font-size:11px}.df-bottom>div{display:flex;gap:8px;min-height:44px}.df-static{font-size:14px;max-width:750px;margin:20px 0 0}.decision-flow>.text-link{margin-top:8px}.df-previous{margin-bottom:65px}.df-previous>summary{font-size:15px;color:#236c80}.df-previous .workflow-visual{padding-bottom:20px}
/* Every branch stays readable; only the selected path draws. */
.df-stage[data-route=ready] .df-line.df-clarify,.df-stage[data-route=clarify] .df-line.df-ready{stroke-opacity:.16}
.df-stage.playing .df-first{animation:df-draw 1400ms 100ms both}
.df-stage.playing[data-route=ready] .df-ready.df-second,.df-stage.playing[data-route=clarify] .df-clarify.df-second{animation:df-draw 1400ms 1800ms both}
.df-stage.playing[data-route=ready] .df-ready.df-third,.df-stage.playing[data-route=clarify] .df-clarify.df-third{animation:df-draw 1800ms 3500ms both}
.df-stage.playing .df-check{animation:df-check 1600ms 1100ms both}
.df-stage.playing[data-route=ready] .df-review,.df-stage.playing[data-route=clarify] .df-owner{animation:df-node 1400ms 2600ms both}
.df-stage.playing[data-route=ready] .df-deliver,.df-stage.playing[data-route=clarify] .df-request{animation:df-node 1400ms 4400ms both}
.df-stage.paused *{animation-play-state:paused!important}
@keyframes df-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes df-check{0%,100%{filter:none}45%{filter:drop-shadow(0 0 8px #f2bf3f80)}}
@keyframes df-node{0%,100%{filter:none}50%{filter:drop-shadow(0 0 8px #71c3d980)}}
@media(max-width:650px){.decision-flow{padding-top:36px}.df-heading{grid-template-columns:1fr;gap:20px}.df-heading h2{font-size:42px}.df-heading>p{font-size:17px}.df-toolbar{padding:20px 16px;display:block}.df-toolbar>span{font-size:9px}.df-choices{margin-top:14px;gap:8px}.df-choices button{flex:1;font-size:12px;padding:10px 8px}.df-stage .df-desktop{display:none}.df-stage .df-mobile{display:block;padding:8px 4px 0}.df-title{font-size:18px}.df-sub{font-size:12px}.df-label{font-size:13px}.df-explanation{margin-inline:16px;font-size:14px;min-height:88px}.df-bottom{padding:0 16px 20px;display:block}.df-bottom>span{display:block;margin-bottom:12px}.df-bottom>div{justify-content:flex-start}.df-previous{margin-bottom:40px}}
@media(prefers-reduced-motion:reduce){.df-stage *{animation:none!important;filter:none!important}.df-bottom button{display:none}}
@media print{.df-stage{background:#fff;color:#000}.df-stage svg{display:none!important}.df-toolbar,.df-bottom{display:none}.df-explanation{color:#000}.df-static{color:#000}}

@media(max-width:650px){.df-mobile .df-title{font-size:20px}.df-mobile .df-sub{font-size:16px}.df-mobile .df-label{font-size:14px}}
#workflow-path{scroll-margin-top:25px}

/* Direct links land on the actual diagram; the header is not sticky. */
html:has(.decision-flow){scroll-padding-top:16px}
#workflow-path{scroll-margin-top:0}
@media(max-width:650px){.decision-flow{padding-top:28px}.df-stage .df-mobile{padding-top:0}.df-toolbar{padding:14px 12px}.df-choices{margin-top:10px}.df-explanation{min-height:0;padding:12px 0}.df-bottom{padding:0 12px 14px;min-height:0}.df-bottom>span{font-size:10px;margin-bottom:8px}.df-mobile .df-sub{font-size:14px}.df-mobile .df-title{font-size:18px}}
