/* The wiring graph (decision #166): drawn in the builder's Graph view and, read-only and coloured, in a playtest. */
.gscroll{overflow:auto;border:1px solid var(--line);border-radius:6px;background:#0e0c10;max-height:62vh;margin:10px 0}
.gsvg{display:block}
.gnode .gshape{fill:#17141a;stroke:#6b655e;stroke-width:1.5}
.gnode.event .gshape{stroke:var(--ember)}
.gnode.cond .gshape{stroke:var(--ghost)}
.gnode.gate .gshape{stroke:#8a7fb0}
.gnode.hub .gshape{fill:#201a12;stroke:var(--parch)}
.gnode.effect .gshape{stroke:#7fae86}
.gnode .glabel{fill:var(--parch);font-size:12px;pointer-events:none;font-family:ui-monospace,Menlo,Consolas,monospace}
.gnode .gflag{fill:var(--ember);font-size:12px;pointer-events:none}
.gnode .gstate{fill:var(--ember);font-size:11px;pointer-events:none}
.gnode{cursor:grab}
.gnode:focus{outline:none}
.gnode:focus .gshape,.gnode.sel .gshape{stroke:#fff;stroke-width:2.5}
.gnode.sel .gshape{fill:#2a2217}
.gedge{fill:none;stroke:#a49d92;stroke-width:1.6}
.gedge.undo{stroke-dasharray:6 4}
.gedge.wrong{stroke:var(--bad)}
.gedge.chain{stroke:#8a7fb0;stroke-dasharray:2 4}
.garrowhead{fill:#a49d92}
/* the playtest's colours: what the sim says right now */
.gnode.on .gshape{fill:#3a2a12;stroke:var(--ember);stroke-width:2.5}
.gnode.hot .gshape{fill:#4a3414;stroke:var(--ember);stroke-width:2.5}
.gnode.yes .gshape{fill:#10303c}
.gnode.no .gshape{opacity:.7}
.gnode.done{opacity:.55}
.glegend{color:var(--stone);font-size:13px;margin:4px 0}
.ginspect{border:1px solid var(--line);border-radius:6px;padding:8px 12px;background:#100e12;margin:8px 0}
.ginspect h3{font-family:var(--f-term);font-weight:400;font-size:22px;margin:0 0 4px}
.gactions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.gport{fill:#201a12;stroke:var(--parch);stroke-width:1.5;cursor:crosshair}
.gport:hover{fill:var(--ember)}
.gnode.drop .gshape{stroke:var(--ember);stroke-width:3}
.gedge.wiring{stroke:var(--ember);stroke-dasharray:5 4;fill:none;pointer-events:none}
