.react-flow{direction:ltr;--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: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--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: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--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: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--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 rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.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: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--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: #555;--xy-background-pattern-lines-color-default: #333;--xy-background-pattern-cross-color-default: #333;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--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: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--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 rgba(0, 0, 0, .08);--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{position:absolute;width:100%;height:100%;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{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.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;-moz-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:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.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:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;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%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;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{position:absolute;z-index:5;margin:15px}.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{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.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{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.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{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;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))}.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{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.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-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.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))}:root{font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,sans-serif;color:#293c32;background:#f7f9f7;font-synthesis:none;--green:#285d43;--line:#e4e9e5;--muted:#7a877f;--visible-height:100dvh}*{box-sizing:border-box}body{margin:0}button,textarea,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;cursor:pointer;padding:8px 12px;transition:background .12s}button:hover:not(:disabled){background:#edf2ee}button:active:not(:disabled){background:#dce8df}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9cbda9;outline-offset:2px}button:disabled{cursor:default;opacity:.35}.app-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{display:flex;align-items:center;gap:30px;background:#fff;min-height:86px;padding:12px 26px;border-bottom:1px solid var(--line);flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650;min-width:194px}.brand-icon{width:38px;height:38px;display:grid;place-items:center;color:#fff;background:var(--green);border-radius:12px}.brand-sub{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);margin-top:3px}.document-heading{min-width:0;flex:1}.document-heading h1{font-size:16px;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.save-status{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.status-dot{height:5px;width:5px;background:#67a27d;border-radius:50%}.save-status.error{color:#af4141}.top-actions{display:flex;gap:4px;align-items:center}.local-tag{font-size:11px;color:var(--muted);margin-right:18px;white-space:nowrap}.icon-button{padding:0;width:40px;min-width:40px;height:40px}.export-button{border-color:#dbe3dd;margin-left:12px;background:#fafcfb;font-size:12px}.workspace-toolbar{height:62px;display:flex;align-items:center;padding:0 26px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0;gap:10px}.toolbar-left{display:flex;align-items:center;gap:12px;flex:1}.toolbar-left button{font-size:12px}.layout-trigger{border-color:var(--line);background:#f9fbf9;min-width:170px;justify-content:space-between}.divider{height:22px;width:1px;background:var(--line);margin:0 6px}.node-count{font-size:11px;color:var(--muted);margin-right:12px}.workspace{display:flex;flex:1;min-height:0}.stage{position:relative;flex:1;min-width:0;background:#f7f9f7;outline:none}.stage:focus-visible{box-shadow:inset 0 0 0 2px #91b8a0}.react-flow__node{border:none!important;cursor:grab}.topic{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:14px 20px;line-height:1.5;border:1px solid color-mix(in srgb,var(--branch) 45%,white);border-radius:10px;background:#fff;box-shadow:0 2px 4px #293c3204}.topic-text{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden;width:100%}.topic.root{background:#285843;color:#fff;border-color:#285843}.topic.chosen{box-shadow:0 0 0 3px #afcab5;border-color:var(--green)}.topic.drop-target{box-shadow:0 0 0 5px #84ae98}.fold{position:absolute;right:-12px;top:calc(50% - 12px);border:1px solid #ccd9cf;background:#fff;width:24px;height:24px;min-height:24px;padding:0;border-radius:50%;color:#456450;font-size:15px}.map-paths{position:absolute;left:0;top:0;pointer-events:none;z-index:-1}.react-flow__viewport-portal{z-index:-1}.react-flow__controls{box-shadow:0 3px 16px #263c3210;border:1px solid #dfe6e1;border-radius:10px;overflow:hidden;bottom:25px;right:16px}.react-flow__controls button{border-radius:0;width:40px;height:40px;min-height:40px;background:#fff;border-bottom:1px solid #e9eeeb}.react-flow__attribution{font-size:8px;background:transparent;color:#a5b0a8}.canvas-caption{position:absolute;bottom:20px;left:22px;font-size:10px;color:#87968c;pointer-events:none;max-width:calc(100% - 85px)}.inspector{width:272px;flex-shrink:0;background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:auto}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px 22px;border-bottom:1px solid #edf1ee;min-height:65px}.panel-heading h2{font-size:12px;margin:0;font-weight:600}.small-label{font-size:10px;background:#f0f4f1;border-radius:4px;padding:3px 6px;color:#7e8a82}.inspector-content{padding:24px 22px;flex:1}.eyebrow{display:block;font-size:9px;font-weight:600;color:#85948a;letter-spacing:1px;margin-bottom:12px}.inspector h3{font-size:17px;line-height:1.7;margin:0 0 24px;font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover:not(:disabled){background:#347353}.primary:active:not(:disabled){background:#1d4531}.full{width:100%;font-size:12px}.property-row{display:flex;justify-content:space-between;margin-top:22px;font-size:11px;color:var(--muted)}.property-row strong{color:#4d6154;font-weight:500}.inspector-actions{display:flex;flex-direction:column;gap:4px;margin:15px 0 30px}.inspector-actions>button{justify-content:flex-start;font-size:12px}.inspector-actions svg{color:#81988a}.button-pair{display:flex;gap:6px}.button-pair button{flex:1;justify-content:flex-start;font-size:12px}.danger-text{color:#ab6666}.phase-note{margin:0 22px 22px;padding:14px 0 0;border-top:1px solid var(--line);color:#8a968d;font-size:10px}.phase-note span{font-weight:600}.phase-note p{line-height:1.8;margin:6px 0 0}.note p{font-size:12px;white-space:pre-wrap;line-height:1.8}.outline-panel{width:275px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);overflow:auto}.outline-panel .panel-heading{padding:12px 16px}.outline{padding:12px 0;min-width:max-content}.outline-row{display:flex;align-items:center;min-height:44px;border-radius:6px;padding-right:16px;color:#607065}.outline-row.selected{background:#eaf2ec;color:#254e38}.outline-fold{min-width:32px;width:32px;min-height:36px;padding:4px;flex-shrink:0}.outline-text{justify-content:flex-start;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;padding-left:4px;max-width:650px}.dot{width:5px;height:5px;border-radius:50%}.list-stage{overflow:auto;background:#fafbf9}.main-outline{padding:40px 48px;max-width:1100px;margin:auto}.outline-title>span{font-size:10px;color:#7a927f;letter-spacing:2px}.outline-title h2{font-size:23px;font-weight:500;margin:12px 0}.outline-title p{font-size:12px;color:var(--muted);margin-bottom:30px}.modal{border:none;border-radius:18px;box-shadow:0 25px 90px #15271d35;background:#fff;color:#293c32;width:min(480px,calc(100vw - 32px));max-height:calc(var(--visible-height) - 32px);padding:26px;overflow:auto}.modal.wide{width:min(680px,calc(100vw - 32px))}.modal::backdrop{background:#152a2244}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}.modal h2{font-size:19px;font-weight:600;margin:0}.modal-description{color:var(--muted);font-size:13px;line-height:1.8;margin:0 0 22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.modal-actions button{font-size:13px;min-height:44px}.field-label{font-size:12px;display:block;margin-bottom:10px;color:#63796b}textarea,select{width:100%;border:1px solid #d6e0d9;border-radius:8px;background:#fff;color:#293c32;padding:12px;font-size:16px;line-height:1.6}textarea{resize:vertical;min-height:120px;max-height:calc(var(--visible-height) - 230px)}.input-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:8px}.field-error{color:#a54747;font-size:12px}.muted{color:var(--muted)}.small{font-size:11px;line-height:1.8}.layout-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.layout-card{position:relative;display:flex;flex-direction:column;padding:13px 9px;border:1px solid #e2e8e3;gap:12px;font-size:11px;min-height:122px}.layout-card svg:not(.card-check){width:105px;height:61px;color:#8ea79b}.layout-card.active{background:#f1f7f2;border-color:#7ea78b;box-shadow:0 0 0 1px #7ea78b}.layout-card.active svg{color:#417555}.card-check{position:absolute;right:9px;top:9px}.columns-label{display:flex;align-items:center;gap:15px;font-size:12px;margin-top:20px}.columns-label select{width:85px}.danger{color:#fff;background:#a95050}.danger:hover:not(:disabled){background:#954444}.export-options{display:flex;flex-direction:column;gap:12px}.export-options button{justify-content:flex-start;padding:18px;border:1px solid var(--line);gap:16px;text-align:left}.export-options strong,.export-options small{display:block}.export-options strong{font-size:14px;font-weight:500}.export-options small{font-size:11px;color:var(--muted);margin-top:6px}.help-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.help-actions button{font-size:12px;border-color:var(--line);min-height:44px}.shortcuts{display:grid;grid-template-columns:1fr 1fr;font-size:11px;line-height:2;margin-top:24px}.shortcuts dd{margin:0;color:var(--muted)}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;background:#294a37;color:#fff;padding:8px 10px 8px 20px;border-radius:10px;box-shadow:0 5px 30px #15331c25;font-size:12px;z-index:80;max-width:90vw}.alert{background:#fff2ed;color:#993f30;padding:10px 24px;font-size:12px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.alert button{border-color:#ddb6a9;min-height:32px}.alert>span{font-size:10px}.startup{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;gap:16px;text-align:center}.startup h1{font-size:22px}.startup p{font-size:14px;line-height:1.8;max-width:520px}.startup pre{font-size:11px;max-width:95vw;overflow:auto}.mobile-bar{display:none}@media(max-width:1100px){.topbar{gap:20px;padding:12px 18px}.brand{min-width:155px}.inspector{width:240px}.inspector-content{padding:20px 18px}.local-tag{display:none}.outline-panel{width:230px}.document-heading h1{max-width:320px}}@media(max-width:760px){.topbar{min-height:76px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;gap:12px}.brand{min-width:0}.brand>span:last-child{display:none}.brand-icon{width:33px;height:33px;border-radius:10px}.document-heading h1{font-size:13px;max-width:calc(100vw - 230px)}.save-status{font-size:9px}.top-actions{gap:0}.top-actions .icon-button{width:34px;min-width:34px;height:44px}.top-actions .export-button{width:38px;padding:8px;margin-left:3px}.export-button>span{display:none}.workspace-toolbar{padding:0 14px;height:57px;gap:4px}.toolbar-left{gap:4px}.toolbar-left .divider{margin:0 4px}.toolbar-left button{min-height:44px}.layout-trigger{min-width:166px}.desktop-label{display:none}.node-count{font-size:10px;margin-right:0}.inspector{display:none}.canvas-caption{bottom:15px;left:14px;font-size:9px;max-width:calc(100% - 75px)}.react-flow__controls{bottom:34px;right:8px}.react-flow__controls button{width:44px;height:44px;min-height:44px}.mobile-bar{display:flex;align-items:center;justify-content:space-around;padding:6px 8px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);flex-shrink:0}.mobile-bar button{display:flex;flex-direction:column;gap:5px;font-size:10px;min-height:52px;min-width:66px}.mobile-bar button:nth-child(3){color:var(--green);background:#eef5f0}.outline-panel{position:absolute;left:0;top:133px;bottom:77px;width:min(310px,85vw);z-index:10;box-shadow:10px 0 30px #26483012}.outline-panel .outline{min-width:100%;overflow:auto}.outline-text{max-width:250px}.main-outline{padding:26px 14px 55px}.outline-title{padding:0 12px}.outline-title h2{font-size:20px}.modal,.modal.wide{padding:20px;width:calc(100vw - 16px);border-radius:18px;margin:auto auto calc(8px + env(safe-area-inset-bottom));top:calc(8px + env(safe-area-inset-top));max-height:calc(var(--visible-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px)}.modal h2{font-size:17px}.modal p{font-size:12px}.layout-grid{grid-template-columns:repeat(2,1fr);gap:10px}.layout-card{min-height:114px}.modal-actions{position:sticky;bottom:-20px;background:#fff;padding:12px 0;margin-top:12px;z-index:1}.modal-actions button{min-height:44px}.toast{bottom:90px;min-width:260px}.fold{width:32px;height:32px;min-height:32px;right:-16px;top:calc(50% - 16px)}.alert{padding:8px 14px;gap:6px}.shortcuts{line-height:1.9;font-size:10px}.help-actions button{min-height:48px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.axis-label{position:absolute;top:-26px;left:4px;font-size:11px;font-weight:500;line-height:18px;color:#687f70;pointer-events:none}.update-notice{background:#eef5ee;display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;padding:6px}.update-notice button{border-color:#bed1c3;font-size:12px}.node-task{appearance:auto;accent-color:#285d43;width:18px;height:18px;flex:0 0 18px;margin:0 10px 0 0;cursor:pointer}.topic .node-task{align-self:center}.topic .topic-text{flex:1;min-width:0}.completed{text-decoration:line-through;text-decoration-thickness:1px}.topic.fit-content .topic-text{-webkit-line-clamp:unset;display:block}.node-link-mark{position:absolute;right:6px;top:3px;font-size:11px;opacity:.8}.node-tools{border-top:1px solid var(--line);padding:14px 0;margin-bottom:22px;font-size:12px}.node-tools summary{cursor:pointer;min-height:30px}.node-tools .inspector-actions{margin-bottom:4px}.task-field{display:flex;align-items:center;gap:8px;padding:8px 12px;min-height:44px}.task-field input{accent-color:var(--green);width:18px;height:18px}input[type=url]{width:100%;border:1px solid #d6e0d9;border-radius:8px;padding:12px;font-size:16px;color:inherit;background:#fff}.shortcut-groups h3{font-size:13px;font-weight:600;margin:24px 0 8px}.shortcut-row{display:flex;width:100%;justify-content:space-between;gap:14px;font-size:12px;min-height:42px;padding:8px}.shortcut-row kbd{white-space:nowrap;font:11px -apple-system,BlinkMacSystemFont,sans-serif;color:#697e70;background:#f0f4f1;border:1px solid #dce5df;border-radius:5px;padding:3px 6px}.inline-node-input{display:block;flex:1;min-width:0;width:100%;height:100%;min-height:24px;max-height:none;resize:none;border:0;border-radius:0;padding:0;background:transparent;color:inherit;font:inherit;line-height:inherit;outline:none!important;box-shadow:none;overflow:auto;cursor:text}.topic:has(.inline-node-input){box-shadow:0 0 0 3px #16a7ec;border-color:#16a7ec;cursor:text}.outline-row .inline-node-input{flex:0 1 650px;height:auto;min-height:44px;padding:8px;background:#fff;color:#293c32;border:2px solid #16a7ec;border-radius:6px;font-size:16px}.edit-error-message{position:fixed;z-index:70;left:50%;bottom:22px;transform:translate(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);padding:8px 12px;background:#fff;color:#a54747;border:1px solid #e4e8f0;border-radius:10px;box-shadow:0 8px 26px #262d4810;font-size:11px}.edit-error-message button{min-height:36px;font-size:11px;border-color:#d7dce8;color:#59657a;white-space:nowrap}@media(max-width:760px){.app-shell:has(.inline-node-input){height:var(--visible-height)}.edit-error-message{bottom:calc(74px + env(safe-area-inset-bottom));max-width:calc(100vw - 20px);font-size:10px}.edit-error-message button{min-height:40px}}.branch-list-stage .topic{background:transparent;border-color:transparent;box-shadow:none;color:#39464b;border-radius:6px}.branch-list-stage .topic.root{font-weight:650!important}.branch-list-stage .topic.chosen{background:#f0f7fb;box-shadow:0 0 0 2px #afcab5}.branch-list-stage .topic:has(.inline-node-input){box-shadow:0 0 0 3px #16a7ec}.branch-list-stage .fold{left:4px;right:auto;top:calc(100% + 1px);border:2px solid var(--branch);color:var(--branch);width:24px;height:24px;z-index:2}.branch-list-stage .react-flow__background{display:none}:root{color:#282c35;background:#fafbfc;--green:#515ce6;--line:#e9ebf0;--muted:#788190;--accent-soft:#eef0ff}button:hover:not(:disabled){background:#f0f2f7}button:active:not(:disabled){background:#e7eaf5}button:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#afb5f6}.app-shell{position:relative;padding-left:64px}.app-rail{position:absolute;left:0;top:0;bottom:0;width:64px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:20px 10px 16px;z-index:20;gap:18px}.rail-logo{font-size:27px;font-weight:750;letter-spacing:-2px;line-height:30px}.rail-logo span{color:var(--green)}.rail-tools{display:flex;flex-direction:column;gap:12px;margin-top:29px;flex:1}.app-rail .icon-button{width:38px;min-width:38px;height:38px;min-height:38px;color:#7a8292}.rail-tools .icon-button:first-child,.app-rail button[aria-pressed=true]{color:var(--green);background:var(--accent-soft)}.topbar{min-height:68px;padding:12px 24px;gap:18px}.brand{display:none}.document-heading h1{font-size:13px;font-weight:600;margin:0 0 5px;max-width:420px}.save-status{font-size:10px}.status-dot{background:#58a585}.local-tag{font-size:10px;color:#89919e;margin-right:12px}.top-actions .icon-button{color:#737d8d;width:34px;min-width:34px;height:34px;min-height:34px}.export-button{background:var(--green);border-color:var(--green);color:#fff;border-radius:8px;min-height:34px;font-size:11px;padding:8px 12px}.export-button:hover:not(:disabled){background:#434fce}.workspace-toolbar{height:60px;padding:0 24px;border-bottom:0;background:#fafbfc}.toolbar-left{gap:8px}.toolbar-left .divider{display:none}.layout-trigger{min-width:165px;background:#fff;border-color:#e4e7ef;box-shadow:0 2px 5px #24263c03;font-size:11px!important}.toolbar-left>button:not(.layout-trigger){color:#768192;font-size:11px}.node-count{color:#848d9b;font-size:10px}.workspace-toolbar>.icon-button{color:#8891a0}.stage{background:#fafbfc}.stage:focus-visible{box-shadow:inset 0 0 0 2px #d2d7f8}.topic{border-color:color-mix(in srgb,var(--branch) 23%,#e9ebf0);border-radius:9px;box-shadow:0 3px 9px #252b4004;color:#303745}.topic.root{background:#515ce6;border-color:#515ce6;color:#fff}.topic.chosen{border-color:var(--green);box-shadow:0 0 0 3px #e8ebff}.topic.drop-target{box-shadow:0 0 0 5px #c8cef9}.topic:has(.inline-node-input){box-shadow:0 0 0 3px #c8ceff;border-color:var(--green)}.fold{border-color:#dce0eb;color:#8790a0}.react-flow__controls{border-color:#e5e8ef;box-shadow:0 4px 16px #24263c06;border-radius:9px;bottom:22px}.react-flow__controls button{color:#7f8898;border-bottom-color:#edf0f5;width:34px;height:34px;min-height:34px}.canvas-caption{bottom:82px;color:#8b93a0;font-size:9px}.react-flow__attribution{color:#929aaa}.canvas-dock{position:absolute;bottom:22px;left:50%;transform:translate(-50%);display:flex;gap:3px;align-items:center;background:#fff;border:1px solid #e6e9f0;border-radius:12px;padding:5px;box-shadow:0 8px 26px #262d4810;z-index:5;white-space:nowrap}.canvas-dock button{font-size:11px;min-height:36px;padding:8px 10px}.canvas-dock kbd{font:10px -apple-system,BlinkMacSystemFont,sans-serif;color:#9299a6;margin-left:4px}.canvas-dock>span{height:17px;width:1px;background:var(--line)}.inspector{width:246px;border-color:var(--line)}.panel-heading{min-height:58px;padding:18px 22px;border-bottom-color:var(--line)}.panel-heading h2{font-size:12px;color:#48515f}.inspector-content{padding:24px 22px}.eyebrow{color:#929aa7;font-size:9px;letter-spacing:1.2px}.inspector h3{font-size:16px;font-weight:550;color:#343c4a;line-height:1.7;margin-bottom:20px}.small-label{color:#8a93a1;background:#f4f5f9}.property-row{color:#8993a1}.property-row strong{color:#505b6d}.inspector-actions{margin:12px 0 25px;gap:3px}.inspector-actions svg{color:#929baa}.inspector-actions button{font-size:11px;min-height:36px}.primary{background:var(--green);border-color:var(--green)}.primary:hover:not(:disabled){background:#444fd0}.primary:active:not(:disabled){background:#3943b9}.inspector .primary{background:#eef0ff;color:#515ce6;border:0}.inspector .primary:hover{background:#e2e6ff}.phase-note{color:#9098a5;border-color:var(--line)}.note p{color:#798494}.node-tools{color:#667185;border-color:var(--line)}.outline-panel{border-color:var(--line)}.outline-row{color:#606c7d}.outline-row.selected{background:#eef0ff;color:#404ba6}.list-stage{background:#fafbfc}.outline-title>span,.outline-title p{color:#8691a0}.outline-row .inline-node-input{color:#303745;border-color:var(--green)}.branch-list-stage{background:#fff}.branch-list-stage .topic.root{background:transparent;border-color:transparent;color:#303745}.branch-list-stage .topic.chosen{background:#f2f4ff;box-shadow:0 0 0 2px #d4d9fa}.branch-list-stage .topic:has(.inline-node-input){box-shadow:0 0 0 3px #c8ceff;border-color:var(--green)}.modal{color:#303745;border-radius:16px;box-shadow:0 25px 90px #20264329}.modal::backdrop{background:#202a3b38;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.layout-card{border-color:#e6e9ef}.layout-card.active{background:#f2f4ff;border-color:#959ff0;box-shadow:0 0 0 1px #959ff0}.layout-card svg:not(.card-check){color:#a4adbd}.layout-card.active svg{color:#6975ce}.field-label{color:#778397}textarea,select,input[type=url]{border-color:#dfe4ee;color:#303745}.shortcut-row kbd{background:#f4f5fa;border-color:#e6e9f0;color:#748096}.toast{background:#343e59;box-shadow:0 5px 30px #232d4520}.update-notice{background:#eef0ff;color:#535e9b}.update-notice button{border-color:#d4daf6}.node-task,.task-field input{accent-color:var(--green)}@media(max-width:1100px){.document-heading h1{max-width:300px}.inspector{width:226px}.inspector-content{padding:20px 18px}.canvas-dock button{padding:8px}.canvas-dock kbd{display:none}.canvas-caption{max-width:calc(100% - 65px)}}@media(max-width:760px){.app-shell{padding-left:0}.app-rail{display:none}.topbar{min-height:74px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;gap:11px}.brand{display:flex;min-width:0}.brand-icon{background:#eef0ff;color:var(--green);border-radius:10px;width:32px;height:32px}.document-heading h1{max-width:calc(100vw - 218px);font-size:12px}.save-status{font-size:9px}.top-actions .icon-button{width:32px;min-width:32px;min-height:44px}.top-actions .export-button{height:36px;min-height:36px;width:35px;margin-left:3px}.workspace-toolbar{height:57px;padding:0 14px}.layout-trigger{min-width:157px}.canvas-dock{display:none}.mobile-bar{border-color:var(--line);box-shadow:0 -4px 20px #30365a03}.mobile-bar button{color:#8791a2}.mobile-bar button:nth-child(3){background:#eef0ff;color:var(--green);border-radius:10px}.canvas-caption{bottom:14px;left:14px;max-width:calc(100% - 80px)}.react-flow__controls{bottom:32px;right:10px}.react-flow__controls button{width:40px;height:40px;min-height:40px}.outline-panel{top:131px}}.project-home{min-height:100dvh;background:#fafbfe;color:#303747}.library-header{height:82px;display:flex;align-items:center;gap:16px;background:#fff;border-bottom:1px solid #eaedf4;padding:0 5%;font-size:13px;font-weight:650}.library-brand{font-size:32px;font-weight:800;letter-spacing:-2px;color:#303747;text-decoration:none}.library-brand span{color:#515ce6}.library-header small{font-size:8px;letter-spacing:1.7px;display:block;color:#929bab;margin-top:3px}.library-local{margin-left:auto;font-size:11px;font-weight:400;color:#8590a2;display:flex;align-items:center;gap:8px}.library-local>span{width:6px;height:6px;border-radius:50%;background:#66ad90}.library-content{max-width:1400px;padding:52px 5% 35px;margin:auto}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px}.library-heading .eyebrow{font-size:10px;margin:0 0 10px;letter-spacing:2px}.library-heading h1{font-size:29px;letter-spacing:-1px;font-weight:650;margin:0}.library-heading p{font-size:12px;color:#8993a4;margin:12px 0 0}.create-project{font-size:12px;border-radius:9px;padding:12px 18px;min-height:44px}.library-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:30px}.project-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e0e5f0;border-radius:9px;padding:0 13px;width:330px;height:44px;color:#8a93a4}.project-search input{font:inherit;font-size:12px;border:0;outline:none;background:none;min-width:0;width:100%;color:#303747}.project-search:focus-within{outline:2px solid #b1b8f5}.project-search button{width:24px;min-height:26px;padding:0}.library-toolbar select{width:154px;font-size:12px;padding:10px 12px;height:44px;flex-shrink:0}.project-total{font-size:11px;color:#8c96a6;margin-left:auto;white-space:nowrap}.view-toggle{display:flex;padding:3px;gap:3px;border:1px solid #e0e5f0;background:#fff;border-radius:9px}.view-toggle button{color:#8c95a5;width:36px;min-height:34px;padding:6px;border-radius:6px}.view-toggle button[aria-pressed=true]{background:#eef0ff;color:#515ce6}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px}.project-card{display:block;text-align:left;padding:0;overflow:hidden;background:#fff;border:1px solid #e5e8f1;border-radius:15px;box-shadow:0 2px 3px #28365c03;transition:box-shadow .15s,border-color .15s;min-width:0}.project-card:hover:not(:disabled){background:#fff;box-shadow:0 8px 26px #4049690e;border-color:#b8c0ee}.project-cover{height:190px;position:relative;background:#f1f3fb;padding:18px 24px 30px;overflow:hidden;border-bottom:1px solid #f0f2f7}.project-preview{width:100%;height:100%;display:block}.cover-layout{position:absolute;bottom:12px;left:16px;font-size:9px;background:#ffffffc9;color:#808a9e;padding:4px 7px;border-radius:5px}.project-info{padding:19px 20px 16px}.project-info h2{font-size:15px;font-weight:600;margin:0 0 8px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.project-info>p{font-size:11px;color:#8a95a5;margin:0}.project-card-footer{display:flex;align-items:center;justify-content:space-between;color:#99a3b3;margin-top:23px;font-size:10px}.project-card-footer>span{display:flex;align-items:center;gap:6px}.project-grid.as-list{display:flex;flex-direction:column;gap:12px}.as-list .project-card{display:flex;align-items:center}.as-list .project-cover{width:150px;height:108px;flex-shrink:0;border:0;border-right:1px solid #edf0f6;padding:10px 10px 24px}.as-list .project-info{flex:1;display:grid;grid-template-columns:1fr 170px 90px;align-items:center;gap:20px}.as-list .project-info h2,.as-list .project-card-footer{margin:0}.library-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:330px;color:#8792a3;text-align:center;padding:30px;gap:12px}.library-empty h2{font-size:18px;color:#4b566a;margin:8px 0}.library-empty p{font-size:12px;margin:0 0 15px}.library-empty button{font-size:12px}.library-footnote{font-size:10px;color:#929baa;margin-top:32px}.library-error{border:1px solid #edcec5;border-radius:10px;padding:18px;color:#965b4d;background:#fff8f4;font-size:12px}.create-dialog{border:1px solid #e3e7f0;border-radius:16px;padding:28px;width:min(460px,calc(100vw - 32px));color:#303747;box-shadow:0 20px 70px #20294a2a}.create-dialog::backdrop{background:#202a3b38;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.create-dialog h2{font-size:20px;margin:0 0 12px}.create-dialog p{font-size:12px;color:#8490a4;line-height:1.8}.create-dialog label{display:block;font-size:12px;margin:24px 0 10px}.create-dialog input{font:inherit;font-size:14px;width:100%;border:1px solid #dce2ef;border-radius:8px;padding:13px;color:inherit}.home-return{font-size:11px;color:#515ce6;border:1px solid #e0e5f5;background:#f5f6ff;min-height:34px;white-space:nowrap;margin-right:5px}.home-return:disabled{opacity:.45}@media(max-width:760px){.library-header{height:70px;padding:0 20px}.library-local{font-size:9px}.library-content{padding:30px 20px}.library-heading{margin-bottom:26px}.library-heading h1{font-size:24px}.library-heading p{font-size:11px}.create-project{padding:10px 13px;font-size:11px}.library-toolbar{flex-wrap:wrap;gap:10px}.project-search{width:100%;height:44px}.library-toolbar select{width:145px}.project-total{font-size:10px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.project-cover{height:180px}.as-list .project-cover{width:95px}.as-list .project-info{display:block;padding:13px}.as-list .project-info h2{font-size:13px;margin-bottom:6px}.as-list .project-card-footer{margin-top:10px}.home-return{font-size:10px;padding:6px;margin-right:0}.topbar:has(.home-return) .document-heading h1{max-width:calc(100vw - 260px)}.topbar:has(.home-return){gap:7px}.topbar:has(.home-return) .top-actions{gap:0}.topbar:has(.home-return) .brand-icon{width:28px;height:28px}}.project-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.project-cover{flex-shrink:0}.project-info{flex:1;display:flex;flex-direction:column}.project-card-footer{margin-top:auto;padding-top:23px}.project-grid.as-list .project-card{flex-direction:row}.as-list .project-card-footer{padding-top:0}.create-dialog .field-error{color:#a54747}.library-header{height:calc(82px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.library-content{padding-bottom:calc(35px + env(safe-area-inset-bottom))}@media(max-width:760px){.library-header{height:calc(70px + env(safe-area-inset-top))}.project-search input,.create-dialog input,.library-toolbar select{font-size:16px}.create-dialog{max-height:calc(var(--visible-height) - env(safe-area-inset-top) - 24px);overflow:auto}}.library-heading-actions{display:flex;align-items:center;gap:8px}.secondary-action{font-size:12px;border-color:#e0e5f0;background:#fff;min-height:44px}.project-card-wrap{position:relative;min-width:0}.project-card{width:100%}.project-card-copy{position:absolute;right:11px;bottom:11px;width:32px;min-height:32px;padding:4px;color:#8993a4;background:#fff;border:1px solid #e1e5ef;border-radius:8px}.project-card-copy:hover:not(:disabled){color:#515ce6;background:#f0f2ff}.import-summary{display:flex;flex-direction:column;gap:8px;border:1px solid #e0e5f0;background:#f8f9fd;border-radius:10px;padding:14px;font-size:12px}.import-summary span{color:#8993a4;font-size:11px}.as-list .project-card-copy{right:8px;bottom:8px}.sync-dialog{width:min(560px,calc(100vw - 32px))}.sync-select-all{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px;padding:10px 12px;border:1px solid #e0e5f0;border-radius:9px;background:#f8f9fd;font-size:12px}.sync-select-all label,.sync-project-item{display:flex;align-items:center;gap:10px}.sync-select-all span{font-size:11px;color:#8993a4}.sync-project-list{display:flex;flex-direction:column;gap:6px;max-height:280px;overflow:auto;padding-right:3px}.sync-project-item{align-items:flex-start;padding:11px 12px;border:1px solid #e6e9f0;border-radius:9px;cursor:pointer}.sync-project-item:hover{background:#f8f9fd}.sync-project-item input,.sync-select-all input{width:18px;height:18px;accent-color:#515ce6;flex:0 0 auto;margin-top:1px}.sync-project-item span{display:flex;flex-direction:column;gap:3px;min-width:0}.sync-project-item strong{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sync-project-item small{font-size:10px;color:#8993a4}.sync-message{padding:10px 12px;border-radius:8px;background:#eef0ff;color:#535e9b;font-size:11px;line-height:1.6;margin:14px 0 0}@media(max-width:760px){.library-heading-actions{gap:5px}.secondary-action{padding:8px 10px}.project-card-copy{right:8px;bottom:8px}}.sync-project-item.is-account-mismatch{background:#faf7f5;border-color:#eadbd4;color:#8d6e62;cursor:default}.sync-project-item.is-account-mismatch small{color:#a17e70}.library-local>span{background:#a9b1c1}.library-local.is-connected>span{background:#66ad90}.project-sync-status{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:9px;padding:4px 7px;border-radius:999px;background:#f3f5f8;color:#7d8798;font-size:10px}.project-sync-status>span{width:5px;height:5px;border-radius:50%;background:#a9b1c1}.project-sync-status.is-synced{background:#edf7f0;color:#4f8662}.project-sync-status.is-synced>span{background:#66ad90}.project-sync-status.is-conflict{background:#fff2ed;color:#a05b4a}.project-sync-status.is-conflict>span{background:#dd8066}@media(min-width:761px){.as-list .project-info{grid-template-columns:minmax(0,1fr) 150px 108px 90px}.as-list .project-sync-status{margin-top:0}}.auth-gate{min-height:100dvh;display:grid;place-items:center;padding:28px;background:linear-gradient(145deg,#f6f7ff,#fafbfe);color:#303747}.auth-card{width:min(430px,calc(100vw - 32px));padding:42px 38px;background:#fff;border:1px solid #e4e7f1;border-radius:22px;box-shadow:0 18px 70px #25305c12;text-align:center}.auth-mark{display:inline-flex;align-items:baseline;justify-content:center;width:58px;height:58px;margin-bottom:24px;border-radius:18px;background:#eef0ff;color:#515ce6;font-size:34px;font-weight:800;letter-spacing:-3px}.auth-mark span{color:#7f88e9}.auth-card .eyebrow{margin-bottom:12px;color:#7e88a1;letter-spacing:2px}.auth-card h1{margin:0;font-size:23px;letter-spacing:-.5px}.auth-card p:not(.eyebrow){margin:15px 0 0;color:#7e899d;font-size:12px;line-height:1.9}.auth-card .auth-action{width:100%;min-height:48px;margin-top:28px;border-radius:11px;font-size:13px}.auth-card small{display:block;margin-top:18px;color:#9aa3b2;font-size:10px;line-height:1.7}input[type=search]{width:100%;border:1px solid #d6e0d9;border-radius:8px;padding:12px;font-size:16px;color:inherit;background:#fff}.search-results{display:flex;flex-direction:column;gap:4px;margin-top:16px;max-height:280px;overflow:auto}.search-results button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;border:1px solid #e2e8e3;border-radius:8px;padding:10px 12px}.search-results small{color:var(--muted);white-space:pre-wrap;max-height:44px;overflow:hidden}.note{position:relative}.note-edit{position:absolute;right:0;top:-8px;font-size:10px;min-height:28px;padding:4px 8px;color:var(--green)}.add-child{position:absolute;z-index:4;width:38px;height:38px;min-height:38px;padding:0;border:3px solid #fafbfc;border-radius:50%;background:var(--green);color:#fff;box-shadow:0 3px 9px #303a9d35;transition:transform .12s,box-shadow .12s}.add-child:hover:not(:disabled){background:var(--green);transform:scale(1.06);box-shadow:0 5px 14px #303a9d45}.add-child:active:not(:disabled){background:var(--green);transform:scale(.94)}.add-child-right{right:-21px;top:calc(50% - 19px)}.add-child-left{left:-21px;top:calc(50% - 19px)}.topic:has(.fold) .add-child-right,.topic:has(.fold) .add-child-left{top:calc(50% + 12px)}.branch-list-stage .add-child{border-color:#fff}.branch-list-stage .add-child-right{right:-19px}.branch-list-stage .add-child-left{left:-19px}:root{--color-blue:#4f6fe8;--color-teal:#2aa7a0;--color-green:#4eaa72;--color-orange:#ee9d4e;--color-red:#e56f71;--color-pink:#dd6ab7;--color-purple:#8d72df;--color-gray:#7d8795}.topic:not(.root){color:var(--font-color,#303745)}.topic-text{text-align:inherit;text-decoration:inherit}.style-dock{position:absolute;right:218px;bottom:22px;z-index:6;display:flex;align-items:center;gap:3px;padding:5px;background:#fff;border:1px solid #e6e9f0;border-radius:12px;box-shadow:0 8px 26px #262d4810}.style-dock button{min-height:36px;padding:8px 11px;font-size:11px;color:#697386;white-space:nowrap}.style-dock button:hover{color:var(--green)}.style-aa{font-weight:700;font-size:14px;line-height:1}.context-sheet{position:fixed;z-index:65;left:50%;bottom:82px;transform:translate(-50%);width:min(680px,calc(100vw - 360px));max-height:calc(var(--visible-height) - 116px);display:flex;flex-direction:column;background:#fff;color:#303745;border:1px solid #e1e5ef;border-radius:18px;box-shadow:0 18px 60px #20264329;overflow:hidden}.context-sheet-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid #edf0f5;flex-shrink:0}.context-sheet-heading .eyebrow{margin:0 0 5px;color:#8b95a5}.context-sheet-heading h2{margin:0;font-size:16px;font-weight:650}.context-sheet-heading p{max-width:460px;margin:5px 0 0;font-size:11px;line-height:1.45;color:#758092;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-sheet-body{overflow:auto;padding:18px 20px 6px;min-height:0}.context-description,.setting-note{margin:0 0 16px;font-size:11px;line-height:1.7;color:#7b8798}.setting-note{padding:9px 11px;border-radius:8px;background:#f6f7fc;color:#6e7891}.style-control-group{display:flex;flex-direction:column;gap:8px;margin:0 0 17px}.style-control-row{display:flex;align-items:flex-end;gap:12px;margin-bottom:17px}.style-label{font-size:11px;color:#6d788b}.style-label strong{font-weight:600;color:#4e5a70;margin-left:5px}.style-segmented{display:flex;flex-wrap:wrap;gap:3px;padding:3px;background:#f2f3f7;border-radius:9px}.style-segmented button{flex:1;min-width:58px;min-height:42px;padding:7px 10px;font-size:11px;border-radius:7px;color:#687386}.style-segmented button.active{background:#fff;color:var(--green);box-shadow:0 2px 6px #29355e12}.style-segmented button:disabled{opacity:.35}.style-format-buttons button{min-width:60px}.style-format-buttons small{display:block;font-size:9px;color:#9aa3b1;margin-top:2px}.style-format-buttons button.active small{color:#717bcf}.style-select{display:flex;align-items:center;gap:8px;flex:1;font-size:11px;color:#6d788b}.style-select select{width:auto;min-width:126px;height:42px;padding:8px 30px 8px 10px;font-size:12px}.style-stepper{display:flex;align-items:center;gap:3px;padding:3px;background:#f2f3f7;border-radius:9px}.style-stepper span{min-width:64px;text-align:center;font-size:11px;color:#626d80}.style-stepper button{width:42px;min-width:42px;min-height:38px;padding:5px;font-size:19px}.style-colors{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.color-chip{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;background:var(--chip);border:3px solid #fff;box-shadow:0 0 0 1px #dbe0ea}.color-chip.active{box-shadow:0 0 0 2px var(--green),0 0 0 4px #fff}.background-none{min-height:34px;padding:6px 11px;border-color:#dbe0ea;background:#fafbfe;color:#7a8493;font-size:11px}.background-none.active{border-color:var(--green);color:var(--green);box-shadow:0 0 0 1px var(--green)}.style-range{width:100%;accent-color:var(--green);min-height:30px}.branch-layout-grid{display:grid;grid-template-columns:repeat(4,minmax(74px,1fr));gap:7px}.branch-layout-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:68px;padding:7px 5px;border:1px solid #e5e8f0;border-radius:9px;color:#687386}.branch-layout-grid button.active{background:#f1f3ff;border-color:#98a1ed;color:#515ce6;box-shadow:0 0 0 1px #98a1ed}.branch-layout-grid button:disabled{opacity:.35}.branch-layout-grid small{font-size:10px}.branch-mini{position:relative;display:block;width:36px;height:25px;color:currentColor}.branch-mini:before,.branch-mini:after{content:"";position:absolute;display:block;border:2px solid currentColor}.branch-mini:before{left:16px;top:1px;width:2px;height:23px;border-width:0 0 0 2px}.branch-mini:after{left:17px;top:3px;width:16px;height:18px;border-width:2px 0 0 2px;border-radius:7px}.branch-mini-left{transform:scaleX(-1)}.branch-mini-down{transform:rotate(90deg)}.branch-mini-up{transform:rotate(-90deg)}.branch-mini-radial:before{left:17px;top:3px;width:3px;height:3px;border:3px solid currentColor;border-radius:50%}.branch-mini-radial:after{left:2px;top:1px;width:32px;height:22px;border-width:2px;border-style:dashed;border-radius:50%}.branch-mini-list:before{left:4px;top:1px;width:2px;height:23px;border-width:0 0 0 2px}.branch-mini-list:after{left:6px;top:4px;width:27px;height:15px;border-width:2px 0 0 2px;border-radius:6px}.disabled-reason{font-size:10px;color:#9a7480}.context-sheet-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 20px 16px;border-top:1px solid #edf0f5;background:#fff;flex-shrink:0}.context-sheet-footer>span{margin-right:auto;font-size:10px;color:#8993a3}.context-sheet-footer button{min-height:42px;font-size:11px}.context-sheet-footer .primary{padding-inline:18px}@media(max-width:1100px){.context-sheet{width:min(650px,calc(100vw - 290px))}.style-dock{right:185px}}@media(max-width:760px){.style-dock{display:none}.context-sheet{left:0;right:0;bottom:calc(69px + env(safe-area-inset-bottom));transform:none;width:100%;max-height:calc(var(--visible-height) - 90px);border-radius:18px 18px 0 0;box-shadow:0 -12px 45px #20264322}.context-sheet-heading{padding:15px 16px 12px}.context-sheet-body{padding:15px 16px 2px}.context-sheet-footer{padding:10px 16px calc(10px + env(safe-area-inset-bottom));flex-wrap:wrap}.context-sheet-footer>span{flex-basis:100%;margin:0 0 3px}.style-control-row{align-items:stretch;flex-direction:column;gap:10px}.style-select{justify-content:space-between}.style-select select{flex:1}.branch-layout-grid{grid-template-columns:repeat(4,1fr);gap:6px}.branch-layout-grid button{min-height:64px}.color-chip{width:38px;min-width:38px;height:38px;min-height:38px}.style-segmented button{min-height:44px}.style-stepper button{min-height:42px}.context-sheet-footer button{min-height:44px}.mobile-bar button{min-width:58px;padding-inline:4px}.mobile-bar button:nth-child(3),.mobile-bar button:nth-child(4){background:#eef0ff;color:var(--green);border-radius:10px}}@media(prefers-reduced-motion:reduce){.style-dock,.context-sheet{transition:none!important}}
