*{box-sizing:border-box}body{margin:0}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg:#0f1115;--surface:#16181d;--border:#292e38;--text:#dddfe9;--dim:#7b83a7;--accent:#5b8dee;--accent2:#7c3aed;--mint:#2dd4bf;--danger:#ef4444;--selected-bg:#1d2330;--selected-border:#5b8dee;--sidebar-w:220px}body{background:var(--bg);color:var(--text);height:100vh;font-family:Pretendard,Noto Sans KR,system-ui,sans-serif;font-size:14px;overflow:hidden}#root,.app{flex-direction:column;height:100vh;display:flex}.main-layout{flex:1;display:flex;position:relative;overflow:hidden}.main-area{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.canvas{flex:1;position:relative;overflow:auto}.bottom-panel{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;height:180px;overflow-y:auto}.topbar{background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:10px;height:52px;padding:0 14px;display:flex}.topbar-hamburger,.topbar-settings-btn{color:var(--dim);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;padding:6px;font-size:18px;line-height:1;transition:color .15s,background .15s}.topbar-hamburger:hover,.topbar-settings-btn:hover{color:var(--text);background:#ffffff0f}.topbar-logo{color:var(--text);letter-spacing:-.5px;white-space:nowrap;flex-shrink:0;font-size:16px;font-weight:700}.topbar-hint{color:var(--dim);white-space:nowrap;text-overflow:ellipsis;text-align:center;flex:1;font-size:11px;overflow:hidden}.topbar-settings-btn{margin-left:auto;font-size:16px}@media (width<=600px){.topbar-hint{display:none}}.sidebar-overlay{z-index:100;background:#00000080;position:fixed;inset:0}.sidebar{height:100vh;width:var(--sidebar-w);background:var(--surface);border-right:1px solid var(--border);z-index:101;will-change:transform;flex-direction:column;transition:transform .22s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;top:0;left:0;transform:translate(-100%)}.sidebar--open{transform:translate(0)}.sidebar-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:16px 16px 12px;display:flex}.sidebar-title{color:var(--text);font-size:15px;font-weight:700}.sidebar-close{color:var(--dim);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px;font-size:14px}.sidebar-close:hover{color:var(--text);background:#ffffff12}.sidebar-nav{flex-direction:column;flex:1;gap:2px;padding:12px 8px;display:flex}.sidebar-section-label{text-transform:uppercase;letter-spacing:.08em;color:var(--dim);padding:6px 8px 4px;font-size:10px;font-weight:600}.sidebar-nav-btn{width:100%;color:var(--dim);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;padding:9px 12px;font-family:inherit;font-size:14px;transition:background .12s,color .12s;display:flex}.sidebar-nav-btn:hover{color:var(--text);background:#ffffff0f}.sidebar-nav-btn.active{color:var(--accent);background:#5b8dee26;font-weight:600}.sidebar-nav-icon{text-align:center;width:20px;font-size:16px}.sidebar-bottom{border-top:1px solid var(--border);padding:8px}.outline-view{min-height:100%;padding:20px 24px}.outline-row{cursor:text;border:1px solid #0000;border-radius:6px;align-items:flex-start;gap:4px;margin-bottom:2px;padding:3px 6px;transition:background .1s;display:flex}.outline-row:hover{background:#ffffff08}.outline-row:hover .outline-date-btn{opacity:1}.outline-row.selected{background:var(--selected-bg);border-color:var(--selected-border)}.collapse-btn{width:18px;color:var(--dim);cursor:pointer;-webkit-user-select:none;user-select:none;flex-shrink:0;padding-top:3px;font-size:10px}.collapse-btn:hover{color:var(--text)}.outline-input{color:var(--text);resize:none;background:0 0;border:none;outline:none;flex:1;min-height:22px;font-family:inherit;font-size:14px;line-height:1.5;overflow:hidden}.outline-input::placeholder{color:var(--dim)}.outline-date-badge{color:var(--mint);cursor:pointer;white-space:nowrap;background:#2dd4bf1a;border:1px solid #2dd4bf40;border-radius:10px;flex-shrink:0;padding:1px 7px;font-size:11px}.outline-date-badge:hover{background:#2dd4bf33}.outline-date-hidden{opacity:0;pointer-events:none;width:0;height:0;position:absolute}.outline-date-btn{color:var(--dim);cursor:pointer;opacity:0;background:0 0;border:none;flex-shrink:0;padding:2px;font-size:13px;line-height:1;transition:opacity .1s}.outline-date-btn:hover{color:var(--mint)}.ref-chips{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.ref-chip{color:#a78bfa;background:#7c3aed26;border:1px solid #7c3aed66;border-radius:12px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;display:inline-flex}.ref-chip-del{color:#a78bfa;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;line-height:1}.ref-chip-del:hover{color:var(--danger)}.add-root-btn{border:1px dashed var(--border);color:var(--dim);cursor:pointer;background:0 0;border-radius:6px;margin-top:12px;padding:6px 14px;font-size:13px;transition:all .15s}.add-root-btn:hover{border-color:var(--accent);color:var(--accent)}.mm-node{background:var(--surface);border:1.5px solid var(--border);cursor:pointer;border-radius:10px;align-items:center;gap:4px;min-width:120px;max-width:220px;padding:8px 12px;transition:border-color .15s,box-shadow .15s;display:flex;position:relative}.mm-node--selected{border-color:var(--accent);box-shadow:0 0 0 2px #5b8dee40}.mm-node:hover{border-color:var(--accent)}.mm-node-input{color:var(--text);background:0 0;border:none;outline:none;flex:1;min-width:80px;font-family:inherit;font-size:13px}.mm-node-input::placeholder{color:var(--dim)}.mm-node-del{color:var(--dim);cursor:pointer;opacity:0;background:0 0;border:none;padding:0 2px;font-size:14px;line-height:1;transition:opacity .15s}.mm-node:hover .mm-node-del{opacity:1}.mm-node-del:hover{color:var(--danger)}.mm-add-root-btn{background:var(--accent);color:#fff;cursor:pointer;z-index:10;border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;position:absolute;bottom:20px;right:20px;box-shadow:0 2px 12px #5b8dee66}.mm-add-root-btn:hover{opacity:.9}.react-flow__background{background:var(--bg)!important}.react-flow__controls{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:8px!important}.react-flow__controls-button{background:var(--surface)!important;color:var(--text)!important;fill:var(--text)!important;border:none!important}.react-flow__controls-button:hover{background:var(--border)!important}.react-flow__minimap{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:8px!important}.calendar-view{flex-direction:column;height:100%;display:flex;overflow:hidden}.cal-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:16px;padding:16px 20px 12px;display:flex}.cal-title{text-align:center;flex:1;font-size:17px;font-weight:700}.cal-nav-btn{border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:8px;width:36px;height:36px;font-size:20px;line-height:1;transition:background .12s}.cal-nav-btn:hover{background:#ffffff12}.cal-grid{flex:1;grid-template-columns:repeat(7,1fr);padding:0 8px 8px;display:grid;overflow-y:auto}.cal-weekday{text-align:center;color:var(--dim);text-transform:uppercase;letter-spacing:.05em;padding:8px 0;font-size:11px;font-weight:600}.cal-cell{border:1px solid #0000;border-radius:8px;flex-direction:column;gap:3px;min-height:80px;padding:6px;transition:background .1s;display:flex}.cal-cell:hover{background:#ffffff08}.cal-cell--blank{pointer-events:none}.cal-cell--today{border-color:var(--accent)}.cal-cell--today .cal-day-num{color:var(--accent);font-weight:700}.cal-day-num{color:var(--dim);font-size:12px;line-height:1}.cal-node-list{flex-direction:column;gap:2px;display:flex;overflow:hidden}.cal-node-chip{width:100%;color:var(--accent);cursor:pointer;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:#5b8dee1f;border:none;border-radius:4px;padding:2px 5px;font-family:inherit;font-size:11px;transition:background .1s;display:block;overflow:hidden}.cal-node-chip:hover,.cal-node-chip.active{background:#5b8dee40}.cal-more{color:var(--dim);padding-left:4px;font-size:10px}.cal-assign-bar{border-top:1px solid var(--border);background:var(--surface);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:12px;padding:10px 20px;display:flex}.cal-assign-label{color:var(--dim);flex:1;font-size:13px}.cal-assign-label strong{color:var(--text)}.cal-date-input{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:6px;outline:none;padding:5px 10px;font-family:inherit;font-size:13px}.cal-date-input:focus{border-color:var(--accent)}.cal-date-clear{border:1px solid var(--border);color:var(--danger);cursor:pointer;background:0 0;border-radius:6px;padding:5px 10px;font-family:inherit;font-size:12px}.cal-date-clear:hover{background:#ef44441a}.backlink-panel{flex-wrap:wrap;align-items:flex-start;gap:16px;padding:12px 20px;display:flex}.backlink-empty{color:var(--dim);padding:8px 0;font-size:12px}.backlink-section{flex-direction:column;gap:4px;min-width:140px;display:flex}.backlink-label{text-transform:uppercase;letter-spacing:.08em;color:var(--dim);font-size:10px;font-weight:600}.backlink-node-name{color:var(--text);font-size:13px;font-weight:500}.backlink-none{color:var(--dim);font-size:12px}.backlink-list{flex-direction:column;gap:3px;display:flex}.backlink-link{color:var(--accent);cursor:pointer;text-align:left;background:0 0;border:none;padding:2px 0;font-family:inherit;font-size:12px}.backlink-link:hover{text-decoration:underline}.backlink-ref-item{align-items:center;gap:4px;display:flex}.backlink-unref{color:var(--dim);cursor:pointer;background:0 0;border:none;font-size:13px}.backlink-unref:hover{color:var(--danger)}.backlink-add-ref{flex:1;min-width:200px}.backlink-search{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:6px;outline:none;width:100%;padding:5px 10px;font-family:inherit;font-size:12px}.backlink-search:focus{border-color:var(--accent)}.backlink-search::placeholder{color:var(--dim)}.backlink-candidates{background:var(--bg);border:1px solid var(--border);border-radius:6px;flex-direction:column;gap:2px;margin-top:4px;padding:4px;display:flex}.backlink-candidate-btn{color:var(--accent2);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-family:inherit;font-size:12px}.backlink-candidate-btn:hover{background:#7c3aed26}.settings-overlay{z-index:200;background:#0009;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.settings-panel{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;width:100%;max-width:420px;max-height:90vh;display:flex;overflow-y:auto}.settings-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 20px 14px;display:flex}.settings-title{font-size:16px;font-weight:700}.settings-close{color:var(--dim);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 6px;font-size:16px}.settings-close:hover{color:var(--text);background:#ffffff12}.settings-preview{border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:4px;margin:16px 20px 0;padding:14px 18px;display:flex}.settings-section{border-bottom:1px solid var(--border);flex-direction:column;gap:14px;padding:16px 20px;display:flex}.settings-section-title{text-transform:uppercase;letter-spacing:.08em;color:var(--dim);font-size:11px;font-weight:700}.settings-slider-row{flex-direction:column;gap:6px;display:flex}.settings-slider-top{justify-content:space-between;align-items:center;display:flex}.settings-slider-label{color:var(--text);font-size:13px}.settings-slider-value{color:var(--dim);font-variant-numeric:tabular-nums;text-align:right;min-width:28px;font-size:12px}.settings-range{appearance:none;background:var(--slider-gradient,var(--border));cursor:pointer;border-radius:4px;outline:none;width:100%;height:8px}.settings-range::-webkit-slider-thumb{-webkit-appearance:none;border:2px solid var(--accent);cursor:pointer;background:#fff;border-radius:50%;width:18px;height:18px;box-shadow:0 1px 4px #0006}.settings-range::-moz-range-thumb{border:2px solid var(--accent);cursor:pointer;background:#fff;border-radius:50%;width:18px;height:18px}.settings-reset{border:1px solid var(--border);color:var(--dim);cursor:pointer;background:0 0;border-radius:8px;margin:16px 20px 20px;padding:9px;font-family:inherit;font-size:13px;transition:all .15s}.settings-reset:hover{border-color:var(--danger);color:var(--danger)}@media (width<=600px){.bottom-panel{height:auto;max-height:180px}.backlink-panel{gap:12px;padding:10px 14px}.backlink-section{flex:120px;min-width:0}.backlink-add-ref{flex:100%;min-width:0}.outline-view{padding:14px 12px}.outline-input{font-size:16px}.cal-cell{min-height:56px;padding:4px}.cal-node-chip{font-size:10px}.mm-add-root-btn{bottom:16px;right:12px}}@media (width>=1025px){.outline-view{max-width:860px;margin:0 auto}}
