:root{color-scheme:dark;background:#111;color:#fff;font-family:Golos Text,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:500;font-size:100%}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}.canvas{--note-bg: #202020;--note-radius: 9px;--motion-ease-out: cubic-bezier(.23, 1, .32, 1);--connection-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='9' cy='9' r='5.5' fill='%23111111' stroke='%23e0e0e0' stroke-width='1.5'/%3E%3C/svg%3E") 9 9, crosshair;position:absolute;inset:0;overflow:hidden;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background-color:#111;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='1' fill='%232b2b2b'/%3E%3C/svg%3E")}.world,.notes{position:absolute;inset:0;pointer-events:none}.world{transform-origin:0 0}.connection-layer{--connection-color: #747474;--reciprocal-color: #a49369;position:absolute;top:0;left:0;overflow:visible;pointer-events:none}.connection{fill:none;stroke:var(--connection-color);stroke-width:1.5;transition:stroke .15s var(--motion-ease-out)}.connection[data-bidirectional]{stroke:var(--reciprocal-color)}.connection[data-delete-mode]{stroke:#eb6767;stroke-width:2}.connection-head{fill:var(--connection-color)}.connection-head-reciprocal{fill:var(--reciprocal-color)}.connection-head-flash{fill:#ddd1ad}.connection-head-exit{fill:#c15856}.connection-head-confirm{fill:#eb6767}.connection-flash{fill:none;stroke:#c9c8bf;stroke-width:2.4;animation:connection-flash 2s ease-out both}.connection-flash[data-bidirectional]{stroke:#dfc688}@keyframes connection-flash{0%{opacity:.92}14%{opacity:.8}to{opacity:0}}.connection-junction{fill:#afafaf;transform-box:fill-box;transform-origin:center;transition:transform .14s var(--motion-ease-out),fill .12s ease-out}.junction-hit{fill:transparent;pointer-events:fill;cursor:var(--connection-cursor)}.connection-exit{animation:connection-exit .54s ease-out var(--exit-delay, 0ms) both}.connection-exit-segment{fill:none;stroke-width:2.25;animation:connection-recede .54s linear var(--exit-delay, 0ms) both}@keyframes connection-exit{0%,38%{opacity:1}to{opacity:0}}@keyframes connection-recede{0%{stroke-dashoffset:0}to{stroke-dashoffset:-1}}.connection-item,.connection-preview{transition:opacity .15s var(--motion-ease-out)}.connection-hit{fill:none;stroke:transparent;pointer-events:stroke;cursor:grab}.connection-layer[data-branch-hover] .connection-hit:hover{cursor:none}.connection-branch-hover{fill:#111;stroke:#dcdcdc;stroke-width:1.5}@media(hover:hover)and (pointer:fine){.connection-item:has(.connection-hit:hover) .connection{stroke-width:2}g:has(>.junction-hit:hover)>.connection-junction{fill:#dedede;transform:scale(1.42)}}.note{position:absolute;top:0;left:0;width:max-content;transform-origin:top left;pointer-events:auto;cursor:var(--connection-cursor);font-size:1rem;line-height:1.5}.note:not(.draft):before{position:absolute;inset:calc(-1 * var(--connection-reach) / var(--note-render-scale, 1));content:""}.note-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:var(--note-radius);background:var(--note-bg);transform-origin:top left;transition:background-color 115ms ease-out}.note-surface{position:relative;isolation:isolate;padding:2px;transition:transform 155ms var(--motion-ease-out),filter 125ms ease-out,opacity .15s var(--motion-ease-out)}.note[data-held]{z-index:1}.note[data-held] .note-surface{transform:scale(var(--note-lift))}.note[data-merge-target] .note-backdrop{background:#353535}.note[data-merged]:not([data-held]) .note-surface{animation:merged-note .27s both}.note[data-note-delete-mode]{z-index:2;cursor:default}.note[data-note-delete-mode] .note-surface{filter:blur(3px);pointer-events:none}.note[data-note-delete-mode] .note-backdrop{background:#5c2a30}.delete-button{position:absolute;transform:translate(-50%,-50%);appearance:none;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#a8343d;color:#ffe6e5;outline:none;pointer-events:auto;cursor:pointer;transition:opacity 125ms var(--motion-ease-out),background-color 125ms ease-out}.note-remove{top:50%;left:50%}.arrow-remove{z-index:5}.delete-button svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.delete-button:is(:hover,:focus-visible){background:#bd3f47}.note-list{display:grid;gap:11px;margin:0;padding:0;list-style:none}.note-list>li{position:relative;padding-left:15px}.note-list>li:before{position:absolute;top:.6em;left:0;width:5px;height:5px;border-radius:50%;background:#bababa;content:"";pointer-events:none}.merge-ghosts{position:absolute;inset:0;z-index:4;pointer-events:none}.merge-ghost{position:absolute;overflow:hidden;border-radius:calc(var(--note-radius) * var(--ghost-scale));background:var(--note-bg);line-height:1.5;pointer-events:none}.merge-ghost-content{padding:14px 18px;transform:scale(var(--ghost-scale));transform-origin:top left}.merge-text{display:block}.merge-ghost-source{animation:merge-source .27s var(--motion-ease-out) both}.merge-ghost-target{animation:merge-target 225ms var(--motion-ease-out) both}@keyframes merge-source{0%{transform:scale(var(--note-lift))}38%{opacity:.95}to{transform:translate(var(--merge-x),var(--merge-y)) scale(.7,.57);opacity:0}}@keyframes merge-target{0%{transform:scale(1)}to{transform:scale(.88,.68);opacity:0}}@keyframes merged-note{0%,18%{transform:scale(.93,.88);opacity:0}63%{transform:scale(1.023,.99);opacity:1}to{transform:none;opacity:1}}.note-padding{padding:12px 16px;cursor:grab}.note-typeset{min-width:1.125rem;max-width:19rem;margin:0;font:inherit;color:inherit;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}.note-text,.note-input{display:block;padding:0;appearance:none;outline:none;border:0;background:transparent;cursor:text}.note-text{width:fit-content}.note-text:focus-visible{border-radius:2px;background:#3a3a3a}.draft,.draft .note-padding{cursor:text}@starting-style{.draft .note-surface,.delete-button,.connection-item,.connection-preview{opacity:.45}}.note-editor{position:relative;cursor:text}.note-editor-sizer{visibility:hidden}.note-editor-sizer:after,.note-text:after{content:"​"}.note-editor-draft .note-editor-sizer{min-width:7rem}.note-input{position:absolute;inset:0;width:100%;height:100%;max-width:none;overflow:hidden;resize:none;-webkit-user-select:text;user-select:text;caret-color:#fff}.canvas:is([data-gesture=pan],[data-gesture=move]),.canvas:is([data-gesture=pan],[data-gesture=move]) .note,.canvas:is([data-gesture=pan],[data-gesture=move]) .note *,.canvas:is([data-gesture=pan],[data-gesture=move]) .connection-hit{cursor:grabbing}.canvas[data-gesture=connect],.canvas[data-gesture=connect] .note,.canvas[data-gesture=connect] .note *{cursor:var(--connection-cursor)}.canvas[data-gesture=connect] :is(.connection-hit,.junction-hit){pointer-events:none}@media(prefers-reduced-motion:reduce){.note-surface,.delete-button,.connection-item,.connection-preview,.connection{transition-duration:80ms}.note[data-held] .note-surface{transform:none}.connection-exit{animation-duration:.18s;animation-delay:0ms}.connection-exit-segment{animation:none}.note[data-merged]:not([data-held]) .note-surface{animation:merge-fade .13s ease-out reverse both}.merge-ghost{animation:merge-fade .13s ease-out both}g:has(>.junction-hit:hover)>.connection-junction{transform:none}}@keyframes merge-fade{0%{opacity:1}to{opacity:0}}
