.toolbar-projects{padding:.5rem .75rem;border-bottom:1px solid var(--chat-border)}.toolbar-projects .toolbar-header{margin-bottom:.4rem}.toolbar-projects-chevron{font-size:.65rem;opacity:.5;transition:transform .2s}.toolbar-projects.collapsed .toolbar-projects-chevron{transform:rotate(-90deg)}.project-tab-pane,.toolbar-projects.collapsed .projects-scroll-area{display:none}.projects-scroll-area{max-height:220px;overflow-y:auto;overflow-x:hidden}.project-item{display:flex;align-items:center;gap:.35rem;padding:.3rem .45rem;border-radius:6px;font-size:.82rem;cursor:pointer;transition:background .12s;user-select:none}.project-expand-zone,.project-tab{align-items:center;cursor:pointer}#moveProjectList .list-group-item:hover,.project-item:hover,.project-name-editable:focus,.project-name-editable:hover{background:var(--chat-hover-bg,rgba(255,255,255,.06))}.project-expand-zone{display:flex;padding:.15rem;border-radius:4px;opacity:.5;transition:opacity .12s,background .12s}.project-expand-zone:hover{opacity:1;background:var(--chat-hover-bg,rgba(255,255,255,.08))}.project-chat-item:hover,.project-file-item:hover{background:var(--chat-hover-bg,rgba(255,255,255,.05))}.project-expand-zone i{font-size:.6rem;transition:transform .2s}.project-item.expanded .project-expand-zone i{transform:rotate(90deg)}.project-color-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.project-chat-item a,.project-name-link{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;text-decoration:none}.project-chat-item a:hover,.project-file-item .file-info a:hover,.project-name-link:hover{text-decoration:underline}.project-chats-inline a,.project-file-item .file-info a{text-overflow:ellipsis;text-decoration:none;white-space:nowrap}.project-badge{font-size:.62rem;opacity:.5;flex-shrink:0}.project-chats-inline{padding-left:1.5rem;display:none}.project-chats-inline.show,.project-tab-pane.active{display:block}.project-chats-inline a{display:block;padding:.2rem .4rem;font-size:.78rem;color:var(--chat-text-secondary);border-radius:4px;overflow:hidden}.project-chats-inline a:hover{background:var(--chat-hover-bg,rgba(255,255,255,.04));color:var(--chat-text-primary)}.project-chats-inline a.active{color:var(--bs-primary);font-weight:600}.project-create-btn{font-size:.8rem;opacity:.6;transition:opacity .12s;cursor:pointer}.auto-save-status.visible,.project-chat-item:hover button,.project-create-btn:hover,.project-file-item .delete-btn:hover{opacity:1}.project-color-picker{width:28px;height:28px;border:none;padding:0;border-radius:6px;cursor:pointer;background:0 0;flex-shrink:0}.project-color-picker::-webkit-color-swatch-wrapper{padding:0}.project-color-picker::-webkit-color-swatch{border:2px solid rgba(255,255,255,.15);border-radius:6px}.project-name-editable{border:none;background:0 0;font-size:1.1rem;font-weight:600;color:inherit;flex:1;outline:0;padding:.2rem .4rem;border-radius:4px;transition:background .15s}.auto-save-status{font-size:.7rem;color:var(--bs-success);opacity:0;transition:opacity .3s;white-space:nowrap}.project-tabs{display:flex;border-bottom:1px solid var(--chat-border);padding:0 1rem;gap:0}.project-tab{background:0 0;border:none;border-bottom:2px solid transparent;padding:.55rem 1rem;font-size:.82rem;font-weight:500;color:var(--chat-text-secondary);transition:color .15s,border-color .15s;display:flex;gap:.4rem}.context-editor-textarea:focus,.project-drop-zone.drag-over,.project-file-item:hover{border-color:var(--bs-primary)}.context-full-text strong,.project-tab:hover{color:var(--chat-text-primary)}.project-tab.active{color:var(--bs-primary);border-bottom-color:var(--bs-primary)}.project-tab-badge{background:var(--chat-hover-bg,rgba(255,255,255,.08));padding:.05rem .4rem;border-radius:10px;font-size:.7rem;font-weight:600}.project-pane-header{display:flex;gap:.5rem;padding:.6rem 1rem;align-items:center}.project-pane-header input{flex:1}.project-items-list{max-height:340px;overflow-y:auto;padding:0 .5rem .5rem}.project-chat-item{display:flex;align-items:center;gap:.5rem;padding:.45rem .6rem;border-radius:6px;font-size:.82rem;transition:background .12s}.project-chat-item .chat-date{font-size:.68rem;color:var(--chat-text-secondary);flex-shrink:0}.project-chat-item button{opacity:0;transition:opacity .12s;flex-shrink:0}.project-files-grid{display:grid;grid-template-columns:1fr 1fr;gap:.35rem;padding:.5rem .75rem;max-height:340px;overflow-y:auto}@media (max-width:576px){.project-files-grid{grid-template-columns:1fr}}.project-file-item{display:flex;align-items:center;gap:.45rem;padding:.4rem .5rem;border-radius:8px;border:1px solid var(--chat-border);font-size:.78rem;transition:background .12s,border-color .12s;min-width:0}.project-file-item .file-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:var(--chat-hover-bg,rgba(255,255,255,.06));flex-shrink:0;color:var(--bs-primary)}.project-file-item .file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.05rem;padding-left:10px}.project-file-item .file-info a{overflow:hidden;color:inherit;font-weight:500;font-size:.78rem}.project-file-item .file-size{font-size:.65rem;color:var(--chat-text-secondary);white-space:nowrap}.project-file-item .delete-btn{opacity:0;transition:opacity .12s;flex-shrink:0;font-size:.7rem}.project-file-item:hover .delete-btn{opacity:.7}.project-files-grid .project-empty{grid-column:1/-1}.project-drop-zone{margin:.75rem 1rem;border:2px dashed var(--chat-border);border-radius:10px;padding:1.5rem 1rem;text-align:center;color:var(--chat-text-secondary);transition:border-color .2s,background .2s;cursor:pointer}.project-drop-zone i{font-size:1.8rem;margin-bottom:.3rem;opacity:.5}.project-drop-zone p{margin:.3rem 0 .6rem;font-size:.85rem;font-weight:500}.project-drop-zone small{display:block;margin-top:.5rem;font-size:.7rem;opacity:.6}.project-drop-zone.drag-over{background:rgba(59,130,246,.06)}.project-drop-zone.drag-over i{opacity:1;color:var(--bs-primary)}.project-upload-bar{padding:0 1rem}.project-context-pane{padding:.75rem 1rem}.context-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.context-header h6{font-size:.9rem}.context-preview{position:relative}.context-preview-text{max-height:120px;overflow:hidden;font-size:.8rem;line-height:1.5;color:var(--chat-text-secondary);mask-image:linear-gradient(to bottom,black 60%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,black 60%,transparent 100%)}.context-preview-text h1,.context-preview-text h2,.context-preview-text h3,.context-preview-text h4,.context-preview-text h5,.context-preview-text h6{font-size:.85rem;font-weight:600;margin:.4rem 0 .2rem;color:var(--chat-text-primary)}.context-preview-text p{margin:.2rem 0}.context-preview-text ol,.context-preview-text ul{margin:.2rem 0;padding-left:1.2rem}.context-full-text code,.context-preview-text code{font-size:.75rem;background:var(--chat-hover-bg,rgba(255,255,255,.06));padding:.1rem .3rem;border-radius:3px}.context-expand-btn{display:block;width:100%;background:0 0;border:1px solid var(--chat-border);border-radius:6px;padding:.35rem;font-size:.78rem;color:var(--bs-primary);cursor:pointer;margin-top:.3rem;transition:background .12s}.context-expand-btn:hover{background:var(--chat-hover-bg,rgba(255,255,255,.04))}.context-full{max-height:400px;overflow-y:auto}.context-full-text{font-size:.8rem;line-height:1.55;color:var(--chat-text-secondary)}.context-full-text h1,.context-full-text h2,.context-full-text h3,.context-full-text h4,.context-full-text h5,.context-full-text h6{font-size:.88rem;font-weight:600;margin:.6rem 0 .3rem;color:var(--chat-text-primary)}.context-full-text p{margin:.3rem 0}.context-full-text ol,.context-full-text ul{margin:.3rem 0;padding-left:1.4rem}.context-editor-hint{font-size:.75rem;color:var(--bs-primary);background:rgba(59,130,246,.06);border:1px solid rgba(59,130,246,.15);border-radius:6px;padding:.5rem .65rem;margin-bottom:.6rem}.context-editor-textarea{width:100%;font-family:'SF Mono','Fira Code',monospace;font-size:.8rem;line-height:1.5;border:1px solid var(--chat-border);border-radius:8px;padding:.65rem;background:var(--chat-input-bg,transparent);color:inherit;resize:vertical;outline:0;transition:border-color .15s}.context-editor-footer{display:flex;justify-content:space-between;align-items:center;margin-top:.5rem}.context-empty,.project-empty{text-align:center;padding:2rem 1rem;color:var(--chat-text-secondary);font-size:.82rem}.context-empty i,.project-empty i{font-size:1.5rem;opacity:.3;display:block;margin-bottom:.5rem}.context-empty p{font-weight:500;margin:.3rem 0}.context-empty small{font-size:.75rem;opacity:.7}#contextRefreshBtn.refreshing i{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}#moveProjectList .list-group-item{cursor:pointer;display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.85rem;border:none;border-bottom:1px solid var(--chat-border);transition:background .12s}