/* Four-column maps retain readable type; compact screens scroll the diagram. */
.demo-graph { scrollbar-gutter: stable; overscroll-behavior-inline: contain; }
.demo-graph > svg { width: 100%; min-width: 860px; height: auto; }
.demo-node text { font-size: 17px; font-weight: 500; }
.demo-node .demo-node-detail { font-size: 14px; font-weight: 400; }
.demo-node rect { stroke-width: 1.2; }
.demo-node:focus-visible rect { stroke: #252b3b; stroke-width: 3; }
.demo-wire { stroke-width: 1.4; stroke-linejoin: round; }
.demo-edge-caption { pointer-events: none; }
.demo-edge-caption rect { fill: #fcfcfd; stroke: #eceef2; stroke-width: 1; }
.demo-edge-caption .demo-wire-label { fill: #676e7a; font-size: 14px; font-weight: 500; stroke: none; }
