.branch-state-badge{border:1px solid var(--line);background:var(--surface);width:28px;height:28px;color:var(--text);z-index:3;cursor:help;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:-13px;right:32px}button.branch-state-badge{cursor:pointer}.branch-state-badge.state-active{border-color:var(--orange);color:var(--orange)}.branch-state-badge.state-active>svg{fill:currentColor}.branch-state-badge.state-paused{border-style:double;border-width:3px}.branch-state-badge:focus-visible{outline:2px solid var(--text);outline-offset:3px}.branch-state-explanation{border:1px solid var(--line);background:var(--surface);width:220px;max-width:75vw;color:var(--text);text-align:left;pointer-events:none;border-radius:8px;padding:10px 12px;font:13px/1.5 system-ui;display:none;position:absolute;bottom:calc(100% + 8px);right:-18px;box-shadow:0 3px 12px #0003}.branch-state-badge:hover .branch-state-explanation,.branch-state-badge:focus .branch-state-explanation{display:block}:is(.nst-primary-shell,.shared-shell) .map-edge-contains>path:not(.edge-hit){stroke:var(--muted)}:is(.nst-primary-shell,.shared-shell) .map-edge-contains:hover>path:not(.edge-hit){stroke:var(--orange);stroke-width:2.1px;stroke-dasharray:6 3}:is(.nst-primary-shell,.shared-shell) .map-edge-contains.selected>path:not(.edge-hit){stroke:var(--text);stroke-width:3.4px;stroke-dasharray:3 3}:is(.nst-primary-shell,.shared-shell) .map-edge.active-branch>path:not(.edge-hit){stroke:var(--orange);stroke-width:2.8px}:is(.nst-primary-shell,.shared-shell) .map-edge.active-branch>circle{stroke:var(--orange);fill:var(--orange)}:is(.nst-primary-shell,.shared-shell) .map-edge.active-branch.branch-trace>path:not(.edge-hit),:is(.nst-primary-shell,.shared-shell) .map-edge.active-branch:hover>path:not(.edge-hit){stroke-dasharray:6 3;stroke-width:3.5px}:is(.nst-primary-shell,.shared-shell) .map-edge.active-branch.selected>path:not(.edge-hit){stroke:var(--text);stroke-width:4px;stroke-dasharray:3 3}.branch-state-menu-note{color:var(--muted);max-width:260px;padding:8px 12px;display:block}@media (pointer:coarse){.branch-state-badge{width:44px;height:44px;top:-22px;right:38px}}
.overview-node{cursor:pointer;outline:none}.overview-point-hit{fill:#0000;stroke:none}.overview-point-mark{stroke:var(--n-surface,var(--surface));stroke-width:1.5px;vector-effect:non-scaling-stroke}.overview-point:hover .overview-point-mark,.overview-point:focus-visible .overview-point-mark{stroke:var(--n-accent,var(--orange));stroke-width:2.5px}.overview-group .overview-group-surface{fill:var(--n-surface,var(--surface));stroke:var(--n-border,var(--line));stroke-width:1px;vector-effect:non-scaling-stroke}.overview-group:hover .overview-group-surface,.overview-group:focus-visible .overview-group-surface{stroke:var(--n-accent,var(--orange));stroke-width:2px}.overview-group-art{justify-content:center;align-items:center;width:100%;height:100%;line-height:1;display:flex}.overview-group-art .nst-project-icon,.overview-group-art svg{object-fit:contain;width:1em;height:1em}.overview-group-art>span{font-size:1em}.overview-record-preview{z-index:54;box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--n-border,var(--line,#454b53));background:var(--n-surface,var(--surface,#22272e));width:320px;max-width:calc(100vw - 16px);max-height:min(420px,70dvh);color:var(--n-text,var(--text,#e7edf5));border-radius:10px;padding:15px;font:14px/1.5 NSTGeist,system-ui,sans-serif;position:fixed;overflow:auto;box-shadow:0 4px 16px #0003}.overview-record-preview header{align-items:center;gap:10px;display:flex}.overview-record-preview header>strong{overflow-wrap:anywhere;font-size:16px;line-height:1.35}.overview-record-preview header .nst-project-icon{flex:none;width:28px;height:28px}.overview-record-preview small{color:var(--n-muted,var(--muted));margin-top:7px;display:block}.overview-record-preview dl{grid-template-columns:auto 1fr;gap:6px 12px;margin:14px 0 0;display:grid}.overview-record-preview dt{color:var(--n-muted,var(--muted));font-size:12px}.overview-record-preview dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.overview-record-preview footer{justify-content:flex-end;gap:5px;margin-top:12px;display:flex}.overview-record-preview button{border:1px solid var(--n-border,var(--line));width:38px;height:38px;color:inherit;cursor:pointer;background:0 0;border-radius:7px;place-items:center;display:grid}.overview-record-preview button:hover{color:var(--n-accent,var(--orange))}.overview-record-preview button:focus-visible{outline:2px solid var(--n-accent,var(--orange));outline-offset:2px}.preview-group-symbol{font-size:26px}.canvas-save-warning{z-index:55;border:1px solid var(--n-accent,var(--orange));background:var(--n-surface,var(--surface));max-width:min(360px,100% - 24px);color:var(--n-text,var(--text));border-radius:7px;padding:9px 12px;font-size:12px;position:absolute;top:76px;right:12px}.nst-primary-shell .canvas-tool-hud,.canvas-tool-hud{bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}@media (pointer:coarse){.overview-record-preview button{width:44px;height:44px}}@media (prefers-reduced-motion:reduce){.overview-node,.overview-record-preview{transition:none!important;animation:none!important}}.canvas-save-status{clip-path:inset(50%);white-space:nowrap;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.map-stage[data-detail=overview] .selection-chrome{fill:none;stroke:var(--n-accent,var(--orange));stroke-width:1.5px;vector-effect:non-scaling-stroke}.map-stage[data-detail=overview] .map-edge>path:not(.edge-hit){vector-effect:non-scaling-stroke;stroke-width:1.2px}@media (pointer:coarse){.overview-point-hit{stroke:#0000;stroke-width:24px;vector-effect:non-scaling-stroke}}.shared-shell>.map-stage{flex-direction:column;display:flex}.shared-shell>.map-stage>.map-canvas{flex:1;width:100%;min-height:0}.overview-node{-webkit-tap-highlight-color:transparent}.editor-shell:has(.map-stage[data-detail=overview])>.mobile-read-card{display:none}.map-stage .overview-node{outline:none!important}
