.btn{border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-small{padding:.5rem 1rem;font-size:.875rem}.btn-medium{padding:.75rem 1.5rem;font-size:1rem}.btn-large{padding:1rem 2rem;font-size:1.1rem}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-secondary{background:#5f27cd;color:#fff}.btn-secondary:hover:not(:disabled){background:#4a1fa8}.btn-danger{background:#ff4757;color:#fff}.btn-danger:hover:not(:disabled){background:#ff3838}.btn-success{background:#26de81;color:#fff}.btn-success:hover:not(:disabled){background:#20bf6b}.btn-full-width{width:100%}.btn-loading{position:relative}.btn-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}.input-wrapper{display:flex;flex-direction:column;gap:.5rem}.input-full-width{width:100%}.input-label{font-weight:600;color:#555;font-size:.95rem}.input-required{color:#ff4757;margin-left:.25rem}.input{padding:.75rem;font-size:1rem;border:2px solid #e0e0e0;border-radius:6px;transition:all .3s ease;font-family:inherit}.input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.input:disabled{background:#f5f5f5;cursor:not-allowed}.input-error{border-color:#ff4757}.input-error:focus{border-color:#ff4757;box-shadow:0 0 0 3px #ff47571a}.input-error-text{color:#ff4757;font-size:.875rem;margin-top:-.25rem}.input-helper-text{color:#999;font-size:.875rem;margin-top:-.25rem}.card{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;transition:all .3s ease}.card-hoverable:hover{transform:translateY(-4px);box-shadow:0 8px 30px #00000026}.card-padding-none{padding:0}.card-padding-small{padding:1rem}.card-padding-medium{padding:2rem}.card-padding-large{padding:3rem}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.card-header-content{flex:1}.card-title{margin:0;color:#333;font-size:1.8rem;font-weight:700}.card-subtitle{margin:.5rem 0 0;color:#666;font-size:1rem}.card-header-actions{display:flex;gap:.5rem;align-items:center}.spinner-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem}.spinner{border:3px solid;border-radius:50%;animation:spin .8s linear infinite}.spinner-message{margin-top:1rem;color:#555;font-size:1rem}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1.5rem;text-align:center}.empty-state-icon{margin-bottom:1rem;color:#ccc}.empty-state-icon svg{width:64px;height:64px}.empty-state-title{margin:0 0 .5rem;color:#666;font-size:1.25rem;font-weight:600}.empty-state-description{margin:0 0 1.5rem;color:#999;font-size:1rem;max-width:400px}.empty-state-action{margin-top:1rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}.modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-small{width:90%;max-width:400px}.modal-medium{width:90%;max-width:600px}.modal-large{width:90%;max-width:900px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e0e0e0}.modal-title{margin:0;color:#333;font-size:1.5rem;font-weight:700}.modal-close{background:none;border:none;font-size:2rem;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.modal-close:hover{background:#f5f5f5;color:#333}.modal-body{padding:2rem}.modal-footer{padding:1.5rem 2rem;border-top:1px solid #e0e0e0;display:flex;justify-content:flex-end;gap:.75rem}.toast-container{position:fixed;top:1rem;right:1rem;z-index:9999;display:flex;flex-direction:column;gap:.75rem;max-width:400px}.toast{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-radius:8px;box-shadow:0 4px 12px #00000026;animation:slideIn .3s ease;min-width:300px}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast-content{display:flex;align-items:center;gap:.75rem;flex:1}.toast-icon{font-size:1.25rem;font-weight:700}.toast-message{color:#fff;font-size:.95rem;font-weight:500}.toast-close{background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background .2s ease}.toast-close:hover{background:#fff3}.toast-success{background:#26de81}.toast-error{background:#ff4757}.toast-warning{background:#ffa502}.toast-info{background:#667eea}@media (max-width: 768px){.toast-container{top:.5rem;right:.5rem;left:.5rem;max-width:none}.toast{min-width:auto}}.file-tree{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);height:100%;display:flex;flex-direction:column;overflow:hidden}.file-tree-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.file-tree-header h3{margin:0;font-size:1.1rem;font-weight:600}.file-count{font-size:.875rem;color:#ffffffe6}.file-tree-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:.5rem 0;min-height:0;scrollbar-width:thin;scrollbar-color:#cbd5e0 #f7fafc}.file-tree-virtual-scroll,.virtual-scroll-spacer{position:relative}.virtual-scroll-content{position:absolute;top:0;left:0;right:0}.tree-folder{margin-bottom:.25rem}.folder-header{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;cursor:pointer;transition:background .2s;-webkit-user-select:none;user-select:none}.folder-header:hover{background:#f7fafc}.folder-header.root{font-weight:600;background:#f7fafc}.folder-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;color:#f59e0b}.folder-icon svg{width:100%;height:100%}.folder-name{flex:1;font-weight:500;color:#2d3748}.folder-count{font-size:.75rem;color:#718096}.folder-contents{background:#fafafa}.file-item{display:flex;align-items:center;gap:.5rem;padding:.65rem 1rem;cursor:pointer;transition:all .2s;border-left:3px solid transparent}.file-item:hover{background:#edf2f7}.file-item.selected{background:#e6fffa;border-left-color:#38b2ac}.file-icon{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;color:#667eea}.file-icon svg{width:100%;height:100%}.file-name{flex:1;font-size:.9rem;color:#2d3748;font-weight:400}.status-icon{font-size:.9rem;font-weight:700;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:50%}.status-icon.completed{color:#fff;background:#48bb78}.status-icon.processing{color:#d69e2e}.status-icon.failed{color:#fff;background:#f56565}.status-icon.pending{color:#a0aec0}.file-status{font-size:.75rem;color:#718096}.tree-empty{padding:3rem 1.5rem;text-align:center;color:#a0aec0}.tree-empty p{margin:0;font-size:.95rem}.file-tree-content::-webkit-scrollbar{width:8px}.file-tree-content::-webkit-scrollbar-track{background:#f7fafc;border-radius:4px}.file-tree-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px;border:2px solid #f7fafc}.file-tree-content::-webkit-scrollbar-thumb:hover{background:#a0aec0}.file-detail-panel{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);height:100%;display:flex;flex-direction:column;overflow:hidden}.detail-empty svg{margin-bottom:1rem;opacity:.4;color:#cbd5e0}.detail-empty-icon{filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.detail-section:last-child{margin-bottom:0}.detail-section h4{margin:0 0 1rem;font-size:.9rem;font-weight:600;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.detail-item label{font-weight:500;font-size:.875rem;color:#718096;min-width:100px}.detail-value.filename{font-weight:600;color:#2d3748}.detail-value.highlight{font-weight:700;color:#667eea;font-size:1.1rem}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-badge.info{background:#bee3f8;color:#2c5282}.tag{display:inline-block;padding:.35rem .75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:var(--radius-md);font-size:.8rem;font-weight:500}.log-container{max-height:300px;overflow-y:auto;background:#1a202c;border-radius:var(--radius-md);padding:1rem}.log-entry{padding:.75rem;margin-bottom:.5rem;background:#ffffff0d;border-radius:var(--radius-sm);border-left:3px solid #4a5568;color:#e2e8f0;font-family:Consolas,Monaco,monospace;font-size:.8rem}.log-entry:last-child{margin-bottom:0}.log-entry.success{border-left-color:#48bb78}.log-entry.error{border-left-color:#f56565}.log-time{color:#a0aec0;font-size:.75rem;margin-bottom:.25rem}.log-action{font-weight:600;margin-bottom:.25rem}.log-message{color:#cbd5e0;font-size:.75rem}.metadata-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.metadata-item{padding:.75rem;background:#f7fafc;border-radius:var(--radius-md);font-size:.85rem}.metadata-key{font-weight:600;color:#4a5568;margin-right:.5rem}.metadata-value{color:#2d3748}.detail-content::-webkit-scrollbar,.log-container::-webkit-scrollbar{width:6px}.detail-content::-webkit-scrollbar-track,.log-container::-webkit-scrollbar-track{background:#f7fafc}.detail-content::-webkit-scrollbar-thumb,.log-container::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.detail-content::-webkit-scrollbar-thumb:hover,.log-container::-webkit-scrollbar-thumb:hover{background:#a0aec0}.log-container::-webkit-scrollbar-track{background:#ffffff0d}.log-container::-webkit-scrollbar-thumb{background:#fff3}.upload-zone-container{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:1.25rem;height:100%;display:flex;flex-direction:column;overflow:hidden;min-width:0}.upload-zone-info{margin-bottom:1rem}.upload-zone-info h3{margin:0 0 .5rem;font-size:1.1rem;font-weight:600;color:#2d3748}.upload-limit{margin:0;font-size:.875rem;color:#718096}.folder-selector{margin-bottom:1rem;padding:12px;background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0}.folder-selector-row{display:flex;align-items:center;gap:12px}.folder-selector label{font-size:14px;font-weight:600;color:#4a5568;white-space:nowrap}.folder-selector select{flex:1;padding:8px 12px;border:1px solid #cbd5e0;border-radius:6px;background:#fff;color:#2d3748;font-size:14px;cursor:pointer;transition:all .2s}.create-folder-btn{padding:8px 12px;border:1px solid #cbd5e0;border-radius:6px;background:#fff;color:#667eea;font-size:18px;font-weight:700;cursor:pointer;transition:all .2s;min-width:36px;height:36px;display:flex;align-items:center;justify-content:center}.create-folder-btn:hover:not(:disabled){background:#667eea;color:#fff;border-color:#667eea}.create-folder-btn:disabled{opacity:.5;cursor:not-allowed}.create-folder-form{display:flex;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.create-folder-form input{flex:1;padding:8px 12px;border:1px solid #cbd5e0;border-radius:6px;background:#fff;color:#2d3748;font-size:14px}.create-folder-form input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.create-folder-form button{padding:8px 16px;border:1px solid #cbd5e0;border-radius:6px;background:#fff;color:#4a5568;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.create-folder-form button:first-of-type{background:#667eea;color:#fff;border-color:#667eea}.create-folder-form button:first-of-type:hover:not(:disabled){background:#5568d3}.create-folder-form button:disabled{opacity:.5;cursor:not-allowed}.folder-selector select:hover:not(:disabled){border-color:#667eea}.folder-selector select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.folder-selector select:disabled{opacity:.5;cursor:not-allowed}.upload-zone{border:3px dashed #cbd5e0;border-radius:var(--radius-lg);padding:1.5rem 1rem;text-align:center;background:#f7fafc;cursor:pointer;transition:all .3s;flex:1;display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden}.upload-zone:hover:not(.disabled){border-color:#667eea;background:#edf2f7}.upload-zone.drag-active{border-color:#667eea;background:linear-gradient(135deg,#667eea1a,#764ba21a);transform:scale(1.02)}.upload-zone.disabled{opacity:.5;cursor:not-allowed;background:#e2e8f0}.upload-zone-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;width:100%;max-width:100%;padding:0}.upload-icon{color:#667eea;opacity:.6;transition:all .3s;filter:drop-shadow(0 2px 4px rgba(102,126,234,.2));width:56px;height:56px;flex-shrink:0}.upload-zone:hover:not(.disabled) .upload-icon{opacity:1;transform:translateY(-5px);filter:drop-shadow(0 4px 8px rgba(102,126,234,.3))}.upload-zone-content h4{margin:0;font-size:.9rem;font-weight:600;color:#2d3748;white-space:normal;word-break:keep-all;line-height:1.3}.upload-hint{margin:0;font-size:.8rem;color:#a0aec0}.upload-formats{margin-top:.25rem;padding-top:.5rem;border-top:1px solid #e2e8f0;width:100%;max-width:100%}.upload-formats p{margin:0;font-size:.7rem;color:#a0aec0;word-break:keep-all;white-space:normal;line-height:1.3;padding:0}.upload-list{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);overflow:hidden;height:100%;display:flex;flex-direction:column}.upload-list-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#ed8936,#dd6b20);color:#fff}.upload-list-header h3{margin:0;font-size:1.1rem;font-weight:600}.upload-count{font-size:.875rem;color:#ffffffe6}.upload-list-content{flex:1;padding:1rem;overflow-y:auto;min-height:0}.upload-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f7fafc;border-radius:var(--radius-md);margin-bottom:.75rem;transition:all .2s}.upload-item:last-child{margin-bottom:0}.upload-item.success{background:#f0fff4;border-left:4px solid #48bb78}.upload-item.error{background:#fff5f5;border-left:4px solid #f56565}.upload-item.uploading{background:#ebf8ff;border-left:4px solid #4299e1}.upload-item.cancelled{background:#f7fafc;border-left:4px solid #a0aec0;opacity:.7}.upload-item-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}.spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.check{color:#48bb78;font-weight:700}.error{color:#f56565;font-weight:700}.cancelled{color:#a0aec0;font-weight:700}.upload-item-info{flex:1;min-width:0}.upload-item-name{font-weight:600;font-size:.95rem;color:#2d3748;margin-bottom:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-item-meta{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}.file-size{font-size:.8rem;color:#718096}.progress-text{font-size:.8rem;color:#4299e1;font-weight:600}.error-text{font-size:.8rem;color:#f56565;font-weight:500}.cancelled-text{font-size:.8rem;color:#a0aec0;font-weight:500}.progress-bar-container{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg,#4299e1,#3182ce);border-radius:3px;transition:width .3s ease}.progress-bar.success{background:linear-gradient(90deg,#48bb78,#38a169)}.upload-item-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.delete-btn{width:28px;height:28px;border-radius:50%;border:none;background:#e2e8f0;color:#718096;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.9rem;transition:all .2s}.delete-btn:hover{background:#f56565;color:#fff;transform:scale(1.1)}.upload-list-content::-webkit-scrollbar{width:6px}.upload-list-content::-webkit-scrollbar-track{background:#f7fafc}.upload-list-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.upload-list-content::-webkit-scrollbar-thumb:hover{background:#a0aec0}.document-upload{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;height:100vh;overflow:hidden;background:#f7fafc}.document-top,.document-bottom{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;flex:1;min-height:0;overflow:hidden}.document-left,.document-right{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}@media (max-width: 1200px){.document-top,.document-bottom{grid-template-columns:1fr}}@media (max-width: 768px){.document-upload{padding:1rem;gap:1rem}.document-top,.document-bottom{gap:1rem}}.information-panel{width:280px;height:100%;background:linear-gradient(135deg,#1e3a5f,#2c5282);color:#fff;display:flex;flex-direction:column;overflow:hidden;box-shadow:2px 0 8px #00000026;position:relative;transition:width .3s ease,min-width .3s ease}.information-panel.collapsed{width:70px;min-width:70px}.sidebar-toggle{position:absolute;top:50%;right:-12px;transform:translateY(-50%);width:24px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:0 8px 8px 0;color:#fff;font-size:.75rem;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:100;box-shadow:2px 2px 8px #0003;transition:all .2s}.sidebar-toggle:hover{right:-14px;box-shadow:3px 3px 12px #667eea66;background:linear-gradient(135deg,#764ba2,#667eea)}.sidebar-icons{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:2rem .75rem;height:100%}.sidebar-icon{position:relative;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#ffffff1a;border-radius:12px;cursor:pointer;transition:all .2s;color:#fff}.sidebar-icon:hover{background:#fff3;transform:scale(1.1);box-shadow:0 4px 8px #0003}.sidebar-icon svg{width:24px;height:24px}.sidebar-icon .node-indicator{font-size:1.5rem;color:#48bb78}.sidebar-icon .relationship-indicator{font-size:1.5rem;color:#4299e1;font-weight:700}.icon-badge{position:absolute;top:-4px;right:-4px;background:#f56565;color:#fff;font-size:.65rem;font-weight:600;padding:.15rem .4rem;border-radius:10px;min-width:18px;text-align:center;box-shadow:0 2px 4px #0003}.information-header{padding:1.5rem 1.25rem;border-bottom:1px solid rgba(255,255,255,.1);background:#0000001a}.information-header h2{margin:0 0 .5rem;font-size:1.25rem;font-weight:600;color:#fff}.information-subtitle{margin:0;font-size:.875rem;color:#ffffffb3}.information-content{flex:1;overflow-y:auto;padding:1rem}.schema-section{margin-bottom:1.5rem}.schema-section-header{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:#ffffff0d;border-radius:6px;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.schema-section-header:hover{background:#ffffff1a}.section-icon{font-size:.75rem;color:#fff9;width:12px}.section-title{flex:1;font-weight:500;font-size:.9rem}.section-count{font-size:.85rem;color:#fff9}.node-indicator{color:#48bb78;font-size:1rem;line-height:1}.node-color-circle{width:14px;height:14px;min-width:14px;min-height:14px;border-radius:50%;border:2px solid;background-color:#9ca3af;box-shadow:0 1px 3px #0000004d,inset 0 1px 1px #fff3;flex-shrink:0;transition:all .2s ease}.node-color-circle:hover{transform:scale(1.15);box-shadow:0 2px 5px #0006,inset 0 1px 1px #ffffff4d}.relationship-indicator{color:#4299e1;font-size:1rem;font-weight:700;line-height:1}.schema-items{margin-top:.5rem;margin-left:.5rem;display:flex;flex-direction:column;gap:.25rem}.schema-item{display:flex;align-items:center;gap:.5rem;padding:.65rem .75rem;background:#ffffff08;border-radius:4px;transition:all .2s;font-size:.875rem;border-left:2px solid transparent}.schema-item-click{background:none;border:none;color:inherit;cursor:pointer;padding:0;text-align:left}.schema-item:hover{background:#ffffff1a;transform:translate(2px)}.schema-item-node:hover{border-left-color:#48bb78}.schema-item-relationship:hover{border-left-color:#4299e1}.item-label{flex:1;color:#fff;font-weight:400}.item-count{font-size:.75rem;color:#ffffff80}.schema-empty{padding:1rem;text-align:center;color:#fff6;font-size:.85rem;font-style:italic}.schema-legend{margin-top:2rem;padding:1rem;background:#0003;border-radius:6px;display:flex;flex-direction:column;gap:.75rem}.legend-item{display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:#fffc}.information-content::-webkit-scrollbar{width:6px}.information-content::-webkit-scrollbar-track{background:#0000001a}.information-content::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.information-content::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.ai-modal-close:hover:not(:disabled){background:#f7fafc;color:#4a5568}.ai-modal-close:disabled{opacity:.5;cursor:not-allowed}.ai-input{width:100%;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-family:inherit;font-size:.95rem;line-height:1.5;resize:vertical;transition:all .2s;box-sizing:border-box}.cypher-query-bar{background:#fff;padding:1rem 1.5rem;border-bottom:2px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.query-input-container{display:flex;gap:1rem;align-items:flex-start}.query-input-wrapper{flex:1;position:relative}.query-input{width:100%;padding:.75rem 1rem;border:2px solid #cbd5e0;border-radius:8px;font-family:Consolas,Monaco,Courier New,monospace;font-size:.95rem;line-height:1.5;resize:vertical;min-height:60px;background:#fff;color:#2d3748;transition:all .2s}.query-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.query-input::placeholder{color:#a0aec0}.query-actions{display:flex;gap:.75rem;align-items:center}.ai-button,.add-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.25rem;border:none;border-radius:50px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a}.ai-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.ai-button.loading,.ai-button:disabled{opacity:.7;cursor:not-allowed;box-shadow:none}.ai-button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #667eea4d}.ai-icon{font-size:1.2rem}.add-button{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;font-size:1.5rem;width:44px;height:44px;padding:0}.add-button:hover{transform:translateY(-2px) rotate(90deg);box-shadow:0 4px 8px #48bb784d}.reset-button{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:1.5rem;width:44px;height:44px;padding:0;border:none;border-radius:50px;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a;display:flex;align-items:center;justify-content:center}.reset-button:hover{transform:translateY(-2px) rotate(-180deg);box-shadow:0 4px 8px #f59e0b4d}.ai-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ai-modal{background:#fff;border-radius:12px;width:90%;max-width:600px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.ai-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e2e8f0}.ai-modal-header h3{margin:0;font-size:1.25rem;color:#2d3748}.ai-modal-close{background:none;border:none;font-size:2rem;color:#a0aec0;cursor:pointer;line-height:1;padding:0;width:32px;height:32px;border-radius:4px;transition:all .2s}.ai-modal-close:hover{background:#f7fafc;color:#4a5568}.ai-modal-body{padding:1.5rem}.ai-modal-description{margin:0 0 1rem;color:#4a5568;font-size:.95rem}.ai-input{width:100%;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-family:inherit;font-size:.95rem;line-height:1.5;resize:vertical;transition:all .2s}.ai-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.ai-input:disabled{background:#f7fafc;cursor:not-allowed;opacity:.6}.ai-loading-status{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;margin-bottom:1rem;background:#f7fafc;border-radius:8px;border:2px dashed #cbd5e0}.ai-loading-spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{to{transform:rotate(360deg)}}.ai-loading-text{margin:0;color:#4a5568;font-size:.95rem;text-align:center}.ai-loading-text small{display:block;margin-top:.5rem;color:#718096;font-size:.875rem}.ai-examples{margin-top:1rem;padding:1rem;background:#f7fafc;border-radius:8px}.ai-examples-title{margin:0 0 .5rem;font-weight:600;font-size:.875rem;color:#4a5568}.ai-examples ul{margin:0;padding-left:1.25rem;color:#718096;font-size:.875rem}.ai-examples li{margin-bottom:.25rem}.ai-modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid #e2e8f0}@media (max-width: 768px){.query-input-container{flex-direction:column}.query-actions{width:100%;justify-content:flex-end}}.add-item-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.add-item-modal{background:#fff;border-radius:var(--radius-lg);width:90%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0003;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.modal-header h2{margin:0;font-size:1.5rem;font-weight:700}.modal-close-btn{width:36px;height:36px;border-radius:50%;border:none;background:#fff3;color:#fff;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.modal-close-btn:hover{background:#ffffff4d;transform:rotate(90deg)}.modal-body{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:2rem;overflow:auto}.modal-left,.modal-right{display:flex;flex-direction:column;gap:1.5rem}.add-item-panel{background:#ebf8ff;border-radius:var(--radius-lg);padding:1.5rem}.tab-switcher{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem;justify-content:center}.tab-btn{padding:.65rem 1.5rem;background:#fff;border:2px solid #bee3f8;color:#2c5282;border-radius:var(--radius-md);font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.tab-btn:hover{border-color:#4299e1}.tab-btn.active{background:linear-gradient(135deg,#4299e1,#3182ce);border-color:#4299e1;color:#fff}.tab-divider{color:#a0aec0;font-weight:300}.form-content{display:flex;flex-direction:column}.node-form,.relationship-form{display:flex;flex-direction:column;gap:1.25rem}.node-form h4,.relationship-form h4{margin:0;font-size:1rem;font-weight:600;color:#2c5282}.properties-section{display:flex;flex-direction:column;gap:.75rem}.properties-section>label{font-weight:600;font-size:.9rem;color:#2d3748}.property-row{display:flex;gap:.5rem;align-items:center}.property-input{flex:1;padding:.65rem 1rem;border:2px solid #bee3f8;border-radius:var(--radius-md);font-size:.9rem;background:#fff;transition:all .2s}.property-input:focus{outline:none;border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a}.remove-btn{width:32px;height:32px;border-radius:50%;border:none;background:#fed7d7;color:#c53030;cursor:pointer;font-size:.9rem;transition:all .2s}.remove-btn:hover{background:#f56565;color:#fff;transform:scale(1.1)}.add-property-btn{padding:.65rem 1rem;border:2px dashed #bee3f8;background:#fff;color:#4299e1;border-radius:var(--radius-md);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;align-self:flex-start}.add-property-btn:hover{border-color:#4299e1;background:#ebf8ff}.preview-panel{background:#f0fff4;border-radius:var(--radius-lg);padding:1.5rem;display:flex;flex-direction:column;max-height:500px}.preview-panel h4{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:#22543d}.preview-subtitle{margin:0 0 1rem;font-size:.875rem;color:#48bb78}.preview-count-info{padding:.75rem;background:#fff;border-radius:var(--radius-md);font-size:.875rem;font-weight:600;color:#2d3748;margin-bottom:1rem;text-align:center}.preview-empty{flex:1;display:flex;align-items:center;justify-content:center;color:#a0aec0;min-height:200px}.preview-items{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.75rem}.preview-item{padding:1rem;border-radius:var(--radius-md);border-left:4px solid}.preview-item.node-item{background:#fff;border-left-color:#48bb78}.preview-item.relationship-item{background:#fff;border-left-color:#4299e1}.preview-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.item-type-badge{padding:.25rem .65rem;border-radius:var(--radius-sm);font-size:.75rem;font-weight:600}.item-type-badge.node{background:#48bb78;color:#fff}.item-type-badge.relationship{background:#4299e1;color:#fff}.remove-preview-btn{width:24px;height:24px;border-radius:50%;border:none;background:#e2e8f0;color:#718096;cursor:pointer;font-size:.8rem;transition:all .2s}.remove-preview-btn:hover{background:#f56565;color:#fff}.preview-item-content{font-size:.875rem;color:#2d3748}.item-label{font-weight:600;margin-bottom:.25rem}.item-properties,.relationship-flow{font-size:.8rem;color:#4a5568;font-family:Consolas,Monaco,monospace;line-height:1.6}.modal-footer{padding:1.5rem 2rem;border-top:2px solid #e2e8f0;background:#f7fafc;display:flex;justify-content:space-between;align-items:center}.modal-hint{margin:0;font-size:.875rem;color:#718096}.modal-actions{display:flex;gap:1rem}.modal-body::-webkit-scrollbar,.preview-items::-webkit-scrollbar{width:6px}.modal-body::-webkit-scrollbar-track,.preview-items::-webkit-scrollbar-track{background:#f7fafc}.modal-body::-webkit-scrollbar-thumb,.preview-items::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}@media (max-width: 1024px){.modal-body{grid-template-columns:1fr}.add-item-modal{width:95%;max-height:95vh}}.graph-canvas{flex:1;min-height:0;background:#fff;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);box-shadow:inset 0 2px 4px #0000000f}.graph-canvas-graph{background:#fff;user-select:none;overflow:hidden;touch-action:none;-ms-touch-action:none;-webkit-touch-callout:none;-ms-content-zooming:none;-webkit-user-select:none;outline:none;-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;position:relative}.graph-canvas-graph:focus{outline:none}.graph-canvas-graph:focus-visible{outline:none}.simple-node{position:absolute;width:80px;height:80px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;cursor:move;transition:transform .1s ease-out,box-shadow .2s;box-shadow:0 4px 12px #667eea4d;font-weight:600;font-size:.75rem;border:3px solid white;pointer-events:auto;-webkit-user-select:none;user-select:none;transform:translate(-50%,-50%);z-index:5;display:flex;align-items:center;justify-content:center;text-align:center;padding:.5rem;word-break:break-word;line-height:1.2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.simple-node[data-index="0"],.simple-node[data-index="3"],.simple-node[data-index="6"],.simple-node[data-index="9"]{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 12px #667eea4d}.simple-node[data-index="1"],.simple-node[data-index="4"],.simple-node[data-index="7"],.simple-node[data-index="10"]{background:linear-gradient(135deg,#f093fb,#f5576c);box-shadow:0 4px 12px #f5576c4d}.simple-node[data-index="2"],.simple-node[data-index="5"],.simple-node[data-index="8"],.simple-node[data-index="11"]{background:linear-gradient(135deg,#4facfe,#00f2fe);box-shadow:0 4px 12px #4facfe4d}.simple-node:hover{transform:translate(-50%,-50%) scale(1.15);box-shadow:0 8px 20px #667eea99;z-index:10;border-width:4px}.simple-node:active{cursor:grabbing;transform:translate(-50%,-50%) scale(1.1);box-shadow:0 6px 16px #667eea80}.canvas-controls{position:absolute;bottom:20px;left:20px;display:none;flex-direction:column;gap:.5rem;z-index:10}.graph-canvas-graph .canvas-controls,.graph-canvas-flow .canvas-controls{display:flex}.canvas-control-btn{width:40px;height:40px;background:#fff;border:2px solid #cbd5e0;border-radius:8px;font-size:1.2rem;font-weight:700;color:#2d3748;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a;pointer-events:auto;-webkit-user-select:none;user-select:none}.canvas-control-btn:hover{background:#667eea;border-color:#667eea;color:#fff;transform:scale(1.1);box-shadow:0 4px 8px #667eea4d}.canvas-info{position:absolute;top:20px;right:20px;display:none;gap:1rem;padding:.75rem 1.25rem;background:#fff;border:2px solid #e2e8f0;border-radius:8px;color:#2d3748;font-size:.875rem;font-weight:600;z-index:10;box-shadow:0 2px 8px #0000001a}.graph-canvas-graph .canvas-info,.graph-canvas-flow .canvas-info{display:flex}.canvas-info span{display:flex;align-items:center;gap:.5rem}.graph-canvas-table{background:transparent;padding:1.5rem}.table-container{width:100%;height:100%;overflow:auto;background:#fff;border-radius:var(--radius-lg);box-shadow:0 4px 12px #00000014;border:2px solid #e2e8f0}.data-table{width:100%;border-collapse:collapse;font-size:.9rem}.data-table thead{position:sticky;top:0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;z-index:10}.data-table th{padding:1rem 1.25rem;text-align:left;font-weight:600;text-transform:uppercase;font-size:.75rem;letter-spacing:.5px}.data-table tbody tr{border-bottom:1px solid #e2e8f0;cursor:pointer;transition:background .2s}.data-table tbody tr:hover{background:#f7fafc}.data-table td{padding:1rem 1.25rem;color:#4a5568}.data-table code{font-family:Consolas,Monaco,monospace;font-size:.85rem;background:#edf2f7;padding:.25rem .5rem;border-radius:4px}.table-node-badge{display:inline-block;padding:.25rem .75rem;background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600}.table-link-badge{display:inline-block;padding:.25rem .75rem;background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600}.graph-canvas-flow{background:#fff}.flow-container{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:2rem}.table-container::-webkit-scrollbar{width:8px;height:8px}.table-container::-webkit-scrollbar-track{background:#edf2f7}.table-container::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.table-container::-webkit-scrollbar-thumb:hover{background:#a0aec0}@keyframes nodeLoadingRotate{0%{stroke-dashoffset:0;transform:rotate(0)}to{stroke-dashoffset:-12;transform:rotate(360deg)}}@keyframes nodeLoadingPulse{0%,to{opacity:.5;transform:scale(1)}50%{opacity:.8;transform:scale(1.1)}}@keyframes loadingIndicatorFadeIn{0%{opacity:0}to{opacity:1}}@keyframes loadingIndicatorFadeOut{0%{opacity:1}to{opacity:0}}.node.new-node{opacity:0;animation:nodeFadeIn .5s ease-out forwards}@keyframes nodeFadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@media (max-width: 768px){.canvas-info{flex-direction:column;gap:.5rem;font-size:.75rem}}.property-inspector{position:absolute;bottom:20px;right:20px;width:450px;max-height:650px;background:#fff;border:2px solid #cbd5e0;border-radius:12px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;display:flex;flex-direction:column;overflow:hidden;animation:inspectorSlideIn .3s ease-out;z-index:100}@keyframes inspectorSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.property-inspector-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.property-inspector-title{display:flex;align-items:center;gap:.75rem;font-weight:600;font-size:1rem}.inspector-node-color-circle{width:16px;height:16px;min-width:16px;min-height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.3);box-shadow:0 2px 4px #0003;flex-shrink:0}.inspector-title-content{display:flex;flex-direction:column;gap:.25rem}.inspector-label-badge{font-size:.75rem;font-weight:500;background:#fff3;padding:.15rem .5rem;border-radius:12px;margin-top:.25rem}.inspector-node-icon{color:#48bb78;font-size:1.2rem;text-shadow:0 2px 4px rgba(0,0,0,.2)}.inspector-link-icon{color:#4299e1;font-size:1.2rem;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.2)}.inspector-type{text-transform:uppercase;letter-spacing:.5px}.property-inspector-close{background:#fff3;border:none;color:#fff;font-size:1.5rem;width:28px;height:28px;border-radius:4px;cursor:pointer;line-height:1;padding:0;transition:all .2s}.property-inspector-close:hover{background:#ffffff4d;transform:rotate(90deg)}.property-inspector-body{flex:1;overflow-y:auto;padding:0;padding-bottom:1rem}.property-action-section{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;background:#f7fafc}.property-section{margin-bottom:.75rem;transition:all .2s ease}.property-section:last-child{margin-bottom:0}.property-section-properties{background:#f7fafc80}.property-section-type{background:#fffbeb80}.property-section-connection{background:#edf2f780}.property-section-header{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.5rem 1rem;margin-bottom:.25rem;border-bottom:2px solid #e2e8f0;transition:all .2s;background:#ffffff80;border-radius:6px 6px 0 0}.property-section-header:hover{border-bottom-color:#cbd5e0;background:#fffc}.property-section-title{display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px;color:#4a5568}.section-icon{font-size:.7rem;color:#718096;transition:transform .2s;display:inline-block}.property-section-header:hover .section-icon{color:#667eea}.section-icon-emoji{font-size:1rem}.section-count-badge{margin-left:auto;padding:.15rem .5rem;background:#667eea1a;color:#667eea;border-radius:12px;font-size:.7rem;font-weight:600}.property-section-content{margin-top:.25rem;padding:0 1rem;display:flex;flex-direction:column;gap:.5rem;animation:sectionExpand .2s ease-out}@keyframes sectionExpand{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.property-field{display:flex;flex-direction:column;gap:.5rem;padding:.625rem;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 1px 2px #0000000d;transition:all .2s ease}.property-field:hover{border-color:#cbd5e0;box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}.property-field-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:.375rem;border-bottom:1px solid #e2e8f0;margin-bottom:.125rem;gap:.5rem}.property-field-badges{display:flex;align-items:center;gap:.5rem}.property-field-label{font-weight:700;font-size:.875rem;color:#2d3748;letter-spacing:.3px;display:flex;align-items:center;gap:.5rem}.property-copy-btn{padding:.25rem .75rem;background:#edf2f7;border:1px solid #cbd5e0;border-radius:4px;color:#4a5568;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s}.property-copy-btn:hover{background:#e2e8f0;border-color:#a0aec0;transform:translateY(-1px)}.property-copy-btn:active{transform:translateY(0)}.property-value{padding:.5rem .75rem;background:#f7fafc;border-radius:4px;font-size:.875rem;color:#2d3748;border-left:3px solid #667eea;word-break:break-word;line-height:1.5}.property-value-id{font-family:Consolas,Monaco,monospace;font-size:.85rem;color:#718096}.property-value-label{font-weight:600;color:#667eea;font-size:1rem}.property-value-type{font-weight:500;color:#667eea}.property-value-connection{display:flex;align-items:center;gap:.5rem;font-family:Consolas,Monaco,monospace;font-size:.85rem}.connection-node{padding:.25rem .5rem;background:#bee3f8;border-radius:4px;color:#2c5282}.connection-arrow{color:#4299e1;font-weight:700}.properties-list{display:flex;flex-direction:column;gap:.5rem}.property-item{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;background:#f7fafc;border-radius:6px;font-size:.875rem;border-left:3px solid #667eea;transition:all .2s}.property-item:hover{background:#edf2f7;border-left-color:#667eea;transform:translate(2px)}.property-item-header{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.property-type-badge{font-size:.65rem;font-weight:600;padding:.2rem .5rem;border-radius:10px;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap}.property-type-badge.type-string{background:#bee3f8;color:#2c5282}.property-type-badge.type-number{background:#c6f6d5;color:#22543d}.property-type-badge.type-boolean{background:#fed7d7;color:#742a2a}.property-type-badge.type-object,.property-type-badge.type-array{background:#fbd38d;color:#744210}.property-type-badge.type-null,.property-type-badge.type-undefined{background:#e2e8f0;color:#4a5568}.property-copy-btn-small{margin-left:auto;padding:.2rem .4rem;background:transparent;border:1px solid #cbd5e0;border-radius:4px;font-size:.7rem;cursor:pointer;transition:all .2s;opacity:.6}.property-copy-btn-small:hover{opacity:1;background:#edf2f7;border-color:#a0aec0}.property-value-wrapper{margin-top:.25rem}.property-value-formatted{margin:0;padding:.375rem .5rem;background:#fff;border:1px solid #e2e8f0;border-radius:4px;font-family:Consolas,Monaco,monospace;font-size:.8rem;color:#2d3748;white-space:pre-wrap;word-break:break-word;max-height:200px;overflow-y:auto;line-height:1.4}.property-key{font-weight:600;color:#4a5568;font-family:Consolas,Monaco,monospace}.property-colon{color:#a0aec0}.property-value{color:#4a5568;word-break:break-word;font-family:Consolas,Monaco,monospace;font-size:.85rem}.property-inspector-body::-webkit-scrollbar{width:6px}.property-inspector-body::-webkit-scrollbar-track{background:#f7fafc}.property-inspector-body::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.property-inspector-body::-webkit-scrollbar-thumb:hover{background:#a0aec0}.detail-query-button{width:100%;padding:.75rem 1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a}.detail-query-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.detail-query-button:active:not(:disabled){transform:translateY(0)}.detail-query-button:disabled{opacity:.5;cursor:not-allowed}.property-color-picker{margin-top:1rem;padding:1rem;background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0}.color-picker-label{font-size:.875rem;font-weight:600;color:#4a5568;margin-bottom:.75rem}.color-picker-controls{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;flex-wrap:wrap}.color-picker-preview{flex:1;min-width:100px;padding:.5rem .75rem;border-radius:6px;font-size:.75rem;font-family:Consolas,Monaco,monospace;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3);text-align:center;font-weight:500}.color-picker-input{width:60px;height:40px;border:2px solid #cbd5e0;border-radius:6px;cursor:pointer;padding:0;background:none;transition:all .2s}.color-picker-input:hover{border-color:#667eea;transform:scale(1.05)}.color-picker-input::-webkit-color-swatch-wrapper{padding:0;border:none;border-radius:4px}.color-picker-input::-webkit-color-swatch{border:none;border-radius:4px}.color-picker-reset{flex:1;padding:.5rem 1rem;background:#fff;border:1px solid #cbd5e0;border-radius:6px;color:#4a5568;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.color-picker-reset:hover{background:#edf2f7;border-color:#a0aec0;transform:translateY(-1px)}.color-picker-reset:active{transform:translateY(0)}.color-picker-hint{font-size:.75rem;color:#718096;line-height:1.5;padding:.5rem;background:#667eea0d;border-radius:4px;border-left:3px solid #667eea;margin-top:.75rem}.property-size-picker{margin-top:1.5rem;padding:.75rem;background:#f7fafc;border-radius:6px}.size-picker-label{font-size:.875rem;font-weight:600;color:#2d3748;margin-bottom:.75rem}.size-picker-options{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.size-picker-option{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.75rem;background:#fff;border:2px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .2s ease;color:#475569}.size-picker-option:hover{border-color:#cbd5e0;background:#f8fafc;transform:translateY(-2px);box-shadow:0 2px 4px #0000001a}.size-picker-option.selected{border-color:#667eea;background:#667eea1a;color:#667eea;font-weight:600}.size-picker-preview{border-radius:50%;border:2px solid rgba(0,0,0,.1);flex-shrink:0;transition:all .2s ease}.size-picker-option.selected .size-picker-preview{border-color:#667eea;box-shadow:0 0 0 2px #667eea33}.size-picker-label-text{font-size:.75rem;font-weight:500}.size-picker-value-text{font-size:.65rem;color:#718096;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.size-picker-option.selected .size-picker-value-text{color:#667eea}.size-picker-hint{font-size:.75rem;color:#718096;line-height:1.5;padding:.5rem;background:#667eea0d;border-radius:4px;border-left:3px solid #667eea;margin-top:.75rem}.flow-actions{display:flex;gap:.5rem;margin-bottom:.5rem}.property-action-btn{flex:1;padding:.75rem;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.property-action-btn.flow-start{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.property-action-btn.flow-start:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 4px 6px #10b9814d}.property-action-btn.flow-end{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.property-action-btn.flow-end:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 6px #3b82f64d}.property-hide-node-btn{width:100%;padding:.75rem;background:linear-gradient(135deg,#f56565,#e53e3e);color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:.5rem}.property-hide-node-btn:hover{background:linear-gradient(135deg,#e53e3e,#c53030);transform:translateY(-1px);box-shadow:0 4px 6px #e53e3e4d}.property-hide-node-btn:active{transform:translateY(0);box-shadow:0 2px 4px #e53e3e33}.property-hint-section{margin:.75rem 1rem 0;padding:.5rem .75rem;background:#667eea0d;border-left:3px solid #667eea;border-radius:4px}.property-hint{font-size:.8rem;color:#4a5568;line-height:1.5;margin:0}@media (max-width: 768px){.property-inspector{width:calc(100% - 40px);max-width:400px}}.ai-assistant-panel{background:#f5f7ff;border:1px solid rgba(102,126,234,.2);border-left:4px solid #667eea;border-radius:10px;margin:.5rem 1.5rem;padding:.75rem 1.25rem;color:#2d3748;flex-shrink:0;max-height:350px;overflow-y:auto;overflow-x:hidden}.ai-assistant-close{background:#e2e8f0;border:none;color:#4a5568;font-size:1.5rem;width:28px;height:28px;border-radius:4px;cursor:pointer;line-height:1;padding:0;transition:all .2s;display:flex;align-items:center;justify-content:center}.ai-assistant-close:hover{background:#cbd5e0;color:#2d3748}.ai-assistant-intent code{background:#667eea1a;padding:.25rem .5rem;border-radius:4px;font-size:.85rem;color:#4c51bf}.ai-assistant-cypher{margin:0;background:#fff;border-radius:8px;padding:.75rem;font-family:Consolas,Monaco,Courier New,monospace;font-size:.85rem;overflow-x:auto;border:1px solid #e2e8f0;max-height:200px;overflow-y:auto}.ai-assistant-tools{margin-top:.75rem;padding-top:.75rem;border-top:1px solid rgba(102,126,234,.2);display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.ai-assistant-tools-label{font-size:.85rem;color:#4a5568;font-weight:500}.ai-assistant-tools-list{display:flex;gap:.5rem;flex-wrap:wrap}.ai-assistant-tool-badge{background:#667eea1a;color:#4c51bf;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500}.ai-assistant-panel::-webkit-scrollbar{width:6px}.ai-assistant-panel::-webkit-scrollbar-track{background:#667eea1a;border-radius:3px}.ai-assistant-panel::-webkit-scrollbar-thumb{background:#667eea4d;border-radius:3px}.ai-assistant-panel::-webkit-scrollbar-thumb:hover{background:#667eea80}.ai-assistant-cypher::-webkit-scrollbar{width:6px;height:6px}.ai-assistant-cypher::-webkit-scrollbar-track{background:#f7fafc;border-radius:3px}.ai-assistant-cypher::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.ai-assistant-cypher::-webkit-scrollbar-thumb:hover{background:#a0aec0}.ai-assistant-token-usage{margin-top:.75rem;padding-top:.75rem;border-top:1px solid rgba(102,126,234,.2)}.ai-assistant-token-header{font-size:.85rem;font-weight:600;color:#4a5568;margin-bottom:.5rem}.ai-assistant-token-stats{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.5rem}.ai-assistant-token-item{display:flex;justify-content:space-between;align-items:center;font-size:.8rem}.ai-assistant-token-label{color:#718096;font-weight:500}.ai-assistant-token-value{color:#2d3748;font-weight:600;font-family:Consolas,Monaco,Courier New,monospace}.ai-assistant-token-total{color:#4c51bf;font-size:.85rem}.ai-assistant-token-cost{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#667eea0d;border-radius:6px;border:1px solid rgba(102,126,234,.1)}.ai-assistant-cost-label{font-size:.8rem;color:#4a5568;font-weight:500}.ai-assistant-cost-value{font-size:.85rem;color:#2d3748;font-weight:700;font-family:Consolas,Monaco,Courier New,monospace}.flow-panel{width:360px;min-width:360px;max-width:420px;height:100%;background:#fff;border-left:1px solid #e2e8f0;display:flex;flex-direction:column;overflow-y:auto;flex-shrink:0}.flow-panel-header{padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 4px #0000000d;display:flex;justify-content:space-between;align-items:center}.flow-panel-header h3{margin:0;font-size:1.15rem;font-weight:600;letter-spacing:.3px}.flow-header-settings-btn{background:#fff3;border:1px solid rgba(255,255,255,.3);border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:all .2s ease;padding:0;flex-shrink:0}.flow-header-settings-btn:hover{background:#ffffff4d;border-color:#ffffff80;transform:scale(1.05)}.flow-header-settings-btn:active{transform:scale(.95)}.flow-header-settings-btn svg{width:18px;height:18px}.flow-panel-section{padding:1.5rem;border-bottom:1px solid #f1f5f9}.flow-panel-section:last-child{border-bottom:none}.flow-panel-section h4{margin:0 0 1rem;font-size:.95rem;font-weight:600;color:#334155;display:flex;align-items:center;gap:.5rem}.flow-panel-section small{display:block;margin-top:.5rem;font-size:.75rem;color:#64748b}.flow-natural-language{background:linear-gradient(to bottom,#f8fafc,#fff);border-left:4px solid #667eea;padding:1.75rem 1.5rem!important;box-shadow:0 2px 8px #00000008}.flow-natural-language h4{font-size:1rem;color:#667eea;margin-bottom:1.25rem!important}.flow-natural-language-input{width:100%;padding:1.25rem;border:2px solid #e2e8f0;border-radius:8px;font-size:.95rem;font-family:inherit;line-height:1.6;resize:vertical;min-height:180px;margin-bottom:1rem;box-sizing:border-box;transition:all .2s ease;background:#fff}.flow-natural-language-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;background:#fafbff}.flow-natural-language-input:disabled{background:#f1f5f9;cursor:not-allowed;opacity:.7}.flow-natural-language-input::placeholder{color:#94a3b8}.flow-generate-btn{width:100%;margin-bottom:0;padding:.875rem!important;font-size:.95rem!important;font-weight:600!important;border-radius:8px!important;box-shadow:0 2px 4px #667eea33;transition:all .2s ease}.flow-generate-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.flow-input-hint{margin-bottom:1rem;padding:.5rem 0}.flow-input-hint small{font-size:.8rem;color:#64748b;display:flex;align-items:center;gap:.25rem}.flow-domain-prompt-section{margin-bottom:1rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;overflow:hidden;transition:all .3s ease}.flow-domain-prompt-closed{max-height:0;margin-bottom:0;border:none;opacity:0;overflow:hidden}.flow-domain-prompt-open{max-height:600px;opacity:1}.flow-domain-prompt-content{padding:1rem;background:#fff}.flow-domain-prompt-header{margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #e2e8f0}.flow-domain-prompt-header strong{color:#667eea;font-weight:600;font-size:.9rem}.flow-domain-prompt-description{margin:0 0 .75rem;font-size:.85rem;color:#64748b;line-height:1.6}.flow-domain-prompt-input{width:100%;padding:.875rem;border:2px solid #e2e8f0;border-radius:6px;font-size:.9rem;font-family:inherit;line-height:1.6;resize:vertical;min-height:120px;box-sizing:border-box;transition:all .2s ease;background:#fff}.flow-domain-prompt-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;background:#fafbff}.flow-domain-prompt-input:disabled{background:#f1f5f9;cursor:not-allowed;opacity:.7}.flow-domain-prompt-input::placeholder{color:#94a3b8}.flow-domain-prompt-save-hint{margin-top:.5rem;text-align:right}.flow-domain-prompt-save-hint small{font-size:.75rem;color:#64748b;font-style:italic}.flow-generated-info{margin-top:1.25rem;padding:1rem;background:linear-gradient(135deg,#f0f4ff,#f8fafc);border:1px solid #e0e7ff;border-radius:8px;font-size:.875rem;box-shadow:0 1px 3px #0000000d}.flow-info-item{margin-bottom:.75rem;padding:.5rem 0;border-bottom:1px solid rgba(226,232,240,.5)}.flow-info-item:last-child{margin-bottom:0;border-bottom:none;padding-bottom:0}.flow-info-item.flow-llm-response{margin-top:.5rem;border-bottom:none}.flow-llm-response details{cursor:pointer}.flow-llm-response summary{font-weight:600;color:#667eea;padding:.5rem 0;-webkit-user-select:none;user-select:none;list-style:none}.flow-llm-response summary::-webkit-details-marker{display:none}.flow-llm-response summary:hover{color:#5568d3}.flow-llm-response-content{margin-top:.75rem;padding:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-family:Consolas,Monaco,Courier New,monospace;font-size:.85rem;line-height:1.6;color:#1e293b;white-space:pre-wrap;word-wrap:break-word;max-height:400px;overflow-y:auto}.flow-info-item strong{color:#667eea;margin-right:.5rem;font-weight:600;display:inline-block;min-width:70px}.flow-node-selector{display:flex;flex-direction:column;gap:1rem}.flow-node-item{display:flex;flex-direction:column;gap:.5rem}.flow-node-item label{font-size:.85rem;font-weight:600;color:#475569}.flow-node-display{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;min-height:2.5rem}.flow-node-label{flex:1;font-size:.85rem;color:#1e293b;word-break:break-all}.flow-node-placeholder{flex:1;font-size:.85rem;color:#94a3b8;font-style:italic}.flow-node-clear{background:#ef4444;color:#fff;border:none;border-radius:4px;width:24px;height:24px;cursor:pointer;font-size:.75rem;display:flex;align-items:center;justify-content:center;transition:background .2s}.flow-node-clear:hover{background:#dc2626}.flow-end-nodes-list{display:flex;flex-direction:column;gap:.5rem;max-height:200px;overflow-y:auto}.flow-end-node-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;min-height:2.5rem}.flow-depth-control{display:flex;align-items:center;gap:1rem}.flow-depth-slider{flex:1;height:6px;border-radius:3px;background:#e2e8f0;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.flow-depth-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#667eea;cursor:pointer}.flow-depth-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#667eea;cursor:pointer;border:none}.flow-depth-value{font-weight:600;color:#667eea;min-width:2rem;text-align:center}.flow-filter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.flow-filter-actions{display:flex;gap:.5rem}.flow-filter-btn{padding:.25rem .5rem;font-size:.75rem;background:#f1f5f9;border:1px solid #cbd5e0;border-radius:4px;cursor:pointer;color:#475569;transition:all .2s}.flow-filter-btn:hover{background:#e2e8f0;border-color:#94a3b8}.flow-relation-types{display:flex;flex-direction:column;gap:.5rem;max-height:200px;overflow-y:auto}.flow-relation-type-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:4px;cursor:pointer;transition:background .2s}.flow-relation-type-item:hover{background:#f8fafc}.flow-relation-type-item input[type=checkbox]{cursor:pointer}.flow-relation-type-item span{font-size:.85rem;color:#334155;-webkit-user-select:none;user-select:none}.flow-filter-warning{color:#f59e0b!important;font-weight:500}.flow-analyze-btn{width:100%;padding:.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s}.flow-analyze-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.flow-analyze-btn:disabled{background:#cbd5e0;cursor:not-allowed;opacity:.6}.flow-analyze-hint{display:block;margin-top:.5rem;color:#94a3b8;text-align:center}.flow-results{background:linear-gradient(to bottom,#fff,#f8fafc);border-top:2px solid #e2e8f0;margin-top:auto;padding-top:1.5rem}.flow-results h4{color:#475569;margin-bottom:1rem}.flow-results-stats{display:flex;flex-direction:column;gap:.75rem}.flow-stat-item{display:flex;justify-content:space-between;align-items:center;padding:.875rem 1rem;background:#fff;border-radius:8px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #00000008;transition:all .2s ease}.flow-stat-item:hover{border-color:#cbd5e0;box-shadow:0 2px 4px #0000000d}.flow-stat-label{font-size:.9rem;color:#64748b;font-weight:500}.flow-stat-value{font-size:1.1rem;font-weight:700;color:#667eea;letter-spacing:.3px}.flow-results-empty{padding:1.5rem 1rem;text-align:center;background:#f8fafc;border-radius:8px;border:1px dashed #cbd5e0}.flow-results-empty small{color:#94a3b8;font-size:.85rem;font-style:italic}.flow-node-summary{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:12px;padding:1.25rem}.flow-node-summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.flow-node-summary-header h4{margin:0;font-size:.95rem;font-weight:600;color:#334155}.flow-summary-refresh-btn{background:#fffc;border:1px solid #bae6fd;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#667eea;transition:all .2s ease;padding:0;flex-shrink:0}.flow-summary-refresh-btn:hover:not(:disabled){background:#fff;border-color:#667eea;transform:rotate(180deg);box-shadow:0 2px 4px #667eea33}.flow-summary-refresh-btn:active:not(:disabled){transform:rotate(180deg) scale(.95)}.flow-summary-refresh-btn:disabled{opacity:.5;cursor:not-allowed}.flow-summary-refresh-btn svg{width:16px;height:16px;transition:transform .3s ease}.flow-summary-loading{padding:1rem;text-align:center;color:#64748b;font-size:.9rem}.flow-summary-content{padding:.5rem 0}.flow-summary-content p{margin:0;line-height:1.7;color:#1e293b;font-size:.95rem;white-space:pre-wrap;word-wrap:break-word}.flow-panel::-webkit-scrollbar{width:6px}.flow-panel::-webkit-scrollbar-track{background:#f1f5f9}.flow-panel::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.flow-panel::-webkit-scrollbar-thumb:hover{background:#94a3b8}.tab-button:hover:not(:disabled){background:#f7fafc;color:#4a5568}.tab-button:disabled{opacity:.5;cursor:not-allowed}.graph-explorer{display:flex;width:100%;height:100vh;background:#f7fafc;overflow:hidden}.graph-explorer-center{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden;height:100%}.graph-canvas-container{flex:1 1 auto;min-height:0;display:flex;position:relative}.graph-explorer-center>.graph-canvas-container{flex:1 1 auto;min-height:0}.graph-canvas-container:has(.flow-panel){display:flex;flex-direction:row}.graph-canvas-container:has(.flow-panel)>.graph-canvas{flex:1;min-width:0}.hidden-nodes-banner{display:flex;align-items:center;justify-content:space-between;margin:.75rem 1.5rem;padding:.75rem 1rem;border-radius:8px;background:#fed7d7;border:1px solid #feb2b2;color:#742a2a;font-size:.9rem;gap:.75rem}.hidden-nodes-banner button{background:#f56565;color:#fff;border:none;border-radius:6px;padding:.4rem .85rem;font-size:.85rem;cursor:pointer;font-weight:600;transition:background .2s ease,transform .2s ease}.hidden-nodes-banner button:hover{background:#e53e3e;transform:translateY(-1px)}.graph-explorer-tabs{display:flex;gap:.5rem;padding:.75rem 1.5rem;background:#fff;border-bottom:2px solid #e2e8f0}.tab-button{padding:.75rem 1.5rem;border:none;background:transparent;color:#718096;font-weight:600;font-size:.95rem;cursor:pointer;border-radius:8px 8px 0 0;transition:all .2s;position:relative}.tab-button:hover{background:#f7fafc;color:#4a5568}.tab-button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.tab-button.active:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:2px;background:linear-gradient(90deg,#667eea,#764ba2)}.ai-assistant-panel{background:#f5f7ff;border:1px solid rgba(102,126,234,.2);border-left:4px solid #667eea;border-radius:10px;margin:1rem 1.5rem 0;padding:1rem 1.25rem;color:#2d3748}.ai-assistant-header{display:flex;justify-content:space-between;align-items:center;font-weight:600;margin-bottom:.5rem}.ai-assistant-confidence{font-size:.85rem;color:#4c51bf}.ai-assistant-intent{font-size:.85rem;color:#4a5568;margin-bottom:.35rem}.ai-assistant-explanation{margin:0 0 .5rem;color:#4a5568;font-size:.9rem}.ai-assistant-cypher{margin:0;background:#fff;border-radius:8px;padding:.75rem;font-family:Consolas,Monaco,Courier New,monospace;font-size:.9rem;overflow-x:auto;border:1px solid #e2e8f0}@media (max-width: 1024px){.graph-explorer{flex-direction:column;height:auto}}@media (max-width: 768px){.graph-explorer-tabs{padding:.5rem 1rem}.tab-button{padding:.5rem 1rem;font-size:.85rem}}.validation-table-container{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);height:100%;display:flex;flex-direction:column;overflow:hidden}.table-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.validation-table{width:100%;border-collapse:collapse}.validation-table thead{position:sticky;top:0;background:#f7fafc;z-index:10}.validation-table th{padding:1rem 1.25rem;text-align:left;font-weight:600;font-size:.875rem;color:#4a5568;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}.validation-table tbody tr{border-bottom:1px solid #e2e8f0;cursor:pointer;transition:all .2s}.validation-table tbody tr:hover{background:#f7fafc}.validation-table tbody tr.selected{background:#edf2f7;border-left:4px solid #667eea}.validation-table td{padding:1rem 1.25rem;font-size:.9rem;color:#2d3748}.id-cell{font-weight:500}.relationship-id{font-family:Consolas,Monaco,monospace;font-size:.875rem;color:#667eea}.score-cell{text-align:center}.score{font-weight:700;font-size:1rem;color:#48bb78}.date-cell{color:#718096;font-size:.875rem}.status-badge{display:inline-block;padding:.35rem .75rem;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-badge.success{background:#c6f6d5;color:#22543d}.status-badge.error{background:#fed7d7;color:#742a2a}.status-badge.warning{background:#feebc8;color:#7c2d12}.result-badge{display:inline-block;padding:.35rem .75rem;border-radius:var(--radius-md);font-size:.75rem;font-weight:600;font-family:Consolas,Monaco,monospace}.result-badge.verified{background:#bee3f8;color:#2c5282}.result-badge.rejected{background:#fed7d7;color:#742a2a}.result-badge.uncertain{background:#e2e8f0;color:#4a5568}.evidence-btn{padding:.35rem .75rem;background:#edf2f7;border:1px solid #cbd5e0;border-radius:var(--radius-md);font-size:.8rem;color:#4a5568;cursor:pointer;transition:all .2s}.evidence-btn:hover{background:#667eea;border-color:#667eea;color:#fff}.validation-detail-panel{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);height:100%;display:flex;flex-direction:column;overflow:hidden}.detail-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#4fd1c5,#38b2ac);color:#fff}.detail-section{margin-bottom:1.5rem}.detail-section label{display:block;font-weight:600;font-size:.875rem;color:#4a5568;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.5px}.detail-value{padding:1rem;background:#f7fafc;border-radius:var(--radius-md);font-size:.9rem;color:#2d3748;border-left:3px solid #cbd5e0}.detail-value.relationship{font-weight:600;font-size:1rem;color:#667eea;border-left-color:#667eea}.detail-value.original-text{background:#edf2f7;border-left-color:#4299e1}.node-info{display:flex;flex-direction:column;gap:.5rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #cbd5e0}.node-label{font-size:.85rem;color:#718096;font-family:Consolas,Monaco,monospace}.evidences-list{display:flex;flex-direction:column;gap:.75rem}.evidence-item{padding:1rem;background:#f7fafc;border-radius:var(--radius-md);border-left:3px solid #48bb78}.evidence-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.doc-name{font-weight:600;font-size:.875rem;color:#2d3748}.relevance-score{font-size:.75rem;color:#48bb78;font-weight:600}.evidence-excerpt{font-size:.875rem;color:#4a5568;line-height:1.6;font-family:Consolas,Monaco,monospace;background:#fff;padding:.75rem;border-radius:var(--radius-sm)}.llm-result{padding:1.25rem;border-radius:var(--radius-md);font-size:1.1rem;font-weight:700;text-align:center;font-family:Consolas,Monaco,monospace}.llm-result.verified{background:linear-gradient(135deg,#c6f6d5,#9ae6b4);color:#22543d}.llm-result.rejected{background:linear-gradient(135deg,#fed7d7,#fc8181);color:#742a2a}.llm-result.uncertain{background:linear-gradient(135deg,#e2e8f0,#cbd5e0);color:#2d3748}.verification-type{display:inline-block;padding:.5rem 1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:var(--radius-md);font-size:.875rem;font-weight:500}.action-buttons{display:flex;gap:1rem;margin-top:2rem;padding-top:2rem;border-top:2px solid #e2e8f0}.action-buttons button{flex:1}.status-info{margin-top:2rem;padding:1.5rem;background:#f7fafc;border-radius:var(--radius-lg);text-align:center}.final-status{font-size:1.25rem;font-weight:700}.final-status.validated{color:#48bb78}.final-status.rejected{color:#f56565}.validation-history{display:flex;flex-direction:column;height:100vh;background:#f7fafc;overflow:hidden}.filter-bar{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;background:#fff;border-bottom:2px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.filter-group{display:flex;gap:.5rem}.filter-btn{padding:.65rem 1.25rem;border:2px solid #e2e8f0;background:#fff;color:#4a5568;border-radius:var(--radius-md);font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s}.filter-btn:hover{border-color:#667eea;color:#667eea;background:#f7fafc}.filter-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.refresh-btn{padding:.65rem 1.25rem;border:2px solid #e2e8f0;background:#fff;color:#4a5568;border-radius:var(--radius-md);font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem}.refresh-btn:hover:not(:disabled){border-color:#667eea;color:#667eea;background:#f7fafc}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}.validation-content{flex:1;display:grid;grid-template-columns:1.2fr 1fr;gap:1.5rem;padding:1.5rem;overflow:hidden}.validation-left,.validation-right{display:flex;flex-direction:column;min-height:0}@media (max-width: 1200px){.validation-content{grid-template-columns:1fr;overflow-y:auto}.validation-left,.validation-right{min-height:500px}}@media (max-width: 768px){.filter-bar{flex-direction:column;gap:1rem;align-items:stretch}.filter-group{flex-wrap:wrap}.filter-btn{flex:1;min-width:calc(50% - .25rem)}.validation-content{padding:1rem;gap:1rem}}.duplicate-entity-list{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);height:100%;display:flex;flex-direction:column;overflow:hidden}.list-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.list-header h3{margin:0;font-size:1.1rem;font-weight:600}.list-count{font-size:.875rem;color:#ffffffe6}.duplicate-table{width:100%;border-collapse:collapse}.duplicate-table thead{position:sticky;top:0;background:#f7fafc;z-index:10}.duplicate-table th{padding:1rem 1.25rem;text-align:left;font-weight:600;font-size:.875rem;color:#4a5568;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}.duplicate-table tbody tr{border-bottom:1px solid #e2e8f0;cursor:pointer;transition:all .2s}.duplicate-table tbody tr:hover{background:#f7fafc}.duplicate-table tbody tr.selected{background:#edf2f7;border-left:4px solid #667eea}.duplicate-table td{padding:1rem 1.25rem;font-size:.9rem;color:#2d3748}.entity-cell{min-width:200px}.entity-info{display:flex;flex-direction:column;gap:.25rem}.entity-label{font-weight:600;color:#2d3748}.entity-id{font-size:.8rem;color:#718096;font-family:Consolas,Monaco,monospace}.similarity-cell{min-width:150px}.similarity-bar{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-bottom:.5rem}.similarity-fill{height:100%;background:linear-gradient(90deg,#48bb78,#38a169);transition:width .3s ease}.similarity-value{font-weight:700;font-size:.9rem;color:#48bb78}.status-badge{display:inline-block;padding:.35rem .75rem;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;text-transform:uppercase}.status-badge.pending{background:#feebc8;color:#7c2d12}.status-badge.merged{background:#c6f6d5;color:#22543d}.action-cell{min-width:280px}.action-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.action-buttons button{flex:1;min-width:70px}.attribute-compare-panel{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);height:100%;display:flex;flex-direction:column;overflow:hidden}.compare-header{padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#ed8936,#dd6b20);color:#fff}.compare-header h3{margin:0;font-size:1.1rem;font-weight:600}.compare-content{flex:1;overflow-y:auto;padding:1.5rem}.compare-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#a0aec0;padding:2rem;text-align:center}.compare-empty svg{margin-bottom:1rem;opacity:.5}.compare-empty p{margin:0;font-size:.95rem}.compare-nodes-header{display:grid;grid-template-columns:1fr auto 1fr;gap:1.5rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #e2e8f0}.node-header{padding:1.25rem;border-radius:var(--radius-lg);text-align:center}.node-header.left{background:linear-gradient(135deg,#bee3f8,#90cdf4)}.node-header.right{background:linear-gradient(135deg,#fbb6ce,#f687b3)}.node-side{display:block;font-size:.75rem;font-weight:600;color:#2d3748;margin-bottom:.25rem}.node-title{display:block;font-size:.95rem;font-weight:700;color:#2d3748;margin-bottom:.75rem}.node-details{display:flex;flex-direction:column;gap:.25rem;padding-top:.75rem;border-top:1px solid rgba(0,0,0,.1)}.node-label{font-weight:600;font-size:.9rem;color:#667eea}.node-id{font-size:.75rem;color:#718096;font-family:Consolas,Monaco,monospace}.comparison-divider{display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;color:#667eea}.attributes-comparison{display:flex;flex-direction:column;gap:1rem}.attribute-row{padding:1rem;background:#f7fafc;border-radius:var(--radius-md);border-left:3px solid #e2e8f0}.attribute-row.different{border-left-color:#ed8936;background:#fffaf0}.attribute-key{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.key-name{font-weight:700;font-size:.95rem;color:#2d3748;font-family:Consolas,Monaco,monospace}.diff-badge{display:inline-block;padding:.25rem .5rem;background:#ed8936;color:#fff;border-radius:var(--radius-sm);font-size:.7rem;font-weight:600}.attribute-values{display:grid;grid-template-columns:1fr 1fr auto;gap:.75rem;align-items:center}.value-box{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;border:2px solid #e2e8f0;border-radius:var(--radius-md);cursor:pointer;transition:all .2s}.value-box:hover{border-color:#667eea}.value-box.selected{border-color:#667eea;background:#edf2f7}.value-box.left.selected{border-color:#4299e1;background:#ebf8ff}.value-box.right.selected{border-color:#ed64a6;background:#fff5f7}.value-box input[type=radio]{cursor:pointer}.value-text{flex:1;font-size:.875rem;color:#2d3748;font-family:Consolas,Monaco,monospace;word-break:break-word}.both-btn{padding:.5rem 1rem;border:2px solid #667eea;background:#fff;color:#667eea;border-radius:var(--radius-md);font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.both-btn:hover{background:#667eea;color:#fff}.both-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.compare-content::-webkit-scrollbar{width:6px}.compare-content::-webkit-scrollbar-track{background:#f7fafc}.compare-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.compare-content::-webkit-scrollbar-thumb:hover{background:#a0aec0}.entity-graph-canvas{background:linear-gradient(135deg,#f7fafc,#edf2f7);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);border:2px solid #e2e8f0;padding:2rem;display:flex;align-items:center;justify-content:center;min-height:400px}.canvas-content{width:100%;display:flex;flex-direction:column;align-items:center;gap:2rem}.graph-nodes{display:flex;align-items:center;gap:3rem}.graph-node{display:flex;flex-direction:column;align-items:center;gap:1rem}.node-circle{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;color:#fff;box-shadow:0 8px 16px #0000004d;animation:pulse 2s ease-in-out infinite}.graph-node.left .node-circle{background:linear-gradient(135deg,#4299e1,#3182ce)}.graph-node.right .node-circle{background:linear-gradient(135deg,#ed64a6,#d53f8c)}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.node-info{text-align:center;padding:.75rem 1rem;background:#fff;border-radius:var(--radius-md);box-shadow:0 2px 8px #0000001a}.node-label{display:block;font-weight:600;font-size:1rem;color:#2d3748;margin-bottom:.25rem}.node-id{display:block;font-size:.8rem;color:#718096;font-family:Consolas,Monaco,monospace}.connection-line{position:relative;width:120px;height:4px;background:linear-gradient(90deg,#4299e1,#ed64a6);border-radius:2px}.similarity-indicator{position:absolute;top:-35px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.5rem 1rem;border-radius:var(--radius-md);font-size:.85rem;font-weight:600;white-space:nowrap;box-shadow:0 4px 8px #667eea4d}.canvas-hint{text-align:center;color:#718096}.canvas-hint p{margin:0;font-size:.9rem;font-weight:500}@media (max-width: 768px){.graph-nodes{flex-direction:column;gap:2rem}.connection-line{width:4px;height:80px;background:linear-gradient(180deg,#4299e1,#ed64a6)}.similarity-indicator{top:50%;left:-80px;transform:translateY(-50%)}}.entity-resolver{display:flex;flex-direction:column;height:100vh;background:#f7fafc;overflow:hidden}.search-area{background:#fff;padding:1.5rem;border-bottom:2px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.search-header{margin-bottom:1rem}.search-header h2{margin:0;font-size:1.25rem;font-weight:700;color:#2d3748}.search-form{display:flex;gap:1.5rem;align-items:flex-end}.search-inputs{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.input-group label{font-weight:600;font-size:.875rem;color:#4a5568}.similarity-slider{flex:1;cursor:pointer}.similarity-value{font-weight:700;font-size:.95rem;color:#667eea}.search-actions{display:flex;gap:.75rem}.resolver-content{flex:1;display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;overflow:hidden}.resolver-top,.resolver-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:1.5rem;min-height:0}.resolver-top{flex:1.2}.resolver-bottom{flex:1}.resolver-left,.resolver-right{display:flex;flex-direction:column;min-height:0}.merge-panel{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:2rem;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:1.5rem}.merge-panel h3{margin:0;font-size:1.25rem;font-weight:700;color:#2d3748}.merge-hint{margin:0;font-size:.9rem;color:#718096}.merge-info{width:100%;padding:1.25rem;background:#f7fafc;border-radius:var(--radius-md);border-left:4px solid #667eea}.merge-info p{margin:0 0 .5rem;font-size:.9rem;color:#2d3748}.merge-info p:last-child{margin-bottom:0}.merge-info strong{color:#667eea;font-family:Consolas,Monaco,monospace}.merge-description{font-size:.8rem!important;color:#718096!important}@media (max-width: 1400px){.resolver-top,.resolver-bottom{grid-template-columns:1fr}}@media (max-width: 768px){.search-form{flex-direction:column;align-items:stretch}.search-inputs{grid-template-columns:1fr}.search-actions{flex-direction:column}.resolver-content{padding:1rem;gap:1rem}.resolver-top,.resolver-bottom{gap:1rem}}.audit-table-container{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);height:100%;display:flex;flex-direction:column;overflow:hidden}.table-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#805ad5,#6b46c1);color:#fff}.table-header h3{margin:0;font-size:1.1rem;font-weight:600}.table-count{font-size:.875rem;color:#ffffffe6}.table-wrapper{flex:1;overflow:auto}.audit-table{width:100%;border-collapse:collapse}.audit-table thead{position:sticky;top:0;background:#f7fafc;z-index:10}.audit-table th{padding:1rem 1.25rem;text-align:left;font-weight:600;font-size:.875rem;color:#4a5568;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}.audit-table tbody tr{border-bottom:1px solid #e2e8f0;cursor:pointer;transition:all .2s}.audit-table tbody tr:hover{background:#f7fafc}.audit-table tbody tr.selected{background:#edf2f7;border-left:4px solid #805ad5}.audit-table td{padding:1rem 1.25rem;font-size:.9rem;color:#2d3748}.empty-row{text-align:center;padding:3rem!important;color:#a0aec0;font-style:italic}.time-cell{font-size:.85rem;color:#718096;font-family:Consolas,Monaco,monospace}.user-cell{font-weight:500}.system-user{font-style:italic;color:#a0aec0}.id-cell code{font-family:Consolas,Monaco,monospace;font-size:.85rem;background:#edf2f7;padding:.25rem .5rem;border-radius:var(--radius-sm);color:#4a5568}.action-badge{display:inline-block;padding:.35rem .75rem;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;text-transform:uppercase}.action-badge.create{background:#c6f6d5;color:#22543d}.action-badge.update{background:#bee3f8;color:#2c5282}.action-badge.delete{background:#fed7d7;color:#742a2a}.action-badge.merge{background:#d6bcfa;color:#44337a}.action-badge.default{background:#e2e8f0;color:#4a5568}.entity-type-badge{display:inline-flex;align-items:center;gap:.5rem;font-weight:500;font-size:.875rem}.entity-type-badge.node{color:#48bb78}.entity-type-badge.relationship{color:#4299e1}.entity-type-badge.default{color:#718096}.detail-btn{padding:.35rem .75rem;background:#edf2f7;border:1px solid #cbd5e0;border-radius:var(--radius-md);font-size:.8rem;color:#4a5568;cursor:pointer;transition:all .2s}.detail-btn:hover{background:#805ad5;border-color:#805ad5;color:#fff}.table-wrapper::-webkit-scrollbar{width:8px;height:8px}.table-wrapper::-webkit-scrollbar-track{background:#f7fafc}.table-wrapper::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.table-wrapper::-webkit-scrollbar-thumb:hover{background:#a0aec0}.audit-detail-panel{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);height:100%;display:flex;flex-direction:column;overflow:hidden}.detail-header{padding:1.25rem 1.5rem;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#d6bcfa,#b794f4);color:#fff}.detail-header h3{margin:0;font-size:1.1rem;font-weight:600}.detail-content{flex:1;overflow-y:auto;padding:1.5rem}.detail-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#a0aec0;padding:2rem;text-align:center}.detail-empty svg{margin-bottom:1rem;opacity:.5}.detail-empty p{margin:0;font-size:.95rem}.action-banner{display:flex;align-items:center;gap:1rem;padding:1.5rem;border-radius:var(--radius-lg);margin-bottom:1.5rem}.action-banner.create{background:linear-gradient(135deg,#c6f6d5,#9ae6b4)}.action-banner.update{background:linear-gradient(135deg,#bee3f8,#90cdf4)}.action-banner.delete{background:linear-gradient(135deg,#fed7d7,#fc8181)}.action-banner.merge{background:linear-gradient(135deg,#d6bcfa,#b794f4)}.action-icon{font-size:2rem;font-weight:700;color:#fff;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#0000001a;border-radius:50%}.action-text{font-size:1.25rem;font-weight:700;color:#2d3748}.action-subtext{font-size:.875rem;color:#4a5568;font-weight:500;margin-top:.25rem}.detail-section{margin-bottom:2rem}.detail-section h4{margin:0 0 1rem;font-size:.95rem;font-weight:600;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.detail-item{display:flex;justify-content:space-between;align-items:flex-start;padding:.75rem 1rem;background:#f7fafc;border-radius:var(--radius-md);margin-bottom:.5rem}.detail-item label{font-weight:600;font-size:.875rem;color:#718096;min-width:120px}.detail-value{font-size:.9rem;color:#2d3748;text-align:right;word-break:break-all}.detail-value.id-value{font-family:Consolas,Monaco,monospace;font-size:.85rem;color:#4a5568}.system-label{font-style:italic;color:#a0aec0}.action-tag{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:var(--radius-md);font-weight:600}.action-tag.create{background:#48bb78;color:#fff}.action-tag.update{background:#4299e1;color:#fff}.action-tag.delete{background:#f56565;color:#fff}.action-tag.merge{background:#805ad5;color:#fff}.entity-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:var(--radius-md);font-weight:600}.entity-badge.node{background:#c6f6d5;color:#22543d}.entity-badge.relationship{background:#bee3f8;color:#2c5282}.entity-id{display:inline-block;padding:.5rem 1rem;background:#2d3748;color:#e2e8f0;border-radius:var(--radius-md);font-family:Consolas,Monaco,monospace;font-size:.875rem}.details-box{padding:1rem;background:#1a202c;border-radius:var(--radius-md);overflow-x:auto}.details-box pre{margin:0;font-family:Consolas,Monaco,monospace;font-size:.85rem;color:#e2e8f0;line-height:1.6}.timeline{position:relative;padding-left:2rem}.timeline-item{position:relative;padding-bottom:1.5rem}.timeline-dot{position:absolute;left:-2rem;top:.25rem;width:12px;height:12px;background:#805ad5;border:3px solid white;border-radius:50%;box-shadow:0 0 0 2px #805ad5}.timeline-item:before{content:"";position:absolute;left:-1.56rem;top:1rem;bottom:-.5rem;width:2px;background:#e2e8f0}.timeline-item:last-child:before{display:none}.timeline-content{padding:.75rem 1rem;background:#f7fafc;border-radius:var(--radius-md);border-left:3px solid #805ad5}.timeline-time{font-size:.8rem;color:#718096;margin-bottom:.5rem;font-family:Consolas,Monaco,monospace}.timeline-action{font-weight:600;font-size:.95rem;color:#2d3748;margin-bottom:.25rem}.timeline-user{font-size:.85rem;color:#4a5568}.detail-content::-webkit-scrollbar{width:6px}.detail-content::-webkit-scrollbar-track{background:#f7fafc}.detail-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.detail-content::-webkit-scrollbar-thumb:hover{background:#a0aec0}.audit-history{display:flex;flex-direction:column;height:100vh;background:#f7fafc;overflow:hidden}.filter-bar{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:1.5rem;align-items:end;padding:1.5rem;background:#fff;border-bottom:2px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.filter-section{display:flex;flex-direction:column;gap:.5rem}.filter-section h4{margin:0;font-size:.875rem;font-weight:600;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.filter-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.filter-btn{padding:.5rem 1rem;border:2px solid #e2e8f0;background:#fff;color:#4a5568;border-radius:var(--radius-md);font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.filter-btn:hover{border-color:#805ad5;color:#805ad5}.filter-btn.active{background:linear-gradient(135deg,#805ad5,#6b46c1);border-color:#805ad5;color:#fff}.date-inputs{display:flex;align-items:center;gap:.5rem}.date-input{flex:1;padding:.5rem .75rem;border:2px solid #e2e8f0;border-radius:var(--radius-md);font-size:.875rem;transition:all .2s}.date-input:focus{outline:none;border-color:#805ad5;box-shadow:0 0 0 3px #805ad51a}.filter-actions{display:flex;flex-direction:column;gap:.5rem}.audit-content{flex:1;display:grid;grid-template-columns:1.5fr 1fr;gap:1.5rem;padding:1.5rem;overflow:hidden}.audit-left,.audit-right{display:flex;flex-direction:column;min-height:0}@media (max-width: 1400px){.filter-bar{grid-template-columns:repeat(2,1fr)}.filter-actions{grid-column:span 2;flex-direction:row}}@media (max-width: 1200px){.audit-content{grid-template-columns:1fr;overflow-y:auto}.audit-left,.audit-right{min-height:500px}}@media (max-width: 768px){.filter-bar{grid-template-columns:1fr;padding:1rem;gap:1rem}.filter-actions{grid-column:1}.audit-content{padding:1rem;gap:1rem}}.settings-container{padding:2rem;max-width:900px;margin:0 auto}.settings-header{margin-bottom:2rem}.settings-header h1{font-size:28px;font-weight:700;color:#1a202c;margin:0 0 8px}.settings-header p{font-size:14px;color:#718096;margin:0}.settings-content{display:flex;flex-direction:column;gap:1.5rem}.settings-card{padding:0;overflow:hidden}.settings-section{padding:1.5rem}.settings-section h2{font-size:18px;font-weight:600;color:#2d3748;margin:0 0 1.5rem;padding-bottom:.75rem;border-bottom:1px solid #e2e8f0}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem}.info-item{display:flex;flex-direction:column;gap:.5rem}.info-item label{font-size:12px;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.5px}.info-value{font-size:15px;color:#2d3748;font-weight:500;padding:.5rem;background:#f7fafc;border-radius:4px}.action-list{display:flex;flex-direction:column;gap:1rem}.action-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0}.action-info{flex:1}.action-title{font-size:15px;font-weight:600;color:#2d3748;margin-bottom:4px}.action-desc{font-size:13px;color:#718096}.action-item button{min-width:120px}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{width:100%;max-width:420px;padding:40px;background:#fff;box-shadow:0 10px 40px #00000026}.login-header{text-align:center;margin-bottom:32px}.login-header h1{font-size:28px;font-weight:700;color:#1a202c;margin:0 0 8px}.login-header p{font-size:14px;color:#718096;margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.login-footer{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:8px;font-size:14px;color:#718096}.link-button{background:none;border:none;color:#667eea;font-weight:600;cursor:pointer;padding:0;text-decoration:underline;transition:color .2s}.link-button:hover:not(:disabled){color:#764ba2}.link-button:disabled{opacity:.5;cursor:not-allowed}.signup-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:40px 20px}.signup-card{width:100%;max-width:520px;padding:40px;background:#fff;box-shadow:0 10px 40px #00000026}.signup-header{text-align:center;margin-bottom:32px}.signup-header h1{font-size:28px;font-weight:700;color:#1a202c;margin:0 0 8px}.signup-header p{font-size:14px;color:#718096;margin:0}.signup-form{display:flex;flex-direction:column;gap:24px}.form-section{display:flex;flex-direction:column;gap:16px}.form-section h3{font-size:16px;font-weight:600;color:#2d3748;margin:0 0 8px;padding-bottom:8px;border-bottom:2px solid #e2e8f0}.error-message{padding:12px 16px;background:#fee;border:1px solid #fcc;border-radius:6px;color:#c33;font-size:14px;text-align:center}.signup-actions{display:flex;gap:12px;margin-top:8px}.signup-actions button{flex:1}.app-sidebar{width:280px;min-width:280px;height:100vh;background:linear-gradient(180deg,#1a202c,#2d3748);display:flex;flex-direction:column;position:relative;box-shadow:2px 0 12px #00000026;transition:all .3s cubic-bezier(.4,0,.2,1);z-index:1000}.app-sidebar.collapsed{width:80px;min-width:80px}.sidebar-logo{display:flex;align-items:center;gap:1rem;padding:2rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.1);min-height:100px}.logo-icon{width:48px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:#fff;box-shadow:0 4px 8px #667eea4d;flex-shrink:0}.logo-text{display:flex;flex-direction:column;gap:.25rem;overflow:hidden}.logo-text h1{margin:0;font-size:1.25rem;font-weight:700;color:#fff;white-space:nowrap}.logo-text p{margin:0;font-size:.875rem;color:#fff9;white-space:nowrap}.app-sidebar.collapsed .logo-text{display:none}.sidebar-nav{flex:1;padding:1.5rem 0;overflow-y:auto;overflow-x:hidden}.sidebar-menu-item{position:relative;display:flex;align-items:center;gap:1rem;width:100%;padding:1rem 1.5rem;background:transparent;border:none;color:#ffffffb3;cursor:pointer;transition:all .2s;text-align:left;overflow:hidden}.sidebar-menu-item:hover{background:#ffffff0d;color:#fff}.sidebar-menu-item.active{background:#667eea26;color:#fff}.sidebar-menu-item.active .menu-icon{color:#667eea}.menu-icon{width:24px;height:24px;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:all .2s}.menu-icon svg{width:100%;height:100%}.menu-label{display:flex;flex-direction:column;gap:.25rem;flex:1;overflow:hidden}.menu-title{font-size:.95rem;font-weight:600;white-space:nowrap}.menu-desc{font-size:.75rem;color:#ffffff80;white-space:nowrap}.menu-indicator{position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:32px;background:linear-gradient(180deg,#667eea,#764ba2);border-radius:0 4px 4px 0}.app-sidebar.collapsed .menu-label{display:none}.app-sidebar.collapsed .sidebar-menu-item{justify-content:center;padding:1rem}.sidebar-divider{height:1px;background:#ffffff1a;margin:.5rem 1rem}.sidebar-bottom{padding:1rem 0;border-top:1px solid rgba(255,255,255,.1)}.sidebar-user-info{display:flex;align-items:center;gap:.75rem;padding:1rem 1.5rem;margin-bottom:.5rem;color:#fffc}.user-info-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#667eea33;border-radius:8px;flex-shrink:0;color:#667eea}.user-info-text{display:flex;flex-direction:column;gap:.125rem;flex:1;overflow:hidden}.user-info-name{font-size:.875rem;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-info-username{font-size:.75rem;color:#fff9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-info-collapsed{display:flex;align-items:center;justify-content:center;padding:1rem;margin-bottom:.5rem;color:#ffffffb3}.sidebar-toggle-btn{position:absolute;top:50%;right:-12px;transform:translateY(-50%);width:24px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:0 8px 8px 0;color:#fff;font-size:.75rem;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:2px 2px 8px #0003;transition:all .2s;z-index:10}.sidebar-toggle-btn:hover{right:-14px;box-shadow:3px 3px 12px #667eea66;background:linear-gradient(135deg,#764ba2,#667eea)}.sidebar-nav::-webkit-scrollbar{width:4px}.sidebar-nav::-webkit-scrollbar-track{background:transparent}.sidebar-nav::-webkit-scrollbar-thumb{background:#fff3;border-radius:2px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media (max-width: 768px){.app-sidebar{position:fixed;left:0;top:0;z-index:1000}.app-sidebar.collapsed{left:-80px}}.app-layout{display:flex;width:100%;min-height:100vh;background:#f7fafc}.app-main{flex:1;display:flex;flex-direction:column;overflow:hidden;background:#f7fafc}.app-header{display:flex;justify-content:flex-end;align-items:center;padding:12px 24px;background:#fff;border-bottom:1px solid #e2e8f0;gap:16px}.user-info{font-size:14px;color:#4a5568;font-weight:500}.logout-button{padding:6px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#4a5568;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.logout-button:hover{background:#f7fafc;border-color:#cbd5e0;color:#2d3748}.app-content{padding:2rem;max-width:1400px;margin:0 auto;width:100%}*{box-sizing:border-box}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width: 768px){.app-content{padding:1rem}}:root{--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);--primary-color: #667eea;--primary-dark: #764ba2;--primary-light: #8b9eef;--bg-dark: #1a202c;--bg-dark-secondary: #2d3748;--bg-light: #f7fafc;--bg-white: #ffffff;--text-primary: #2d3748;--text-secondary: #718096;--text-light: rgba(255, 255, 255, .9);--text-muted: rgba(255, 255, 255, .6);--node-color: #48bb78;--relationship-color: #4299e1;--success-color: #48bb78;--error-color: #f56565;--warning-color: #ed8936;--info-color: #4299e1;--border-color: rgba(255, 255, 255, .1);--border-light: #e2e8f0;--shadow-sm: 0 2px 4px rgba(0, 0, 0, .1);--shadow-md: 0 4px 8px rgba(0, 0, 0, .15);--shadow-lg: 0 10px 15px rgba(0, 0, 0, .2);--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--radius-full: 50px;--transition-fast: .15s ease;--transition-normal: .3s ease;--transition-slow: .5s ease}[data-theme=dark]{--bg-light: #1a202c;--bg-white: #2d3748;--text-primary: #e2e8f0;--text-secondary: #a0aec0;--border-light: rgba(255, 255, 255, .1)}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg-light);color:var(--text-primary)}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh;width:100%;overflow-x:hidden}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-light)}::-webkit-scrollbar-thumb{background:var(--text-secondary);border-radius:var(--radius-sm)}::-webkit-scrollbar-thumb:hover{background:var(--text-primary)}
