/* Public-record graph: paired semantic colors, including SVG and selected states. */
#graph-explorer{color:var(--ui-text)}
.gx-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:20px 0 28px}
.gx-intro h3{font-family:'Black Han Sans',sans-serif;font-weight:400;font-size:clamp(28px,4vw,44px);line-height:1.15;margin:8px 0 12px}
.gx-eyebrow{font-family:'Archivo',sans-serif;font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--ui-text-secondary)}
.gx-coverage{border:2px solid var(--ui-border);background:var(--ui-selected);color:var(--ui-on-selected);box-shadow:var(--ui-shadow);border-radius:8px;padding:20px;min-width:230px}
.gx-coverage b{font:900 38px 'Archivo',sans-serif}.gx-coverage b span{display:block;font:800 12px 'Pretendard',sans-serif;margin-top:4px}
.gx-coverage p{margin:12px 0 4px}.gx-coverage small{font-size:12px}
#graph-workspace{grid-template-columns:240px minmax(0,1fr) 270px;border-color:var(--ui-border);background:var(--ui-surface);box-shadow:var(--ui-shadow)}
#graph-workspace .workspace-sidebar,#graph-workspace .workspace-inspector{background:var(--ui-surface-raised);color:var(--ui-text);border-color:var(--ui-border);min-width:0;overflow-wrap:anywhere}
#graph-workspace .workspace-inspector{max-height:820px;overflow:auto}
#graph-workspace .workspace-main{background:var(--ui-surface);color:var(--ui-text)}
#graph-workspace h3{font-size:17px;margin:0 0 12px}#graph-inspector h3{font-size:24px}
.gx-search-row{display:flex;gap:6px;margin-top:8px}.gx-search-row input{min-width:0;width:100%}.gx-search-row button{padding:8px;font-size:12px;min-width:48px;white-space:nowrap}
.gx-button{border:2px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);border-radius:6px;font:800 12px 'Pretendard',sans-serif;padding:8px 10px;min-height:40px;cursor:pointer;text-align:center;overflow-wrap:anywhere}
.gx-button:hover,.gx-button[aria-pressed="true"]{background:var(--ui-selected);color:var(--ui-on-selected)}
.gx-button:focus-visible,#graph-workspace a:focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}
.gx-button:disabled{cursor:default;color:var(--ui-text-secondary);border-style:dashed}
.gx-presets,.gx-types,.gx-evidence,.gx-controls,.gx-pagination{display:flex;gap:6px;flex-wrap:wrap}
.gx-toolbar{background:var(--ui-surface-raised);color:var(--ui-text);border-color:var(--ui-border);display:grid;gap:12px}
.gx-toolbar #graph-status{font-weight:900;font-size:17px;overflow-wrap:anywhere}
.gx-evidence{padding:12px}.gx-evidence button{font-size:11px}
.gx-results{display:grid;gap:8px;max-height:550px;overflow:auto;padding:3px}
.gx-result{text-align:left;display:grid;gap:4px}.gx-result b{font-size:15px}.gx-result small,.gx-result-type{font-size:11px;color:var(--ui-text-secondary)}
.gx-result:hover small,.gx-result:hover .gx-result-type{color:var(--ui-on-selected)}
.gx-result-type{font-weight:800}.gx-navigation{padding:10px 12px}.gx-page-status{font-size:12px;padding:0 12px}
#graph-canvas{display:block;min-height:280px;padding:12px;overflow:auto}
#graph-canvas .civic-graph-wrap{margin:0;border:0;box-shadow:none;padding:0;background:var(--ui-surface);color:var(--ui-text);min-width:0}
#graph-canvas .cg-node-label{font-size:15px}#graph-canvas .cg-node-type{font-size:13px}#graph-canvas .cg-edge-label{font-size:13px}
.civic-graph .cg-node[data-node-type] circle{fill:var(--ui-surface-raised);stroke:var(--ui-border)}
.civic-graph .cg-node.is-focus[data-node-type] circle{fill:var(--ui-selected)}
.civic-graph .cg-node[data-node-type] .cg-node-label{fill:var(--ui-text)}
.civic-graph .cg-node.is-focus[data-node-type] .cg-node-label{fill:var(--ui-on-selected)}
.civic-graph .cg-node-type{fill:var(--ui-text-secondary)}
.civic-graph .cg-edge line{stroke:var(--ui-border)}
.civic-graph .cg-edge.is-claim line{stroke:var(--ui-danger)}
.civic-graph .cg-edge-label{fill:var(--ui-text);stroke:var(--ui-surface)}
.civic-graph .cg-node[data-node-type]:focus circle{stroke:var(--ui-focus)}
.cg-dot{background:var(--ui-selected);border-color:var(--ui-border)}
#graph-explorer .cg-disclaimer,#graph-explorer .cg-legend{color:var(--ui-text-secondary);line-height:1.7}
.gx-empty{padding:16px;border:2px dashed var(--ui-border);border-radius:6px;line-height:1.7;background:var(--ui-surface);color:var(--ui-text)}
.gx-note{padding:12px;font-size:12px;line-height:1.7;color:var(--ui-text-secondary)}
.gx-relationships{display:grid;gap:12px}.gx-relation,.gx-inspector-edge{border-bottom:2px solid var(--ui-border);padding:14px 0;line-height:1.7}
.gx-layer{display:inline-block;font:900 10px 'Archivo',sans-serif;background:var(--ui-selected);color:var(--ui-on-selected);padding:3px 7px;border-radius:4px;margin:0 6px}
.gx-layer.is-claim{background:var(--ui-action-danger);color:var(--ui-on-action)}
.gx-source{display:grid;gap:5px;font-size:12px;overflow-wrap:anywhere;margin:8px 0}.gx-source span{color:var(--ui-text-secondary)}
.gx-profile{display:block;margin-top:12px}.gx-scope{margin-top:24px;padding:20px;line-height:1.7}.gx-scope a{display:inline-block;margin-right:18px}
@media(max-width:1250px){#graph-workspace{grid-template-columns:240px minmax(0,1fr)}#graph-workspace .workspace-inspector{grid-column:1/-1;border-left:0;border-top:2px solid var(--ui-border)}}
@media(max-width:800px){.gx-intro{display:grid;gap:20px}.gx-coverage{min-width:0}#graph-workspace{display:block}#graph-workspace .workspace-sidebar{display:flex;border-right:0;border-bottom:2px solid var(--ui-border);padding:16px}.gx-results{max-height:260px;grid-template-columns:repeat(2,minmax(0,1fr))}#graph-workspace .workspace-inspector{display:block;max-height:650px}.gx-types button{padding:6px 9px;min-height:36px}#graph-canvas{padding:10px}.gx-note{padding:12px}.gx-controls button{font-size:11px}}
