* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f5f5f5; }
.container { max-width: 1400px; margin: 0 auto; }
header { background: #2c3e50; color: white; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.main-layout { display: flex; height: calc(100vh - 70px); }
.sidebar { width: 250px; background: white; border-right: 1px solid #ddd; padding: 1rem; overflow-y: auto; }
.sidebar h3 { margin-bottom: 1rem; color: #2c3e50; }
.collection-item { padding: 0.5rem; cursor: pointer; border-radius: 4px; margin-bottom: 0.25rem; }
.collection-item:hover { background: #ecf0f1; }
.collection-item.active { background: #3498db; color: white; }
.content { flex: 1; background: white; padding: 2rem; overflow-y: auto; }
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; border-bottom: 2px solid #ecf0f1; }
.tab { padding: 0.75rem 1.5rem; border: none; background: none; cursor: pointer; color: #7f8c8d; font-size: 1rem; }
.tab.active { color: #3498db; border-bottom: 2px solid #3498db; margin-bottom: -2px; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.document { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; }
.document pre { overflow-x: auto; }
textarea { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 4px; font-family: monospace; margin-bottom: 1rem; }
button { padding: 0.5rem 1rem; background: #3498db; color: white; border: none; border-radius: 4px; cursor: pointer; }
button:hover { background: #2980b9; }
.index-item, .suggestion-item { padding: 1rem; background: #f8f9fa; border-left: 3px solid #3498db; margin-bottom: 0.5rem; }
