.opmap,.opmap-pop{--op-sector-none:#94a3b8;--op-avatar-empty:#c8cfda}.opmap{--op-canvas:#fafbfc;--op-dot:#dde2ea;--op-ink:#0f172a;--op-muted:#5b6472;--op-faint:#8b93a3;--op-line:#e6e9f0;--op-accent:rgb(var(--brand-primary-rgb));--op-accent-h:rgb(var(--brand-primary-dark-rgb));--op-accent-soft:rgb(var(--brand-primary-light-rgb));--op-side:rgb(var(--brand-dark-rgb));--op-side-2:rgb(var(--brand-dark-2-rgb));--op-font-display:var(--font-sans);--font-sans:Inter,-apple-system,"Segoe UI",sans-serif;--font-mono:"JetBrains Mono",ui-monospace,monospace;--op-surface:#fff;--op-surface-2:#f2f4f8;--op-ok:#059669;--op-ok-soft:#ecfdf5;--op-warn:#b45309;--op-warn-soft:#fffbeb;--op-shadow-sm:0 1px 2px rgba(15,23,42,.06);--op-shadow-md:0 4px 16px rgba(15,23,42,.08);--op-shadow-lg:0 12px 32px rgba(15,23,42,.14);font-size:14px;color:var(--op-ink);display:flex;flex-direction:column;min-height:0;height:100%}.dark .opmap{--op-canvas:#0f1218;--op-dot:#232833;--op-ink:#e8ecf3;--op-muted:#98a1b2;--op-faint:#6f7889;--op-line:#232833;--op-accent-soft:rgb(var(--brand-primary-rgb)/0.16);--op-surface:#15181f;--op-surface-2:#1a1d24;--op-ok-soft:#0d2620;--op-warn-soft:#2a2010;--op-shadow-sm:0 1px 2px rgba(0,0,0,.4);--op-shadow-md:0 4px 16px rgba(0,0,0,.45);--op-shadow-lg:0 12px 32px rgba(0,0,0,.55)}.opmap .op-btn{display:flex;align-items:center;gap:7px;padding:8px 14px;border-radius:10px;font-size:13px;font-weight:600;transition:.15s;white-space:nowrap}.opmap .op-btn svg{width:15px;height:15px}.opmap .op-btn-ghost{border:1px solid var(--op-line);color:var(--op-muted);background:var(--op-surface)}.opmap .op-btn-ghost:hover{border-color:#cfd5df;color:var(--op-ink)}.opmap .op-btn-accent{background:var(--op-accent);color:#fff;box-shadow:0 2px 8px rgba(255,107,26,.35)}.opmap .op-btn-accent:hover{background:var(--op-accent-h)}.opmap .op-btn-danger{color:#dc2626;border:1px solid #fecaca;background:var(--op-surface);justify-content:center}.opmap .op-btn-danger:hover{background:#fef2f2}.opmap .op-btn-block{justify-content:center;width:100%}.opmap .op-btn:disabled{opacity:.55;pointer-events:none}.opmap .canvas-shell,.opmap .op-content{flex:1;display:flex;min-height:0;position:relative}.opmap .canvas-shell{min-width:0}.opmap .canvas-wrap{flex:1;position:relative;overflow:hidden;background:var(--op-canvas);min-width:0;order:1}.opmap .side-panel{width:264px;min-width:264px;background:var(--op-surface);border-right:1px solid var(--op-line);display:flex;flex-direction:column;min-height:0;z-index:20}.opmap .side-panel.right{border-right:none;border-left:1px solid var(--op-line);order:2}.opmap .sp-head{padding:16px 16px 12px;border-bottom:1px solid var(--op-line);flex-shrink:0}.opmap .sp-title{display:flex;align-items:center;gap:8px;font-family:var(--op-font-display),var(--font-sans);font-size:13.5px;font-weight:700}.opmap .sp-count{font-family:var(--font-mono);font-size:10px;font-weight:600;background:var(--op-surface-2);color:var(--op-muted);border-radius:20px;padding:2px 8px;margin-left:auto}.opmap .sp-search{margin-top:11px;display:flex;align-items:center;gap:7px;background:var(--op-surface-2);border-radius:9px;padding:7px 10px}.opmap .sp-search svg{width:14px;height:14px;color:var(--op-faint);flex-shrink:0}.opmap .sp-search input{border:none;background:none;outline:none;flex:1;font-size:12.5px;color:var(--op-ink);min-width:0}.opmap .sp-list{flex:1;overflow-y:auto;padding:8px;min-height:0}.opmap .sp-row{display:flex;align-items:center;gap:10px;padding:8px 9px;border-radius:10px}.opmap .sp-row:hover{background:var(--op-surface-2)}.opmap .sp-row .av{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;font-family:var(--op-font-display),var(--font-sans);font-weight:600;font-size:10.5px;flex-shrink:0}.opmap .sp-meta{min-width:0;flex:1}.opmap .sp-meta b{display:block;font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.opmap .sp-meta small{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--op-muted);white-space:nowrap;overflow:hidden}.opmap .sp-meta .dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.opmap .sp-add{width:26px;height:26px;border-radius:8px;background:var(--op-accent-soft);color:var(--op-accent);display:grid;place-items:center;flex-shrink:0}.opmap .sp-add svg{width:14px;height:14px;stroke-width:2.4}.opmap .sp-add:hover{background:var(--op-accent);color:#fff}.opmap .sp-check{width:26px;height:26px;display:grid;place-items:center;color:#b9c0cc;flex-shrink:0}.opmap .sp-check svg{width:14px;height:14px;stroke-width:2.4}.opmap .sp-foot{padding:12px;border-top:1px solid var(--op-line);flex-shrink:0}.opmap .dir-group{padding:6px 8px}.opmap .dir-h{display:flex;align-items:center;gap:8px;padding:9px 9px 5px;font-family:var(--font-mono);font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--op-muted)}.opmap .dir-h .dot{width:8px;height:8px;border-radius:3px;flex-shrink:0}.opmap .dir-h span{margin-left:auto;color:var(--op-faint)}.opmap .op-node{-webkit-user-select:none;-moz-user-select:none;user-select:none}.opmap .op-node .card{position:relative}.opmap .person{width:200px}.opmap .person .card{background:var(--op-surface);border:1px solid var(--op-line);border-top:3px solid var(--dc);border-radius:14px;padding:15px 14px 13px;text-align:center;box-shadow:var(--op-shadow-sm);transition:box-shadow .15s}.opmap .person .card:hover{box-shadow:var(--op-shadow-md)}.opmap .person .av{width:46px;height:46px;border-radius:50%;margin:0 auto 9px;display:grid;place-items:center;color:#fff;font-family:var(--op-font-display),var(--font-sans);font-weight:600;font-size:15px;background:var(--dc);box-shadow:0 0 0 3px var(--op-surface),0 0 0 4.5px var(--dc);overflow:hidden}.opmap .person .av img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.opmap .person .av.empty{background:var(--op-surface-2);color:var(--op-faint);box-shadow:0 0 0 3px var(--op-surface),0 0 0 4.5px #d7dce4}.opmap .p-name{font-size:13.5px;font-weight:700;line-height:1.25}.opmap .p-role{font-size:11.5px;color:var(--op-muted);margin-top:2px}.opmap .p-pill{display:inline-block;margin-top:9px;font-family:var(--font-mono);font-size:9px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--dc);background:color-mix(in srgb,var(--dc) 10%,var(--op-surface));border:1px solid color-mix(in srgb,var(--dc) 25%,var(--op-surface));padding:3px 9px;border-radius:20px}.opmap .addsub{position:absolute;left:50%;bottom:-13px;transform:translateX(-50%);width:24px;height:24px;border-radius:50%;background:var(--op-surface);border:1px solid var(--op-line);color:var(--op-faint);display:grid;place-items:center;opacity:0;transition:.15s;box-shadow:var(--op-shadow-sm);z-index:3}.opmap .addsub svg{width:12px;height:12px;stroke-width:2.6}.opmap .person:hover .addsub{opacity:1}.opmap .addsub:hover{background:var(--op-accent);border-color:var(--op-accent);color:#fff}.opmap .step{width:262px}.opmap .step .card{background:var(--op-surface);border:1px solid var(--op-line);border-radius:14px;box-shadow:var(--op-shadow-sm);overflow:hidden;transition:box-shadow .15s}.opmap .step .card:hover{box-shadow:var(--op-shadow-md)}.opmap .step-head{display:flex;align-items:flex-start;gap:10px;padding:12px 14px 11px;border-bottom:1px dashed var(--op-line)}.opmap .step-num{width:24px;height:24px;border-radius:8px;background:var(--op-accent-soft);color:var(--op-accent);font-family:var(--op-font-display),var(--font-sans);font-weight:700;font-size:12px;display:grid;place-items:center;flex-shrink:0;margin-top:1px}.opmap .step-title{font-size:13.5px;font-weight:700;line-height:1.3;flex:1;padding:2px;text-align:left}.opmap .assignee{display:flex;align-items:center;gap:9px;padding:9px 14px;border-bottom:1px dashed var(--op-line);width:100%;text-align:left;transition:.12s}.opmap[data-mode=edit] .assignee:hover{background:var(--op-surface-2)}.opmap[data-mode=consulta] .assignee{cursor:default;pointer-events:none}.opmap .assignee .av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#fff;font-family:var(--op-font-display),var(--font-sans);font-weight:600;font-size:9.5px;flex-shrink:0}.opmap .assignee .av.empty{background:var(--op-surface-2);color:var(--op-faint);border:1.5px dashed #c8cfda}.opmap .asg-meta{min-width:0;flex:1;line-height:1.2}.opmap .asg-meta b{display:block;font-size:12px;font-weight:600}.opmap .asg-meta small{font-size:10.5px;color:var(--op-muted)}.opmap .due{font-family:var(--font-mono);font-size:10px;font-weight:600;color:var(--op-muted);background:var(--op-surface-2);border-radius:6px;padding:3px 7px;flex-shrink:0}.opmap .tasks{list-style:none;padding:9px 14px 12px;display:grid;gap:6px;margin:0}.opmap .tasks li{display:flex;align-items:flex-start;gap:8px;font-size:11.8px;color:var(--op-muted);line-height:1.35}.opmap .chk{width:14px;height:14px;border:1.5px solid #c8cfda;border-radius:4.5px;flex-shrink:0;margin-top:1px}.opmap .cond-tag{display:flex;align-items:center;gap:6px;margin:11px 14px;padding:6px 9px;border-radius:8px;background:var(--op-warn-soft);color:var(--op-warn);font-size:10.5px;font-weight:600;line-height:1.3}.opmap .cond-tag svg{width:13px;height:13px;flex-shrink:0}.opmap .pill-node .card{display:flex;align-items:center;gap:10px;background:var(--op-side);color:#fff;border-radius:14px;padding:13px 18px;box-shadow:var(--op-shadow-md);border:1px solid #22262e;white-space:nowrap}.opmap .pill-node .pulse{width:9px;height:9px;border-radius:50%;background:var(--op-accent);box-shadow:0 0 0 4px rgba(255,107,26,.22);flex-shrink:0}.opmap .pill-node.end .pulse{background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.22)}.opmap .pill-node b{font-family:var(--op-font-display),var(--font-sans);font-size:13.5px;font-weight:700;display:block;line-height:1.2}.opmap .pill-node small{font-family:var(--font-mono);font-size:9.5px;color:#8f97a6;display:block;margin-top:2px}.opmap .dec{width:224px}.opmap .dec .card{background:#fffdf6;border:1.5px dashed #f1c667;border-radius:14px;padding:13px 15px;display:flex;gap:10px;align-items:flex-start;box-shadow:var(--op-shadow-sm)}.dark .opmap .dec .card{background:#221c0d}.opmap .dec .d-ico{width:26px;height:26px;border-radius:8px;background:#fef3c7;color:#b45309;display:grid;place-items:center;flex-shrink:0}.opmap .dec .d-ico svg{width:15px;height:15px}.opmap .dec b{font-size:13px;font-weight:700;line-height:1.3;display:block;color:var(--op-ink)}.opmap .dec small{font-family:var(--font-mono);font-size:9px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#b45309;display:block;margin-top:3px}.opmap .sticky{width:172px;min-height:150px;background:#fef3c7;border-radius:6px;padding:16px 14px;font-size:12.5px;line-height:1.45;color:#57534e;box-shadow:2px 4px 12px rgba(120,90,20,.18);transform:rotate(-1deg)}.opmap .textblock{min-width:130px;font-family:var(--op-font-display),var(--font-sans);font-size:15px;font-weight:600;color:var(--op-ink);padding:4px 6px;border:1.5px dashed transparent;border-radius:6px}.opmap[data-mode=edit] .textblock:hover{border-color:#c8cfda}.opmap .ghost .card{width:262px;border:1.5px dashed #c8cfda;border-radius:14px;padding:22px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--op-faint);font-size:13px;font-weight:600;background:color-mix(in srgb,var(--op-surface) 50%,transparent);transition:.15s}.opmap .ghost .card:hover{border-color:var(--op-accent);color:var(--op-accent);background:var(--op-accent-soft)}.opmap .ghost svg{width:16px;height:16px}.opmap .op-node.sel .card,.opmap .op-node.sel .textblock,.opmap .op-node.sel.sticky{outline:2px solid var(--op-accent);outline-offset:2px;box-shadow:var(--op-shadow-lg)}.opmap .op-node.connect-src .card{outline:2px dashed var(--op-accent);outline-offset:2px}.opmap [contenteditable]:focus{outline:none;background:var(--op-accent-soft);border-radius:4px}.opmap[data-mode=consulta] [contenteditable]{pointer-events:none}.opmap .react-flow{background:var(--op-canvas)}.opmap .react-flow__background circle,.opmap .react-flow__background path{fill:var(--op-dot);color:var(--op-dot)}.opmap .react-flow__node{font-family:inherit;font-size:14px;color:var(--op-ink);border:none;background:transparent;padding:0;border-radius:0;width:auto;box-shadow:none;cursor:default}.opmap[data-mode=edit] .react-flow__node{cursor:grab}.opmap[data-mode=edit] .react-flow__node.dragging{cursor:grabbing}.opmap .react-flow__node.selected{box-shadow:none}.opmap .react-flow__handle{opacity:0;pointer-events:none;width:1px;height:1px;min-width:0;min-height:0;border:none;background:transparent}.opmap .react-flow__edge-path{stroke:#c3cbd7;stroke-width:2}.dark .opmap .react-flow__edge-path{stroke:#39414f}.opmap .react-flow__edge-text{font-family:var(--font-sans);font-size:11px;font-weight:700}.opmap .react-flow__edge-textbg{fill:var(--op-canvas)}.opmap .react-flow__attribution{display:none}.opmap .react-flow__panel{margin:0}.opmap .op-guides{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:5}.opmap .op-guides line{stroke:var(--op-accent);stroke-width:1.5;stroke-dasharray:5 4}.opmap .tool-dock{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);background:var(--op-side);border-radius:14px;padding:6px;display:flex;align-items:center;gap:3px;box-shadow:var(--op-shadow-lg);z-index:22}.opmap .tool{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;color:#c4cbd7;transition:.12s;position:relative}.opmap .tool svg{width:17px;height:17px;stroke-width:1.9}.opmap .tool:hover{background:var(--op-side-2);color:#fff}.opmap .tool.active{background:rgba(255,107,26,.18);color:var(--op-accent)}.opmap .tool-sep{width:1px;height:22px;background:#262b33;margin:0 4px}.opmap .tool .tip{position:absolute;bottom:46px;left:50%;transform:translateX(-50%);background:var(--op-side);color:#e7eaf0;font-size:10.5px;font-weight:500;padding:5px 9px;border-radius:7px;white-space:nowrap;opacity:0;pointer-events:none;transition:.12s}.opmap .tool:hover .tip{opacity:1}.opmap .zoom-dock{position:absolute;right:18px;bottom:18px;background:var(--op-surface);border:1px solid var(--op-line);border-radius:11px;display:flex;align-items:center;box-shadow:var(--op-shadow-md);z-index:22;overflow:hidden}.opmap .z-btn{width:33px;height:33px;display:grid;place-items:center;color:var(--op-muted)}.opmap .z-btn:hover{background:var(--op-surface-2);color:var(--op-ink)}.opmap .z-btn svg{width:14px;height:14px;stroke-width:2.2}.opmap .z-val{font-size:11px;font-weight:600;width:46px;text-align:center}.opmap .hint-chip,.opmap .z-val{font-family:var(--font-mono);color:var(--op-muted)}.opmap .hint-chip{position:absolute;left:18px;bottom:18px;background:var(--op-surface);border:1px solid var(--op-line);border-radius:20px;padding:7px 8px 7px 13px;display:flex;align-items:center;gap:9px;font-size:10.5px;box-shadow:var(--op-shadow-sm);z-index:22}.opmap .hint-chip button{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;color:var(--op-faint);flex-shrink:0}.opmap .hint-chip button:hover{background:var(--op-surface-2);color:var(--op-ink)}.opmap .hint-chip svg{width:11px;height:11px}.opmap .op-drawer{position:absolute;top:0;right:0;bottom:0;width:324px;background:var(--op-surface);border-left:1px solid var(--op-line);box-shadow:-8px 0 28px rgba(15,23,42,.07);transform:translateX(105%);transition:transform .22s cubic-bezier(.4,0,.2,1);z-index:26;display:flex;flex-direction:column}.opmap .op-drawer.open{transform:translateX(0)}.opmap .dw-head{display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid var(--op-line);flex-shrink:0}.opmap .dw-head b{font-family:var(--op-font-display),var(--font-sans);font-size:14.5px;font-weight:700}.opmap .dw-close{margin-left:auto;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:var(--op-faint)}.opmap .dw-close:hover{background:var(--op-surface-2);color:var(--op-ink)}.opmap .dw-close svg{width:15px;height:15px}.opmap .dw-body{flex:1;overflow-y:auto;padding:18px;min-height:0}.opmap .op-field{margin-bottom:15px}.opmap .op-field label{display:block;font-family:var(--font-mono);font-size:9.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--op-muted);margin-bottom:6px}.opmap .op-field input,.opmap .op-field select,.opmap .op-field textarea{width:100%;border:1px solid var(--op-line);border-radius:9px;padding:9px 11px;background:var(--op-surface-2);outline:none;transition:.15s;font-size:16px;color:var(--op-ink)}@media (min-width:768px){.opmap .op-field input,.opmap .op-field select,.opmap .op-field textarea{font-size:13px}}.opmap .op-field input:focus,.opmap .op-field select:focus,.opmap .op-field textarea:focus{border-color:var(--op-accent);background:var(--op-surface);box-shadow:0 0 0 3px rgba(255,107,26,.12)}.opmap .chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.opmap .chip{font-size:11px;font-weight:600;background:var(--op-surface-2);color:var(--op-ink);border-radius:20px;padding:5px 11px;display:flex;align-items:center;gap:6px}.opmap .chip button{color:var(--op-faint);display:grid;place-items:center}.opmap .chip button svg{width:10px;height:10px}.opmap .chip button:hover{color:#dc2626}.opmap .op-tasklist{display:grid;gap:6px;margin-bottom:8px}.opmap .op-taskrow{display:flex;align-items:center;gap:8px}.opmap .op-taskrow .chk{margin-top:0}.opmap .op-taskrow input{flex:1;min-width:0;border:1px solid transparent;border-radius:8px;padding:6px 8px;background:var(--op-surface-2);outline:none;font-size:16px;color:var(--op-ink)}@media (min-width:768px){.opmap .op-taskrow input{font-size:12.5px}}.opmap .op-taskrow input:focus{border-color:var(--op-accent);background:var(--op-surface);box-shadow:0 0 0 3px rgba(255,107,26,.12)}.opmap .op-taskrow button{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;color:var(--op-faint);flex-shrink:0}.opmap .op-taskrow button:hover{background:var(--op-surface-2);color:#dc2626}.opmap .op-taskrow button svg{width:11px;height:11px}.opmap .op-empty{font-size:11.5px;color:var(--op-faint)}.opmap .op-hint{margin-top:6px;font-size:11px;line-height:1.45;color:var(--op-faint)}.opmap .dw-foot{padding:14px 18px;border-top:1px solid var(--op-line);display:grid;gap:8px;flex-shrink:0}.opmap .guide-panel{width:372px;min-width:372px}.opmap .gd-head{padding:18px 18px 14px;border-bottom:1px solid var(--op-line);background:linear-gradient(180deg,var(--op-surface),var(--op-accent-soft));flex-shrink:0}.opmap .gd-eyebrow{display:flex;align-items:center;gap:7px;font-family:var(--font-mono);font-size:9.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--op-accent)}.opmap .gd-eyebrow svg{width:13px;height:13px}.opmap .gd-head h3{font-family:var(--op-font-display),var(--font-sans);font-size:16px;font-weight:700;margin-top:6px;letter-spacing:-.01em}.opmap .gd-head p{font-size:12px;color:var(--op-muted);margin-top:4px;line-height:1.45}.opmap .gd-body{flex:1;overflow-y:auto;padding:16px 18px 24px;min-height:0}.opmap .gd-step{position:relative;padding:0 0 18px 38px}.opmap .gd-step:before{content:"";position:absolute;left:12px;top:28px;bottom:-2px;width:2px;background:var(--op-line)}.opmap .gd-step:last-child:before{display:none}.opmap .gd-num{position:absolute;left:0;top:0;width:26px;height:26px;border-radius:9px;background:var(--op-accent-soft);color:var(--op-accent);font-family:var(--op-font-display),var(--font-sans);font-weight:700;font-size:12px;display:grid;place-items:center}.opmap .gd-step h4{font-size:13.5px;font-weight:700;line-height:1.3;padding-top:3px}.opmap .gd-meta{gap:7px;margin-top:7px;flex-wrap:wrap}.opmap .gd-meta,.opmap .gd-who{display:flex;align-items:center}.opmap .gd-who{gap:6px;background:var(--op-surface-2);border-radius:20px;padding:3px 10px 3px 3px;font-size:11px;font-weight:600}.opmap .gd-who .av{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:#fff;font-family:var(--op-font-display),var(--font-sans);font-weight:600;font-size:8px}.opmap .gd-who small{color:var(--op-muted);font-weight:500}.opmap .gd-cond{display:inline-flex;align-items:center;gap:5px;margin-top:8px;background:var(--op-warn-soft);color:var(--op-warn);font-size:10.5px;font-weight:600;border-radius:7px;padding:4px 9px;line-height:1.3}.opmap .gd-cond svg{width:12px;height:12px;flex-shrink:0}.opmap .gd-tasks{list-style:none;margin-top:9px;display:grid;gap:5px;padding:0}.opmap .gd-tasks li{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--op-muted);line-height:1.4}.opmap-pop{position:fixed;width:238px;background:var(--op-surface,#fff);border:1px solid var(--op-line,#e6e9f0);border-radius:13px;box-shadow:0 12px 32px rgba(15,23,42,.14);z-index:80;overflow:hidden;--op-accent:#ff6b1a}.opmap-pop .pop-h{font-family:var(--font-mono);font-size:9.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#5b6472;padding:11px 13px 7px}.opmap-pop .pop-list{max-height:264px;overflow-y:auto;padding:0 6px 6px}.opmap-pop .pop-row{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:9px;width:100%;text-align:left}.opmap-pop .pop-row:hover{background:#f6f7fa}.dark .opmap-pop{background:#15181f;border-color:#232833;color:#e8ecf3}.dark .opmap-pop .pop-row:hover{background:#1a1d24}.opmap-pop .pop-row .av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:600;font-size:9px;flex-shrink:0}.opmap-pop .pop-row b{display:block;font-size:12px;font-weight:600;line-height:1.15}.opmap-pop .pop-row small{font-size:10px;color:#5b6472}.opmap{--op-sys:#475569;--op-sys-soft:#f1f5f9;--op-notice:#1d4ed8;--op-notice-soft:#eff6ff;--op-wait:#6d28d9;--op-wait-soft:#f5f3ff;--op-money:#0f766e;--op-money-soft:#f0fdfa;--op-sticky:#fef3c7;--op-sticky-ink:#a16207}.dark .opmap{--op-sys:#a3b1c6;--op-sys-soft:#1b2029;--op-notice:#8fb0ff;--op-notice-soft:#131c33;--op-wait:#c4a8ff;--op-wait-soft:#1f1730;--op-money:#5fd3c4;--op-money-soft:#0f2524}.opmap .shape{width:240px;--sh:var(--op-sys);--sh-soft:var(--op-sys-soft)}.opmap .shape.notice{--sh:var(--op-notice);--sh-soft:var(--op-notice-soft)}.opmap .shape.wait{width:236px;--sh:var(--op-wait);--sh-soft:var(--op-wait-soft)}.opmap .shape.posting{width:248px;--sh:var(--op-money);--sh-soft:var(--op-money-soft)}.opmap .shape .card{background:var(--op-surface);border:1px solid var(--op-line);border-left:3px solid var(--sh);border-radius:14px;box-shadow:var(--op-shadow-sm);overflow:hidden;transition:box-shadow .15s}.opmap .shape .card:hover{box-shadow:var(--op-shadow-md)}.opmap .shape.sysact .card{border:1.5px dashed var(--sh)}.opmap .sh-head{display:flex;align-items:flex-start;gap:10px;padding:11px 13px}.opmap .sh-ico{width:26px;height:26px;border-radius:8px;background:var(--sh-soft);color:var(--sh);display:grid;place-items:center;flex-shrink:0}.opmap .sh-ico svg{width:15px;height:15px}.opmap .sh-main{min-width:0;flex:1}.opmap .sh-kind{display:block;font-family:var(--font-mono);font-size:9px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--sh)}.opmap .sh-title{font-size:13px;font-weight:700;line-height:1.3;padding:1px 2px;margin-top:1px;text-align:left}.opmap .sh-sub{display:block;font-size:11px;color:var(--op-muted);line-height:1.35;margin-top:2px}.opmap .sh-to{margin:0 13px 8px;padding:4px 8px;border-radius:7px;background:var(--sh-soft);color:var(--sh);font-size:10.5px;font-weight:600;line-height:1.3}.opmap .sh-lines{list-style:none;margin:0;padding:8px 13px 11px;border-top:1px dashed var(--op-line);display:grid;gap:4px}.opmap .sh-lines li{font-size:11.5px;color:var(--op-muted);line-height:1.35;padding-left:10px;position:relative}.opmap .sh-lines li:before{content:"";position:absolute;left:0;top:6px;width:4px;height:4px;border-radius:50%;background:var(--sh)}.opmap .shape.wait .card{display:flex;align-items:center;gap:10px;padding:9px 16px 9px 10px;border:1.5px solid var(--sh);border-radius:999px;background:var(--sh-soft)}.opmap .shape.wait .sh-ico{width:32px;height:32px;border-radius:50%;background:var(--op-surface)}.opmap .shape.wait .sh-ico svg{width:17px;height:17px}.opmap .sh-rows{margin:0;border-top:1px dashed var(--op-line)}.opmap .sh-rows>div{display:flex;align-items:baseline;gap:8px;padding:6px 13px;font-size:11.5px}.opmap .sh-rows>div+div{border-top:1px solid var(--op-line)}.opmap .sh-rows dt{width:92px;flex-shrink:0;font-family:var(--font-mono);font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--op-muted)}.opmap .sh-rows dd{margin:0;font-weight:600;color:var(--op-ink);font-variant-numeric:tabular-nums;min-width:0}.opmap .shape-anchor{position:relative}.opmap .shape-menu{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);width:252px;background:var(--op-side);border:1px solid #262b33;border-radius:13px;padding:6px;box-shadow:var(--op-shadow-lg);z-index:30}.opmap .shape-menu .sm-h{font-family:var(--font-mono);font-size:9px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#8f97a6;padding:6px 8px 4px}.opmap .shape-menu .sm-row{width:100%;display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:9px;text-align:left;color:#e7eaf0;min-height:44px}.opmap .shape-menu .sm-row.active,.opmap .shape-menu .sm-row:hover{background:var(--op-side-2)}.opmap .shape-menu .sm-ico{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#22262e;color:#c4cbd7;flex-shrink:0}.opmap .shape-menu .sm-ico svg{width:15px;height:15px}.opmap .shape-menu .sm-txt b{display:block;font-size:12.5px;font-weight:600}.opmap .shape-menu .sm-txt small{display:block;font-size:10.5px;color:#8f97a6}.opmap .op-legend{position:absolute;left:14px;top:14px;z-index:21;background:var(--op-surface);border:1px solid var(--op-line);border-radius:12px;box-shadow:var(--op-shadow-sm);max-width:230px}.opmap .op-legend .lg-toggle{display:flex;align-items:center;gap:6px;width:100%;min-width:120px;padding:7px 11px;font-family:var(--font-mono);font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--op-muted)}.opmap .op-legend .lg-toggle svg{width:12px;height:12px;margin-left:auto}.opmap .op-legend.open .lg-toggle{border-bottom:1px solid var(--op-line)}.opmap .op-legend .lg-list{list-style:none;margin:0;padding:6px 8px 8px;display:grid;gap:2px}.opmap .op-legend li{display:flex;align-items:center;gap:9px;padding:3px 2px}.opmap .op-legend .lg-ico{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;flex-shrink:0;background:var(--op-surface-2);color:var(--op-muted)}.opmap .op-legend .lg-ico svg{width:14px;height:14px}.opmap .op-legend .lg-start .lg-ico{background:var(--op-side);color:var(--op-accent)}.opmap .op-legend .lg-step .lg-ico{background:var(--op-accent-soft);color:var(--op-accent)}.opmap .op-legend .lg-decision .lg-ico{background:var(--op-warn-soft);color:var(--op-warn)}.opmap .op-legend .lg-system_action .lg-ico{background:var(--op-sys-soft);color:var(--op-sys);outline:1.5px dashed var(--op-sys);outline-offset:-1.5px}.opmap .op-legend .lg-interaction .lg-ico{background:var(--op-notice-soft);color:var(--op-notice)}.opmap .op-legend .lg-wait .lg-ico{background:var(--op-wait-soft);color:var(--op-wait);border-radius:50%}.opmap .op-legend .lg-posting .lg-ico{background:var(--op-money-soft);color:var(--op-money)}.opmap .op-legend .lg-sticky .lg-ico{background:var(--op-sticky);color:var(--op-sticky-ink)}.opmap .op-legend .lg-txt b{display:block;font-size:11.5px;font-weight:600;line-height:1.2}.opmap .op-legend .lg-txt small{display:block;font-size:10px;color:var(--op-faint);line-height:1.25}.opmap .op-edge-route{font-size:12px;color:var(--op-muted);margin:0 0 14px;line-height:1.4}.opmap .op-edge-route span:not([aria-hidden]){font-weight:600;color:var(--op-ink)}.opmap .op-field-label{display:block;font-family:var(--font-mono);font-size:9.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--op-muted);margin-bottom:6px}.opmap .op-presets{display:flex;flex-wrap:wrap;gap:6px}.opmap .op-preset{border:1px solid var(--op-line);background:var(--op-surface);color:var(--op-ink);border-radius:8px;padding:6px 11px;font-size:12px;font-weight:600;min-height:32px}.opmap .op-preset:hover{background:var(--op-surface-2)}.opmap .op-preset.active{border-color:var(--op-accent);background:var(--op-accent-soft);color:var(--op-accent)}.opmap .op-preset.danger{color:#dc2626}.opmap .op-preset:disabled{opacity:.5;pointer-events:none}.opmap .op-shape-hint{margin:-6px 0 15px}.opmap .gd-notes{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}.opmap .gd-body>.gd-notes{margin:0 0 16px}.opmap .gd-note{display:flex;gap:8px;align-items:flex-start;padding:7px 9px;border-radius:9px;background:var(--op-surface-2);--sh:var(--op-sys)}.opmap .gd-note.gd-interaction{--sh:var(--op-notice)}.opmap .gd-note.gd-wait{--sh:var(--op-wait)}.opmap .gd-note.gd-posting{--sh:var(--op-money)}.opmap .gd-note-ico{color:var(--sh);flex-shrink:0;margin-top:1px}.opmap .gd-note-ico svg{width:14px;height:14px}.opmap .gd-note-txt{min-width:0;font-size:11.5px;line-height:1.35;color:var(--op-muted)}.opmap .gd-note-txt small{display:block;font-family:var(--font-mono);font-size:8.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--sh)}.opmap .gd-note-txt b{display:block;font-size:12px;color:var(--op-ink)}.opmap .gd-eyebrow-row{display:flex;align-items:center;gap:8px}.opmap .case-panel .case-title{margin:10px 0 0}.opmap .case-empty{display:block;padding:4px 2px 14px;line-height:1.45}.opmap .case-step .op-field{margin-bottom:8px}.opmap .case-actions{display:flex;flex-wrap:wrap;gap:6px}.opmap .case-lines{list-style:none;margin:7px 0 0;padding:0;display:grid;gap:4px}.opmap .case-lines li{font-size:12px;color:var(--op-muted);line-height:1.4;font-variant-numeric:tabular-nums}.opmap .case-follow-start{margin-top:12px}.opmap .case-follow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px}.opmap .case-follow-count{font-size:12px;font-weight:700;color:var(--op-ink);margin-right:auto;font-variant-numeric:tabular-nums}.opmap .case-read,.opmap .case-step{border-radius:10px;transition:background-color .15s}.opmap .case-read.is-active,.opmap .case-step.is-active{background:var(--op-accent-soft);box-shadow:0 0 0 6px var(--op-accent-soft)}.opmap .case-num{border:none;cursor:pointer}.opmap .case-num:focus-visible,.opmap .case-num:hover{background:var(--op-accent);color:var(--op-surface);outline:none}.opmap .case-read-btn{display:block;width:100%;text-align:left;background:none;border:none;padding:0;color:inherit;cursor:pointer}.opmap .case-read-btn:focus-visible h4,.opmap .case-read-btn:hover h4{color:var(--op-accent-h);text-decoration:underline}.opmap .case-read-btn:focus-visible{outline:2px solid var(--op-accent);outline-offset:2px;border-radius:6px}.opmap .case-node-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-top:6px;font-size:12px;line-height:1.4;color:var(--op-muted)}.opmap .case-node-kind{font-family:var(--font-mono);font-size:9.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.opmap .case-node-title{color:var(--op-ink);font-weight:600}.opmap .case-node-stale{margin-top:6px;font-size:12px;font-weight:600;line-height:1.4;color:var(--op-warn)}.opmap .op-case-badge{position:absolute;top:-11px;right:-11px;z-index:2;min-width:24px;height:24px;padding:0 7px;border-radius:12px;border:2px solid var(--op-accent);background:var(--op-ink);color:var(--op-surface);font-size:11px;font-weight:700;line-height:20px;font-variant-numeric:tabular-nums;cursor:pointer;box-shadow:var(--op-shadow-sm)}.opmap .op-case-badge:focus-visible,.opmap .op-case-badge:hover{outline:none;box-shadow:0 0 0 4px var(--op-accent-soft)}@media (pointer:coarse){.opmap .op-case-badge:after{content:"";position:absolute;inset:-10px}}.opmap .react-flow__node.case-active .card,.opmap .react-flow__node.case-active .sticky,.opmap .react-flow__node.case-active .textblock{outline:3px solid var(--op-accent);outline-offset:4px;box-shadow:0 0 0 10px var(--op-accent-soft),var(--op-shadow-lg)}.opmap .react-flow__edge.case-edge .react-flow__edge-path{stroke:var(--op-accent);stroke-width:3}@media (max-width:1023px){.opmap .side-panel{border-right:none;border-left:none}.opmap .guide-panel,.opmap .side-panel{width:100%;min-width:0}.opmap .canvas-shell{flex-direction:column}.opmap .op-drawer{width:100%}.opmap .tool-dock{bottom:12px;padding:5px;flex-wrap:wrap;justify-content:center;max-width:calc(100% - 24px)}.opmap .tool{width:44px;height:44px}.opmap .hint-chip{display:none}.opmap .zoom-dock{right:12px;bottom:12px}.opmap .op-legend{left:10px;top:10px}.opmap .op-preset{min-height:44px}.opmap .z-btn{width:44px;height:40px}}.opmap-toast[data-sonner-toast]{background:#0f1115;border:1px solid #22262e;color:#fff;font-size:12.5px;font-weight:500;border-radius:11px;box-shadow:0 12px 32px rgba(15,23,42,.28)}.opmap-toast[data-sonner-toast] [data-description],.opmap-toast[data-sonner-toast] [data-title]{color:#fff}.opmap-toast[data-sonner-toast] [data-icon] svg{color:#ff6b1a}.opmap-toast[data-sonner-toast] [data-close-button]{background:#22262e;border-color:#333a45;color:#c4cbd7}@media (prefers-reduced-motion:reduce){.opmap *,.opmap-pop *{transition:none!important;animation:none!important}}