.flow-heading{font-size:16px;font-weight:500;fill:var(--ink)}.flow-meta,.flow-id{font-size:12px;fill:var(--muted)}.flow-title{fill:var(--ink)}.flow-node rect{fill:#F0F4F6;stroke:#B9C7CF;stroke-width:1.2}.flow-node.active rect{fill:#DFEAF1;stroke:#4E7086;stroke-width:2}.flow-node.done rect{fill:#E5EEE9;stroke:#93AB9C}.flow-node.skipped rect{fill:transparent;stroke-dasharray:4 4}.flow-node.skipped text{fill:#677780}.node-progress{stroke:#6B8C7D;stroke-width:2;fill:none}.flow-node.active .node-progress{stroke:#4E7086}.flow-edge{fill:none;stroke:#B0BEC7;stroke-width:1.3}.flow-edge.parallel,.flow-edge.loop,.flow-edge.feedback,.flow-edge.loss{stroke-dasharray:5 4}.flow-edge.traversed{stroke:#819A8D}.flow-edge.current{stroke:#4E7086;stroke-width:2.2}.flow-dot{fill:#4E7086}.node-hit{position:absolute;pointer-events:auto;border:0;border-radius:7px;background:transparent;cursor:pointer}.node-hit:hover{box-shadow:0 0 0 2px #8FA7B6}.flow-navigation{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:8px;font-size:12px;color:var(--muted);height:40px}.flow-navigation button{height:40px;min-height:40px;min-width:44px;border:0;padding:0 10px}.flow-navigation button:disabled{opacity:.3;cursor:default}.flow-navigation #flow-follow{font-size:12px}.flow-definition{margin:12px 0}.flow-definition dt{font-size:13px;color:var(--muted);margin-top:12px}.flow-definition dd{margin:2px 0 0}.flow-links{border-left:2px solid var(--line);padding-left:12px}.flow-links button{display:block;text-align:left;width:100%;margin:7px 0}.flow-status{font-size:13px;color:var(--muted)}.cause-chain{font-size:15px;border-left:2px solid #A6BAC7;padding-left:12px;margin:16px 0}.cause-chain span{display:block}.all-steps{display:grid;gap:6px}.all-steps button{text-align:left;font-size:14px}.model-form label{display:block;font-size:14px;margin:10px 0}.model-form input[type=checkbox]{width:18px;height:18px;vertical-align:middle;accent-color:#647F91}.model-form .primary{width:100%;margin:10px 0}.topic-links{display:flex;flex-direction:column;gap:8px}.legend{display:flex;flex-wrap:wrap;gap:10px;font-size:13px}.legend span{padding:3px 8px;border:1px solid #B9C7CF;border-radius:5px}.legend .active{background:#DFEAF1}.legend .done{background:#E5EEE9}.scene-host{overflow:hidden}.observer-footer .stage h2{max-width:70vw}@media(max-width:650px){.observer-footer .stage h2{font-size:12px;max-width:45vw}.flow-heading{font-size:15px}}@media(max-height:430px) and (min-width:600px){.flow-heading{font-size:15px}.flow-navigation{height:36px}.flow-navigation button{height:36px;min-height:36px}}
.cause-chain{border-left:0;padding-left:0}.cause-box{border:1px solid #B9C7CF;border-radius:7px;background:#F0F4F6;padding:9px 12px;margin:6px 0}.panel-scroll h3{font-size:16px;font-weight:500;margin:18px 0 8px}
.flow-group>rect{fill:#F7F9FA;stroke:#D7E0E5;stroke-width:1}.flow-group.active>rect{fill:#F2F6F8;stroke:#9FB4C1}.group-heading{fill:#5B6B75;font-weight:500}.overview-caption{font-size:11px;fill:#5B6B75}.flow-node.pending rect{fill:#F0F4F6}.flow-node.active rect{fill:#DFEAF1;stroke-width:2}.flow-edge{stroke-width:1;opacity:.72}.flow-edge.current{opacity:1;stroke-width:2.1}.flow-edge.loop,.flow-edge.feedback{stroke:#829AAA}.flow-edge.traversed{opacity:.85}.node-hit:focus-visible{outline:2px solid #476F88;outline-offset:1px}@media(max-width:500px){.overview-caption{font-size:9px}.flow-meta{font-size:11px}}

/* Routing: gaps distinguish crossings; no junction is implied at a crossing. */
.edge-clearance{fill:none;stroke:#F7F9FA;stroke-width:4;stroke-linejoin:round;pointer-events:none}.flow-edge{stroke-linejoin:round;stroke-linecap:round;opacity:.9}.flow-edge.parallel{stroke-dasharray:2 3}.flow-edge.loop,.flow-edge.feedback{stroke-dasharray:7 4;stroke-width:1.3}.flow-edge.loss{stroke-dasharray:1 3}.edge-label{pointer-events:none}.edge-label rect{fill:#F7F9FA;stroke:none}.edge-label text{fill:#5B6B75}.edge-label.current text{fill:#4E7086;font-weight:600}.flow-edge.current{stroke-width:2.1;opacity:1}

/* Current step and its actual incoming route; all timing comes from the player. */
.flow-node.active rect{fill:#D7E6F0;stroke:#365F7A;stroke-width:2.8}.flow-node.active .flow-title{fill:#233F52;font-weight:600}.flow-node.active .node-progress{stroke:#365F7A;stroke-width:3}.flow-node.handoff rect{fill:#E1EBF2;stroke:#4E7086;stroke-width:2.2}.flow-node.handoff .node-progress{stroke:#4E7086}.flow-group.active>rect{stroke:#8AA6B8;stroke-width:1.2}.flow-group.active .group-heading{fill:#3F6075}
.flow-edge{opacity:.32;stroke-width:1}.flow-edge.traversed{opacity:.46;stroke:#819A8D}.flow-edge.loop,.flow-edge.feedback{opacity:.38}.flow-edge.feeding{opacity:1;stroke:#4E7086;stroke-width:2.35}.flow-edge.current{opacity:1;stroke:#365F7A;stroke-width:3}.emphasized>.edge-clearance{stroke-width:6}.edge-label{opacity:.6}.edge-label.current{opacity:1}.edge-label.current text{fill:#365F7A;font-weight:600}.flow-dot{fill:#365F7A;stroke:#F7F9FA;stroke-width:1.2}

/* Section titles: original palette, stronger type and hanging phrase lines. */
.group-heading{fill:var(--ink);font-weight:600}.group-number{fill:var(--muted);font-weight:600}.flow-group.active .group-heading,.flow-group.active .group-number{fill:#3F6075}
