#graph-content { overflow-wrap: anywhere; }
.graph-panel { border: 1px solid var(--line, #eadde8); border-radius: 16px; background: var(--glass, rgba(255,255,255,.6)); padding: 13px; margin: 0 0 12px; }
.graph-panel :is(h3,p,summary) { margin: 0 0 8px; }
.graph-panel details { margin: 9px 0 0; }
.graph-panel summary { cursor: pointer; padding: 5px 0; font-weight: 600; }
.graph-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.graph-actions button { min-height: 40px; }
.graph-actions button[aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: -2px; }
.graph-list { padding: 0; list-style: none; }
.graph-list > li { border-top: 1px solid var(--line, #eadde8); padding: 7px 0; }
.graph-list p { white-space: pre-wrap; }
.graph-canvas { overflow: auto; max-height: 42vh; border: 1px solid var(--line, #eadde8); border-radius: 12px; color: #716084; background: #fbf6fc; }
.graph-canvas svg { display: block; max-width: none; }
.graph-link { stroke: currentColor; stroke-width: 2; }
.graph-node { cursor: pointer; }
.graph-node circle { fill: #f0e3f1; stroke: currentColor; stroke-width: 2; }
.graph-node:focus-visible circle { stroke-width: 4; }
.graph-node text { fill: #4c385d; font-size: 14px; }
