:root{--bg-primary:#fff;--bg-secondary:#f3f3f3;--bg-panel:#e1dfdd;--bg-hover:#e5f3ff;--text-main:#333;--text-muted:#666;--accent:#053d68;--accent-hover:#106ebe;--border-color:#d2d2d2;--focus-ring:#0078d480;--font-family:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif;--grid-border:#e0e0e0}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-primary);color:var(--text-main);font-family:var(--font-family);font-size:13px;line-height:1.5;overflow:hidden}.hide-scrollbar::-webkit-scrollbar{display:none}.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}#root{flex-direction:column;width:100vw;height:100vh;display:flex}.app-header{background-color:var(--bg-secondary);border-bottom:1px solid var(--border-color);flex-direction:column;display:flex}.top-bar{background-color:var(--accent);color:#fff;align-items:center;gap:15px;padding:5px 15px;display:flex}.app-title{font-size:14px;font-weight:600}.ribbon-menu{background-color:var(--bg-primary);border-bottom:1px solid var(--border-color);gap:20px;padding:8px 15px;display:flex}.ribbon-item{cursor:pointer;border-radius:2px;padding:4px 8px;position:relative}.ribbon-item:hover{background-color:var(--bg-secondary)}.dropdown-menu{background-color:var(--bg-primary);border:1px solid var(--border-color);z-index:100;flex-direction:column;min-width:150px;display:flex;position:absolute;top:100%;left:0;box-shadow:0 4px 6px #0000001a}.dropdown-item{cursor:pointer;align-items:center;padding:8px 12px;display:flex}.dropdown-item:hover{background-color:var(--bg-hover)}.menu-separator{background-color:var(--grid-border);height:1px;margin:4px 0}.dropdown-submenu-parent{position:relative}.dropdown-submenu{background-color:var(--bg-primary);border:1px solid var(--border-color);z-index:100;flex-direction:column;min-width:150px;display:none;position:absolute;top:0;left:100%;box-shadow:0 4px 6px #0000001a}.dropdown-submenu-parent:hover .dropdown-submenu{display:flex}.toolbar{background-color:var(--bg-secondary);align-items:center;gap:10px;padding:8px 15px;display:flex}.toolbar-btn{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:2px;align-items:center;gap:5px;padding:4px 8px;display:flex}.toolbar-btn:hover{background-color:var(--bg-panel);border-color:var(--border-color)}.main-content{flex:1;display:flex;position:relative;overflow:hidden}.grid-container{background-color:var(--bg-primary);flex-direction:column;width:100%;height:100%;display:flex;overflow:auto}.grid-table{border-collapse:collapse;text-align:left;table-layout:fixed;width:max-content;min-width:100%}.grid-th{background-color:var(--bg-secondary);color:var(--text-main);border-bottom:1px solid var(--grid-border);border-right:1px solid var(--grid-border);z-index:10;-webkit-user-select:none;user-select:none;white-space:nowrap;text-align:center;vertical-align:middle;height:41px;padding:6px 4px;font-size:12px;font-weight:600;position:sticky;top:0}.grid-th.sticky-col{z-index:20;left:var(--sticky-left,0)}.grid-td{border-bottom:1px solid var(--grid-border);border-right:1px solid var(--grid-border);color:var(--text-main);background-color:var(--bg-primary);white-space:nowrap;text-overflow:ellipsis;height:30px;padding:0 4px;overflow:hidden}.grid-td.sticky-col{left:var(--sticky-left,0);z-index:5;background-color:var(--bg-primary);position:sticky}.grid-tr{height:30px}.grid-tr:hover .grid-td,.grid-tr:focus-within .grid-td{background-color:#f5f5f5!important}.grid-tr.selected-row .grid-td{background-color:#e8f0fe!important}.grid-tr.drag-over .grid-td{border-top:2px solid var(--accent)}.cell-content{align-items:center;width:100%;height:100%;display:flex}.fold-icon{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;width:16px;height:16px;margin-right:4px;display:inline-flex}.input-cell{color:inherit;font-family:inherit;font-size:inherit;cursor:cell;background:0 0;border:1px solid #0000;border-radius:0;outline:none;width:100%;height:100%;padding:2px 6px;transition:background-color 50ms}.input-cell:focus,.input-cell:focus-within{outline-offset:-2px;z-index:10;position:relative;background-color:#fff!important;outline:2px solid #217346!important}.input-cell.editing-cell{z-index:15;cursor:text;color:#000!important;background-color:#fff!important;border:none!important;outline:2px solid #1a73e8!important}.input-cell.override{color:#a05a00}.font-bold{font-weight:700}.timeline-header-cell{z-index:11;background-color:var(--bg-secondary);vertical-align:top;height:40px;position:sticky;top:0}.timeline-months{height:20px;display:flex}.timeline-month{text-align:center;white-space:nowrap;height:20px;font-size:11px;line-height:20px;overflow:hidden}.timeline-days{border-top:1px solid var(--grid-border);height:20px;display:flex}.timeline-day{text-align:center;border-right:1px solid var(--grid-border);width:20px;min-width:20px;color:var(--text-muted);height:20px;font-size:10px;line-height:20px}.timeline-cell{padding:0;position:relative;overflow:visible}.gantt-timeline-track{box-sizing:border-box;contain:layout style}.gantt-bar-container{align-items:center;height:14px;display:flex;position:absolute;top:4px}.gantt-bar{background-color:#8cb6ce;border:1px solid #5c8ba6;border-radius:2px;width:100%;height:100%}.gantt-bar.group{background-color:#333;border:none;border-radius:0;height:8px;position:relative}.gantt-bar.group:before,.gantt-bar.group:after{content:"";border-top:8px solid #333;width:0;height:0;position:absolute;top:0}.gantt-bar.group:before{border-right:6px solid #0000;left:0}.gantt-bar.group:after{border-left:6px solid #0000;right:0}.gantt-milestone{background-color:#333;width:12px;height:12px;margin-left:1px;transform:rotate(45deg)}.react-flow{direction:ltr}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.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 .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1px;fill:none}.react-flow__edge{pointer-events:visibleStroke;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:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__connectionline{z-index:1001}.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:-webkit-grab;cursor:grab;position:absolute}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background:#1a192b;border:1px solid #fff;border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-top{top:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{top:50%;right:-4px;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.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.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{background:#ffffff80;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}.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-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{color:#222;text-align:center;background-color:#fff;border:1px solid #1a192b;border-radius:3px;width:150px;padding:10px;font-size:12px}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.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:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted #0059dccc}.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{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{box-sizing:content-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fefefe;border:none;border-bottom:1px solid #eee;justify-content:center;align-items:center;width:16px;height:16px;padding:5px;display:flex}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.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:#3367d9;border:1px solid #fff;border-radius:1px;width:4px;height:4px;transform: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:0 solid #3367d9}.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%}
