.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;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:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation: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;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.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:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;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:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.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.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@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}.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{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.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 rgba(0,89,220,.8)}.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{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.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{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform: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:#3367d9;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%}.loading-spinner{border:4px solid rgba(0,0,0,.1);border-left-color:#22a6b3;border-radius:50%;width:20px;height:20px;animation:spin 1s linear infinite;display:inline-block;margin-right:10px}@keyframes spin{to{transform:rotate(360deg)}}.checkmark{color:green;margin-right:10px}.content-slide{display:none}.final-message{display:none;text-align:center;font-size:1.5em;margin-top:20px}#reviewContent{font-family:Arial,sans-serif;margin:20px}#reviewContent p{background:#f9f9f9;border:1px solid #ddd;padding:10px;border-radius:5px;margin-bottom:10px;color:#000}#reviewContent p strong{color:#333}#text{color:#000}.terms-card{background:#f1f1f1;border:1px solid #ccc;padding:15px;border-radius:5px;margin-bottom:20px}.terms-card h3{margin-top:0;color:#333}.editor-container{display:flex;flex-direction:column;width:100%;height:100%;border:1px solid #e2e8f0;border-radius:4px;overflow:hidden;font-family:system-ui,-apple-system,sans-serif;position:relative;margin:0}.editor{height:100%;margin-bottom:2px;padding:16px;background-color:#fff;overflow-y:auto;line-height:1.5;color:#1e293b}.toolbar{display:flex;align-items:center;padding:8px 12px;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:4px;position:sticky;top:0;z-index:10}.toolbar-group,.font-toolbar{display:flex;gap:2px}.toolbar-button{display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:4px;padding:5px;color:#475569;cursor:pointer;transition:all .2s ease}.toolbar-button:hover{background-color:#e2e8f0;color:#1e293b}.toolbar-button.active{background-color:#cbd5e1;color:#0f172a;font-weight:500}.font-button{font-size:12px;padding:4px 8px;white-space:nowrap}.divider{width:1px;height:24px;background-color:#e2e8f0;margin:0 6px}.editor [style*=font-size]{line-height:normal!important}.editor span{vertical-align:baseline}.editor:focus{outline:none}.editor table{border-collapse:collapse;width:100%;margin:16px 0}.editor table td{border:1px solid #ccc;padding:8px}.editor img{max-width:100%;height:auto;margin:8px 0}.editor a{color:#0284c7;text-decoration:none}.editor a:hover{text-decoration:underline}.editor ul,.editor ol{padding-left:2.5em;margin:.5em 0;list-style-position:inside}.editor ul{list-style-type:disc}.editor ol{list-style-type:decimal}.editor ul li,.editor ol li{margin-bottom:.5em;padding-left:0;display:list-item}.editor ul ul,.editor ol ol,.editor ul ol,.editor ol ul{margin:.5em 0;padding-left:2em}.dialog-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.dialog{background-color:#fff;border-radius:8px;width:350px;padding:20px;box-shadow:0 4px 20px #00000026}.dialog-title{margin-top:0;margin-bottom:16px;font-size:18px;font-weight:600;color:#1e293b}.dialog-content{margin-bottom:20px}.form-group{margin-bottom:12px;display:flex;align-items:center}.form-group label{width:80px;font-size:14px;color:#475569}.input-number,.input-text{padding:6px 10px;border:1px solid #e2e8f0;border-radius:4px;font-size:14px}.input-number{width:80px}.input-text{flex:1;min-width:200px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.dialog-button{padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer;border:none;font-weight:500}.cancel-button{background-color:#f1f5f9;color:#475569}.insert-button{background-color:#0ea5e9;color:#fff}.table-preview{margin-top:16px;display:flex;flex-direction:column;border:1px solid #e2e8f0;width:100%;max-width:250px;position:relative}.preview-row{display:flex;height:20px}.preview-cell{border:1px solid #cbd5e1;flex:1;min-width:20px}.preview-ellipsis{text-align:center;color:#94a3b8;font-size:12px;padding:2px}.preview-ellipsis-right{position:absolute;right:-20px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:12px}.dropdown-container{position:relative;display:inline-block}.dropdown-toggle{display:flex;align-items:center;gap:4px;padding:5px 8px;min-width:90px;justify-content:space-between}.dropdown-icon{margin-left:4px}.dropdown-icon-left{margin-right:4px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;min-width:150px;padding:5px 0;margin-top:2px;background-color:#fff;border:1px solid #e2e8f0;border-radius:4px;box-shadow:0 4px 6px #0000001a;max-height:300px;overflow-y:auto}.font-size-menu{max-height:250px;overflow-y:auto;width:100px}.dropdown-item{display:block;width:100%;padding:8px 12px;text-align:left;background:none;border:none;cursor:pointer;font-size:14px;color:#1e293b;white-space:nowrap}.dropdown-item:hover{background-color:#f1f5f9}.dropdown-item.active{background-color:#e0f2fe;color:#0369a1;font-weight:500}.dropdown-item[data-value=h1]{font-size:24px;font-weight:700}.dropdown-item[data-value=h2]{font-size:20px;font-weight:700}.dropdown-item[data-value=h3]{font-size:18px;font-weight:700}.dropdown-item[data-value=h4]{font-size:16px;font-weight:700}.dropdown-item[data-value=h5]{font-size:14px;font-weight:700}.dropdown-item[data-value=h6]{font-size:12px;font-weight:700}.editor h1{font-size:2em;margin-bottom:.5em;font-weight:700}.editor h2{font-size:1.5em;margin-bottom:.5em;font-weight:700}.editor h3{font-size:1.17em;margin-bottom:.5em;font-weight:700}.editor h4{font-size:1em;margin-bottom:.5em;font-weight:700}.editor h5{font-size:.83em;margin-bottom:.5em;font-weight:700}.editor h6{font-size:.67em;margin-bottom:.5em;font-weight:700}.legal-draft-container{background-color:transparent!important;border:none!important;box-shadow:none!important}.litigation-editor-container{font-family:Arial,sans-serif;height:100%;display:flex;flex-direction:column}.litigation-editor-container .toolbar{display:flex;flex-wrap:wrap;gap:2px;padding:4px;border-bottom:1px solid #e5e7eb;background-color:#f9fafb}.litigation-editor-container .toolbar-group{display:flex;gap:2px}.litigation-editor-container .toolbar-button{display:flex;align-items:center;justify-content:center;padding:3px 6px;background-color:transparent;border:none;border-radius:3px;cursor:pointer;color:#4b5563}.litigation-editor-container .toolbar-button:hover{background-color:#e5e7eb}.litigation-editor-container .toolbar-button.active{background-color:#e5e7eb;color:#1f2937}.litigation-editor-container .divider{width:1px;background-color:#e5e7eb;margin:0 4px}.litigation-editor-container .editor{padding:16px;flex:1;outline:none;overflow-y:auto;line-height:1.5}.litigation-editor-container .ql-editor{font-size:14px!important;padding:16px!important}.litigation-view-content{font-family:Arial,sans-serif;font-size:14px;line-height:1.5;color:#333}.litigation-view-content h3{font-size:18px;font-weight:600;margin-bottom:16px;margin-top:0}.litigation-view-content h4{font-size:16px;font-weight:600;margin-top:24px;margin-bottom:12px}.litigation-view-content p{margin-bottom:12px}.litigation-view-content ul{margin-left:24px;margin-bottom:16px;list-style-type:disc}.litigation-view-content li{margin-bottom:4px}.custom-select{appearance:none;background-color:transparent;border:none;padding:0;margin:0;font-family:inherit;font-size:inherit;cursor:pointer;line-height:inherit;outline:none}.custom-select-wrapper{position:relative;display:inline-block}.custom-select-arrow{position:absolute;top:50%;right:0;transform:translateY(-50%);pointer-events:none}.ql-toolbar.ql-snow{border:none!important;padding:4px!important}.ql-container.ql-snow{border:none!important}.ai-prompt-container{position:relative;z-index:10}.prose{max-width:none;color:#333}.prose h1,.prose h2,.prose h3,.prose h4{color:#111;font-weight:600;margin-top:1.5em;margin-bottom:.5em}.prose h3{font-size:1.25rem;margin-top:0}.prose h4{font-size:1.125rem}.prose p,.prose ul{margin-top:0;margin-bottom:1em}.prose li{margin-top:.25em;margin-bottom:.25em}.litigation-editor-container{height:100%;overflow:hidden;display:flex;flex-direction:column}.litigation-view-content{height:100%;overflow-y:auto;will-change:transform;-webkit-overflow-scrolling:touch}.view-container{will-change:transform;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.editor-container{will-change:transform;-webkit-overflow-scrolling:touch}.ql-container{height:calc(100% - 42px)!important}.ql-editor{height:100%!important;overflow-y:auto;will-change:transform;-webkit-overflow-scrolling:touch}.ql-toolbar{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid #e5e7eb!important;background-color:#f9fafb!important}.ql-container{border:none!important;font-family:inherit!important}.ql-editor{padding:1rem!important;font-size:1rem!important;line-height:1.5!important}.ai-prompt-container{border-top:1px solid #e5e7eb;background-color:#fff;padding:1rem;z-index:10}
