#stage {cursor:grab;touch-action:pan-x pan-y pinch-zoom}
#stage.panning,#stage.panning * {cursor:grabbing!important;user-select:none}
#stage .node {cursor:pointer}
#stage .node.dragging {opacity:.5}
#stage .node.drop-target {outline:4px dashed var(--md-sys-color-primary);outline-offset:5px;background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}
.node-group {position:absolute}
.node-add {position:absolute;z-index:3;width:48px;height:48px;min-width:48px;padding:12px!important;border:1px solid var(--md-sys-color-primary);border-radius:50%;background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-primary);opacity:0;pointer-events:none}
.node-group:hover .node-add,.node-group:focus-within .node-add {opacity:1;pointer-events:auto}
.node-add::after {content:'';position:absolute;width:6px;height:2px;left:-7px;top:22px;background:var(--md-sys-color-primary)}
.node-add[data-side=left]::after {left:auto;right:-7px}
.node-add:focus-visible {outline:3px solid var(--mr-color-focus);outline-offset:3px}
#stage.panning .node-add {visibility:hidden}
@media(hover:none) {.node-add {opacity:1;pointer-events:auto}}
#editor {max-height:calc(100dvh - 24px);overflow:auto}
#editor #title,#editor #idea-description {font-size:16px}

.node,#outline button {white-space:pre-wrap}
.node .node-meta {white-space:normal}

#idea-parent-context {overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:14px}
