.de-root{height:100%;display:flex;flex-direction:column;overflow:hidden}.de-header{display:flex;align-items:center;gap:4px;padding:8px 16px;border-bottom:1px solid #e5e7eb;background:#fff;flex-shrink:0;flex-wrap:wrap}.de-body{display:flex;flex:1;overflow:hidden}.de-diagram-area{flex:1;min-width:0;position:relative}.de-toolbar-btn{padding:4px 8px;font-size:12px;border:1px solid #d9d9d9;border-radius:4px;background:#fff;cursor:pointer;transition:all .2s;white-space:nowrap;line-height:1.4}.de-toolbar-btn:hover{background:#f5f5f5;border-color:#4096ff;color:#4096ff}.de-toolbar-btn:disabled{opacity:.3;cursor:not-allowed}.de-toolbar-btn.active,.de-toolbar-btn.primary{background:#000;color:#fff;border-color:#000}.de-toolbar-btn.primary:hover{background:#333}.de-toolbar-btn.danger{color:#ff4d4f;border-color:#ffccc7}.de-toolbar-btn.danger:hover{background:#fff2f0}.de-tab-btn{padding:4px 12px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;border:none;background:transparent;color:#6b7280}.de-tab-btn:hover{background:#f3f4f6}.de-tab-btn.active{background:#000;color:#fff}.de-separator{width:1px;height:20px;background:#d9d9d9;margin:0 4px;flex-shrink:0}.de-empty{display:flex;align-items:center;justify-content:center;height:100%;color:#9ca3af;font-size:14px}.de-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#0000004d}.de-modal-box{background:#fff;border-radius:8px;box-shadow:0 6px 16px #0000001f;padding:24px;min-width:320px;max-width:90vw;max-height:90vh;overflow:auto}.de-editor-panel{width:320px;flex-shrink:0;border-right:1px solid #e5e7eb;background:#fff;overflow-y:auto;overflow-x:hidden}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.block{display:block}.hidden{display:none}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-1{flex:1 1 0%}.flex-wrap{flex-wrap:wrap}.flex-shrink-0,.shrink-0{flex-shrink:0}.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.gap-0\.5{gap:2px}.gap-1{gap:4px}.gap-1\.5{gap:6px}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.gap-6{gap:24px}.w-full{width:100%}.h-full{height:100%}.min-w-0{min-width:0}.min-w-\[320px\]{min-width:320px}.max-w-\[90vw\]{max-width:90vw}.max-h-\[90vh\]{max-height:90vh}.w-80{width:320px}.w-px{width:1px}.h-5{height:20px}.h-screen{height:100vh}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.relative{position:relative}.fixed{position:fixed}.absolute{position:absolute}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.p-1{padding:4px}.p-2{padding:8px}.p-3{padding:12px}.p-4{padding:16px}.p-6{padding:24px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.px-4{padding-left:16px;padding-right:16px}.py-1{padding-top:4px;padding-bottom:4px}.py-2{padding-top:8px;padding-bottom:8px}.py-3{padding-top:12px;padding-bottom:12px}.py-4{padding-top:16px;padding-bottom:16px}.m-0{margin:0}.m-1{margin:4px}.m-2{margin:8px}.m-3{margin:12px}.m-4{margin:16px}.mb-1{margin-bottom:4px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mr-1{margin-right:4px}.mr-2{margin-right:8px}.mr-3{margin-right:12px}.mr-4{margin-right:16px}.ml-1{margin-left:4px}.ml-2{margin-left:8px}.ml-auto{margin-left:auto}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mx-1{margin-left:4px;margin-right:4px}.mx-auto{margin-left:auto;margin-right:auto}.text-xs{font-size:12px;line-height:1.4}.text-sm{font-size:13px;line-height:1.4}.text-base{font-size:14px;line-height:1.5}.text-lg{font-size:16px;line-height:1.4}.text-xl{font-size:18px;line-height:1.4}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-mono{font-family:Consolas,Monaco,Courier New,monospace}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.whitespace-nowrap{white-space:nowrap}.leading-none{line-height:1}.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-800{color:#1f2937}.text-red-400{color:#f87171}.text-red-500{color:#ef4444}.text-white{color:#fff}.text-black{color:#000}.bg-white{background:#fff}.bg-black{background:#000}.bg-gray-50{background:#f9fafb}.bg-gray-100{background:#f3f4f6}.bg-gray-200{background:#e5e7eb}.bg-gray-300{background:#d1d5db}.border{border:1px solid #e5e7eb}.border-2{border:2px solid #e5e7eb}.border-b{border-bottom:1px solid #e5e7eb}.border-t{border-top:1px solid #e5e7eb}.border-r{border-right:1px solid #e5e7eb}.border-l{border-left:1px solid #e5e7eb}.border-gray-200{border-color:#e5e7eb}.border-gray-300{border-color:#d1d5db}.border-red-200{border-color:#fecaca}.border-dashed{border-style:dashed}.rounded{border-radius:4px}.rounded-md{border-radius:6px}.rounded-lg{border-radius:8px}.rounded-xl{border-radius:12px}.rounded-full{border-radius:9999px}.shadow{box-shadow:0 1px 3px #0000001a}.shadow-lg{box-shadow:0 4px 12px #0000001a}.shadow-xl{box-shadow:0 6px 16px #0000001f}.transition-colors{transition:color .15s,background-color .15s,border-color .15s}.transition-all{transition:all .15s}.cursor-pointer{cursor:pointer}.pointer-events-none{pointer-events:none}.select-none{-webkit-user-select:none;user-select:none}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-100{opacity:1}.space-y-1>*+*{margin-top:4px}.space-y-2>*+*{margin-top:8px}.space-y-3>*+*{margin-top:12px}.space-y-4>*+*{margin-top:16px}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hover\:bg-gray-50:hover{background:#f9fafb}.hover\:bg-gray-100:hover{background:#f3f4f6}.hover\:bg-gray-800:hover{background:#1f2937}.hover\:bg-red-50:hover{background:#fef2f2}.hover\:text-black:hover{color:#000}@media(max-width:768px){.de-editor-panel{width:100%;border-right:none;border-bottom:1px solid #e5e7eb}.de-body{flex-direction:column}}.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: #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: 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}.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))}.pp-page{max-width:860px;margin:0 auto;padding:24px 0;animation:dwFadeIn .25s ease}.pp-header{margin-bottom:28px}.pp-header-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.pp-header-icon{font-size:24px;color:#1677ff}.pp-header-title{font-size:22px;font-weight:700;font-family:Times New Roman,宋体,serif;color:#1f2937}.pp-header-date{font-size:13px;line-height:1.8;color:#9ca3af;font-family:Times New Roman,宋体,serif}.pp-notice{display:flex;align-items:flex-start;padding:12px 16px;margin-bottom:24px;background:#e6f4ff;border:1px solid #91caff;border-radius:8px;font-size:13px;line-height:1.8;color:#0958d9}.pp-section{margin-bottom:28px}.pp-section-title{font-size:13px;font-weight:600;color:#374151;margin-bottom:12px;font-family:Times New Roman,宋体,serif}.pp-paragraph{font-size:14px;line-height:2;color:#4b5563;margin-bottom:8px;text-indent:2em;font-family:Times New Roman,宋体,serif}.pp-card{margin-bottom:12px;padding:10px 16px;background:#fff;border-radius:8px;border:1px solid #e5e7eb;transition:border-color .2s,box-shadow .2s}.pp-card:hover{border-color:#c7d2fe;box-shadow:0 2px 8px #6366f10f}.pp-card-warn{border-color:#ffe58f;background:#fffbe6}.pp-card-warn:hover{border-color:#ffd666;box-shadow:0 2px 8px #d4880614}.pp-card-label{font-size:13px;font-weight:600;color:#374151;margin-bottom:4px;font-family:Times New Roman,宋体,serif}.pp-card-text{font-size:14px;line-height:2;color:#4b5563;text-indent:2em;font-family:Times New Roman,宋体,serif}.pp-divider{margin:20px 0;border:none;border-top:1px solid #f3f4f6}.pp-footer{margin-top:36px;padding:14px 20px;background:#fff7e6;border-radius:8px;border:1px solid #ffd591;font-size:13px;color:#d48806;line-height:2;display:flex;align-items:flex-start}@media(max-width:640px){.pp-page{padding:16px 0}.pp-header-title{font-size:18px}.pp-card{padding:8px 12px}.pp-card-text{font-size:13px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Arial,sans-serif;background:#f8fafc;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#0000001f;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#0003}:root{--header-h: 64px;--sider-w: 200px;--sider-collapsed-w: 68px;--content-pad: 24px}.app-layout{min-height:100vh}.app-sider{background:#fff!important;box-shadow:1px 0 3px #0000000a;display:flex;flex-direction:column;position:fixed!important;left:0;top:0;bottom:0;z-index:100;overflow:hidden;border-right:1px solid #f0f0f0;transition:width .2s ease!important}.app-sider-overlay{transition:opacity .2s ease}.app-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.sider-logo{height:var(--header-h);display:flex;align-items:center;justify-content:center;gap:10px;padding:0 16px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.sider-logo-icon{font-size:22px;color:#4f46e5}.sider-logo-text{font-size:20px;font-weight:700;color:#1e1b4b;letter-spacing:.5px;white-space:nowrap}.sider-task-indicator{padding:8px 16px;text-align:center;flex-shrink:0}.sider-menu{flex:1;border-inline-end:none!important;background:transparent!important;padding:4px 0;overflow-y:auto;overflow-x:hidden}.sider-menu .ant-menu-submenu-title{height:36px!important;line-height:36px!important;font-size:11px!important;font-weight:600!important;color:#8c8c8c!important;padding-left:16px!important;text-transform:uppercase;letter-spacing:.5px}.sider-menu .ant-menu-submenu-title:hover{color:#6b7280!important;background:transparent!important}.sider-menu .ant-menu-sub.ant-menu-inline{background:transparent!important}.sider-menu .ant-menu-submenu+.ant-menu-submenu{border-top:1px solid #f3f4f6;margin-top:2px;padding-top:2px}.sider-menu .ant-menu-item{margin:2px 8px!important;border-radius:8px!important;height:42px!important;line-height:42px!important;color:#6b7280!important;transition:all .2s ease;font-size:14px}.sider-menu .ant-menu-item:hover{color:#4f46e5!important;background:#f5f3ff!important}.sider-menu .ant-menu-item-selected{background:#eef2ff!important;color:#4f46e5!important;font-weight:600}.sider-menu .ant-menu-item-selected:after{display:none}.sider-menu .ant-menu-item .anticon{font-size:16px}.sider-footer{padding:12px;border-top:1px solid #f0f0f0;flex-shrink:0}.sider-user{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;cursor:pointer;transition:background .2s}.sider-user:hover{background:#f9fafb}.sider-avatar{background:#eef2ff!important;color:#4f46e5!important;flex-shrink:0}.sider-user-info{display:flex;flex-direction:column;overflow:hidden;line-height:1.4}.sider-username{color:#374151!important;font-size:13px!important;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sider-usage{color:#9ca3af!important;font-size:11px!important;white-space:nowrap}.app-layout>.ant-layout{margin-left:var(--sider-w);transition:margin-left .2s;min-width:0}.app-layout>.ant-layout-sider-collapsed~.ant-layout{margin-left:var(--sider-collapsed-w)}.app-header{height:var(--header-h);background:#fff!important;padding:0 24px!important;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f0f0;position:sticky;top:0;z-index:10}.header-left{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}.collapse-btn{font-size:18px!important;width:40px!important;height:40px!important;color:#6b7280!important}.collapse-btn:hover{color:#4f46e5!important;background:#f5f3ff!important}.page-title{font-size:18px;font-weight:600;color:#1f1f1f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-bottom:2px;border-bottom:2px solid transparent;transition:border-color .2s}.page-title:not(:empty){border-bottom-color:#eef2ff}.header-right{display:flex;align-items:center;gap:8px;flex-shrink:0;max-width:60%;overflow:hidden}.header-model-badge{font-size:12px;padding:2px 10px;border-radius:20px;border:none;cursor:pointer;transition:all .2s}.header-model-badge:hover{box-shadow:0 2px 6px #6366f126}.ant-layout-sider-collapsed .sider-menu .ant-menu-item-selected{position:relative}.ant-layout-sider-collapsed .sider-menu .ant-menu-item-selected:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:20px;background:#4f46e5;border-radius:0 2px 2px 0}.header-task-badge{font-size:12px;padding:2px 10px;border-radius:20px;border:none}.usage-stats{display:flex;align-items:center;gap:6px;background:#f9fafb;border:1px solid #f0f0f0;border-radius:8px;padding:4px 12px;cursor:default;flex-shrink:0;height:32px;white-space:nowrap}@media(max-width:768px){.app-header{padding:0 12px!important}.usage-stats{display:none}.header-right{gap:4px}.header-model-badge{font-size:11px;padding:1px 8px}}.usage-stats .usage-value{font-size:13px;font-weight:700;color:#1e1b4b;font-variant-numeric:tabular-nums;line-height:1}.usage-stats .usage-divider{width:1px;height:16px;background:#e5e7eb}.app-content{margin:0;padding:var(--content-pad);background:#f8fafc;min-height:calc(100vh - var(--header-h))}.app-content-full{padding:0!important}.app-content-full>*{width:100%;height:calc(100vh - var(--header-h))}.content-inner{max-width:1200px;margin:0 auto;min-width:0}.dw{animation:dwFadeIn .25s ease}@keyframes dwFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.dw-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.dw-greeting{font-size:22px;font-weight:700;color:#111827;margin-bottom:3px}.dw-sub{font-size:13px;color:#6b7280}.dw-balance-pill{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;border-radius:8px;border:1px solid #bbf7d0;color:#047857;background:#f0fdf4;white-space:nowrap}.dw-balance-pill strong{font-size:17px;font-variant-numeric:tabular-nums}.dw-balance-pill.is-danger{border-color:#fecaca;color:#dc2626;background:#fff1f2}.dw-top-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:12px;margin-bottom:22px}.dw-focus,.dw-account,.dw-recent-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px}.dw-focus,.dw-account{padding:14px}.dw-section-title{font-size:14px;font-weight:650;color:#374151;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.dw-more{font-size:12px;font-weight:400;color:#2563eb;cursor:pointer;display:flex;align-items:center;gap:3px}.dw-more:hover{color:#1d4ed8}.dw-focus-empty{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#9ca3af;font-size:13px;border:1px dashed #e5e7eb;border-radius:8px}.dw-focus-empty .anticon{font-size:22px;color:#10b981}.dw-kanban{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dw-kanban-col{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.dw-kanban-header{display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:12px;font-weight:600;flex-shrink:0}.dw-kanban-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.dw-kanban-count{margin-left:auto;font-size:11px;font-weight:700;opacity:.6}.dw-kanban-body{padding:8px;display:flex;flex-direction:column;gap:6px;flex:1;overflow-y:auto;max-height:220px}.dw-kanban-empty{color:#c0c4cc;font-size:12px;text-align:center;padding:20px 0}.dw-kanban-card{border:1px solid #eef0f4;border-radius:6px;padding:8px 10px;background:#fafbfc;display:flex;flex-direction:column;gap:5px;transition:border-color .15s,box-shadow .15s}.dw-kanban-card:hover{border-color:#d0d5dd;box-shadow:0 1px 4px #0000000a}.dw-kanban-card-title{font-size:12px;font-weight:650;color:#111827;line-height:1.35}.dw-kanban-card-meta{font-size:11px;color:#9ca3af}.dw-kanban-card-error{font-size:11px;line-height:1.35;color:#be123c;display:flex;gap:4px}.dw-kanban-card-actions{display:flex;justify-content:flex-end}.dw-mini-stats{display:grid;grid-template-columns:1fr;gap:8px}.dw-mini-stat{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-areas:"icon value" "icon label";align-items:center;column-gap:8px;padding:9px 10px;border:1px solid #eef2f7;border-radius:8px}.dw-mini-stat .anticon{grid-area:icon;color:#2563eb;width:28px;height:28px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;background:#eff6ff}.dw-mini-stat strong{grid-area:value;font-size:16px;color:#111827;font-variant-numeric:tabular-nums}.dw-mini-stat span{grid-area:label;font-size:11px;color:#9ca3af}.dw-account-warning,.dw-account-ok{margin-top:10px;padding:9px 10px;border-radius:8px;font-size:12px;display:flex;gap:8px;align-items:center}.dw-account-warning{color:#be123c;background:#fff1f2}.dw-account-ok{color:#047857;background:#f0fdf4}.dw-primary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dw-primary-card,.dw-tool{border:1px solid #e5e7eb;background:#fff;border-radius:6px;cursor:pointer;text-align:left;transition:border-color .15s,background-color .15s}.dw-primary-card:hover,.dw-tool:hover{border-color:#4f46e5;background-color:#f9fafb}.dw-primary-card{min-height:92px;padding:16px;display:grid;grid-template-columns:42px minmax(0,1fr) 14px;align-items:center;gap:12px}.dw-primary-icon{width:42px;height:42px;border-radius:6px;background:#f3f4f6;color:#4b5563;display:inline-flex;align-items:center;justify-content:center;font-size:20px}.dw-primary-text{min-width:0;display:flex;flex-direction:column;gap:3px}.dw-primary-text strong{color:#111827;font-size:15px}.dw-primary-text span{color:#6b7280;font-size:12px;line-height:1.35}.dw-tool-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.dw-tool{min-height:78px;padding:11px;display:flex;flex-direction:column;gap:8px}.dw-tool-icon{width:30px;height:30px;border-radius:7px;background:#f8fafc;color:#475569;display:inline-flex;align-items:center;justify-content:center;font-size:16px}.dw-tool strong{display:block;color:#111827;font-size:13px;line-height:1.3}.dw-tool em{display:block;color:#9ca3af;font-size:11px;font-style:normal;line-height:1.3}.dw-recent-card{overflow:hidden}.dw-recent-empty{display:flex;justify-content:center;align-items:center;padding:32px}.dw-recent-list{display:flex;flex-direction:column}.dw-recent-item{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;border-bottom:1px solid #f3f4f6;transition:background .15s}.dw-recent-item:last-child{border-bottom:none}.dw-recent-item:hover{background:#fafafa}.dw-recent-dot-wrap{margin-top:3px;flex-shrink:0}.dw-recent-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.dw-recent-top{display:flex;align-items:center;gap:8px;min-width:0}.dw-recent-text{font-size:13px;color:#4b5563;flex:1;min-width:0}.dw-recent-meta{display:flex;align-items:center;gap:10px;justify-content:flex-end}.dw-recent-right{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0;margin-left:auto}.dw-recent-tokens{font-size:11px;color:#2563eb;font-weight:500;display:flex;align-items:center;gap:3px}.dw-recent-cost{font-size:11px;color:#059669;font-weight:500}.dw-recent-time{font-size:12px;color:#9ca3af}@media(max-width:1100px){.dw-top-grid{grid-template-columns:1fr}.dw-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:768px){.dw-hero{align-items:flex-start;flex-direction:column}.dw-balance-pill{width:100%;justify-content:space-between}.dw-kanban,.dw-primary-grid{grid-template-columns:1fr}.dw-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dw-recent-top{align-items:flex-start;flex-wrap:wrap}.dw-recent-right{width:100%;align-items:flex-start;margin-left:0}}@media(max-width:480px){.dw-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dw-primary-card{grid-template-columns:38px minmax(0,1fr) 14px;padding:13px}.dw-primary-icon{width:38px;height:38px}}.ig-layout{display:flex;gap:16px;animation:dwFadeIn .25s ease;align-items:flex-start}.ig-left{width:360px;flex-shrink:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto;position:sticky;top:80px}.ig-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px}.ig-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.ig-panel-title{font-size:13px;font-weight:600;color:#374151}.ig-panel-hint{font-size:11px;color:#9ca3af}.ig-prompt-input textarea{font-size:13px;line-height:1.6;resize:vertical}.ig-templates{margin-top:10px;padding-top:10px;border-top:1px solid #f3f4f6}.ig-templates-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.ig-templates-label{font-size:11px;color:#6b7280;display:flex;align-items:center;gap:4px}.ig-lang-switch{display:inline-flex;background:#f3f4f6;border-radius:10px;padding:1px;gap:1px}.ig-lang-option{font-size:10px;padding:1px 8px;border-radius:9px;cursor:pointer;color:#9ca3af;transition:all .15s;line-height:18px;-webkit-user-select:none;user-select:none}.ig-lang-option.active{background:#fff;color:#374151;font-weight:600;box-shadow:0 1px 2px #0000000f}.ig-lang-option:hover:not(.active){color:#6b7280}.ig-template-tags{display:flex;flex-wrap:wrap;gap:5px}.ig-template-tag{cursor:pointer;font-size:11px;border-radius:3px;transition:all .2s;background:#f9fafb;border-color:#e5e7eb;color:#4b5563;line-height:20px;padding:0 6px}.ig-template-tag:hover{background:#eef2ff;border-color:#c7d2fe;color:#6366f1}.ig-ref-preview{display:flex;align-items:center;gap:10px}.ig-ref-img{width:56px;height:56px;object-fit:cover;border-radius:6px;border:1px solid #e5e7eb}.ig-ref-info{flex:1;min-width:0}.ig-ref-name{font-size:12px;color:#374151;display:block;margin-bottom:2px}.ig-upload-area{border:1px dashed #d1d5db;border-radius:6px;padding:16px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;transition:border-color .2s}.ig-upload-area:hover{border-color:#6366f1}.ig-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ig-form-item{display:flex;flex-direction:column;gap:3px}.ig-form-item label{font-size:11px;color:#6b7280}.ig-size-hint{font-size:11px;color:#9ca3af;text-align:right;margin-top:6px}.ig-submit-panel{background:#f9fafb;border-color:#e5e7eb}.ig-cost-row{margin-bottom:10px}.ig-cost-main{display:flex;align-items:baseline;gap:6px;margin-bottom:2px}.ig-cost-label{font-size:11px;color:#9ca3af}.ig-cost-value{font-size:18px;font-weight:700;color:#374151;font-variant-numeric:tabular-nums}.ig-cost-sub{font-size:11px;color:#9ca3af}.ig-cost-sub strong{color:#6366f1;font-weight:600}.ig-gen-btn{height:36px;font-size:14px;font-weight:600}.ig-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto}.ig-result-area{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column}.ig-result-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #f3f4f6}.ig-result-title{font-size:13px;font-weight:600;color:#374151}.ig-result-cost{font-size:12px;color:#059669}.ig-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;padding:16px;flex:1}.ig-image-card{position:relative;border-radius:6px;overflow:hidden;border:1px solid #e5e7eb;background:#f9fafb}.ig-image{width:100%;display:block;cursor:pointer}.ig-image-actions{position:absolute;top:6px;right:6px;opacity:0;transition:opacity .2s}.ig-image-card:hover .ig-image-actions{opacity:1}.ig-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;padding:48px 20px;gap:8px}.ig-empty-loading{gap:16px}.ig-pulse{width:32px;height:32px;border-radius:50%;background:#e0e7ff;animation:igPulse 1.5s ease-in-out infinite}@keyframes igPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.3);opacity:.5}}.ig-history-area{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px 16px}.ig-history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:13px;font-weight:600;color:#374151}.ig-history-list{display:flex;flex-direction:column;gap:6px;max-height:260px;overflow-y:auto}.ig-history-item{display:flex;align-items:center;gap:10px;padding:8px;border-radius:6px;background:#f9fafb;cursor:pointer;transition:background .15s}.ig-history-item:hover{background:#f3f4f6}.ig-history-thumbs{display:flex;gap:3px;flex-shrink:0}.ig-history-thumb{width:36px;height:36px;object-fit:cover;border-radius:4px;border:1px solid #e5e7eb}.ig-thumb-placeholder{width:36px;height:36px;border-radius:4px;border:1px solid #e5e7eb;background:#f3f4f6;color:#9ca3af;display:inline-flex;align-items:center;justify-content:center}.ig-history-more{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#e5e7eb;border-radius:4px;font-size:10px;color:#6b7280}.ig-history-info{flex:1;min-width:0}.ig-history-prompt{font-size:12px;color:#374151;display:block;margin-bottom:2px}.ig-history-meta{display:flex;gap:10px;font-size:11px;color:#9ca3af}.ig-history-actions{flex-shrink:0;display:flex;gap:2px;opacity:0;transition:opacity .15s}.ig-history-item:hover .ig-history-actions{opacity:1}.ig-gallery-area{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px 16px}.ig-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px}.ig-gallery-card{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#f9fafb;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .15s}.ig-gallery-card:hover{border-color:#93c5fd;box-shadow:0 2px 10px #2563eb14;transform:translateY(-1px)}.ig-gallery-img,.ig-gallery-placeholder{width:100%;aspect-ratio:1 / 1;object-fit:cover;display:flex;align-items:center;justify-content:center}.ig-gallery-placeholder{color:#9ca3af;background:#f3f4f6;font-size:24px}.ig-gallery-meta{min-height:38px;display:flex;align-items:center;gap:4px;padding:6px 8px}.ig-gallery-prompt{flex:1;min-width:0;font-size:11px;color:#4b5563}@media(max-width:992px){.ig-layout{flex-direction:column}.ig-left{width:100%;position:static;max-height:none;overflow-y:visible}.ig-right{max-height:none;overflow-y:visible}}@media(max-width:480px){.ig-form-grid,.ig-image-grid{grid-template-columns:1fr}.ig-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.sql-layout{height:calc(100vh - var(--header-h) - 38px);display:flex;gap:12px;animation:dwFadeIn .25s ease}.sql-left{width:440px;flex-shrink:0;display:flex;flex-direction:column}.sql-right{flex:1;min-width:0;display:flex;flex-direction:column}.sql-card{flex:1;display:flex;flex-direction:column}.sql-dragger{margin-bottom:8px}.sql-dragger .ant-upload{padding:8px 0}.sql-dragger-icon{margin-bottom:0}.sql-dragger-icon .anticon{font-size:22px;color:#1677ff}.sql-dragger-text{font-size:12px;margin:0;color:#8c8c8c}.sql-textarea{flex:1;font-family:Consolas,Monaco,monospace;font-size:12px;resize:none}.sql-actions{display:flex;align-items:center;gap:8px;margin-top:8px}.sql-actions-hint{margin-left:auto}.sql-loading{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fafafa;border-radius:8px;border:1px solid #f0f0f0}.sql-loading-text{margin-top:16px;text-align:center}.sql-cost-bar{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding:4px 8px;background:#f6ffed;border-radius:4px;border:1px solid #d9f7be}.sql-batch-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #f3f4f6}.sql-table-list{display:flex;flex-direction:column;gap:4px}.sql-table-item{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;cursor:pointer;border-radius:6px;border:1px solid #f0f0f0;background:#fff;transition:all .15s}.sql-table-item:hover{border-color:#d9d9d9;background:#fafafa}.sql-table-item.selected{border-color:#1677ff;background:#f0f5ff}.sql-table-item-info{flex:1;min-width:0}.sql-table-item-desc{font-size:11px;color:#8c8c8c;margin-top:3px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sql-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#fafafa;border-radius:8px;border:1px solid #f0f0f0}.sql-empty-sample{margin-top:12px;padding:10px 14px;background:#fff;border-radius:6px;border:1px solid #e5e7eb;max-width:320px}.sql-empty-sample code{white-space:pre;display:block}.sql-history{flex-shrink:0;margin-top:8px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px}.sql-history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;font-weight:600;color:#374151}.sql-history-list{display:flex;flex-direction:column;gap:4px;max-height:180px;overflow-y:auto}.sql-history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 8px;border-radius:6px;background:#f9fafb;cursor:pointer;transition:background .15s}.sql-history-item:hover{background:#f0f5ff}.sql-history-item-info{display:flex;align-items:center;min-width:0}.sql-history-item-meta{display:flex;gap:10px;font-size:11px;color:#9ca3af;flex-shrink:0}@media(max-width:992px){.sql-layout{flex-direction:column;height:auto}.sql-left{width:100%}.sql-right{min-height:400px}}.hist-page{display:flex;flex-direction:column;gap:12px;animation:dwFadeIn .25s ease}.hist-filter-card{flex-shrink:0}.hist-filter-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hist-stats{display:flex;align-items:center;gap:16px;margin-top:8px;padding-top:8px;border-top:1px solid #f3f4f6;font-size:12px;color:#8c8c8c}.hist-loading{text-align:center;padding:80px 0}.hist-images{margin-bottom:12px}.hist-images-label{font-size:11px;display:block;margin-bottom:6px}.hist-images-grid{display:flex;gap:8px;flex-wrap:wrap}.hist-images-item{position:relative;display:inline-block}.hist-images-dl{position:absolute;top:4px;right:4px;opacity:0;transition:opacity .15s}.hist-images-item:hover .hist-images-dl{opacity:.85}.hist-detail-summary{display:flex;gap:12px;margin-bottom:16px;padding:12px;background:#fafafa;border-radius:8px;border:1px solid #f0f0f0;flex-wrap:wrap}.hist-detail-field{min-width:80px}.hist-detail-label{font-size:10px;color:#8c8c8c;margin-bottom:2px}.hist-detail-error{margin-bottom:12px;padding:8px;background:#fff2f0;border-radius:6px;border:1px solid #ffccc7;font-size:12px}.hist-detail-io{display:flex;flex-direction:column;gap:12px}.hist-detail-block{max-height:140px;overflow:auto;padding:10px;border-radius:6px;font-size:12px;line-height:1.6;white-space:pre-wrap;font-family:Consolas,Monaco,monospace}.hist-detail-block.input{background:#fafafa;border:1px solid #f0f0f0}.hist-detail-block.output{background:#f6ffed;border:1px solid #d9f7be}@media(max-width:640px){.hist-stats{flex-wrap:wrap;gap:8px}.hist-detail-summary{gap:8px}}.diff-layout{display:flex;gap:16px;animation:dwFadeIn .25s ease;align-items:flex-start}.diff-left{width:320px;flex-shrink:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto;position:sticky;top:80px}.diff-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.diff-panel-title{font-size:14px;font-weight:600;color:#374151;margin-bottom:12px}.diff-upload-group{display:flex;flex-direction:column;gap:12px;margin-bottom:14px}.diff-upload-item{display:flex;flex-direction:column;gap:4px}.diff-upload-label{font-size:12px;color:#6b7280;font-weight:500}.diff-dragger .ant-upload{padding:10px 0}.diff-dragger-icon .anticon{font-size:24px;color:#6366f1}.diff-dragger-text{font-size:12px;color:#9ca3af;margin:0}.diff-btn-group{display:flex;flex-direction:column;gap:8px}.diff-progress,.diff-alert{margin-top:8px}.diff-stats-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.diff-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:8px}.diff-stat-item{text-align:center;padding:8px 4px;background:#f9fafb;border-radius:6px}.diff-stat-value{font-size:20px;font-weight:700;color:#1f2937;line-height:1.2}.diff-stat-value.changed{color:#4f46e5}.diff-stat-label{font-size:11px;color:#9ca3af;margin-top:2px}.diff-rate{text-align:center;font-size:12px;color:#6b7280;padding-top:8px;border-top:1px solid #f3f4f6}.diff-sync-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.diff-sync-info{font-size:13px;color:#374151;margin-bottom:10px}.diff-sync-label{color:#9ca3af;margin-right:6px}.diff-right{flex:1;min-width:0;display:flex;flex-direction:column;max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto}.diff-result-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;min-height:400px}.diff-result-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #f3f4f6}.diff-result-title{font-size:14px;font-weight:600;color:#374151}.diff-result-body{flex:1;padding:0}.diff-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px}.diff-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;gap:8px}.diff-empty-icon{font-size:40px;color:#d1d5db;margin-bottom:4px}.diff-empty-text{font-size:14px;color:#9ca3af}.diff-segment{line-height:1.8}.diff-seg-removed{background:#fff1f0;color:#cf1322;text-decoration:line-through;padding:0 2px;border-radius:2px}.diff-seg-added{background:#f6ffed;color:#389e0d;padding:0 2px;border-radius:2px}.diff-expand-row{font-size:12px;line-height:1.7;padding:4px 0}.diff-expand-line{margin-bottom:4px}.diff-expand-label{font-size:11px;font-weight:600;margin-right:6px}.diff-expand-label.orig{color:#cf1322}.diff-expand-label.rew{color:#389e0d}.diff-expand-text{font-size:11px;color:#374151}.diff-result-card .ant-table{border-radius:0}.diff-result-card .ant-table-thead>tr>th{background:#f9fafb;font-size:12px;font-weight:600;color:#6b7280}.diff-status-tag-modified{background:#eef2ff;color:#4f46e5;border-color:#c7d2fe}.diff-status-tag-unchanged{background:#f9fafb;color:#9ca3af;border-color:#e5e7eb}@media(max-width:992px){.diff-layout{flex-direction:column}.diff-left{width:100%;position:static;max-height:none;overflow-y:visible}.diff-right{max-height:none;overflow-y:visible}}@media(max-width:480px){.diff-stats-grid{grid-template-columns:1fr}.diff-result-header{flex-direction:column;align-items:flex-start;gap:6px}}.aigc-layout{display:flex;gap:16px;animation:dwFadeIn .25s ease;align-items:flex-start}.aigc-left{width:400px;flex-shrink:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto;position:sticky;top:80px}.aigc-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px}.aigc-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.aigc-panel-title{font-size:13px;font-weight:600;color:#374151}.aigc-panel-hint{font-size:11px;color:#9ca3af}.aigc-textarea textarea{font-size:13px;line-height:1.6;resize:vertical}.aigc-upload-area{border:1px dashed #d1d5db;border-radius:6px;padding:16px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;transition:border-color .2s}.aigc-upload-area:hover{border-color:#6366f1}.aigc-upload-icon{font-size:22px;color:#1677ff}.aigc-upload-text{font-size:12px;color:#8c8c8c}.aigc-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.aigc-upload-wrapper{flex:1;min-width:0}.aigc-progress,.aigc-alert{margin-top:8px}.aigc-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto}.aigc-result-area{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column}.aigc-result-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #f3f4f6}.aigc-result-title{font-size:13px;font-weight:600;color:#374151}.aigc-result-content{padding:16px}.aigc-score-summary{margin-bottom:12px;padding:12px;background:#f0f5ff;border-radius:6px;border:1px solid #d6e4ff}.aigc-score-main{display:flex;align-items:center;gap:8px;margin-bottom:8px}.aigc-score-label{font-size:14px;font-weight:600;color:#1f2937}.aigc-risk-tags{display:flex;flex-wrap:wrap;gap:4px;font-size:12px;color:#6b7280}.aigc-risk-tag{font-size:10px;line-height:18px;padding:0 6px}.aigc-paragraph-count{font-size:11px;color:#6b7280}.aigc-rule-score{margin-bottom:12px}.aigc-rule-score-label{font-size:16px;font-weight:600;color:#1f2937}.aigc-chart-section{margin-bottom:12px}.aigc-table-section{margin-top:12px}.aigc-table-label{font-size:14px;font-weight:600;color:#1f2937;margin-bottom:8px}.aigc-score-legend{margin-top:12px;padding:12px;background:#fafafa;border-radius:6px;border:1px solid #f0f0f0}.aigc-legend-title{font-size:14px;font-weight:600;color:#1f2937;margin-bottom:8px}.aigc-legend-items{font-size:12px;color:#6b7280;line-height:2}.aigc-legend-tag{font-size:10px;margin-right:4px}.aigc-loading{display:flex;justify-content:center;align-items:center;padding:60px 20px}.aigc-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 20px;gap:8px}.aigc-empty-icon{font-size:40px;color:#e5e7eb}.aigc-empty-text{font-size:13px;color:#9ca3af}.aigc-empty-hint{font-size:11px;color:#d1d5db}@media(max-width:992px){.aigc-layout{flex-direction:column}.aigc-left{width:100%;position:static;max-height:none;overflow-y:visible}.aigc-right{max-height:none;overflow-y:visible}}@media(max-width:480px){.aigc-actions{flex-direction:column}.aigc-actions .ant-btn{width:100%}}.mt-layout{display:flex;gap:16px;animation:dwFadeIn .25s ease;align-items:flex-start}.mt-left{width:420px;flex-shrink:0;display:flex;flex-direction:column;gap:12px}.mt-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.mt-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px}.mt-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.mt-panel-title{font-size:13px;font-weight:600;color:#374151;display:flex;align-items:center;gap:6px}.mt-panel-hint{font-size:11px;color:#9ca3af}.mt-textarea textarea{font-size:13px;line-height:1.6;resize:vertical}.mt-actions{display:flex;align-items:center;gap:8px;margin-top:10px}.mt-switches{display:flex;align-items:center;gap:8px;margin-left:auto}.mt-scan-panel{display:flex;align-items:center;gap:12px;padding:10px 16px}.mt-scan-panel .mt-panel-head{margin-bottom:0}.mt-result-panel{display:flex;flex-direction:column;min-height:200px}.mt-result-panel .mt-panel-head{flex-shrink:0}.mt-cost{font-size:12px;color:#059669;font-weight:500;font-variant-numeric:tabular-nums}.mt-output-textarea textarea{background:#fafafa;font-size:13px;line-height:1.6;resize:vertical}.mt-loading,.mt-empty{display:flex;align-items:center;justify-content:center;padding:40px 0}.mt-aigc-panel{display:flex;flex-direction:column;gap:8px}.mt-aigc-score{display:flex;align-items:center;gap:8px}.mt-aigc-meta{font-size:12px;color:#6b7280;line-height:1.6}@media(max-width:992px){.mt-layout{flex-direction:column}.mt-left{width:100%}.mt-right{min-height:200px}}@media(max-width:480px){.mt-actions{flex-wrap:wrap}.mt-switches{margin-left:0;width:100%}}.ss-page{display:flex;flex-direction:column;gap:16px;animation:dwFadeIn .25s ease}.ss-loading{display:flex;align-items:center;justify-content:center;padding:100px 0}.ss-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.ss-header-left{display:flex;align-items:center;gap:8px}.ss-header-right{display:flex;align-items:center}.ss-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ss-row-2col{grid-template-columns:1fr 1fr}.ss-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px;display:flex;flex-direction:column;gap:12px}.ss-card-title{font-size:13px;font-weight:600;color:#374151;display:flex;align-items:center;gap:6px}.ss-ring-row{display:flex;align-items:center;gap:12px}.ss-ring{flex-shrink:0}.ss-ring-info{display:flex;flex-direction:column;gap:2px}.ss-uptime{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0}.ss-kv-list{display:flex;flex-direction:column;gap:8px}.ss-kv{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#595959}.ss-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.ss-stat{text-align:center;padding:8px;background:#fafafa;border-radius:6px}.ss-stat-value{font-size:22px;font-weight:700;color:#374151;font-variant-numeric:tabular-nums}.ss-stat-label{font-size:11px;color:#8c8c8c;margin-top:2px}@media(max-width:992px){.ss-row{grid-template-columns:repeat(2,1fr)}.ss-row-2col{grid-template-columns:1fr}}@media(max-width:480px){.ss-row{grid-template-columns:1fr}}.auth-page{min-height:100vh;display:flex;background:linear-gradient(135deg,#f0f2fe,#f8f5ff 35%,#fef7f7 65%,#fff7f0);position:relative;overflow:hidden}.auth-blob{position:absolute;filter:blur(120px);pointer-events:none;z-index:0}.auth-blob-1{width:650px;height:650px;background:linear-gradient(135deg,#6366f1,#a78bfa);top:-250px;left:-200px;border-radius:50% 50% 60% 40%/50% 40% 60% 50%;opacity:.15}.auth-blob-2{width:450px;height:450px;background:linear-gradient(135deg,#06b6d4,#3b82f6);bottom:-180px;right:-120px;border-radius:40% 60% 30% 70%/50% 40% 60% 50%;opacity:.12}.auth-blob-3{width:380px;height:380px;background:linear-gradient(135deg,#f472b6,#fb923c);top:40%;left:50%;border-radius:50% 50% 40% 60%/60% 40% 50% 50%;opacity:.08}.auth-particles{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:0}.auth-particle{position:absolute;border-radius:50%;animation:auth-particle-float ease-in-out infinite alternate}.auth-particle.purple{background:linear-gradient(135deg,#6366f1,#a78bfa)}.auth-particle.coral{background:linear-gradient(135deg,#f472b6,#fb923c)}.auth-particle.teal{background:linear-gradient(135deg,#06b6d4,#3b82f6)}@keyframes auth-particle-float{0%{transform:translate(0) scale(1)}to{transform:translate(12px,-18px) scale(1.3)}}.auth-container{display:flex;width:100%;min-height:100vh;position:relative;z-index:1}.auth-hero{flex:0 0 60%;display:flex;align-items:center;justify-content:center;padding:60px;position:relative;background:linear-gradient(to right,rgba(255,255,255,.5) 0%,transparent 100%)}.auth-hero-content{max-width:520px;width:100%}.auth-hero-logo{width:56px;height:56px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:26px;color:#fff;box-shadow:0 4px 16px #6366f14d;margin-bottom:24px}.auth-hero-title{margin:0 0 6px;font-weight:800;color:#1e1b4b;font-size:36px;letter-spacing:-.5px;line-height:1.2}.auth-hero-subtitle{display:block;font-size:16px;color:#6366f1;font-weight:600;margin-bottom:12px}.auth-hero-desc{display:block;font-size:15px;color:#6b7280;line-height:1.7;margin-bottom:36px}.auth-features{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:36px}.auth-feature-item{display:flex;gap:12px;padding:14px 16px;background:#ffffffb3;border:1px solid rgba(99,102,241,.08);border-radius:12px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.auth-feature-item:hover{background:#ffffffeb;border-color:#6366f12e;box-shadow:0 4px 16px #6366f10f}.auth-feature-icon{width:36px;height:36px;background:linear-gradient(135deg,#eef2ff,#f5f3ff);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#6366f1;flex-shrink:0}.auth-feature-text{min-width:0}.auth-feature-title{font-size:13px;font-weight:600;color:#1e1b4b;margin-bottom:2px}.auth-feature-desc{font-size:11px;color:#9ca3af;line-height:1.4}.auth-hero-stats{display:flex;align-items:center;gap:0;padding:16px 20px;background:#ffffff8c;border:1px solid rgba(99,102,241,.08);border-radius:14px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.auth-stat-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px}.auth-stat-value{font-size:20px;font-weight:800;color:#1e1b4b;font-variant-numeric:tabular-nums}.auth-stat-label{font-size:11px;color:#9ca3af;font-weight:500}.auth-stat-divider{width:1px;height:32px;background:#e5e7eb}.auth-form-panel{flex:0 0 40%;display:flex;align-items:center;justify-content:center;padding:40px;background:linear-gradient(135deg,#fffffff2,#fff7f7f2,#fff7f0f2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.auth-form-container{max-width:380px;width:100%}.auth-form-header{margin-bottom:32px}.auth-form-title{margin:0 0 6px;font-weight:700;color:#1e1b4b;font-size:22px}.auth-form-subtitle{font-size:14px;color:#9ca3af}.auth-form .ant-form-item{margin-bottom:20px}.auth-form .ant-input-affix-wrapper{border-radius:12px!important;padding:10px 16px!important;border:1px solid #e5e7eb!important;background:#fafbfc}.auth-form .ant-input-affix-wrapper-focused,.auth-form .ant-input-affix-wrapper:focus{border-color:#6366f1!important;box-shadow:0 0 0 3px #6366f11a!important;background:#fff}.auth-form .ant-input-prefix{color:#9ca3af;margin-right:8px}.auth-submit-btn{height:48px;border-radius:12px;font-size:15px;font-weight:600;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;border:none!important;box-shadow:0 4px 16px #6366f14d;letter-spacing:.3px}.auth-form-footer{text-align:center;font-size:14px;color:#6b7280}.auth-form-footer a{font-weight:600;margin-left:4px;color:#6366f1}.auth-form-footer a:hover{color:#4f46e5}.auth-password-checks{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px;font-size:12px}.ant-card{border-radius:12px!important;box-shadow:0 1px 3px #0000000a!important;border:1px solid #f0f0f0!important}.ant-btn{border-radius:8px!important;font-weight:500;transition:all .25s}.ant-input,.ant-input-affix-wrapper,.ant-select-selector{border-radius:8px!important}.ant-table{border-radius:12px!important;overflow:hidden}@media(max-width:1024px){.auth-container{flex-direction:column}.auth-hero{flex:none;padding:40px 24px;min-height:auto}.auth-hero:after{display:none}.auth-hero-content{max-width:100%}.auth-form-panel{flex:none;padding:32px 24px;box-shadow:none;border-top:1px solid #f0f0f0}.auth-form-container{max-width:100%}.auth-features{grid-template-columns:1fr 1fr}}@media(max-width:768px){.auth-hero{padding:32px 20px}.auth-hero-title{font-size:28px}.auth-hero-desc{font-size:14px;margin-bottom:0}.auth-features,.auth-hero-stats{display:none}.auth-form-panel{padding:28px 20px}.auth-submit-btn{height:44px;font-size:14px}.auth-blob-1{width:300px;height:300px;top:-100px;left:-80px}.auth-blob-2{width:250px;height:250px;bottom:-80px;right:-60px}}@media(max-width:480px){.auth-particles{display:none}.auth-blob-1{width:200px;height:200px;top:-80px;left:-60px}.auth-blob-2{width:180px;height:180px;bottom:-60px;right:-40px}.auth-hero{padding:24px 16px}.auth-hero-logo{width:44px;height:44px;font-size:20px;margin-bottom:16px}.auth-hero-title{font-size:22px}.auth-hero-subtitle{font-size:14px}.auth-hero-desc{font-size:13px;margin-bottom:0}.auth-form-panel{padding:20px 16px}.auth-form-header{margin-bottom:24px}.auth-form-title{font-size:18px}.auth-form .ant-form-item{margin-bottom:14px}.auth-form .ant-input-affix-wrapper{padding:8px 12px}.auth-submit-btn{height:44px;font-size:13px}.auth-password-checks{gap:8px;font-size:11px}.auth-form-panel .ant-steps{margin-bottom:16px}.auth-form-panel .ant-steps-item-title{font-size:12px}}@media(max-width:360px){.auth-hero{padding:20px 12px}.auth-hero-logo{width:38px;height:38px;font-size:18px;margin-bottom:12px}.auth-hero-title{font-size:20px}.auth-hero-subtitle{font-size:13px}.auth-hero-desc{font-size:12px;margin-bottom:0}.auth-form-panel{padding:16px 12px}.auth-form-title{font-size:16px}.auth-form-subtitle{font-size:13px}.auth-form-header{margin-bottom:20px}.auth-submit-btn{height:44px;font-size:14px}.auth-form .ant-form-item{margin-bottom:12px}.auth-password-checks{gap:4px;font-size:10px}.auth-blob{display:none}}.grammar-layout{display:flex;gap:16px;animation:dwFadeIn .25s ease;align-items:flex-start}.grammar-left{width:400px;flex-shrink:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto;position:sticky;top:80px}.grammar-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h) - 16px);overflow-y:auto}.grammar-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px}.grammar-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.grammar-panel-title{font-size:13px;font-weight:600;color:#374151;display:flex;align-items:center;gap:6px}.grammar-panel-hint{font-size:11px;color:#9ca3af}.grammar-textarea textarea{font-size:13px;line-height:1.6;resize:vertical}.grammar-actions{display:flex;align-items:center;gap:8px;margin-top:10px}.grammar-hint{margin-top:6px;text-align:right}.grammar-meta{display:flex;align-items:center;gap:6px}.grammar-loading{display:flex;justify-content:center;align-items:center;min-height:300px}.grammar-result-text{padding:12px;background:#fafafa;border-radius:6px;border:1px solid #f0f0f0;max-height:400px;overflow-y:auto}.grammar-corrections{display:flex;flex-direction:column;gap:8px}.grammar-correction-item{display:flex;gap:10px;padding:10px 12px;background:#f9fafb;border-radius:6px;border:1px solid #f0f0f0;transition:border-color .15s}.grammar-correction-item:hover{border-color:#d1d5db}.grammar-correction-idx{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center}.grammar-correction-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.grammar-correction-diff{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.grammar-diff-old{font-size:13px}.grammar-diff-arrow{font-size:12px;flex-shrink:0}.grammar-diff-new{font-size:13px;color:#389e0d}.grammar-correction-reason{font-size:12px;color:#6b7280;line-height:1.5}.grammar-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:8px}.grammar-empty-icon{font-size:40px;color:#e5e7eb}@media(max-width:992px){.grammar-layout{flex-direction:column}.grammar-left{width:100%;position:static;max-height:none;overflow-y:visible}.grammar-right{max-height:none;overflow-y:visible}}@media(max-width:480px){.grammar-actions{flex-wrap:wrap}}@media(max-width:480px){:root{--content-pad: 12px}.usage-stats{display:none}.header-right{gap:4px}.page-title{font-size:15px}.collapse-btn{width:44px!important;height:44px!important}.recent-meta{width:100%;justify-content:flex-start}.sider-menu .ant-menu-item{height:44px!important;line-height:44px!important}}.app-sider-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:199}@media(max-width:768px){.app-layout>.ant-layout{margin-left:0!important}.app-sider{position:fixed!important;z-index:200}.app-sider-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:199;display:block}:root{--content-pad: 16px;--sider-w: 0px}.app-sider.ant-layout-sider-collapsed{width:0!important;min-width:0!important;overflow:hidden}.welcome-chips{flex-wrap:wrap}.header-right{max-width:none}.sider-menu .ant-menu-item{height:44px!important;line-height:44px!important;margin:2px 0!important}.sider-menu .ant-menu-submenu-title{height:38px!important;line-height:38px!important}.collapse-btn{width:44px!important;height:44px!important}.admin-header-row{flex-direction:column;align-items:flex-start!important;gap:8px}.admin-settings-row{flex-direction:column;align-items:flex-start!important;gap:12px}.admin-settings-row .ant-input,.admin-settings-row .ant-select{width:100%!important}.admin-filter-row{flex-direction:column;gap:8px}.admin-filter-row .ant-select{width:100%!important}.ant-modal{max-width:95vw;margin:10px auto}.admin-tabs .ant-tabs-tab{font-size:12px;padding:8px;margin:0}.admin-tabs .ant-tabs-tab-btn{text-shadow:none}.admin-invite-header{flex-direction:column;gap:8px;align-items:flex-start}.content-inner .ant-row[style*="100vh"],.content-inner .ant-col[style*="100vh"],.content-inner .ant-col[style*="height: 100%"]{height:auto!important;min-height:0!important}.content-inner .ant-row[style*="100vh"]{row-gap:12px!important}.content-inner [style*=max-height],.content-inner [style*="overflow-y: auto"],.content-inner [style*="overflow: auto"]{max-height:none!important}}.outline-layout{display:flex;flex-direction:column;gap:16px}.outline-input-row{display:flex;gap:12px;align-items:flex-end}.outline-result{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.outline-section{margin-bottom:12px}.outline-section-head{display:flex;align-items:center;gap:8px;cursor:pointer}.outline-section-num{font-weight:700;color:#4f46e5;min-width:32px}.outline-section-title{font-weight:600;color:#111827}.outline-section-desc{font-size:13px;color:#6b7280;margin-top:4px;padding-left:40px;line-height:1.7}.outline-subsection{padding-left:32px;margin-top:8px}@media(max-width:768px){.outline-input-row{flex-direction:column;align-items:stretch}}.cite-layout{display:flex;gap:16px;animation:dwFadeIn .25s ease;align-items:flex-start}.cite-left{width:360px;flex-shrink:0;display:flex;flex-direction:column;gap:12px}.cite-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.cite-result-item{padding:10px 12px;border:1px solid #eef0f4;border-radius:6px;background:#fafbfc}.cite-result-item:hover{border-color:#d0d5dd}.cite-formatted{font-size:13px;color:#374151;line-height:1.7}.cite-detail{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}@media(max-width:992px){.cite-layout{flex-direction:column}.cite-left{width:100%}.cite-right{min-height:300px}}.fmt-layout{display:flex;flex-direction:column;gap:16px;max-width:700px}.fmt-upload-area{border:2px dashed #d9d9d9;border-radius:8px;padding:40px;text-align:center;cursor:pointer;transition:border-color .2s}.fmt-upload-area:hover{border-color:#4f46e5}.fmt-options{display:flex;gap:12px;align-items:flex-end}.fmt-result{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:16px;display:flex;align-items:center;justify-content:space-between}.abstract-layout{display:flex;flex-direction:column;gap:16px}.abstract-input-area{display:flex;flex-direction:column;gap:12px}.abstract-results{display:grid;grid-template-columns:1fr 1fr;gap:12px}.plag-layout{display:flex;flex-direction:column;gap:16px}.plag-input-area{display:flex;flex-direction:column;gap:12px}.plag-score-card{display:flex;gap:24px;align-items:center;padding:20px;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.plag-score-main{text-align:center}.plag-score-detail{flex:1}.plag-issues{display:flex;flex-direction:column;gap:10px}.plag-issue{padding:12px;border:1px solid #eef0f4;border-radius:6px;background:#fafbfc}.plag-issue-quote{font-size:13px;color:#374151;padding:8px 12px;background:#f3f4f6;border-left:3px solid #e5e7eb;border-radius:4px;margin:6px 0;font-style:italic}.plag-issue-suggestion{font-size:12px;color:#059669;margin-top:4px}.ver-drawer .ant-drawer-body{padding:12px 16px}.ver-loading{display:flex;justify-content:center;align-items:center;padding:80px 0}.ver-empty{padding:60px 0}.ver-list .ant-list-item{padding:0!important;border-bottom:1px solid #f3f4f6}.ver-list-item{transition:background .15s}.ver-list-item:hover{background:#fafafa}.ver-item-content{width:100%;padding:10px 4px;display:flex;flex-direction:column;gap:6px}.ver-item-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.ver-version-tag{font-weight:600;font-size:12px;line-height:20px;padding:0 6px}.ver-file-tag{font-size:11px;line-height:18px;padding:0 5px;background:#f9fafb;border-color:#e5e7eb;color:#6b7280}.ver-time{font-size:12px;white-space:nowrap;flex-shrink:0}.ver-item-preview{padding-left:2px}.ver-preview-text{font-size:12px;color:#6b7280;line-height:1.5}.ver-item-actions{display:flex;gap:2px;margin-top:2px}.ver-item-actions .ant-btn{padding:0 4px;font-size:12px;height:24px}.ver-preview-panel{display:flex;flex-direction:column;gap:8px}.ver-preview-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.ver-back-btn{padding:0;font-size:13px}.ver-preview-meta{display:flex;align-items:center;gap:8px}.ver-preview-body{background:#fafafa;border:1px solid #f0f0f0;border-radius:8px;padding:12px;max-height:calc(100vh - 360px);overflow-y:auto}.ver-content-text{font-size:13px;line-height:1.8;color:#374151;white-space:pre-wrap;word-break:break-word;margin-bottom:0}.ver-preview-actions{display:flex;gap:8px;padding-top:4px}.ver-diff-panel{display:flex;flex-direction:column;gap:8px}.ver-diff-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.ver-diff-body{background:#fafafa;border:1px solid #f0f0f0;border-radius:8px;padding:8px 0;max-height:calc(100vh - 320px);overflow-y:auto;font-family:Consolas,Monaco,Courier New,monospace;font-size:12px;line-height:1.7}.ver-diff-line{display:flex;padding:1px 12px;gap:8px;white-space:pre-wrap;word-break:break-all}.ver-diff-same{color:#6b7280}.ver-diff-removed{background:#fff1f0;color:#cf1322}.ver-diff-added{background:#f6ffed;color:#389e0d}.ver-diff-marker{width:14px;text-align:center;flex-shrink:0;font-weight:600;-webkit-user-select:none;user-select:none}.ver-diff-text{flex:1;min-width:0}.ver-diff-empty{display:flex;justify-content:center;align-items:center;padding:40px 0}@media(max-width:480px){.ver-drawer .ant-drawer{width:100%!important}.ver-item-header{flex-direction:column;align-items:flex-start;gap:4px}.ver-item-actions{flex-wrap:wrap}}.brw-layout{display:flex;gap:16px;animation:dwFadeIn .25s ease;align-items:flex-start}.brw-left{width:360px;flex-shrink:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h, 64px) - 16px);overflow-y:auto;position:sticky;top:80px}.brw-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - var(--header-h, 64px) - 16px);overflow-y:auto}.brw-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px}.brw-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.brw-panel-title{font-size:13px;font-weight:600;color:#374151;display:flex;align-items:center;gap:6px}.brw-uploader .ant-upload-drag{border-radius:8px!important;border-color:#d1d5db!important;background:#fafbfc!important;padding:20px 16px!important;transition:border-color .2s}.brw-uploader .ant-upload-drag:hover{border-color:#6366f1!important}.brw-upload-hint{display:flex;flex-direction:column;align-items:center;gap:6px}.brw-file-info{display:flex;flex-direction:column;align-items:center;gap:4px}.brw-panel .ant-slider{margin:8px 4px 4px}.brw-panel .ant-slider-mark-text{font-size:10px;color:#9ca3af}.brw-submit-panel{display:flex;flex-direction:column;gap:12px}.brw-submit-btn{height:44px!important;font-size:15px!important;font-weight:600!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;border:none!important;box-shadow:0 4px 16px #6366f140!important;border-radius:10px!important}.brw-submit-btn:hover{box-shadow:0 6px 20px #6366f159!important}.brw-progress-info{display:flex;flex-direction:column;gap:6px}.brw-progress-detail{display:flex;justify-content:space-between;align-items:center}.brw-progress-tags{display:flex;gap:4px}.brw-summary-panel{display:flex;flex-direction:column;gap:14px}.brw-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.brw-summary-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;background:#f9fafb;border-radius:8px;border:1px solid #f0f0f0}.brw-summary-value{font-size:22px;font-weight:700;color:#1f2937;font-variant-numeric:tabular-nums;line-height:1.2}.brw-summary-label{font-size:11px;color:#9ca3af}.brw-download-bar{display:flex;align-items:center}.brw-results-panel{display:flex;flex-direction:column}.brw-results-panel .brw-panel-head{flex-shrink:0}.brw-table .ant-table-thead>tr>th{font-size:12px;padding:8px 12px;background:#fafafa}.brw-table .ant-table-tbody>tr>td{padding:8px 12px;font-size:12px}.brw-table .ant-table-tbody>tr:hover>td{background:#f9fafb}.brw-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:8px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:48px 20px}.brw-empty-loading{gap:4px}@media(max-width:992px){.brw-layout{flex-direction:column}.brw-left{width:100%;position:static;max-height:none;overflow-y:visible}.brw-right{max-height:none;overflow-y:visible}}@media(max-width:576px){.brw-summary-grid{grid-template-columns:repeat(2,1fr)}.brw-download-bar{flex-direction:column;align-items:flex-start;gap:8px}}.p2p-container{animation:dwFadeIn .25s ease}.p2p-steps-bar{display:flex;align-items:center;gap:0;margin-bottom:16px;padding:12px 16px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.p2p-step{display:flex;align-items:center;gap:8px;position:relative}.p2p-step-num{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;background:#f0f0f0;color:#999;flex-shrink:0}.p2p-step.active .p2p-step-num{background:#3b82f6;color:#fff}.p2p-step.done .p2p-step-num{background:#52c41a;color:#fff}.p2p-step-text{display:flex;flex-direction:column}.p2p-step-line{width:40px;height:2px;background:#e5e7eb;margin:0 12px}.p2p-step-line.done{background:#52c41a}.p2p-layout{display:flex;gap:16px;align-items:flex-start}.p2p-left{width:280px;flex-shrink:0;display:flex;flex-direction:column;gap:10px;position:sticky;top:80px;max-height:calc(100vh - 100px);overflow-y:auto}.p2p-right{flex:1;min-width:0;min-height:500px}.p2p-card{border-radius:10px}.p2p-card .ant-card-head{min-height:36px;padding:0 12px}.p2p-card .ant-card-head-title{font-size:13px;padding:8px 0}.p2p-card .ant-card-body{padding:10px 12px}.p2p-cfg-item{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.p2p-cfg-item:last-child{margin-bottom:0}.p2p-file-ok{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px}.p2p-upload-area{border:1px dashed #d9d9d9;border-radius:6px;padding:14px 12px;text-align:center;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px}.p2p-upload-area:hover{border-color:#3b82f6}.p2p-ref-box{display:flex;flex-direction:column;gap:6px}.p2p-ref-img{max-width:100%;max-height:120px;border-radius:6px;object-fit:contain}.p2p-ref-meta{display:flex;align-items:center;gap:6px}.p2p-cost-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.p2p-cost-total{margin-top:2px}.p2p-main-btn{height:40px;font-weight:600}.p2p-log-card .ant-card-body{padding:6px 10px}.p2p-log-list{max-height:180px;overflow-y:auto}.p2p-log-item{display:flex;gap:6px;align-items:baseline;padding:2px 0}.p2p-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:100px 20px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.p2p-progress-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:80px 20px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.p2p-progress-icon{margin-bottom:4px}.p2p-review-wrap{display:flex;flex-direction:column;gap:12px}.p2p-page-strip{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:8px 12px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.p2p-page-chip{display:flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;cursor:pointer;transition:background .15s}.p2p-page-chip:hover{background:#f5f5ff}.p2p-page-chip.active{background:#e6f4ff}.p2p-edit-card{border-radius:10px}.p2p-field{margin-bottom:14px}.p2p-field:last-child{margin-bottom:0}.p2p-field-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.p2p-bp-row{display:flex;align-items:center;gap:6px;margin-bottom:6px}.p2p-nav-row{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #f0f0f0}.p2p-grid-wrap{display:flex;flex-direction:column;gap:12px}.p2p-img-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.p2p-img-card{background:#fff;border:1px solid #f0f0f0;border-radius:8px;overflow:hidden;transition:box-shadow .2s}.p2p-img-card:hover{box-shadow:0 4px 12px #0000000f}.p2p-img-empty{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#fafafa}.p2p-img-label{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;border-top:1px solid #f5f5f5}.p2p-export-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.p2p-stream-panel{background:#fff;border-radius:10px;border:1px solid #f0f0f0;display:flex;flex-direction:column;height:100%;min-height:500px}.p2p-stream-header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #f0f0f0}.p2p-stream-content{flex:1;overflow-y:auto;padding:16px}.p2p-stream-text{font-family:SF Mono,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-all;color:#374151;margin:0}.p2p-stream-waiting{flex:1;display:flex;align-items:center;justify-content:center}.p2p-gen-panel{background:#fff;border-radius:10px;border:1px solid #f0f0f0;padding:16px}.p2p-gen-header{display:flex;align-items:center;gap:10px;margin-bottom:16px}.p2p-gen-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 8px;border-radius:8px;border:2px solid #f0f0f0;background:#fafafa;min-height:80px;transition:all .3s}.p2p-gen-card-icon{height:28px;display:flex;align-items:center;justify-content:center}.p2p-gen-success{border-color:#b7eb8f;background:#f6ffed}.p2p-gen-running{border-color:#91caff;background:#e6f4ff;animation:p2p-pulse 1.5s ease-in-out infinite}.p2p-gen-failed{border-color:#ffccc7;background:#fff2f0}.p2p-gen-waiting{border-color:#f0f0f0;background:#fafafa}@keyframes p2p-pulse{0%,to{box-shadow:0 0 #3b82f633}50%{box-shadow:0 0 0 4px #3b82f626}}.p2p-history-group{margin-bottom:2px}.p2p-history-item{display:flex;align-items:center;justify-content:space-between;padding:4px 6px;border-radius:4px;cursor:pointer;gap:6px;transition:background .15s}.p2p-history-item:hover{background:#f0f5ff}.p2p-history-pages{padding:6px 8px 8px 12px;background:#fafafa;border-radius:0 0 6px 6px;border-top:1px solid #f0f0f0}.p2p-history-page{margin-bottom:4px}.p2p-history-page:last-of-type{margin-bottom:2px}@media(max-width:768px){.p2p-layout{flex-direction:column}.p2p-left{width:100%;position:static;max-height:none}.p2p-img-grid{grid-template-columns:1fr}.p2p-steps-bar{overflow-x:auto}}
