#live-flow{padding:84px 0 68px;border-top:1px solid var(--line);background:var(--paper);scroll-margin-top:24px}
.flow-experience{width:min(1440px,calc(100% - 64px));margin-inline:auto}
.flow-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;margin-bottom:36px}
.flow-kicker{font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--rust);margin-bottom:20px}
.flow-heading h2{font-size:clamp(34px,3.6vw,54px);line-height:1.1}
.flow-heading h2 em{font-family:var(--serif);color:var(--green);font-weight:400}
.flow-intro{font-size:16px;line-height:1.7;max-width:355px;padding-bottom:5px}
.flow-intro strong{color:var(--ink)}
.flow-controller{position:sticky;top:12px;z-index:5;background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:0 7px 24px #20372e09;overflow:hidden}
.flow-controls{display:flex;align-items:center;gap:8px;padding:16px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.flow-controls button,.flow-controls select{font-size:13px;font-weight:650;line-height:1.4}
.flow-play{background:var(--green);color:var(--white);border-radius:26px;min-width:151px;min-height:44px;padding:10px 20px;display:flex;align-items:center;justify-content:center;gap:10px}
.flow-play:hover{background:var(--ink)}
.flow-play-icon{width:14px;display:inline-block;font-size:13px}
.flow-icon-button{background:transparent;border:1px solid var(--line);border-radius:50%;width:40px;height:40px;font-size:21px!important;display:grid;place-items:center;line-height:1!important;padding:0}
.flow-icon-button:hover{border-color:var(--green);background:var(--green-light)}
.flow-icon-button:disabled{opacity:.32}
.flow-control-divider{width:1px;height:25px;background:var(--line);margin:0 10px}
.flow-step-control{flex:1;min-width:180px;max-width:260px}
.flow-controls select{appearance:auto;font-family:inherit;color:var(--ink);background:transparent;border:0;border-radius:4px;padding:10px 4px;max-width:100%;cursor:pointer}
.flow-step-control select{width:100%}
.flow-speed-control{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap;display:flex;align-items:center;gap:3px}
.flow-speed-control select{font-size:13px}
.flow-view-control{display:flex;border:1px solid var(--line);border-radius:22px;padding:3px;margin-left:12px;gap:2px}
.flow-view-control button{padding:7px 12px;border-radius:18px;background:transparent;font-size:11px;white-space:nowrap}
.flow-view-control button[aria-pressed=true]{background:var(--ink);color:var(--white)}
.flow-caption{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:40px;padding:22px 26px 24px;min-height:181px}
.flow-caption-label,.flow-result-label{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--rust);line-height:1.45}
.flow-caption h3{font-size:23px;line-height:1.25;margin:8px 0 8px;letter-spacing:-.025em}
.flow-narration{font-size:15px;line-height:1.65;max-width:850px}
.flow-caption-result{border-left:1px solid var(--line);padding-left:28px}
.flow-caption-result p{font-size:14px;line-height:1.65;color:var(--ink);margin-top:9px}
.flow-playback-status{display:block;font-size:11px;margin-top:12px;color:var(--muted)}
.flow-progress{height:4px;background:var(--green-light)}
.flow-progress>span{display:block;height:100%;width:0;background:var(--rust)}
.flow-map-shell{position:relative;margin-top:24px}
.flow-map{position:relative;padding:58px 76px 112px;isolation:isolate;background:radial-gradient(circle at center,#d5d9cd 1px,transparent 1.1px) 0 0/28px 28px;border-bottom:1px solid var(--line)}
.flow-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:78px;row-gap:96px}
.flow-node{min-width:0;position:relative;--artifact-reveal:1}
.flow-node-prompt{grid-area:1/1}.flow-node-research{grid-area:1/2}.flow-node-contract{grid-area:1/3}
.flow-node-design{grid-area:2/3}.flow-node-workspace{grid-area:2/2}.flow-node-build{grid-area:2/1}
.flow-node-verify{grid-area:3/1}.flow-node-merge{grid-area:3/2}.flow-node-deploy{grid-area:3/3}
.flow-node-native{grid-area:4/3}.flow-node-live{grid-area:4/1}
.flow-node-select{display:block;width:100%;border:0;background:transparent;text-align:left;padding:0;position:relative;cursor:pointer}
.flow-node-select:focus-visible{outline:3px solid var(--blue);outline-offset:9px;border-radius:8px}
.flow-node-heading{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700;white-space:nowrap;color:var(--muted);position:relative;z-index:1;background:var(--paper);width:fit-content;padding:3px 5px 3px 0}
.flow-number{width:31px;height:31px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:11px;color:var(--ink);background:var(--paper)}
.flow-figure{display:block;width:100%;max-width:360px;margin:16px auto 12px;position:relative;border-radius:50%}
.flow-figure:before{content:"";position:absolute;inset:6% -4% 0;background:var(--paper);border-radius:50%;z-index:-1;box-shadow:0 0 32px 14px var(--paper)}
.flow-figure svg{width:100%;height:auto;overflow:visible;fill:none;stroke:var(--green);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 0 #20372e04)}
.flow-figure text{font-family:Manrope,Arial,sans-serif;fill:var(--ink);stroke:none;font-size:22px;font-weight:650;letter-spacing:-.5px}
.flow-figure .art-small{font-size:20px;font-weight:550}
.flow-figure .art-paper{fill:var(--white)}
.flow-figure .art-soft{fill:var(--green-light)}
.flow-figure .art-green{fill:var(--green)}
.flow-figure .art-rust{stroke:var(--rust)}
.flow-figure .art-light{stroke:var(--white)}
.flow-figure .art-reveal{opacity:var(--artifact-reveal)}
.flow-node-title{font-family:var(--serif);display:block;font-size:22px;line-height:1.24;letter-spacing:-.015em;font-weight:400;margin-top:2px;background:var(--paper);width:fit-content;padding-right:4px}
.flow-node-output{display:block;font-size:15px;line-height:1.6;color:var(--muted);margin-top:8px;background:var(--paper);padding:3px 6px 3px 0;max-width:340px}
.flow-node-select:hover .flow-number{border-color:var(--green);background:var(--green-light)}
.flow-node-select:hover .flow-node-title{color:var(--green)}
.flow-node.is-active .flow-node-heading{color:var(--green)}
.flow-node.is-active .flow-number{border-color:var(--green);background:var(--green);color:var(--white)}
.flow-node.is-active .flow-figure:before{background:var(--green-light);box-shadow:0 0 35px 14px var(--paper)}
.flow-node.is-active .flow-figure svg{stroke-width:2.6}
.flow-node.is-complete .flow-node-output{color:var(--green)}
.flow-connectors{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:0;pointer-events:none}
.flow-connectors marker path{fill:var(--green);stroke:none}
.flow-connectors marker[id$=return] path{fill:var(--rust)}
.flow-edge-base,.flow-edge-trace{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5;stroke:#adbba7}
.flow-edge-trace{stroke:var(--green);stroke-width:3}
.flow-edge-return .flow-edge-base{stroke:#c79b84;stroke-dasharray:5 5;opacity:.8}
.flow-edge-gate .flow-edge-base{stroke:#bb9b7d;stroke-dasharray:3 6;opacity:.85}
.flow-edge-return .flow-edge-trace,.flow-edge-gate .flow-edge-trace{stroke:var(--rust);stroke-width:2.5}
.flow-edge-label{font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:550;fill:var(--muted);paint-order:stroke;stroke:var(--paper);stroke-width:7;stroke-linejoin:round}
.flow-edge-group.is-active .flow-edge-label{fill:var(--green);font-weight:750}
.flow-edge-return.is-active .flow-edge-label,.flow-edge-gate.is-active .flow-edge-label{fill:var(--rust)}
.flow-human{grid-area:4/2;align-self:center;text-align:center;background:var(--paper);padding:22px 10px 14px;border:1px dashed #be957a;border-radius:80px 80px 20px 20px}
.flow-human-avatar{width:66px;height:66px;margin:0 auto 16px;border:1px solid #be957a;border-radius:50%;display:grid;place-items:center;background:var(--rust-light)}
.flow-human-avatar svg{width:45px;fill:none;stroke:var(--rust);stroke-width:2;stroke-linecap:round}
.flow-human-label{font-size:9px;font-weight:750;letter-spacing:.08em;color:var(--rust)}
.flow-human h3{font-family:var(--serif);font-weight:400;font-size:23px;letter-spacing:-.02em;margin:8px 0 12px}
.flow-human>p:not(.flow-human-label){font-size:15px;line-height:1.65;max-width:255px;margin:auto}
.flow-human>span{display:block;font-size:11px;margin-top:16px;color:var(--rust)}
.flow-map-key{display:flex;align-items:center;flex-wrap:wrap;gap:12px 25px;padding-top:22px;font-size:11px;font-weight:550;color:var(--muted)}
.flow-map-key>span{display:flex;align-items:center;gap:8px}
.flow-map-key i{display:block;width:28px;height:0;border-top:2px solid var(--green)}
.flow-map-key .flow-key-return{border-top:2px dashed var(--rust)}
.flow-map-key .flow-key-gate{border-top:2px dotted var(--rust)}
.flow-map-key p{margin-left:auto;font-size:10px;font-weight:400}
.flow-motion-note{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:15px;margin-top:18px}
.flow-focus .flow-map{padding:26px 35px 15px;background:none;min-height:510px}
.flow-focus .flow-heading{display:none}
.flow-focus .flow-grid{display:block}
.flow-focus .flow-node,.flow-focus .flow-human,.flow-focus .flow-connectors{display:none}
.flow-focus .flow-node.is-current{display:block;max-width:600px;margin-inline:auto}
.flow-focus .flow-node-heading{font-size:16px}
.flow-focus .flow-figure{max-width:410px;margin-top:12px;margin-bottom:8px}
.flow-focus .flow-node-title{font-size:28px;margin-inline:auto;text-align:center}
.flow-focus .flow-node-output{font-size:16px;max-width:560px;text-align:center;margin-inline:auto;margin-top:10px}
.flow-focus-trail{display:flex;justify-content:center;align-items:center;gap:18px;margin:0 auto;padding:18px 16px 22px;color:var(--muted);font-size:13px;text-align:center;flex-wrap:wrap}
.flow-focus-trail[hidden]{display:none}
.flow-focus-trail strong{color:var(--green)}
.flow-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.flow-reduced .flow-figure,.flow-reduced .flow-node{transition:none}
@media(min-width:1600px){.flow-grid{column-gap:100px;row-gap:108px}.flow-map{padding-inline:90px}.flow-controller{top:18px}}
@media(max-width:1190px){.flow-experience{width:calc(100% - 48px)}.flow-map{padding-inline:60px}.flow-grid{column-gap:58px;row-gap:96px}.flow-node-heading{font-size:15px;gap:6px;white-space:normal}.flow-node-title{font-size:21px}.flow-node-output{font-size:15px}.flow-speed-control{margin-left:0}.flow-controls{gap:6px;padding:14px}.flow-view-control{margin-left:auto}.flow-step-control{max-width:220px}.flow-figure text{font-size:25px}.flow-figure .art-small{font-size:23px}.flow-human{padding-inline:7px}.flow-human h3{font-size:20px}.flow-human>p:not(.flow-human-label){font-size:15px}}
@media(max-width:950px){.flow-heading{gap:30px}.flow-intro{max-width:280px;font-size:15px}.flow-caption{grid-template-columns:1fr 230px;gap:24px;padding:19px 22px}.flow-caption-result{padding-left:22px}.flow-grid{column-gap:38px}.flow-map{padding-inline:58px}.flow-view-control{margin-left:0}.flow-speed-control{margin-left:auto}.flow-controls{gap:6px}.flow-control-divider{margin:0 4px}.flow-play{min-width:142px;padding-inline:15px}.flow-node-title{font-size:20px}.flow-human>p:not(.flow-human-label){font-size:15px}.flow-human-label{font-size:8px}.flow-human h3{font-size:19px}.flow-edge-label{font-size:15px}}
@media(max-width:1100px){#live-flow{padding-top:55px}.flow-experience{width:calc(100% - 32px)}.flow-heading{display:block;margin-bottom:25px}.flow-heading h2{font-size:39px;max-width:560px}.flow-intro{max-width:500px;margin-top:22px;font-size:15px}.flow-controller{position:relative;top:0}.flow-controls{gap:8px;padding:15px}.flow-play{flex:1;min-width:150px}.flow-control-divider{display:none}.flow-step-control{order:2;flex:1;min-width:calc(100% - 120px);max-width:none}.flow-controls [data-action=previous],.flow-controls [data-action=next]{order:2}.flow-controls [data-action=previous]{order:1}.flow-controls [data-action=next]{order:3}.flow-step-control{order:2;min-width:170px;max-width:calc(100% - 100px)}.flow-view-control{margin-left:auto;order:0}.flow-speed-control{order:4;margin-left:0}.flow-caption{grid-template-columns:1fr;gap:15px;padding:20px;min-height:0}.flow-caption h3{font-size:23px}.flow-narration{font-size:15px}.flow-caption-result{border-left:0;border-top:1px solid var(--line);padding:13px 0 0}.flow-caption-result p{font-size:14px;margin-top:6px}.flow-playback-status{margin-top:8px}.flow-map{padding:30px 45px 65px}.flow-grid{grid-template-columns:1fr;row-gap:82px}.flow-node,.flow-human{grid-area:auto}.flow-node{max-width:430px;width:100%;margin-inline:auto}.flow-node-heading{font-size:16px;gap:10px;white-space:normal}.flow-number{width:33px;height:33px;font-size:12px}.flow-figure{max-width:360px;margin-top:16px;margin-bottom:10px}.flow-figure text{font-size:22px}.flow-figure .art-small{font-size:20px}.flow-node-title{font-size:25px}.flow-node-output{font-size:16px;max-width:none}.flow-human{padding:27px 20px 23px;max-width:350px;justify-self:center;width:100%;border-radius:80px 80px 20px 20px;margin-top:6px}.flow-human h3{font-size:25px}.flow-human-label{font-size:10px}.flow-human>p:not(.flow-human-label){font-size:16px}.flow-human>span{font-size:12px}.flow-map-key{gap:12px 19px;font-size:11px}.flow-map-key p{width:100%;margin-left:0;margin-top:3px;font-size:11px}.flow-focus .flow-map{padding:25px 10px 15px;min-height:0}.flow-focus .flow-figure{max-width:380px}.flow-focus .flow-node-title{font-size:27px}.flow-focus-trail{gap:10px;font-size:12px}.flow-focus-trail>span:not([aria-hidden]){max-width:90px}.flow-motion-note{font-size:13px}}
@media(max-width:390px){.flow-heading h2{font-size:34px}.flow-controls{padding:12px;gap:6px}.flow-play{min-width:145px;flex:0}.flow-view-control{order:4;margin-left:auto}.flow-speed-control{order:4}.flow-controls [data-action=restart]{margin-left:auto}.flow-step-control{min-width:140px}.flow-caption{padding:18px}.flow-map{padding-inline:39px}.flow-node-title{font-size:23px}.flow-node-output{font-size:15px}.flow-focus .flow-node-title{font-size:25px}}
@media(max-width:1100px){.flow-controls{gap:8px}.flow-play{order:0;flex:1}.flow-controls [data-action=restart]{order:0;margin-left:0}.flow-control-divider{display:block;flex-basis:100%;width:100%;height:0;margin:0;order:1}.flow-controls [data-action=previous],.flow-controls [data-action=next]{order:2}.flow-step-control{order:2;min-width:0;max-width:none;flex:0 0 calc(100% - 96px)}.flow-speed-control{order:3;flex-basis:auto;min-width:78px;margin-left:0}.flow-view-control{order:3;margin-left:auto}.flow-focus .flow-caption-result{display:none}.flow-focus .flow-caption{padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){.flow-progress>span,.flow-edge-trace,.flow-figure{transition:none!important}}
@media print{#live-flow{padding:25px 0}.flow-experience{width:100%}.flow-controller{position:static;box-shadow:none}.flow-controls,.flow-progress,.flow-playback-status,.flow-focus-trail{display:none}.flow-caption{padding:18px}.flow-map{padding-inline:45px}.flow-node,.flow-human{break-inside:avoid}.flow-focus .flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.flow-focus .flow-node,.flow-focus .flow-human,.flow-focus .flow-connectors{display:block}.flow-map-key{font-size:9px}}

/* Every authored station has a position; smaller screens keep one readable chain. */
.flow-grid .flow-node{grid-row:var(--flow-row);grid-column:var(--flow-column)}
.flow-human{grid-row:var(--human-row);grid-column:var(--human-column)}
.flow-grid{row-gap:136px}
.flow-scene-status{display:none}
.art-packet,.art-cursor{opacity:0;pointer-events:none}
.flow-figure .art-packet-ring{fill:none;stroke:var(--rust);stroke-width:1.5;opacity:.5}
.flow-figure .art-packet-core{fill:var(--rust);stroke:var(--white);stroke-width:2}
.flow-figure .art-cursor{fill:var(--green);stroke:var(--white);stroke-width:1.4}
.flow-guided-return{font-size:14px;line-height:1.65;color:var(--rust);text-align:center;max-width:620px;margin:10px auto 0;padding:14px 20px;border-top:1px dashed #be957a}
.flow-guided-return[hidden],.flow-replay[hidden]{display:none}
.flow-replay{display:block;background:var(--rust-light);color:var(--rust);border:1px solid #be957a;border-radius:22px;font-size:13px;padding:10px 17px;margin:13px auto 15px}
.flow-replay:hover{background:var(--rust);color:var(--white)}
.flow-readiness-link{display:block;color:var(--green);font-size:13px;font-weight:650;margin-top:16px;text-decoration:underline;text-underline-offset:4px}
.flow-readiness-link[hidden]{display:none}
@media screen{
  .flow-experience.flow-focus{display:grid;grid-template-columns:minmax(280px,.64fr) minmax(0,1fr);gap:24px;align-items:start}
  .flow-focus .flow-controller{display:contents;position:static}
  .flow-focus .flow-controls{grid-area:1/1/2/3;position:sticky;top:12px;z-index:6;background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 20px #20372e08;padding:15px 20px}
  .flow-focus .flow-caption{grid-area:2/1/3/2;display:block;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:25px;min-height:0}
  .flow-focus .flow-caption h3{font-size:28px;line-height:1.18;margin:14px 0 16px}
  .flow-focus .flow-narration{font-size:16px;line-height:1.75}
  .flow-focus .flow-caption-result{border-left:0;border-top:1px solid var(--line);padding:21px 0 0;margin-top:23px}
  .flow-focus .flow-caption-result p{font-size:15px}
  .flow-focus .flow-progress{grid-area:3/1/4/3;border-radius:3px;overflow:hidden;height:5px}
  .flow-focus .flow-map-shell{grid-area:2/2/3/3;margin-top:0;min-width:0}
  .flow-focus .flow-map{padding:19px 20px 5px;min-height:0;border-bottom:0}
  .flow-focus .flow-figure{max-width:520px;margin-top:10px;margin-bottom:12px}
  .flow-focus .flow-node-title{font-size:27px}
  .flow-focus .flow-node-output{font-size:16px}
  .flow-focus .flow-map-key{grid-area:4/1/5/3;padding-top:0}
  .flow-focus .flow-motion-note{grid-area:5/1/6/3;margin-top:0}
  .flow-focus .flow-scene-status{display:flex;align-items:center;gap:14px;padding:11px 15px 15px;border-bottom:1px solid var(--line);min-height:63px}
  .flow-scene-badge{background:var(--green-light);color:var(--green);padding:7px 11px;border-radius:18px;font-size:10px;font-weight:800;letter-spacing:.08em;white-space:nowrap}
  .flow-playing .flow-scene-badge{background:var(--green);color:var(--white)}
  .flow-scene-status p{font-size:16px;font-weight:650;color:var(--ink);line-height:1.45}
  .flow-scene-action-count{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}
  .flow-focus .flow-node.is-active .art-packet,.flow-focus .flow-node.is-active .art-cursor{opacity:1}
  .flow-node-browser .art-packet{display:none}
  .flow-focus.flow-reduced .art-packet,.flow-focus.flow-reduced .art-cursor{display:none}
  .flow-focus .flow-node.is-active .art-step .art-check{opacity:0}
  .flow-focus .flow-node.is-active .art-step.is-operation-complete .art-check{opacity:1}
  .flow-focus .flow-node.is-active .art-step.is-operation-current>rect{fill:var(--green-light);stroke-width:3}
  .flow-focus .flow-node.is-active .art-step.is-operation-current>text{fill:var(--green);font-weight:800}
}
@media(max-width:1100px){
  .flow-grid .flow-node,.flow-human{grid-area:auto}
  .flow-grid{row-gap:92px}
  .flow-focus .flow-controls{padding:12px;top:7px}
  .flow-experience.flow-focus{display:flex;flex-direction:column;gap:18px}
  .flow-focus .flow-controls{order:0;width:100%}
  .flow-focus .flow-map-shell{order:1;width:100%}
  .flow-focus .flow-caption{order:2;width:100%;padding:22px}
  .flow-focus .flow-caption-result{display:block}
  .flow-focus .flow-progress{order:3;width:100%}
  .flow-focus .flow-map-key{order:4;width:100%}
  .flow-focus .flow-motion-note{order:5;width:100%}
  .flow-focus .flow-scene-status{padding:5px 6px 12px;gap:9px;min-height:55px}
  .flow-scene-status p{font-size:15px}
  .flow-scene-badge{font-size:9px;padding:6px 9px}
  .flow-focus .flow-map{padding:13px 4px 0}
  .flow-focus .flow-figure{max-width:380px;margin-top:8px}
  .flow-focus .flow-node-title{font-size:25px}
  .flow-focus .flow-node-heading{font-size:16px}
  .flow-focus-trail{font-size:11px;padding:13px 2px 9px;gap:8px}
  .flow-guided-return{font-size:13px;padding:12px 6px 0}
  .flow-focus .flow-caption h3{font-size:24px}
  .flow-focus .flow-narration{font-size:15px}
}
