.neoloopy-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:15;--nl-surface: #fffefd;--nl-ink: #1f2329;--nl-ink2: #585b61;--nl-ink3: #6e7176;--nl-line2: #d0cfcb;--nl-graphite: #4a4d53;--nl-teal: #1c7e7e;--nl-shadow: rgba(0,0,0,.18)}.neoloopy-overlay .neoloopy-toggle{position:absolute;left:var(--nl-x,0);top:var(--nl-y,0);transform:translate(-50%);display:none;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;border-radius:50%;background-color:var(--nl-surface);color:var(--nl-ink2);box-shadow:0 2px 8px var(--nl-shadow);cursor:pointer;pointer-events:auto}.neoloopy-toggle.is-visible{display:inline-flex}.neoloopy-toggle.is-open{background:var(--nl-teal);color:#fff}.neoloopy-toggle svg{width:18px;height:18px}.neoloopy-popover{position:absolute;left:var(--nl-x,0);top:var(--nl-y,0);transform:translate(-50%);display:none;gap:8px;pointer-events:auto}.neoloopy-popover.is-visible{display:flex}.neoloopy-node-menu{flex-direction:column;align-items:flex-start;gap:6px}.neoloopy-node-row{display:flex;flex-direction:row;align-items:center;gap:8px}.neoloopy-edge-menu{flex-direction:row;align-items:center}.neoloopy-pill{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:999px;background:var(--nl-surface);box-shadow:0 3px 12px var(--nl-shadow)}.neoloopy-overlay .neoloopy-kind-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:28px;padding:0;border:none;border-radius:999px;background-color:transparent;color:var(--nl-graphite);cursor:pointer}.neoloopy-kind-btn.is-active{background:var(--nl-ink);color:var(--nl-surface)}.neoloopy-palette{gap:4px;padding:4px 6px}.neoloopy-overlay .neoloopy-swatch{width:22px;height:22px;padding:0;border-radius:50%;border:1.5px solid var(--bd-l, var(--nl-line2));background-color:var(--sw-l, transparent);cursor:pointer}.neoloopy-overlay .neoloopy-swatch.is-active{outline:2px solid var(--nl-teal);outline-offset:1px}.neoloopy-overlay .neoloopy-swatch-none{display:inline-flex;align-items:center;justify-content:center;color:var(--nl-ink3);background-color:transparent;border-color:var(--nl-line2)}.neoloopy-swatch-none svg{width:14px;height:14px}.neoloopy-seg{padding:2px;gap:0}.neoloopy-overlay .neoloopy-seg-btn{min-width:32px;height:28px;padding:0;border:none;border-radius:999px;background-color:transparent;color:var(--nl-graphite);font:800 16px -apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;cursor:pointer}.neoloopy-seg-btn.is-active{background:var(--nl-ink);color:var(--nl-surface)}.neoloopy-overlay .neoloopy-circ{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:none;border-radius:50%;background-color:var(--nl-surface);color:var(--nl-graphite);font:700 15px -apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;box-shadow:0 3px 12px var(--nl-shadow);cursor:pointer}.neoloopy-circ.is-active{background:var(--nl-teal);color:#fff}.neoloopy-weight-bar{width:14px;height:var(--wt,1px);background:currentColor;border-radius:2px}.neoloopy-overlay .neoloopy-trash-fab{position:absolute;right:16px;bottom:16px;display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:none;border-radius:14px;background-color:var(--nl-surface);color:var(--nl-ink2);box-shadow:0 3px 12px var(--nl-shadow);cursor:pointer;pointer-events:auto}.neoloopy-trash-fab.is-visible{display:inline-flex}.neoloopy-trash-fab svg{width:20px;height:20px}.neoloopy-trash-fab:hover{color:#e5484d}.neoloopy-circ.neoloopy-fx{font-weight:700}.neoloopy-circ.is-hidden{display:none!important}.neoloopy-ip{position:absolute;top:0;right:0;bottom:0;width:min(300px,85vw);overflow-y:auto;padding:14px 16px;box-sizing:border-box;background:#fffefd;border-left:1px solid #e3e2de;box-shadow:-2px 0 10px #0000000f;pointer-events:auto;z-index:16;font:13px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;color:#1f2329}.neoloopy-ip-toggle{position:absolute;top:12px;right:12px;z-index:17;pointer-events:auto;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border:1px solid #e3e2de;border-radius:999px;background:#fffefd;color:#585b61;font:600 12px -apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;box-shadow:0 2px 8px #0000001a;cursor:pointer}.neoloopy-ip-toggle.is-open{right:calc(min(300px,85vw) + 12px)}.neoloopy-ip-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}.neoloopy-ip-title{font-weight:600;color:#1f2329;font-size:14px}.neoloopy-ip-count{margin-left:auto;color:#8a8d92;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.neoloopy-ip-quant-pill{padding:1px 7px;border-radius:999px;font-size:10px;font-weight:600;color:#fff;background:#1f8f7a}.neoloopy-ip-section{margin-bottom:16px}.neoloopy-ip-label{text-transform:uppercase;letter-spacing:1px;font-size:10px;color:#8a8d92;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;margin-bottom:6px}.neoloopy-ip-stat{color:#585b61;padding:2px 0}.neoloopy-ip-stat.is-muted{color:#8a8d92;font-size:11px}.neoloopy-ip-loop{display:flex;align-items:center;gap:8px;padding:6px 4px;border-bottom:1px solid #e3e2de;cursor:pointer}.neoloopy-ip-loop.is-selected{background:#f0efec}.neoloopy-ip-badge{flex:0 0 auto;min-width:22px;text-align:center;border-radius:6px;font-weight:700;font-size:11px;padding:1px 5px;color:#fff}.neoloopy-ip-badge.is-r{background:#1f8f7a}.neoloopy-ip-badge.is-b{background:#c98a1b}.neoloopy-ip-loop-path{color:#585b61;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.neoloopy-ip-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}.neoloopy-ip-chip-label{color:#8a8d92;font-size:11px;width:100%}.neoloopy-ip-chip{padding:2px 8px;border-radius:999px;font-size:11px;border:1px solid #e3e2de;color:#585b61}.neoloopy-proj-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:14}.neoloopy-proj{position:absolute;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:1px}.neoloopy-proj-spark{color:#1c7e7e;display:block}.neoloopy-proj-cap{font:600 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#585b61;background:#fffefdd9;border-radius:4px;padding:0 3px;white-space:nowrap}.neoloopy-proj-legend{position:absolute;left:50%;bottom:10px;transform:translate(-50%);font:600 10px -apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;color:#585b61;background:#fffefdeb;border:1px solid #e3e2de;border-radius:999px;padding:3px 10px;white-space:nowrap;pointer-events:none}.neoloopy-eb{position:absolute;z-index:18;pointer-events:auto;width:230px;background:#fffefd;border:1px solid #e3e2de;border-radius:12px;padding:12px;box-shadow:0 6px 20px #00000024;font:12px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;color:#1f2329}.neoloopy-eb-head{display:flex;align-items:center;justify-content:space-between}.neoloopy-eb-title{font-weight:700;font-size:13px}.neoloopy-eb-whatif{font-size:10px;color:#8a8d92}.neoloopy-eb-note{margin:4px 0 8px;color:#8a8d92;font-size:11px}.neoloopy-eb-reason{margin:2px 0 8px;color:#1c7e7e;font-size:11px}.neoloopy-eb-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.neoloopy-eb-row>span:first-child{color:#585b61}.neoloopy-eb-row input,.neoloopy-eb-row select{width:110px;font:inherit;padding:2px 6px;border:1px solid #d0cfcb;border-radius:6px}.neoloopy-eb-modepair{display:flex;gap:4px}.neoloopy-eb-modepair select{width:70px}.neoloopy-eb-modepair input{width:60px}.neoloopy-eb-preview{margin:6px 0;font:600 12px ui-monospace,SFMono-Regular,Menlo,monospace;color:#1f2329}.neoloopy-eb-actions{display:flex;gap:8px;margin-top:4px}.neoloopy-eb-actions button{font:600 12px inherit;padding:5px 12px;border:none;border-radius:8px;background:#1c7e7e;color:#fff;cursor:pointer;transition:opacity .12s ease,background .12s ease}.neoloopy-eb-actions button:active{transform:translateY(.5px)}.neoloopy-eb-actions button:disabled{opacity:.6;cursor:default}.neoloopy-eb-actions .neoloopy-eb-remove{background:transparent;color:#e5484d}.neoloopy-eb-savenote{margin:6px 0 0;color:#b25b00;font-size:11px}.neoloopy-eb-savenote.is-ok{color:#1c7e7e}
