.workspace.graph-workspace{display:block}.graph-workspace>.area-panel{display:none}
.graph-shell{position:relative;isolation:isolate;height:clamp(500px,70svh,860px);width:100%;overflow:hidden;background:#050708;border:1px solid #20272d;border-radius:18px}
#graph.graph-stage{position:absolute;inset:0;height:100%;min-height:0;border:0;border-radius:0;background:#050708;overflow:hidden;touch-action:none}
.graph-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.graph-stage canvas:active{cursor:grabbing}
.graph-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.graph-node-label{position:absolute;top:0;left:0;padding:0;min-height:0;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:18px;font-weight:450;color:#d5e0e3;border:0;border-radius:0;background:none!important;pointer-events:auto;text-shadow:0 1px 6px #000,0 1px 2px #000}.graph-node-label.area,.graph-node-label.project{font-size:13px;color:#edf4f5;font-weight:600}.graph-node-label:hover{color:#fff;text-decoration:underline}.graph-node-label[hidden]{display:none}
.graph-top{position:absolute;inset:16px 18px auto;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none;z-index:3}.graph-title{font-size:.85rem;color:#c3cdd4;white-space:nowrap}.graph-title span{margin-left:6px;font-size:.65rem;letter-spacing:.08em;color:#748690}.graph-command{display:flex;gap:2px;padding:4px;border:1px solid #ffffff12;border-radius:16px;background:#10131ed9;backdrop-filter:blur(15px);box-shadow:0 4px 25px #0005;pointer-events:auto}.graph-command button{display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;border-radius:12px;padding:8px 12px;color:#becbd5;font-size:.8rem}.graph-command button:hover{background:#ffffff0c;color:#fff}.graph-command button[aria-pressed=true]{color:#9dddcd}.graph-command svg{width:18px;height:18px}.graph-top input{pointer-events:auto;width:180px;min-height:40px;padding:9px 12px;border-color:#ffffff13;background:#10151cb3;font-size:.8rem;border-radius:12px;color:#dbe8ec;backdrop-filter:blur(12px)}
.graph-bottom{position:absolute;inset:auto 18px 16px;display:flex;align-items:center;gap:16px;justify-content:space-between;z-index:3;pointer-events:none;font-size:.72rem;color:#768a92}.graph-legend{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.graph-legend span::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#579ddc;margin-right:6px}.graph-legend .project::before{background:#b994ec}.graph-legend .area::before{background:#e9bc37}.graph-scale{display:flex;gap:3px;margin-left:auto;pointer-events:auto}.graph-scale button{border:1px solid #ffffff12;border-radius:10px;background:#10151cd9;min-width:38px;min-height:38px;padding:3px 10px;color:#b4c1c7;font-size:18px}.graph-under{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.graph-under p{margin:0;font-size:.75rem;color:#83929a}.graph-under button{font-size:.8rem;white-space:nowrap}.graph-a11y{margin:14px 0 0;font-size:.75rem}.graph-a11y a{color:#87989e}#graph-node-list{margin-top:8px;color:#9daab1;font-size:.8rem}#graph-node-list div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#graph-node-list button{font-size:.8rem;background:#11171d}
.graph-selection{position:absolute;z-index:5;bottom:70px;left:18px;width:270px;max-width:calc(100% - 36px);padding:18px;border:1px solid #ffffff17;border-radius:16px;background:#111720ed;backdrop-filter:blur(18px);box-shadow:0 12px 30px #0005;display:grid;gap:8px}.graph-selection[hidden]{display:none}.graph-selection small{color:#9fb0ba;font-size:.7rem}.graph-selection strong{font-size:1rem;padding-right:25px}.graph-selection span{font-size:.75rem;color:#83989e}.graph-selection .graph-dismiss{position:absolute;right:5px;top:5px;border:0;background:none;font-size:20px;color:#9ab0b6;width:36px;min-height:36px;padding:5px}.graph-selection .graph-open{margin-top:8px;background:#19242b;border-color:#3b5058;min-height:38px;font-size:.8rem}
.graph-shell.expanded{position:fixed;inset:0;width:100vw;height:100svh;border:0;border-radius:0;z-index:50}.graph-immersive{overflow:hidden}.graph-shell.expanded .graph-top{padding-top:env(safe-area-inset-top)}.graph-shell.expanded .graph-bottom{padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:750px){.graph-shell{height:65svh;min-height:430px;border-radius:14px}.graph-top{inset:12px 12px auto;flex-wrap:wrap;gap:10px}.graph-title{font-size:.75rem}.graph-command{margin-left:auto}.graph-command button{min-height:40px;padding:6px 10px}.graph-top input{width:100%;min-height:36px;font-size:14px;order:3;background:#0d121aa6}.graph-bottom{inset:auto 12px 12px;gap:10px;font-size:.65rem}.graph-legend{gap:10px}.graph-scale button{min-width:34px;min-height:38px;padding:3px 8px}.graph-under{align-items:flex-start}.graph-under p{font-size:.7rem}.graph-selection{bottom:64px;left:12px;max-width:calc(100% - 24px)}.graph-node-label{max-width:120px;font-size:10px}.graph-node-label.area,.graph-node-label.project{font-size:12px}.graph-shell.expanded{min-height:0}.graph-shell.expanded .graph-top{inset:12px 12px auto}}
