.guide-page{padding:2rem;max-width:1200px;margin:0 auto}.guide-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:2rem;border-bottom:1px solid var(--border-color);margin-bottom:2rem}.guide-header-content{display:flex;align-items:center;gap:1.5rem}.guide-icon{color:var(--accent)}.guide-title{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin:0}.guide-subtitle{font-size:1.1rem;color:var(--text-secondary);margin-top:.25rem}.guide-section{margin-bottom:3rem}.guide-section-title{font-size:1.8rem;font-weight:600;margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--border-color)}.filters{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.search-bar input{width:300px;padding:.6rem 1rem .6rem 2.5rem;background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary)}.search-bar svg{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--text-secondary)}.search-bar button{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--text-secondary);cursor:pointer}.category-tabs{display:flex;gap:.5rem}.category-tabs button{padding:.5rem 1rem;border:1px solid transparent;border-radius:6px;background-color:var(--bg-secondary);color:var(--text-secondary);font-weight:500;cursor:pointer;transition:all .2s}.category-tabs button:hover{background-color:var(--bg-tertiary);color:var(--text-primary)}.category-tabs button.active{background-color:var(--accent);color:#fff;border-color:var(--accent-hover)}.article-list{display:flex;flex-direction:column;gap:1rem}.article-item{background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;overflow:hidden}.article-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;cursor:pointer}.article-title-group{display:flex;align-items:center;gap:1rem}.article-emoji{font-size:1.5rem}.article-title{font-size:1.1rem;font-weight:600}.article-category-tag{padding:.2rem .6rem;border-radius:12px;font-size:.8rem;color:#fff;font-weight:500}.article-meta{display:flex;align-items:center;gap:1rem;color:var(--text-secondary)}.expand-button{background:none;border:none;color:var(--text-secondary);cursor:pointer}.article-content{padding:0 1.5rem 1.5rem 4rem;line-height:1.7;color:var(--text-secondary)}.article-content h4{font-size:1.1rem;font-weight:600;color:var(--text-primary);margin-top:1.5rem;margin-bottom:.5rem}.article-content ul,.article-content ol{padding-left:1.5rem}.exam-cards-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.exam-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.exam-card-icon{color:var(--accent)}.exam-card-content h3{font-size:1.2rem;font-weight:600;margin-bottom:.5rem}.exam-card-content p{font-size:.9rem;color:var(--text-secondary);flex-grow:1}.exam-card-action{margin-top:auto}.exam-badge,.exam-button{display:block;width:100%;text-align:center;padding:.75rem 1rem;border-radius:6px;text-decoration:none;font-weight:600}.exam-badge.certified{background-color:#04785733;color:#10b981}.score-badge{opacity:.8;font-weight:500}.exam-button{background-color:var(--accent);color:#fff;transition:background-color .2s}.exam-button:hover{background-color:var(--accent-hover)}.exam-button.retry{background-color:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border-color)}.exam-button.retry:hover{background-color:var(--border-color)}.changelog{display:flex;flex-direction:column;gap:1.5rem}.changelog-entry{display:flex;gap:1.5rem}.changelog-date{font-weight:600;color:var(--text-primary);width:120px;flex-shrink:0}.changelog-content h4{font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.changelog-content ul{list-style:none;padding-left:0;color:var(--text-secondary)}.changelog-content li{padding-left:1.5rem;position:relative;margin-bottom:.5rem}.changelog-content li:before{content:"✓";position:absolute;left:0;color:var(--accent)}.markdown-content{line-height:1.4;overflow-wrap:anywhere}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3{margin:.5rem 0;line-height:1.25;font-weight:600}.markdown-content h1{font-size:1rem}.markdown-content h2{font-size:.95rem}.markdown-content h3{font-size:.9rem}.markdown-content p,.markdown-content ul,.markdown-content ol,.markdown-content blockquote,.markdown-content pre,.markdown-content table{margin:.45rem 0}.markdown-content table{border-collapse:collapse;width:100%;font-size:.8rem}.markdown-content th,.markdown-content td{border:1px solid rgba(127,127,127,.35);padding:.35rem .45rem;text-align:left}.markdown-content tr:nth-child(2n){background:#7f7f7f1a}.markdown-content pre{background:#7f7f7f1f;border-radius:6px;padding:.5rem .65rem;overflow-x:auto}.markdown-content code{font-family:ui-monospace,SFMono-Regular,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;background:#7f7f7f1f;border-radius:4px;padding:.1rem .3rem}.markdown-content pre code{background:transparent;padding:0}.markdown-content blockquote{border-left:3px solid rgba(127,127,127,.55);margin-left:0;padding-left:.65rem;color:#ffffffd9}.exam-container{max-width:800px;margin:2rem auto;padding:2rem;background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary)}.exam-header{border-bottom:1px solid var(--border-color);padding-bottom:1rem;margin-bottom:2rem}.exam-header h1{font-size:2rem;color:var(--text-primary);margin-bottom:.5rem}.exam-header p{font-size:1rem;color:var(--text-secondary)}.exam-meta{display:flex;gap:1rem;margin-top:1rem;font-size:.9rem;color:var(--text-secondary)}.exam-meta span{background-color:var(--bg-secondary);padding:.25rem .75rem;border-radius:12px}.question-block{margin-bottom:2rem;padding:1.5rem;background-color:var(--bg-secondary);border-radius:6px;border:1px solid var(--border-color)}.question-block h4{font-size:1.1rem;margin-bottom:1rem;line-height:1.5}.options-group{display:flex;flex-direction:column;gap:.75rem}.option-label{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:4px;cursor:pointer;border:1px solid transparent;transition:background-color .2s,border-color .2s}.option-label:hover{background-color:var(--bg-tertiary)}.option-label input[type=radio]{accent-color:var(--accent);width:1.2em;height:1.2em}.option-label input[type=radio]:checked+span{color:var(--accent);font-weight:600}.btn-submit{display:block;width:100%;padding:.8rem 1rem;font-size:1.1rem;font-weight:600;color:#fff;background-color:var(--accent);border:none;border-radius:6px;cursor:pointer;transition:background-color .2s}.btn-submit:hover{background-color:var(--accent-hover)}.btn-submit:disabled{background-color:var(--bg-tertiary);color:var(--text-secondary);cursor:not-allowed}.results-view{text-align:center}.results-header{padding:2rem;border-radius:8px;margin-bottom:2rem}.results-header.passed{background-color:#04785733;border:1px solid #047857}.results-header.failed{background-color:#b91c1c33;border:1px solid #b91c1c}.results-header h2{font-size:1.8rem;margin-bottom:.5rem}.results-header.passed h2{color:#10b981}.results-header.failed h2{color:#f87171}.score{font-size:1.2rem;font-weight:600;margin-bottom:1rem}.results-view h3{text-align:left;margin-bottom:1.5rem;font-size:1.4rem;border-bottom:1px solid var(--border-color);padding-bottom:.5rem}.question-review{text-align:left;margin-bottom:1.5rem;padding:1rem;border-radius:6px;border-left-width:4px}.question-review.correct{border-left-color:#10b981;background-color:var(--bg-secondary)}.question-review.incorrect{border-left-color:#f87171;background-color:var(--bg-secondary)}.question-review h4{margin-bottom:1rem}.options-review{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.option-result{padding:.5rem;border-radius:4px}.option-result.correct-answer{color:#10b981;font-weight:600}.option-result.wrong-answer{color:#f87171;text-decoration:line-through}.explanation{background-color:var(--bg-tertiary);padding:.75rem;border-radius:4px;font-size:.9rem;color:var(--text-secondary);border:1px solid var(--border-color)}.btn-primary{display:inline-block;margin-top:1rem;padding:.6rem 1.2rem;background-color:var(--accent);color:#fff;text-decoration:none;border-radius:5px}.error-message{color:#f87171;background-color:#b91c1c33;border:1px solid #b91c1c;padding:1rem;border-radius:6px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root,[data-theme=light]{--bg-primary: #f5f5f7;--bg-secondary: #ffffff;--bg-tertiary: #e8e8ed;--bg-card: #ffffff;--bg-hover: #ededf2;--text-primary: #1a1a2e;--text-secondary: #5c5c72;--text-muted: #8e8ea0;--border: #dcdce4;--accent: #6366f1;--accent-hover: #4f46e5;--success: #22c55e;--warning: #f59e0b;--danger: #ef4444;--info: #3b82f6;--radius: 8px;--radius-lg: 12px;--shadow: 0 2px 8px rgba(0,0,0,.08);--modal-overlay: rgba(0,0,0,.3);--scrollbar-thumb: #d0d0d8;--scrollbar-hover: #b8b8c4}[data-theme=dark]{--bg-primary: #0f0f13;--bg-secondary: #1a1a24;--bg-tertiary: #252533;--bg-card: #1e1e2e;--bg-hover: #2a2a3e;--text-primary: #e4e4ef;--text-secondary: #9494a8;--text-muted: #6b6b80;--border: #2e2e42;--accent: #6366f1;--accent-hover: #818cf8;--success: #22c55e;--warning: #f59e0b;--danger: #ef4444;--info: #3b82f6;--radius: 8px;--radius-lg: 12px;--shadow: 0 2px 8px rgba(0,0,0,.3);--modal-overlay: rgba(0,0,0,.6);--scrollbar-thumb: #252533;--scrollbar-hover: #2e2e42}html,body,#root{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,sans-serif;background:var(--bg-primary);color:var(--text-primary);line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}button{cursor:pointer;border:none;border-radius:var(--radius);font-family:inherit;font-size:.875rem;padding:.5rem 1rem;transition:all .15s}input,textarea,select{font-family:inherit;font-size:.875rem;background:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border);border-radius:var(--radius);padding:.5rem .75rem;outline:none;transition:border-color .15s;width:100%}input:focus,textarea:focus,select:focus{border-color:var(--accent)}textarea{resize:vertical;min-height:80px}.btn-primary{background:var(--accent);color:#fff;border:1px solid transparent}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border)}.btn-secondary:hover{background:var(--bg-hover)}.btn-danger{background:var(--danger);color:#fff;border:1px solid transparent}.btn-danger:hover{opacity:.9}.btn-ghost{background:transparent;color:var(--text-secondary);padding:.35rem .6rem}.btn-ghost:hover{background:var(--bg-hover);color:var(--text-primary)}.btn-sm{padding:.3rem .6rem;font-size:.8rem}.app-layout{display:flex;height:100vh}.sidebar{width:260px;background:var(--bg-secondary);border-right:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0}.sidebar-header{padding:1.25rem;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:.75rem}.sidebar-header h1{font-size:1.25rem;font-weight:700;background:linear-gradient(135deg,var(--accent),#a855f7);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.sidebar-nav{flex:1;padding:.75rem;overflow-y:auto}.sidebar-nav a,.sidebar-nav button{display:flex;align-items:center;gap:.6rem;padding:.6rem .75rem;border-radius:var(--radius);color:var(--text-secondary);font-size:.875rem;width:100%;text-align:left;background:none;border:none}.sidebar-nav a:hover,.sidebar-nav button:hover,.sidebar-nav a.active{background:var(--bg-hover);color:var(--text-primary)}.sidebar-footer{padding:1rem;border-top:1px solid var(--border)}.main-content{flex:1;overflow-y:auto;display:flex;flex-direction:column}.page-header{padding:1.25rem 1.5rem;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-shrink:0}.page-header h2{font-size:1.25rem;font-weight:600}.page-body{flex:1;padding:1.5rem;overflow-x:auto}.kanban-board{display:flex;gap:1rem;align-items:flex-start}.kanban-column{flex:1;min-width:280px;background:var(--bg-secondary);border-radius:var(--radius-lg);display:flex;flex-direction:column}.column-header{padding:.875rem 1rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);flex-shrink:0}.column-header h3{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary)}.column-count{background:var(--bg-tertiary);color:var(--text-muted);font-size:.75rem;padding:.1rem .5rem;border-radius:10px}.column-body{padding:.5rem;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.5rem}.column-body.drag-over{background:#6366f10d}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:.875rem;cursor:grab;transition:all .15s}.card:hover{border-color:var(--accent);box-shadow:var(--shadow)}.card.dragging{opacity:.5}.card.blocked{border-left:3px solid var(--danger)}.card-title{font-size:.9rem;font-weight:500;margin-bottom:.35rem}.card-meta{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:.5rem;font-size:.75rem;color:var(--text-muted)}.card-labels{display:flex;gap:.25rem;flex-wrap:wrap;margin-bottom:.35rem}.label-badge{font-size:.65rem;padding:.1rem .4rem;border-radius:4px;font-weight:500;color:#fff}.priority-badge{font-size:.7rem;padding:.1rem .4rem;border-radius:4px;font-weight:600}.priority-high{background:#ef444433;color:#ef4444}.priority-medium{background:#f59e0b33;color:#f59e0b}.priority-low{background:#22c55e33;color:#22c55e}.blocked-badge{background:#ef444426;color:var(--danger);font-size:.7rem;padding:.1rem .4rem;border-radius:4px;font-weight:600;display:flex;align-items:center;gap:.2rem}.avatar{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:600;color:#fff;flex-shrink:0}.avatar-sm{width:20px;height:20px;font-size:.6rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--modal-overlay, rgba(0,0,0,.4));display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.modal{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;max-width:640px;max-height:85vh;overflow-y:auto;box-shadow:0 8px 32px #00000080}.modal-header{padding:1.25rem;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.modal-header h3{font-size:1.1rem;font-weight:600}.modal-body{padding:1.25rem}.modal-body>*+*{margin-top:1rem}.modal-footer{padding:1rem 1.25rem;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:.5rem}.form-group{display:flex;flex-direction:column;gap:.35rem}.form-group label{font-size:.8rem;font-weight:500;color:var(--text-secondary)}.form-row{display:flex;gap:.75rem}.form-row>*{flex:1}.search-bar{position:relative}.search-bar input{padding-left:2.25rem}.search-bar svg{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--text-muted)}.checklist-item{display:flex;align-items:center;gap:.5rem;padding:.35rem 0}.checklist-item input[type=checkbox]{width:auto;accent-color:var(--accent)}.checklist-item.completed span{text-decoration:line-through;color:var(--text-muted)}.progress-bar{height:4px;background:var(--bg-tertiary);border-radius:2px;overflow:hidden}.progress-bar-fill{height:100%;background:var(--accent);border-radius:2px;transition:width .3s}.activity-item{display:flex;gap:.75rem;padding:.5rem 0;font-size:.8rem;border-bottom:1px solid var(--border)}.activity-item:last-child{border:none}.comment{display:flex;gap:.75rem;padding:.75rem 0}.comment-body{flex:1}.comment-meta{display:flex;gap:.5rem;align-items:center;margin-bottom:.25rem}.comment-meta .name{font-weight:600;font-size:.85rem}.comment-meta .time{font-size:.75rem;color:var(--text-muted)}.login-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:2rem}.login-card{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2.5rem;width:100%;max-width:400px;text-align:center}.login-card h1{font-size:2rem;font-weight:800;margin-bottom:.5rem;background:linear-gradient(135deg,var(--accent),#a855f7);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.login-card p{color:var(--text-secondary);margin-bottom:2rem}.login-card .form-group{margin-bottom:1rem;text-align:left}.login-card button{width:100%;margin-top:.5rem;padding:.75rem;font-size:1rem}.error-text{color:var(--danger);font-size:.8rem;margin-top:.5rem}.private-badge{background:#8b5cf626;color:#a855f7;font-size:.65rem;padding:.1rem .4rem;border-radius:4px;font-weight:600}.tabs{display:flex;gap:0;border-bottom:1px solid var(--border);margin-bottom:1rem}.tab{padding:.6rem 1rem;background:none;color:var(--text-secondary);border:none;border-bottom:2px solid transparent;font-size:.85rem;cursor:pointer}.tab.active{color:var(--accent);border-bottom-color:var(--accent)}.tab:hover{color:var(--text-primary)}.project-tabs{display:flex;gap:0;border-bottom:1px solid var(--border);padding:0 1.5rem;flex-shrink:0}.project-tabs>button{padding:.6rem 1rem;background:none;color:var(--text-secondary);border:none;border-bottom:2px solid transparent;font-size:.85rem;cursor:pointer}.project-tabs>button.active{color:var(--accent);border-bottom-color:var(--accent)}.project-tabs>button:hover{color:var(--text-primary)}.member-row{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;border-bottom:1px solid var(--border)}.member-row:last-child{border-bottom:none}.project-last-edited{padding:.4rem 1.5rem;font-size:.75rem;color:var(--text-muted);border-bottom:1px solid var(--border)}.project-desc-section{padding:.75rem 1.5rem;border-bottom:1px solid var(--border)}.project-desc-clamped{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;font-size:.9rem;line-height:1.5;margin-bottom:.25rem}.btn-link-muted{background:none;border:none;color:var(--text-muted);font-size:.8rem;cursor:pointer;padding:0;text-decoration:underline}.btn-link-muted:hover{color:var(--accent)}display: inline-flex; align-items: center; gap: .2rem; font-size: .65rem; padding: .1rem .4rem; border-radius: 4px; font-weight: 600; } .visibility-badge.private{background:#8b5cf626;color:#a855f7}.visibility-badge.team{background:#3b82f626;color:#3b82f6}.badge{display:inline-block;font-size:.7rem;padding:.1rem .4rem;border-radius:4px;background:var(--bg-tertiary);color:var(--text-secondary);font-weight:500}.badge-success{background:#22c55e33;color:#22c55e}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:.75rem}.card-body{padding:1rem}.card-footer{padding:.5rem 1rem;border-top:1px solid var(--border);display:flex;align-items:center;gap:.5rem}.btn-icon{background:transparent;color:var(--text-secondary);padding:.3rem;border-radius:var(--radius);display:inline-flex;align-items:center;justify-content:center}.btn-icon:hover{background:var(--bg-hover);color:var(--text-primary)}.mention{color:var(--accent);font-weight:500;cursor:default}.page-container{padding:1.5rem}.loading-state{display:flex;align-items:center;justify-content:center;height:200px;color:var(--text-muted)}.text-muted{color:var(--text-muted)}.empty-state{text-align:center;padding:3rem 1rem;color:var(--text-muted)}.empty-state p{margin-bottom:1rem}.section{margin-bottom:1.5rem}.section-title{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);margin-bottom:.5rem}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb, var(--bg-tertiary));border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-hover, var(--border))}.theme-toggle{background:transparent;color:var(--text-secondary);padding:.35rem .6rem;display:flex;align-items:center;justify-content:center;border-radius:var(--radius);transition:all .15s}.theme-toggle:hover{background:var(--bg-hover);color:var(--text-primary)}.chat-layout{display:flex;height:calc(100vh - 60px);overflow:hidden}.chat-sidebar{width:425px;border-right:1px solid var(--border);display:flex;flex-direction:column;background:var(--bg-secondary)}.chat-sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid var(--border)}.chat-sidebar-header h2{font-size:1.25rem;font-weight:600;margin:0}.chat-conversations{flex:1;overflow-y:auto;padding:.5rem}.chat-conversations::-webkit-scrollbar{width:6px}.chat-conversations::-webkit-scrollbar-track{background:var(--bg-tertiary)}.chat-conversations::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:3px}.chat-conversations::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-hover)}.chat-conversation-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:var(--radius-lg);cursor:pointer;margin-bottom:.25rem}.chat-conversation-item:hover{background:var(--bg-hover)}.chat-conversation-item.active{background:var(--accent);color:#fff}.chat-conversation-item.active .chat-timestamp,.chat-conversation-item.active .chat-last-message{color:#fffc}.chat-conversation-content{flex:1;min-width:0}.chat-conversation-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.chat-participant-name{font-weight:500;display:flex;align-items:center;gap:.25rem}.chat-timestamp{font-size:.75rem;color:var(--text-muted)}.chat-last-message{font-size:.875rem;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-unread-badge{background:var(--accent);color:#fff;font-size:.75rem;font-weight:600;padding:.125rem .5rem;border-radius:10px;min-width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.chat-section-header{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem .5rem;font-size:.8rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.chat-main{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--bg-primary);overflow:hidden}.chat-header{display:flex;align-items:center;gap:.75rem;padding:1rem;border-bottom:1px solid var(--border);background:var(--bg-secondary)}.chat-header-info{flex:1}.chat-header-name{font-weight:600;display:flex;align-items:center;gap:.25rem}.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:1rem}.chat-messages::-webkit-scrollbar{width:8px}.chat-messages::-webkit-scrollbar-track{background:var(--bg-primary)}.chat-messages::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.chat-messages::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-hover)}.chat-message-group{display:flex;flex-direction:column;gap:.75rem}.chat-date-divider{text-align:center;margin:1rem 0;position:relative}.chat-date-divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:var(--border)}.chat-date-divider span{background:var(--bg-primary);padding:0 1rem;font-size:.75rem;color:var(--text-muted);font-weight:500}.chat-message{display:flex;gap:.75rem;max-width:70%}.chat-message.own{align-self:flex-end;flex-direction:row-reverse}.chat-message.other{align-self:flex-start}.chat-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:.875rem;flex-shrink:0}.chat-message-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:.875rem;flex-shrink:0;align-self:flex-end}.chat-message-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.chat-message-sender{font-size:.75rem;font-weight:600;color:var(--text-secondary);display:flex;align-items:center;gap:.25rem}.chat-message-bubble{padding:.75rem 1rem;border-radius:var(--radius-lg);position:relative;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word;min-width:0}.chat-message.own .chat-message-bubble{background:linear-gradient(135deg,var(--accent) 0%,var(--accent-hover) 100%);color:#fff;border-bottom-right-radius:.25rem}.chat-message.own .chat-message-bubble a{color:#bfdbfe;text-decoration:underline}.chat-message.own .chat-message-bubble a:hover{color:#fff}.chat-message.other .chat-message-bubble{background:var(--bg-card);border:1px solid var(--border);border-bottom-left-radius:.25rem}.chat-message-text{line-height:1.4;overflow-wrap:break-word;word-break:break-word}.chat-message-text ul,.chat-message-text ol{padding-left:1.25rem;margin-left:.5rem}.chat-message-text ul{list-style-type:disc}.chat-message-text ol{list-style-type:decimal}.chat-message-text li{margin-bottom:.25rem;padding-left:.25rem}.chat-message-text pre,.chat-message-text code{overflow-x:auto;max-width:100%;white-space:pre-wrap;word-break:break-all}.chat-message-time{font-size:.7rem;color:var(--text-muted)}.chat-message.own .chat-message-time{text-align:right}.chat-message-actions{position:absolute;top:-8px;right:8px;display:flex;gap:.25rem;opacity:0;transition:opacity .15s ease;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);padding:.25rem;box-shadow:var(--shadow)}.chat-edited-indicator{font-size:.7rem;color:#ffffffb3;font-style:italic;margin-left:.5rem}.chat-message.other .chat-edited-indicator{color:var(--text-muted)}.chat-edit-form{display:flex;flex-direction:column;gap:.5rem}.chat-edit-form textarea{min-height:60px;resize:vertical}.chat-edit-actions{display:flex;gap:.5rem;justify-content:flex-end}.chat-input-form{padding:1rem;background:var(--bg-secondary);border-top:1px solid var(--border)}.chat-typing-indicator{font-size:.75rem;color:var(--text-muted);padding:.25rem 1rem .5rem}.chat-input-container{display:flex;gap:.75rem;align-items:flex-end}.chat-input-container textarea{flex:1;min-height:44px;max-height:120px;border-radius:var(--radius-lg);padding:.75rem 1rem;border:1px solid var(--border);background:var(--bg-primary);resize:none;font-family:inherit;line-height:1.4}.chat-input-container textarea:focus{border-color:var(--accent);outline:none}.chat-send-button{background:var(--accent);color:#fff;border:none;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s ease;flex-shrink:0}.chat-send-button:hover:not(:disabled){background:var(--accent-hover)}.chat-send-button:disabled{opacity:.5;cursor:not-allowed}.chat-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;text-align:center;gap:1rem;color:var(--text-muted)}.chat-empty-messages{display:flex;flex:1;align-items:center;justify-content:center;text-align:center;color:var(--text-muted)}.chat-no-conversation{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.5rem;color:var(--text-muted)}.chat-loading{display:flex;align-items:center;justify-content:center;padding:2rem;color:var(--text-muted)}.chat-user-list{display:flex;flex-direction:column;gap:.25rem;max-height:300px;overflow-y:auto}.chat-user-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:var(--radius);cursor:pointer;transition:background-color .15s ease}.chat-user-item:hover{background:var(--bg-hover)}.chat-user-info{flex:1;min-width:0}.chat-user-name{font-weight:500;display:flex;align-items:center;gap:.25rem}.chat-user-email{font-size:.875rem;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-xs{padding:.25rem .5rem;font-size:.75rem;border-radius:4px}.btn-sm{padding:.375rem .75rem;font-size:.8rem}.btn-accent{background:var(--accent);color:#fff}.btn-accent:hover:not(:disabled){background:var(--accent-hover)}@media (max-width: 768px){.chat-layout:not(.chat-google-style){flex-direction:column}.chat-layout:not(.chat-google-style) .chat-sidebar{width:100%;height:60%;border-right:none;border-bottom:1px solid var(--border)}.chat-layout:not(.chat-google-style) .chat-main{height:40%}.chat-layout:not(.chat-google-style) .chat-message{max-width:85%}}.dashboard-grid{display:grid;gap:1.5rem;grid-template-rows:auto auto 1fr}.metrics-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.metric-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;text-align:center;transition:all .15s ease;position:relative;overflow:hidden}.metric-card:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.metric-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--accent),var(--info))}.metric-value{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin:.5rem 0 .25rem;line-height:1}.metric-label{font-size:.875rem;color:var(--text-secondary);font-weight:500;text-transform:uppercase;letter-spacing:.05em}.metric-icon{color:var(--accent);opacity:.8}.dashboard-main{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:1.5rem;height:600px}.dashboard-section{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);display:flex;flex-direction:column;overflow:hidden}.dashboard-section-header{padding:1rem 1.25rem;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.dashboard-section-title{font-size:1rem;font-weight:600;color:var(--text-primary)}.dashboard-section-body{flex:1;overflow-y:auto;padding:1rem}.dashboard-section-body::-webkit-scrollbar{width:6px}.dashboard-section-body::-webkit-scrollbar-track{background:transparent}.dashboard-section-body::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:3px}.dashboard-section-body::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-hover)}.agent-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.agent-card{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;transition:all .15s ease;position:relative}.agent-card:hover{border-color:var(--accent);transform:translateY(-1px);box-shadow:var(--shadow)}.agent-card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.agent-avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;color:#fff;font-size:1.1rem;flex-shrink:0}.agent-info{flex:1;min-width:0}.agent-name{font-weight:600;font-size:.9rem;display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}.agent-model{font-size:.75rem;color:var(--text-muted)}.status-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.status-dot.working{background:var(--success);animation:pulse 2s infinite}.status-dot.idle{background:var(--info)}.status-dot.waiting{background:var(--warning)}.status-dot.error{background:var(--danger)}.status-dot.offline{background:var(--text-muted)}.agent-current-task{font-size:.78rem;color:var(--accent);margin-bottom:.5rem;padding:.35rem .5rem;background:#6366f11a;border-radius:6px;border-left:2px solid var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-footer{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--text-muted)}.agent-last-heartbeat{display:flex;align-items:center;gap:.25rem}.agent-tokens{background:var(--bg-tertiary);padding:.125rem .5rem;border-radius:12px;font-weight:500}.activity-feed{display:flex;flex-direction:column;gap:.75rem}.activity-item{display:flex;gap:.75rem;padding:.75rem;background:var(--bg-secondary);border-radius:var(--radius);border:1px solid var(--border);transition:all .15s ease}.activity-item:hover{border-color:var(--accent);transform:translate(2px)}.activity-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;color:#fff;font-size:.8rem;flex-shrink:0}.activity-content{flex:1;min-width:0}.activity-text{font-size:.85rem;line-height:1.4;margin-bottom:.25rem}.activity-meta{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--text-muted)}.activity-time{display:flex;align-items:center;gap:.25rem}.task-list{display:flex;flex-direction:column;gap:.5rem}.task-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);transition:all .15s ease;cursor:pointer}.task-item:hover{border-color:var(--accent);transform:translate(2px)}.task-content{flex:1;min-width:0}.task-title{font-weight:500;font-size:.875rem;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-meta{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--text-muted)}.task-project{color:var(--text-secondary)}.task-due{display:flex;align-items:center;gap:.25rem}.project-list{display:flex;flex-direction:column;gap:.75rem}.project-item{display:flex;align-items:center;gap:.75rem;padding:.875rem;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);transition:all .15s ease;cursor:pointer}.project-item:hover{border-color:var(--accent);transform:translate(2px)}.project-content{flex:1;min-width:0}.project-title{font-weight:600;font-size:.875rem;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-progress{margin-bottom:.5rem}.project-progress-bar{height:4px;background:var(--bg-tertiary);border-radius:2px;overflow:hidden;margin-bottom:.25rem}.project-progress-fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--success));border-radius:2px;transition:width .3s ease}.project-progress-text{font-size:.7rem;color:var(--text-muted)}.project-meta{display:flex;align-items:center;gap:.75rem;font-size:.75rem;color:var(--text-muted)}.project-status-badge{padding:.125rem .5rem;border-radius:12px;font-weight:500;font-size:.7rem;text-transform:capitalize}.project-status-badge.todo{background:#6b6b8033;color:var(--text-muted)}.project-status-badge.in_progress{background:#3b82f633;color:var(--info)}.project-status-badge.done{background:#22c55e33;color:var(--success)}.project-members{display:flex;align-items:center;gap:.25rem}.dashboard-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center;color:var(--text-muted)}.dashboard-empty-state .empty-icon{margin-bottom:1rem;opacity:.5}.dashboard-empty-state p{margin-bottom:.5rem}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.dashboard-action-link{color:var(--accent);font-size:.8rem;text-decoration:none;font-weight:500;transition:color .15s ease}.dashboard-action-link:hover{color:var(--accent-hover)}@media (max-width: 1200px){.dashboard-main{grid-template-columns:1fr;grid-template-rows:auto auto auto auto;height:auto}}@media (max-width: 768px){.app-layout{position:relative}.hamburger-menu{display:flex!important}.sidebar-overlay{display:block!important}.sidebar{position:fixed!important;z-index:1000;height:100vh;transform:translate(-100%);transition:transform .3s ease}.sidebar.sidebar-open{transform:translate(0)}.main-content{width:100%;margin-left:0;padding-left:0;padding-top:70px}.dashboard-grid{grid-template-rows:auto;grid-template-columns:1fr}.metrics-row{grid-template-columns:1fr 1fr;gap:.75rem}.metric-card{padding:1rem}.metric-value{font-size:2rem}.dashboard-main{grid-template-columns:1fr;grid-template-rows:auto auto auto auto;height:auto}.dashboard-section-body{padding:.75rem}.agent-grid{grid-template-columns:1fr}.chat-layout:not(.chat-google-style){position:relative}.chat-layout:not(.chat-google-style) .chat-sidebar{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1000;transform:translate(-100%);transition:transform .3s ease}.chat-layout:not(.chat-google-style) .chat-sidebar.mobile-open{transform:translate(0)}.chat-layout:not(.chat-google-style) .chat-main{width:100%}.chat-layout:not(.chat-google-style) .chat-message{max-width:85%}.kanban-board{overflow-x:auto;padding-bottom:1rem}.kanban-column{min-width:280px;flex-shrink:0}.card-grid{grid-template-columns:1fr}.page-body{padding:.75rem}.page-header{padding:1rem;flex-direction:column;align-items:flex-start;gap:.75rem}.modal{max-width:95vw!important;margin:1rem}.modal-overlay{padding:1rem}button,.btn-primary,.btn-secondary{min-height:44px}input,textarea,select{font-size:16px}.table-responsive{overflow-x:auto}.card,.card-body{padding:.75rem}.card{margin-bottom:.5rem}.sidebar-nav a,.sidebar-nav button{padding:.75rem;font-size:.9rem}.project-tabs{padding:0 1rem;overflow-x:auto}.project-tabs button{white-space:nowrap;padding:.75rem 1rem}.activity-item{padding:.5rem .75rem}.agent-card{padding:.75rem}.search-bar input{font-size:16px}.form-group{gap:.5rem}.modal-body,.modal-header{padding:1rem}.modal-footer{padding:1rem;flex-direction:column;gap:.75rem}.modal-footer button{width:100%;order:1}.modal-footer .btn-secondary{order:2}.desktop-only{display:none!important}}.agent-card-with-subagents{border-left:3px solid var(--accent)}.agent-subagents{padding:.5rem .6rem;margin-bottom:.5rem;background:#6366f10d;border-radius:6px;font-size:.75rem}.agent-subagents-header{display:flex;align-items:center;gap:.35rem;color:var(--accent);font-weight:600;margin-bottom:.35rem}.subagent-pulse-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);animation:subtlePulse 2s infinite}@keyframes subtlePulse{0%,to{opacity:1}50%{opacity:.4}}.subagent-row{display:flex;align-items:center;gap:.4rem;padding:.2rem 0 .2rem .25rem}.subagent-task{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary)}.subagent-model-badge{font-size:.65rem;padding:.05rem .35rem;border-radius:4px;background:var(--bg-tertiary);color:var(--text-muted);font-weight:500;flex-shrink:0}.agent-directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem}@media (max-width: 768px){.agent-directory-grid{grid-template-columns:1fr}}.agent-creation-wizard{max-width:900px;margin:0 auto;padding:1.5rem}.wizard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.wizard-header h1{font-size:1.5rem;font-weight:600;margin:0}.wizard-steps{display:flex;align-items:center;gap:.25rem;margin-bottom:2rem;overflow-x:auto;padding-bottom:.5rem}.step-item{display:flex;flex-direction:column;align-items:center;cursor:pointer;min-width:60px;opacity:.5}.step-item.active{opacity:1}.step-item.complete{opacity:.8}.step-number{width:28px;height:28px;border-radius:50%;background:var(--bg-tertiary);border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;margin-bottom:.25rem}.step-item.active .step-number{background:var(--accent);border-color:var(--accent);color:#fff}.step-item.complete .step-number{background:var(--success, #22c55e);border-color:var(--success, #22c55e);color:#fff}.step-name{font-size:.65rem;color:var(--text-muted);text-align:center;white-space:nowrap}.step-item.active .step-name{color:var(--text-primary);font-weight:600}.step-connector{flex:1;height:2px;background:var(--border);min-width:10px}.wizard-content{margin-bottom:2rem}.wizard-navigation{display:flex;justify-content:space-between;gap:1rem}.validation-errors{background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:var(--radius);padding:1rem;margin-bottom:1rem;color:#ef4444}.validation-errors ul{margin:.5rem 0 0 1rem;padding:0}.btn-save-draft{background:var(--bg-tertiary);border:1px solid var(--border);color:var(--text-primary);padding:.5rem 1rem;border-radius:var(--radius);cursor:pointer;font-size:.85rem}@media (max-width: 768px){.agent-creation-wizard{padding:1rem}.wizard-steps{gap:.1rem}.step-name{display:none}}.dashboard-two-col{display:grid;grid-template-columns:3fr 2fr;gap:1.5rem;margin-top:1.5rem}@media (max-width: 1024px){.dashboard-two-col{grid-template-columns:1fr}}.top-projects-section{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.top-projects-header{padding:1rem 1.25rem;border-bottom:1px solid var(--border)}.top-projects-title{font-size:1.1rem;font-weight:600;margin-bottom:.75rem}.top-projects-filters{display:flex;flex-direction:column;gap:.5rem}.filter-row{display:flex;align-items:center;gap:.75rem}.filter-label{font-size:.8rem;color:var(--text-secondary);min-width:80px;font-weight:500}.filter-options{display:flex;gap:.4rem}.filter-chip{font-size:.75rem;padding:.25rem .6rem;border-radius:12px;background:var(--bg-tertiary);color:var(--text-secondary);border:1px solid var(--border);cursor:pointer;transition:all .15s}.filter-chip:hover{border-color:var(--accent);color:var(--text-primary)}.filter-chip.active{background:#6366f126;color:var(--accent);border-color:var(--accent)}.top-projects-list{padding:1rem;display:flex;flex-direction:column;gap:.75rem}.top-project-card{display:grid;grid-template-columns:60px 1fr 180px 1fr;gap:1rem;padding:1rem;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;transition:all .15s;align-items:start}.top-project-card:hover{border-color:var(--accent);transform:translate(2px)}.top-project-rank{font-size:2rem;font-weight:700;color:var(--accent);display:flex;align-items:center;justify-content:center;min-height:60px}.top-project-name{font-size:1.1rem;font-weight:600;display:flex;align-items:center;min-height:60px}.top-project-milestones{display:flex;flex-direction:column;gap:.35rem;padding-top:.25rem}.milestone-pill{display:inline-block;font-size:.75rem;padding:.2rem .6rem;border-radius:12px;background:var(--bg-tertiary);color:var(--text-secondary);border:1px solid var(--border);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.top-project-tasks{display:flex;flex-direction:column;gap:.35rem;padding-top:.25rem}.top-task-row{font-size:.8rem;padding:.3rem .6rem;background:var(--bg-tertiary);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reorder-drag-over{border-color:var(--accent)!important;box-shadow:0 0 0 2px #6366f14d}@media (max-width: 900px){.top-project-card{grid-template-columns:50px 1fr;grid-template-rows:auto auto}.top-project-milestones,.top-project-tasks{grid-column:1 / -1}}.checkbox-list{border:1px solid var(--border);border-radius:6px;background:var(--bg-primary);max-height:140px;overflow-y:auto}.checkbox-list label.checkbox-list-item{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:.5rem;padding:.35rem .6rem;font-size:.85rem;cursor:pointer;transition:background .1s;text-align:left}.checkbox-list label.checkbox-list-item:hover{background:var(--bg-tertiary)}.checkbox-list label.checkbox-list-item input[type=checkbox]{margin:0;flex:0 0 auto;width:16px;height:16px;accent-color:var(--accent)}.checkbox-list label.checkbox-list-item>span{flex:1;text-align:left}.list-row-card{padding:.6rem .75rem;border-radius:8px;border:1px solid var(--border);background:var(--bg-secondary);margin-bottom:.4rem;transition:background .15s,border-color .15s;overflow:hidden;min-width:0}.list-row-card:hover{background:var(--bg-tertiary);border-color:var(--accent)}.chip{display:inline-flex;align-items:center;gap:2px;padding:2px 8px;border-radius:999px;font-size:.75rem;background:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border);line-height:1.4}.chat-layout.chat-google-style{display:flex;height:calc(100vh - 60px);width:100%;overflow:hidden;background:var(--bg-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.chat-layout.chat-google-style .chat-sidebar{width:320px;min-width:280px;border-right:1px solid var(--border-color);display:flex;flex-direction:column;background:var(--bg-secondary);flex-shrink:0;position:relative;z-index:2}.chat-layout.chat-google-style .chat-conversations{width:100%}.chat-layout.chat-google-style .chat-sidebar-header h2{flex-shrink:0}.chat-layout.chat-google-style .chat-tabs{display:flex;gap:.4rem;padding:.75rem;border-bottom:1px solid var(--border-color)}.chat-layout.chat-google-style .chat-tab-pill{border:1px solid var(--border-color);background:transparent;color:var(--text-muted);border-radius:999px;font-size:.75rem;padding:.35rem .75rem;cursor:pointer;transition:all .15s ease;font-weight:500}.chat-layout.chat-google-style .chat-tab-pill:hover{border-color:#6366f1;color:var(--text-primary)}.chat-layout.chat-google-style .chat-tab-pill.active{background:linear-gradient(135deg,#6366f1,#7c3aed);color:#fff;border-color:transparent}.chat-layout.chat-google-style .chat-conversation-item{display:flex;align-items:center;height:64px;min-height:64px;max-height:64px;gap:.75rem;padding:0 1rem!important;cursor:pointer;border-radius:0!important;border-bottom:1px solid color-mix(in srgb,var(--border-color) 60%,transparent);margin-bottom:0!important;overflow:hidden;position:relative}.chat-layout.chat-google-style .chat-conversation-item:hover{background:var(--bg-tertiary, rgba(255,255,255,.05))!important;color:inherit!important}.chat-layout.chat-google-style .chat-conversation-item.active{background:#6366f11f!important;color:inherit!important;border-left:3px solid #6366f1}.chat-layout.chat-google-style .chat-conversation-item .chat-last-message{font-size:.8rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-layout.chat-google-style .chat-conversation-item .chat-timestamp{font-size:.7rem;color:var(--text-muted);white-space:nowrap;flex-shrink:0}.chat-layout.chat-google-style .chat-avatar,.chat-layout.chat-google-style .chat-message-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.8rem;font-weight:600;flex-shrink:0}.chat-layout.chat-google-style .chat-conversation-content{min-width:0;flex:1;overflow:hidden}.chat-layout.chat-google-style .chat-conversation-header{display:flex;justify-content:space-between;align-items:center}.chat-layout.chat-google-style .chat-participant-name{font-size:.84rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-layout.chat-google-style .chat-last-message{font-size:.75rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-layout.chat-google-style .chat-timestamp{font-size:.7rem;color:var(--text-secondary)}.chat-layout.chat-google-style .chat-unread-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);flex-shrink:0}.chat-layout.chat-google-style .chat-main{flex:1;display:flex;flex-direction:column;background:var(--bg-primary)}.chat-layout.chat-google-style .chat-header{display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem;border-bottom:1px solid var(--border-color);background:var(--bg-secondary)}.chat-layout.chat-google-style .chat-header-name{font-weight:600;display:flex;align-items:center;gap:.3rem}.chat-layout.chat-google-style .chat-messages{flex:1;overflow-y:auto;padding:.8rem 1rem 1rem}.chat-layout.chat-google-style .chat-date-divider{display:flex;align-items:center;gap:.5rem;color:var(--text-secondary);font-size:.75rem;margin:.9rem 0}.chat-layout.chat-google-style .chat-date-divider:before,.chat-layout.chat-google-style .chat-date-divider:after{content:"";height:1px;background:var(--border-color);flex:1}.chat-layout.chat-google-style .chat-messages{background:var(--bg-primary);background-image:none}.chat-layout.chat-google-style .chat-message{display:flex;gap:.6rem;margin-bottom:10px;max-width:65%}.chat-layout.chat-google-style .chat-message.compact{margin-bottom:3px}.chat-layout.chat-google-style .chat-message.other{align-self:flex-start}.chat-layout.chat-google-style .chat-message.own{align-self:flex-end;justify-content:flex-end;margin-left:auto}.chat-layout.chat-google-style .chat-message-content{min-width:0;display:flex;flex-direction:column;gap:2px;position:relative}.chat-layout.chat-google-style .chat-message-meta{display:flex;align-items:center;gap:.35rem;font-size:.7rem;color:var(--text-muted);margin-bottom:2px}.chat-layout.chat-google-style .chat-message-sender{font-weight:600;color:var(--text-primary)}.chat-layout.chat-google-style .chat-message-bubble{position:relative;padding:8px 14px;border-radius:18px;line-height:1.4;font-size:.9rem}.chat-layout.chat-google-style .chat-message.own .chat-message-bubble{background:linear-gradient(135deg,#6366f1,#7c3aed);color:#fff;border-bottom-right-radius:4px}.chat-layout.chat-google-style .chat-message.own .chat-message-text{color:#fff}.chat-layout.chat-google-style .chat-message.own .chat-message-time{color:#ffffffb3}.chat-layout.chat-google-style .chat-message.other .chat-message-bubble{background:var(--bg-tertiary, rgba(255, 255, 255, .08));border:1px solid var(--border-color);border-bottom-left-radius:4px}.chat-layout.chat-google-style .chat-message.other .chat-message-text{color:var(--text-primary)}.chat-layout.chat-google-style .chat-message-time{opacity:1;font-size:.65rem;color:var(--text-secondary)}.chat-layout.chat-google-style .chat-message-time-inline{font-size:.6rem;color:var(--text-secondary);opacity:.9;margin-bottom:1px}.chat-layout.chat-google-style .chat-message-text{line-height:1.4}.chat-layout.chat-google-style .chat-message-actions{display:none;position:absolute;top:-12px;right:0;gap:.2rem}.chat-layout.chat-google-style .chat-message.own:hover .chat-message-actions{display:flex}.chat-layout.chat-google-style .chat-input-form{padding:.75rem 1rem;border-top:1px solid var(--border-color);background:var(--bg-secondary);position:sticky;bottom:0}.chat-layout.chat-google-style .chat-input-container{display:flex;align-items:flex-end;gap:.5rem}.chat-layout.chat-google-style .chat-input-container textarea{flex:1;min-height:44px;max-height:128px;border:1px solid var(--border-color);border-radius:24px;padding:12px 16px;line-height:1.35;resize:none;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit;font-size:.9rem;outline:none;transition:border-color .15s ease}.chat-layout.chat-google-style .chat-input-container textarea:focus{border-color:#6366f1}.chat-layout.chat-google-style .chat-send-button{width:44px;height:44px;border-radius:50%;border:none;background:linear-gradient(135deg,#6366f1,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 2px 8px #6366f166}.chat-layout.chat-google-style .chat-send-button:hover{transform:scale(1.05);box-shadow:0 4px 12px #6366f180}.chat-layout.chat-google-style .chat-send-button:active{transform:scale(.98);box-shadow:0 1px 4px #6366f14d}.chat-layout.chat-google-style .chat-readonly-banner{padding:.65rem;border-top:1px solid var(--border-color);text-align:center;color:var(--text-muted);font-size:.8rem;display:flex;align-items:center;justify-content:center;gap:.4rem}@media (max-width: 768px){.chat-layout.chat-google-style .chat-sidebar{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;z-index:1000;transform:translate(-100%);transition:transform .25s ease}.chat-layout.chat-google-style .chat-sidebar.mobile-open{transform:translate(0)}.chat-layout.chat-google-style .chat-main{width:100%}.chat-layout.chat-google-style .chat-message{max-width:85%}}@keyframes presencePulse{0%,to{opacity:0;transform:scale(1)}50%{opacity:.4;transform:scale(2.2)}}
