.soc-graph-panel{border:1px solid var(--soc-line);border-radius:var(--soc-radius);background:var(--soc-surface);overflow:hidden}.soc-graph-controls{gap:8px;justify-content:flex-end;padding:8px 12px;border-bottom:1px solid var(--soc-line)}.soc-graph-controls,.soc-zoom{display:flex;align-items:center}.soc-zoom{height:32px;border:1px solid var(--soc-line-strong);border-radius:var(--soc-radius);overflow:hidden}.soc-zoom output{display:flex;height:100%;padding:0 8px;border-inline:1px solid var(--soc-line);font:11px/1 var(--soc-font-mono);font-variant-numeric:tabular-nums}.soc-button,.soc-zoom output{align-items:center;color:var(--soc-ink-2)}.soc-button{display:inline-flex;gap:6px;justify-content:center;min-width:32px;height:32px;padding:0 10px;border:1px solid var(--soc-line-strong);border-radius:var(--soc-radius);background:var(--soc-surface);font:500 12px/1 var(--soc-font-sans);cursor:pointer;transition:border-color .15s ease-out,color .15s ease-out}.soc-button:hover:not(:disabled){border-color:var(--soc-accent);color:var(--soc-ink)}.soc-button:disabled{cursor:default;opacity:.5}.soc-button[data-quiet]{border-color:transparent;background:transparent}.soc-button svg{width:14px;height:14px}.soc-zoom .soc-button{height:100%;border:0;border-radius:0}.soc-graph-panel :is(button,[tabindex]):focus-visible{outline:2px solid var(--soc-focus);outline-offset:2px}.soc-graph-stage{position:relative;container-type:inline-size}.soc-graph-viewport{position:relative;display:flex;height:clamp(420px,calc(100vh - 300px),720px);max-width:100%;overflow:auto;overscroll-behavior:contain;touch-action:none;background:var(--soc-canvas);cursor:grab;scrollbar-color:var(--soc-line-strong) var(--soc-canvas)}.soc-graph-viewport:focus-visible{outline-offset:-3px}.soc-graph-viewport.is-panning,.soc-graph-viewport.is-panning *,.soc-graph-viewport:active{cursor:grabbing}.soc-graph-canvas,.soc-graph-scroll-area{position:relative}.soc-graph-scroll-area{flex-shrink:0}.soc-graph-canvas{transform-origin:top left;user-select:none}.soc-graph-edges{position:absolute;inset:0;pointer-events:none}.soc-graph-edges>path{fill:none;stroke:var(--soc-line-strong);stroke-width:1;stroke-linejoin:round;transition:stroke .15s ease-out}.soc-graph-edges>path.is-selected{stroke:var(--soc-accent);stroke-width:1.5}.soc-graph-edges marker path{fill:var(--soc-line-strong)}.soc-graph-edges marker.is-selected path{fill:var(--soc-accent)}.soc-graph-node{position:absolute;display:flex;border:1px solid var(--soc-line);border-radius:var(--soc-radius);background:var(--soc-surface);transition:border-color .15s ease-out}.soc-graph-node:not(.is-selected):hover{border-color:var(--soc-line-strong)}.soc-graph-node[data-kind=activity]{border:1px dashed var(--soc-line-strong);background:var(--soc-surface-2);transform:translateY(-50%)}.soc-graph-node.is-selected{border-color:var(--soc-accent);box-shadow:inset 0 0 0 1px var(--soc-accent)}.soc-graph-select{display:grid;flex:1;grid-template-columns:16px minmax(0,1fr);column-gap:6px;align-content:start;align-items:center;min-width:0;padding:4px 10px 6px;border:0;border-radius:var(--soc-radius);background:transparent;color:inherit;text-align:left;cursor:pointer}.soc-graph-node[data-kind=activity] .soc-graph-select{align-content:center;column-gap:8px;padding-top:6px}.soc-graph-select>svg{width:14px;height:14px;color:var(--soc-muted)}.soc-graph-node.is-selected .soc-graph-select>svg{color:var(--soc-accent-text)}.soc-graph-select>span{display:contents}.soc-graph-select strong{overflow:hidden;color:var(--soc-ink-2);font:500 13px/18px var(--soc-font-mono);text-overflow:ellipsis;white-space:nowrap}.soc-graph-node.is-selected strong{color:var(--soc-ink)}.soc-graph-select em,.soc-graph-select small{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.soc-graph-select small{color:var(--soc-muted);font:11px/16px var(--soc-font-sans)}.soc-graph-select .soc-graph-pid{font:11px/16px var(--soc-font-mono)}.soc-graph-select em{display:-webkit-box;color:var(--soc-ink-2);font:500 11px/16px var(--soc-font-sans);font-style:normal;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.soc-flag-level{font-weight:600;white-space:nowrap}.soc-flag-level[data-severity=critical],[data-severity=critical]>.soc-flag-level{color:var(--soc-sev-critical)}.soc-flag-level[data-severity=high],[data-severity=high]>.soc-flag-level{color:var(--soc-sev-high)}.soc-flag-level[data-severity=medium],[data-severity=medium]>.soc-flag-level{color:var(--soc-sev-medium)}.soc-flag-level[data-severity=low],[data-severity=low]>.soc-flag-level{color:var(--soc-sev-low)}.soc-graph-node[data-kind=activity] .soc-graph-select>svg{grid-row:1/span 2}.soc-graph-node[data-kind=activity] .soc-graph-select strong{color:var(--soc-ink);font:11px/16px var(--soc-font-mono)}.soc-graph-node[data-kind=activity] .soc-graph-select small{grid-column:2}.soc-graph-canvas.is-overview .soc-graph-select :is(small,em),.soc-graph-canvas.is-overview .soc-graph-select>svg{display:none}.soc-graph-canvas.is-overview .soc-graph-select strong{grid-column:1/-1;font-size:calc(13px * var(--graph-label));line-height:1.2}.soc-graph-branch{position:absolute;bottom:-14px;left:50%;translate:-50% 0;z-index:1;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid var(--soc-line-strong);border-radius:999px;background:var(--soc-surface);color:var(--soc-ink-2);cursor:pointer}.soc-graph-branch:after{position:absolute;inset:-10px;content:""}.soc-graph-branch:disabled{cursor:default;opacity:.6}.soc-graph-hint,.soc-graph-legend,.soc-graph-tools{position:absolute;z-index:2;pointer-events:none}.soc-graph-tools{bottom:12px;left:12px;display:flex;gap:8px}.soc-graph-tools .soc-button{pointer-events:auto}.soc-graph-hint{top:12px;right:12px;gap:6px;margin:0}.soc-graph-legend{right:12px;bottom:12px;gap:12px;margin:0;list-style:none}.soc-graph-hint,.soc-graph-legend{display:flex;align-items:center;padding:6px 10px;border:1px solid var(--soc-line);border-radius:var(--soc-radius);background:var(--soc-surface);color:var(--soc-muted);font:11px/16px var(--soc-font-sans)}.soc-graph-hint svg{width:12px;height:12px}.soc-graph-legend li{display:flex;gap:6px;align-items:center;color:var(--soc-ink-2)}.soc-graph-legend li:before{width:10px;height:10px;border:1px solid var(--soc-line-strong);border-radius:var(--soc-radius);content:""}.soc-graph-legend [data-key=selected]:before{border-color:var(--soc-accent);background:var(--soc-accent)}.soc-graph-legend [data-key=activity]:before{border-style:dashed}.soc-graph-limit{margin:0;padding:8px 12px;border-top:1px solid var(--soc-line);color:var(--soc-ink);font:12px/18px var(--soc-font-sans)}.soc-graph-panel.is-expanded{position:fixed;inset:0;z-index:900;display:flex;flex-direction:column;border:0;border-radius:0;background:var(--soc-canvas)}.soc-graph-panel.is-expanded .soc-graph-stage{display:flex;flex:1;flex-direction:column;min-height:0}.soc-graph-panel.is-expanded .soc-graph-viewport{flex:1;height:auto}@container (max-width: 720px){.soc-graph-legend{bottom:56px}}@media (max-width:850px){.soc-graph-viewport{height:360px}.soc-graph-hint,.soc-graph-legend{display:none}}@media (prefers-reduced-motion:reduce){.soc-button,.soc-graph-edges>path,.soc-graph-node{transition:none}}