/* Graph and review are complementary views of the same workspace. */
main{max-width:none}.sidebar{width:204px}.shell{margin-left:204px}.side-foot .workspace-label{font-size:8px;margin:0;color:#8c9eb4}.side-foot .side-link{display:block;font-size:12px;padding-top:12px}.page-head{margin-bottom:18px}.catalog-totals{text-align:right;flex:none}.catalog-totals strong{font-size:13px;display:block;font-weight:600}.catalog-totals small{font-size:11px;color:var(--muted)}.graph-context-bar{display:flex;align-items:center;gap:16px;margin-bottom:14px}.view-tabs{display:inline-flex;border:1px solid #cbd5e1;background:#fff;border-radius:6px;overflow:hidden;padding:3px;gap:2px;flex:none}.view-tabs button{background:transparent;color:#5a6a80;border-radius:4px;padding:7px 16px;font-size:12px;cursor:pointer}.view-tabs button.selected{background:#eaf0f9;color:#2451a5;font-weight:650}.graph-context-bar>label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px;flex:1}.graph-context-bar select{min-width:280px;max-width:570px;flex:1}.graph-toolbar{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #dfe5ed;flex-wrap:wrap}.graph-toolbar>label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.graph-toolbar select{font-size:11px;padding:7px;min-height:33px}.graph-search-label{min-width:160px;max-width:250px;flex:1}.graph-search-label input{width:100%;min-height:33px}.graph-toolbar .secondary{padding:7px 10px}.graph-check{margin-left:auto}.graph-check input{accent-color:#315ca8}.graph-workspace{display:grid;grid-template-columns:minmax(0,1fr) 266px;gap:16px;align-items:stretch}.graph-canvas-card{min-width:0;background:white;border:1px solid #d4deea;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}.graph-canvas-head{padding:13px 16px;border-bottom:1px solid #e1e7ee;display:flex;align-items:center;justify-content:space-between;gap:10px}.graph-canvas-head strong{font-size:13px}.graph-canvas-head span{display:block;font-size:11px;color:#728097;margin-top:3px}.graph-viewport{height:clamp(540px,63vh,740px);min-width:0;position:relative;overflow:hidden;touch-action:none;background-color:#f9fbfd;background-image:radial-gradient(#d8e1eb .7px,transparent .7px);background-size:18px 18px;cursor:grab}.graph-viewport.panning{cursor:grabbing}#lineageSvg{display:block;width:100%;height:100%;user-select:none}.graph-controls{position:absolute;bottom:16px;left:16px;display:flex;gap:0;align-items:center;border:1px solid #cbd5e1;border-radius:5px;background:white;box-shadow:0 2px 7px #2639500a;overflow:hidden}.graph-controls button{background:white;min-height:34px;min-width:34px;font-size:17px;padding:0 10px;color:#40546c;cursor:pointer}.graph-controls button:hover{background:#eaf0f9}.graph-controls span{font-size:10px;color:#63758b;min-width:42px;text-align:center}#graphFit{border-left:1px solid #dce3ed;font-size:11px}.graph-legend{padding:12px 16px;display:flex;flex-wrap:wrap;gap:10px 16px;border-top:1px solid #e1e7ee;font-size:10px;color:#667891;background:white}.graph-legend i{display:inline-block;width:18px;vertical-align:middle;margin-right:5px;border-top:2px solid #a1b0bf}.graph-legend .key-lineage{border-color:#4e917d}.graph-legend .key-structure{border-top-style:dashed;border-color:#b4bec9}.legend-end{margin-left:auto;color:#7b899a}.graph-lane{fill:#f2f5f980;stroke:#e8edf2;stroke-width:.7}.lane-title{font-family:inherit;font-size:8.5px;fill:#7e8da1;letter-spacing:.4px;font-weight:650}.graph-edge{fill:none;stroke:#a1b0bf;stroke-width:1.15;opacity:.6}.graph-edge.lineage{stroke:#4e917d;opacity:.7}.graph-edge.structure{stroke:#b4bec9;stroke-dasharray:4 3;opacity:.65}.edge-hit{fill:none;stroke:transparent;stroke-width:12;cursor:pointer}.edge-selected .graph-edge{stroke:#3869b0;stroke-width:2.1;opacity:1}.graph-edge-group:hover .graph-edge{stroke:#3869b0;stroke-width:2.7;opacity:1}.node-card{fill:white;stroke:#c9d4e1;stroke-width:1;filter:drop-shadow(0px 2px 2px #183c6610)}.graph-node{cursor:pointer}.graph-node:hover .node-card{stroke:#4673b9;stroke-width:1.7}.graph-node:focus{outline:none}.graph-node:focus .node-card{stroke:#1345aa;stroke-width:3}.graph-node.selected .node-card{fill:#edf4ff;stroke:#3465ae;stroke-width:2}.graph-node.change-target .node-card{stroke:#4473b6;stroke-width:1.8}.node-stripe{fill:#6b87a5}.node-icon-bg{fill:#edf2f8}.node-symbol{font:16px system-ui;text-anchor:middle;fill:#57728e}.node-kind{font:8px system-ui;fill:#7b8da4;letter-spacing:.4px}.node-name{font:12px system-ui;font-weight:600;fill:#273b55}.kind-table .node-stripe,.kind-column .node-stripe{fill:#539282}.kind-pipeline .node-stripe{fill:#a7824a}.kind-model .node-stripe,.kind-agent .node-stripe{fill:#8570b0}.kind-dashboard .node-stripe{fill:#568ca0}.node-status.danger{fill:#c55758}.node-status.warning{fill:#c49539}.node-status.neutral{fill:#8290a5}.node-status.quiet{fill:#b0bdcd}.graph-inspector{background:white;border:1px solid #d4deea;border-radius:8px;padding:18px;overflow:auto;max-height:calc(clamp(540px,63vh,740px) + 109px)}.inspector-overline{font-size:9px;letter-spacing:.65px;font-weight:650;color:#8090a3;display:block;margin-bottom:10px}.inspector-title{display:flex;align-items:center;gap:10px}.inspector-title>span{font-size:20px;color:#3565a9;background:#edf3fc;padding:4px 10px;border-radius:6px}.inspector-title h2{font-size:16px;line-height:1.4}.inspector-type{font-size:11px;margin:9px 0 18px}.inspector-meta{margin:0;padding-bottom:16px;border-bottom:1px solid #e4eaf1}.inspector-meta dt{font-size:10px;color:#8390a1;margin-top:10px}.inspector-meta dd{font-size:12px;margin:3px 0 0}.inspector-impact{padding:16px 0;border-bottom:1px solid #e4eaf1;font-size:12px}.inspector-impact p{font-size:11px;line-height:1.65;margin:9px 0 0}.inspector-impact strong{font-size:12px}.inspector-impact p+strong{display:block;margin-top:14px}.inspector-actions{display:flex;flex-direction:column;align-items:stretch;gap:3px;padding-top:14px}.inspector-actions .text-btn{text-align:left;font-size:11px;padding-left:0}.inspector-main-action{width:100%;margin-top:8px;font-size:11px}.inspector-consumers{border-top:1px solid #e4eaf1;margin-top:17px;padding-top:14px}.inspector-consumers h3{font-size:11px;margin-bottom:9px}.inspector-consumers button{display:flex;gap:8px;align-items:start;padding:10px 0;background:none;width:100%;text-align:left;cursor:pointer}.inspector-consumers button:hover{background:#f6f9ff}.inspector-consumers span{font-size:11px;flex:1}.inspector-consumers small{display:block;font-size:9px;color:#8090a3;margin-top:3px}.inspector-consumers b{font-size:12px;color:#9bacbf}.state-dot{width:6px;height:6px;border-radius:50%;margin-top:6px;background:#b0bdcd;flex:none}.state-dot.danger{background:#c55758}.state-dot.warning{background:#c49539}.state-dot.neutral{background:#8290a5}.inspector-hint{font-size:10px;line-height:1.6;padding-top:15px;color:#8795a7}.analysis-view-tabs{margin-bottom:14px}.graph-empty{position:absolute;top:35%;width:100%;text-align:center;padding:25px;color:#687b93}.conclusion{padding:12px 15px;margin-bottom:16px}.footer{margin-top:20px}.env{font-size:11px}.env:before{content:'';display:inline-block;width:6px;height:6px;border-radius:100%;background:#639380;margin-right:7px}
@media(min-width:1800px){main{padding:28px 32px 18px}.graph-workspace{grid-template-columns:minmax(0,1fr) 288px}.graph-inspector{padding:20px}}
@media(max-width:1450px){.sidebar{width:180px;padding:20px 12px}.brand{font-size:16px}.shell{margin-left:180px}main{padding:22px 20px}.graph-workspace{grid-template-columns:minmax(0,1fr) 240px;gap:12px}.graph-viewport{height:610px}.graph-inspector{padding:14px;max-height:718px}.graph-toolbar label{font-size:10px}.graph-search-label{max-width:180px}.graph-check{margin-left:0}.node-name{font-size:13px}.catalog-totals{font-size:11px}.legend-end{display:none}}
@media(max-width:1180px){.graph-workspace{grid-template-columns:1fr}.graph-inspector{max-height:none;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.graph-viewport{height:660px}.graph-inspector .inspector-overline,.graph-inspector .inspector-title,.graph-inspector .inspector-type{grid-column:1/-1}.graph-context-bar{flex-wrap:wrap}.graph-context-bar>label{order:3;flex-basis:100%}.graph-check{margin-left:0}}
@media(max-width:780px){.sidebar{width:auto}.shell{margin-left:0}.graph-viewport{height:620px}.catalog-totals{display:none}.graph-inspector{display:block}.graph-toolbar{gap:10px}.graph-search-label{max-width:none}.graph-context-bar select{min-width:0}.sidebar .nav{font-size:11px;padding:9px}.graph-context-bar>label{flex-direction:column;align-items:stretch}.graph-check{margin-left:0}}
