body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{background-color:#f8fafc;min-height:100vh}.document-editor-loading{align-items:center;display:flex;justify-content:center;min-height:400px;padding:2rem}.loading-spinner{color:#6b7280;text-align:center}.spinner{animation:spin 1s linear infinite;border:4px solid #e5e7eb;border-radius:50%;border-top-color:#3b82f6;height:40px;margin:0 auto 1rem;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.document-editor{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin:0 auto;max-width:800px;padding:2rem}.document-header{border-bottom:1px solid #e5e7eb;margin-bottom:2rem;padding-bottom:1rem}.document-title{background:#0000;border:none;color:#1f2937;font-size:2rem;font-weight:700;padding:.5rem 0;width:100%}.document-title:focus{border-bottom:2px solid #3b82f6;outline:none}.document-meta{color:#6b7280;display:flex;font-size:.875rem;gap:1rem;margin-top:.5rem}.page-tabs{border-bottom:1px solid #e5e7eb;display:flex;gap:.5rem;margin-bottom:2rem}.page-tab{background:#0000;border:none;border-bottom:2px solid #0000;color:#6b7280;cursor:pointer;padding:.5rem 1rem}.page-tab:hover{background:#f9fafb;color:#374151}.page-tab.active{border-bottom-color:#3b82f6;color:#3b82f6}.page-content{background:#fefefe;border:1px solid #e5e7eb;border-radius:4px;min-height:400px;padding:1rem}.text-block{border:1px solid #0000;border-radius:4px;padding:.5rem}.text-block textarea{min-height:3rem}.btn{background:#fff;border:1px solid #d1d5db;border-radius:4px;color:#374151;cursor:pointer;font-size:.875rem;padding:.5rem 1rem}.btn:hover{background:#f9fafb}.btn-primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.btn-primary:hover{background:#2563eb}.error-message{background:#fef2f2;border:1px solid #fecaca;border-radius:4px;color:#dc2626;margin:1rem 0;padding:.75rem}.document-editor-in-memory{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin:0 auto;max-width:1000px;padding:2rem}.document-editor-error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin:2rem auto;max-width:600px;padding:2rem;text-align:center}.document-status{color:#6b7280;display:flex;font-size:.875rem;gap:1rem;margin-top:.5rem}.status-indicator{border-radius:4px;font-size:.75rem;font-weight:500;padding:.25rem .5rem}.status-indicator.dirty{background:#fef3c7;color:#92400e}.status-indicator.saved{background:#d1fae5;color:#065f46}.status-indicator.syncing{animation:pulse 2s infinite;background:#dbeafe;color:#1d4ed8}.status-indicator.synced{background:#e0f2fe;color:#0369a1}.status-indicator.offline{background:#fef2f2;color:#dc2626}.status-indicator.local-only{background:#f3f4f6;color:#6b7280}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.sync-status{margin-left:.5rem}.status-indicator.clickable{cursor:pointer;transition:opacity .2s ease}.status-indicator.clickable:hover{opacity:.8}.last-saved,.object-count{color:#9ca3af}.actions{align-items:center;display:flex;gap:.5rem;margin-top:1rem}.actions-separator{background-color:#e5e7eb;height:20px;margin:0 .5rem;width:1px}.actions button.offload-btn{background-color:#f59e0b;border-color:#f59e0b;color:#fff}.actions button.offload-btn:hover{background-color:#d97706;border-color:#d97706}.actions button.delete-btn{background-color:#dc2626;border-color:#dc2626;color:#fff}.actions button.delete-btn:hover{background-color:#b91c1c;border-color:#b91c1c}.pages-container{margin-top:2rem}.page{background:#fefefe;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:2rem}.page-header{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1rem}.page-header h3{color:#374151;margin:0}.text-blocks{padding:1rem}.text-block{background:#fff;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:1rem;padding:.75rem}.text-block:hover{border-color:#d1d5db;box-shadow:0 1px 2px #0000000d}.text-block textarea{background:#0000;border:none;color:#374151;font-family:inherit;font-size:.875rem;min-height:2rem;resize:vertical;width:100%}.text-block textarea:focus{outline:none}.debug-info{background:#f3f4f6;border-radius:6px;color:#6b7280;font-family:monospace;font-size:.75rem;margin-top:2rem;padding:1rem}.debug-info h4{color:#374151;margin:0 0 .5rem}.document-view{background:#f8fafc;min-height:100vh}.document-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;min-height:50vh}.document-error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin:2rem auto;max-width:600px;padding:2rem;text-align:center}.error-actions{display:flex;gap:1rem;justify-content:center;margin-top:1rem}.back-btn,.retry-btn{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:4px;color:#374151;cursor:pointer;display:inline-flex;font-size:.875rem;padding:.5rem 1rem;text-decoration:none}.back-btn:hover,.retry-btn:hover{background:#f9fafb;border-color:#9ca3af}.back-btn{background:#f3f4f6}.document-view .document-header{align-items:center;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:1rem;padding:1rem 2rem}.home-container{background:#f8fafc;display:flex;min-height:100vh}.sidebar{background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;width:250px}.sidebar-header{border-bottom:1px solid #e5e7eb;padding:1.5rem}.sidebar-header h1{color:#1f2937;font-size:1.5rem;margin:0}.sidebar-nav{padding:1rem 0}.nav-item{align-items:center;background:none;border:none;color:#6b7280;cursor:pointer;display:flex;gap:.75rem;padding:.75rem 1.5rem;text-align:left;text-decoration:none;width:100%}.nav-item:hover{background:#f9fafb;color:#374151}.nav-item.active{background:#eff6ff;border-right:2px solid #2563eb;color:#2563eb}.nav-icon{font-size:1.25rem}.nav-label{font-weight:500}.main-content{flex:1 1;padding:2rem}.content-section{max-width:1000px}.section-header{margin-bottom:2rem}.section-header h2{color:#1f2937;font-size:1.875rem;margin:0}.create-document-section{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem;padding:1.5rem}.input-group{align-items:flex-end;display:flex;gap:1rem}.input-group label{color:#374151;display:block;font-weight:500;margin-bottom:.5rem}.document-input{border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:1rem;padding:.75rem}.document-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a;outline:none}.open-create-button{background:#2563eb;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:.75rem 1.5rem}.open-create-button:hover{background:#1d4ed8}.open-create-button:disabled{background:#9ca3af;cursor:not-allowed}.input-help{color:#6b7280;font-size:.875rem;margin-top:.5rem}.documents-list-section{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.documents-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1.5rem}.documents-header h3{color:#1f2937;margin:0}.refresh-btn{background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;color:#374151;cursor:pointer;padding:.5rem}.refresh-btn:hover{background:#e5e7eb}.DatabaseView_databaseView__rug5I{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.DatabaseView_storageInfo__Kdi7h{background:#f8f9fa;border-radius:6px;margin-bottom:1.5rem;padding:1rem}.DatabaseView_storageInfo__Kdi7h h3{color:#2c3e50;font-size:1.1rem;margin:0 0 .5rem}.DatabaseView_storageStats__jCMqO{color:#7f8c8d;display:flex;font-size:.9rem;gap:1.5rem}.DatabaseView_tableTabs__htaDN{border-bottom:2px solid #ecf0f1;display:flex;gap:.5rem;margin-bottom:1rem}.DatabaseView_tableTab__prAqM{background:none;border:none;border-bottom:3px solid #0000;color:#7f8c8d;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s ease}.DatabaseView_tableTab__prAqM:hover{background-color:#f8f9fa;color:#3498db}.DatabaseView_tableTab__prAqM.DatabaseView_active__WPgpK{background-color:#f8f9fa;border-bottom-color:#3498db;color:#3498db}.DatabaseView_refreshBtn__thXC0{align-items:center;background:#95a5a6;border:none;border-radius:50%;cursor:pointer;display:flex;font-size:.875rem;height:32px;justify-content:center;transition:all .2s ease;width:32px}.DatabaseView_refreshBtn__thXC0:hover{background:#7f8c8d;transform:rotate(90deg)}.DatabaseView_tableHeader__J-yIm{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.DatabaseView_tableHeader__J-yIm h3{color:#2c3e50;font-size:1.3rem;margin:0}.DatabaseView_tableContainer__ZYr3M h3{color:#2c3e50;font-size:1.3rem;margin:0 0 1rem}.DatabaseView_tableWrapper__HIdP-{border:1px solid #ecf0f1;border-radius:6px;overflow-x:auto}.DatabaseView_dataTable__dI5iJ{border-collapse:collapse;font-size:.9rem;width:100%}.DatabaseView_dataTable__dI5iJ th{background-color:#f8f9fa;border-bottom:2px solid #ecf0f1;color:#2c3e50;font-weight:600;padding:.75rem;text-align:left;white-space:nowrap}.DatabaseView_dataTable__dI5iJ td{border-bottom:1px solid #ecf0f1;color:#34495e;padding:.75rem;vertical-align:top}.DatabaseView_dataTable__dI5iJ tbody tr:hover{background-color:#f8f9fa}.DatabaseView_objectId__cRhqc,.DatabaseView_propertyName__3T0BX{background-color:#ecf0f1;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem;padding:.25rem .5rem}.DatabaseView_objectType__pyphZ{background-color:#e8f4f8;border-radius:3px;color:#2980b9;font-size:.85rem;font-weight:500;padding:.25rem .5rem}.DatabaseView_booleanTrue__Mgfeg{color:#27ae60;font-weight:700}.DatabaseView_booleanFalse__NHbzv{color:#e74c3c}.DatabaseView_hash__COuW-{color:#7f8c8d}.DatabaseView_hash__COuW-,.DatabaseView_versionVector__P4DfQ{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.8rem}.DatabaseView_versionVector__P4DfQ{color:#8e44ad}.DatabaseView_propertyValue__zfn1i{max-width:400px;min-width:250px;word-break:break-word}.DatabaseView_timestamp__Ql7sb{color:#7f8c8d;font-size:.85rem;white-space:nowrap}.DatabaseView_logicalTimestamp__FTcJ\+,.DatabaseView_lwwCounter__CjlIV,.DatabaseView_lwwRandom__kNTV1,.DatabaseView_replicaId__paTSl,.DatabaseView_userId__aIngq{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem}.DatabaseView_replicaId__paTSl,.DatabaseView_userId__aIngq{color:#7f8c8d}.DatabaseView_tableContainer__ZYr3M{margin-bottom:2rem}.DatabaseView_emptyState__p19Ly{color:#7f8c8d;padding:3rem;text-align:center}.DatabaseView_emptyState__p19Ly p{font-size:1.1rem;margin-bottom:.5rem}.DatabaseView_emptyState__p19Ly small{color:#95a5a6;font-size:.9rem}.DatabaseView_databaseLoading__WV306{color:#7f8c8d;padding:3rem;text-align:center}.DatabaseView_loadingSpinner__FsWr5{animation:DatabaseView_spin__oYCGN 1s linear infinite;border:4px solid #ecf0f1;border-radius:50%;border-top-color:#3498db;height:40px;margin:0 auto 1rem;width:40px}.DatabaseView_databaseError__aE2IH{color:#e74c3c;padding:3rem;text-align:center}.DatabaseView_databaseError__aE2IH h3{margin-bottom:1rem}.DatabaseView_retryBtn__7dAR1{background-color:#e74c3c;border:none;border-radius:4px;color:#fff;cursor:pointer;margin-top:1rem;padding:.75rem 1.5rem}.DatabaseView_retryBtn__7dAR1:hover{background-color:#c0392b}@keyframes DatabaseView_spin__oYCGN{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:768px){.DatabaseView_databaseView__rug5I{padding:1rem}.DatabaseView_storageStats__jCMqO{flex-direction:column;gap:.5rem}.DatabaseView_dataTable__dI5iJ{font-size:.8rem}.DatabaseView_dataTable__dI5iJ td,.DatabaseView_dataTable__dI5iJ th{padding:.5rem}}
/*# sourceMappingURL=main.04145c59.css.map*/