code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}html,body{height:100%;overflow:hidden}.login-page{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{background:#36393f;border-radius:8px;padding:40px;width:100%;max-width:420px;box-shadow:0 8px 16px #0000004d}.login-card h1{margin:0 0 8px;font-size:28px;font-weight:600;color:#fff;text-align:center}.login-subtitle{margin:0 0 32px;font-size:14px;color:#b9bbbe;text-align:center}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:12px;font-weight:600;color:#b9bbbe;text-transform:uppercase;letter-spacing:.5px}.form-group input{padding:12px;background:#202225;border:1px solid #202225;border-radius:4px;color:#dcddde;font-size:16px;transition:border-color .15s ease}.form-group input:focus{outline:none;border-color:#5865f2}.form-group input:disabled{opacity:.5;cursor:not-allowed}.form-group input::placeholder{color:#72767d}.error-message{padding:12px;background:#f04747;border-radius:4px;color:#fff;font-size:14px;text-align:center}.login-button{padding:12px 20px;background:#5865f2;border:none;border-radius:4px;color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s ease}.login-button:hover:not(:disabled){background:#4752c4}.login-button:active:not(:disabled){background:#3c45a5}.login-button:disabled{opacity:.5;cursor:not-allowed}.login-footer{margin-top:20px;padding-top:20px;border-top:1px solid #2c2f33;text-align:center}.login-footer p{margin:0;font-size:14px;color:#72767d}.create-channel-modal .modal-content{background:#36393f;border-radius:8px;width:90%;max-width:500px;max-height:85vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 20px #0006}.create-channel-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #202225;background:#2f3136}.create-channel-modal .modal-header h2{margin:0;font-size:1.25rem;color:#fff}.create-channel-modal .close-button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#b9bbbe;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.create-channel-modal .close-button:hover{background:#3a3d42;color:#fff}.create-channel-modal .modal-error{background:#f04747;color:#fff;padding:12px 20px;display:flex;justify-content:space-between;align-items:center}.create-channel-modal .modal-error button{background:none;border:none;color:#fff;cursor:pointer;font-size:1.2rem}.create-channel-modal .modal-body{padding:20px;overflow-y:auto;flex:1}.create-channel-modal .form-group{margin-bottom:20px}.create-channel-modal .form-group label{display:block;margin-bottom:8px;font-size:.85rem;font-weight:600;color:#b9bbbe;text-transform:uppercase;letter-spacing:.5px}.create-channel-modal .form-input,.create-channel-modal .form-textarea{width:100%;padding:10px 12px;border:1px solid #202225;border-radius:4px;background:#202225;color:#dcddde;font-size:1rem;font-family:inherit;box-sizing:border-box}.create-channel-modal .form-input:focus,.create-channel-modal .form-textarea:focus{outline:none;border-color:#5865f2}.create-channel-modal .form-input::placeholder,.create-channel-modal .form-textarea::placeholder{color:#72767d}.create-channel-modal .form-textarea{resize:vertical;min-height:60px}.create-channel-modal .settings-section{background:#2f3136;margin:0 -20px 20px;padding:16px 20px;border-top:1px solid #202225;border-bottom:1px solid #202225}.create-channel-modal .settings-section h3{margin:0 0 12px;font-size:.85rem;font-weight:600;color:#b9bbbe;text-transform:uppercase;letter-spacing:.5px}.create-channel-modal .setting-row{margin-bottom:12px}.create-channel-modal .setting-row:last-child{margin-bottom:0}.create-channel-modal .setting-label{display:flex;align-items:flex-start;gap:12px;cursor:pointer}.create-channel-modal .setting-label input[type=checkbox]{margin-top:3px;width:18px;height:18px;cursor:pointer;accent-color:#5865f2}.create-channel-modal .setting-text{display:flex;flex-direction:column;gap:4px}.create-channel-modal .setting-text strong{color:#dcddde}.create-channel-modal .setting-description{font-size:.85rem;color:#72767d;line-height:1.4}.create-channel-modal .personas-section{margin-bottom:0}.create-channel-modal .personas-section h3{margin:0 0 8px;font-size:.85rem;font-weight:600;color:#b9bbbe;text-transform:uppercase;letter-spacing:.5px}.create-channel-modal .section-description{margin:0 0 12px;font-size:.9rem;color:#72767d}.create-channel-modal .persona-list{max-height:200px;overflow-y:auto;border:1px solid #202225;border-radius:4px;background:#2f3136}.create-channel-modal .persona-item{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #202225;cursor:pointer;transition:background-color .15s ease}.create-channel-modal .persona-item:last-child{border-bottom:none}.create-channel-modal .persona-item:hover{background:#3a3d42}.create-channel-modal .persona-item input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#5865f2}.create-channel-modal .persona-info{display:flex;flex-direction:column;gap:2px}.create-channel-modal .persona-name{font-weight:500;color:#dcddde}.create-channel-modal .persona-model{font-size:.8rem;color:#72767d}.create-channel-modal .loading,.create-channel-modal .no-personas{padding:20px;text-align:center;color:#72767d}.create-channel-modal .modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid #202225;background:#2f3136}.create-channel-modal .cancel-button{padding:10px 20px;background:transparent;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500}.create-channel-modal .cancel-button:hover:not(:disabled){text-decoration:underline}.create-channel-modal .create-button{padding:10px 24px;background:#5865f2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background-color .15s ease}.create-channel-modal .create-button:hover:not(:disabled){background:#4752c4}.create-channel-modal .create-button:disabled,.create-channel-modal .cancel-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.create-channel-modal{align-items:stretch!important;justify-content:stretch!important;padding:0!important}.create-channel-modal .modal-content{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;border-radius:0!important}.create-channel-modal form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.create-channel-modal .modal-body{flex:1;overflow-y:auto!important;-webkit-overflow-scrolling:touch;min-height:0}.create-channel-modal .modal-header,.create-channel-modal .modal-footer{padding:14px 16px;flex-shrink:0}.create-channel-modal .form-input,.create-channel-modal .form-textarea{font-size:16px}.create-channel-modal .persona-list{max-height:none}.create-channel-modal .settings-section{margin-left:-20px;margin-right:-20px}}.channel-list{display:flex;flex-direction:column;height:100%;background-color:#2c2f33;color:#dcddde;width:250px;border-right:1px solid #202225}.channel-list-header{padding:16px;border-bottom:1px solid #202225;display:flex;justify-content:space-between;align-items:center}.channel-list-header h2{margin:0;font-size:16px;font-weight:600;color:#fff}.create-channel-btn{background:none;border:none;color:#b9bbbe;font-size:20px;font-weight:300;cursor:pointer;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .15s ease,color .15s ease}.create-channel-btn:hover{background-color:#3a3d42;color:#fff}.channel-list-items{flex:1;overflow-y:auto;padding:8px}.channel-item{padding:8px 12px;margin-bottom:4px;border-radius:4px;cursor:pointer;transition:background-color .15s ease}.channel-item:hover{background-color:#3a3d42}.channel-item.active{background-color:#5865f2;color:#fff}.channel-name{font-weight:500;font-size:14px;margin-bottom:2px}.channel-description{font-size:12px;color:#b9bbbe;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-item.active .channel-description{color:#e3e5e8}.loading-message,.empty-message{padding:16px;text-align:center;color:#72767d;font-size:14px}.channel-item.pending-invite{background-color:#5865f21a;border:1px solid rgba(88,101,242,.3);display:flex;justify-content:space-between;align-items:center;cursor:default}.channel-item.pending-invite:hover{background-color:#5865f226}.channel-info{flex:1;min-width:0}.invitation-actions{display:flex;align-items:center;gap:6px;margin-left:8px}.invite-label{font-size:11px;color:#5865f2;background:#5865f233;padding:2px 6px;border-radius:3px;margin-right:4px}.accept-btn,.decline-btn{padding:4px 8px;border:none;border-radius:4px;cursor:pointer;font-size:12px;transition:background-color .15s ease}.accept-btn{background-color:#3ba55c;color:#fff}.accept-btn:hover:not(:disabled){background-color:#2d8049}.decline-btn{background-color:#ed4245;color:#fff}.decline-btn:hover:not(:disabled){background-color:#c73538}.accept-btn:disabled,.decline-btn:disabled{opacity:.6;cursor:not-allowed}.message-pane{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;background-color:#36393f;position:relative}.message-pane.empty{display:flex;align-items:center;justify-content:center}.empty-state{text-align:center;color:#b9bbbe}.empty-state h2{color:#fff;margin-bottom:8px}.message-pane-header{padding:16px 20px;border-bottom:1px solid #202225;background-color:#2c2f33}.message-pane-header h2{margin:0 0 4px;font-size:18px;font-weight:600;color:#fff}.channel-description-text{margin:0;font-size:13px;color:#b9bbbe}.messages{flex:1;overflow-y:auto;padding:20px}.no-messages{display:flex;align-items:center;justify-content:center;height:100%;color:#72767d}.message{display:flex;padding:8px 0;margin-bottom:12px}.message:hover{background-color:#04040512;border-radius:4px;padding:8px;margin-left:-8px;margin-right:-8px}.message-avatar{width:40px;height:40px;border-radius:50%;background-color:#5865f2;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px;margin-right:12px;flex-shrink:0}.message-body{flex:1;min-width:0}.message-header{display:flex;align-items:baseline;margin-bottom:4px}.message-author{font-weight:500;color:#fff;font-size:15px;margin-right:8px}.message-timestamp{font-size:12px;color:#72767d}.message-content{color:#dcddde;font-size:15px;line-height:1.5;word-wrap:break-word;white-space:pre-wrap}.markdown-rendered{white-space:normal}.message-content h1,.message-content h2,.message-content h3,.content-block-text h1,.content-block-text h2,.content-block-text h3{color:#fff;font-weight:600;margin-top:16px;margin-bottom:8px;line-height:1.3}.message-content h1,.content-block-text h1{font-size:20px;border-bottom:1px solid #404249;padding-bottom:4px}.message-content h2,.content-block-text h2{font-size:18px}.message-content h3,.content-block-text h3{font-size:16px}.message-content h1:first-child,.message-content h2:first-child,.message-content h3:first-child,.content-block-text h1:first-child,.content-block-text h2:first-child,.content-block-text h3:first-child{margin-top:0}.message-content p,.content-block-text p{margin:0 0 4px}.message-content p:last-child,.content-block-text p:last-child{margin-bottom:0}.message-content p+p,.content-block-text p+p{margin-top:4px}.message-content strong,.content-block-text strong{color:#fff;font-weight:600}.message-content em,.content-block-text em{font-style:italic}.message-content ul,.message-content ol,.content-block-text ul,.content-block-text ol{margin:8px 0;padding-left:24px}.message-content li,.content-block-text li{margin:4px 0}.message-content code,.content-block-text code{background-color:#2c2f33;padding:2px 4px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:13px;color:#eb459e}.message-content pre,.content-block-text pre{background-color:#2c2f33;border:1px solid #202225;border-radius:4px;padding:12px;margin:8px 0;overflow-x:auto}.message-content pre code,.content-block-text pre code{background-color:transparent;padding:0;color:#dcddde;font-size:13px}.message-content blockquote,.content-block-text blockquote{border-left:4px solid #5865f2;padding-left:12px;margin:8px 0;color:#b9bbbe;font-style:italic}.message-content a,.content-block-text a{color:#00aff4;text-decoration:none}.message-content a:hover,.content-block-text a:hover{text-decoration:underline}.message-content hr,.content-block-text hr{border:none;border-top:1px solid #404249;margin:16px 0}.message-bid-info{display:flex;align-items:center;gap:6px;font-size:11px;color:#72767d;margin-bottom:4px;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.message-bid-info .bid-score{color:#5865f2}.message-bid-info .repetition-modifier{color:#faa61a}.message-bid-info .effective-priority{color:#57f287}.message-llm .message-avatar{background-color:#5865f2}.message-human .message-avatar{background-color:#57f287}.bid-cycle-status{padding:8px 20px;background-color:#2c2f33;border-top:1px solid #202225;font-size:13px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;display:flex;align-items:center;gap:8px}.bid-cycle-status:before{content:"";width:8px;height:8px;border-radius:50%;animation:pulse 1.5s ease-in-out infinite}.bid-cycle-status.status-collecting{color:#faa61a}.bid-cycle-status.status-collecting:before{background-color:#faa61a}.bid-cycle-status.status-responding{color:#5865f2}.bid-cycle-status.status-responding:before{background-color:#5865f2}.bid-cycle-status.status-dormant{color:#72767d}.bid-cycle-status.status-dormant:before{background-color:#72767d;animation:none}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.typing-indicator{padding:8px 20px;background-color:#2c2f33;border-top:1px solid #202225;font-size:13px;color:#b9bbbe;font-style:italic}.bid-results{margin:8px 0;padding:8px 12px;background-color:#5865f21a;border-left:3px solid #5865f2;border-radius:4px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px}.bid-results-header{color:#72767d;font-size:11px;text-transform:uppercase;margin-bottom:4px;letter-spacing:.5px}.bid-results-list{display:flex;flex-direction:column;gap:2px}.bid-result-item{display:flex;justify-content:space-between;align-items:center;padding:2px 0;color:#b9bbbe}.bid-result-item.winner{color:#57f287}.bid-result-item.failed{color:#ed4245}.bid-participant-name{display:flex;align-items:center;gap:6px}.winner-badge{background-color:#57f287;color:#000;font-size:9px;padding:1px 4px;border-radius:2px;font-weight:600}.bid-values{display:flex;align-items:center;gap:4px}.bid-values .raw-bid{color:#5865f2}.bid-values .arrow{color:#72767d}.bid-values .final-bid{color:#57f287}.bid-result-item.winner .final-bid{font-weight:600}.bid-error{color:#ed4245;font-size:11px}.bid-collecting{border-left-color:#faa61a;background-color:#faa61a1a}.bid-result-item.collecting{color:#b9bbbe}.bid-status-waiting{color:#faa61a;font-size:11px}.waiting-dots{display:inline-block;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.4}50%{opacity:1}}.bid-results-compact{margin:0 0 6px;padding:4px 8px;background-color:#5865f214;border-left:2px solid #5865f2;font-size:11px}.bid-results-compact .bid-results-header{font-size:10px;margin-bottom:2px}.bid-results-compact .bid-results-list{display:flex;flex-wrap:wrap;gap:8px}.bid-results-compact .bid-result-item{display:inline-flex;padding:0;gap:4px}.bid-results-compact .bid-participant-name{gap:3px}.bid-results-compact .winner-badge{font-size:8px;padding:0 3px}.message-content-rich{display:flex;flex-direction:column;gap:12px}.content-block{line-height:1.5}.content-block-image{max-width:512px}.content-block-image .generated-image{max-width:100%;height:auto;border-radius:8px;box-shadow:0 2px 8px #0000004d}.content-block-image .image-loading,.content-block-image .image-error{padding:40px;background-color:#2c2f33;border-radius:8px;text-align:center;color:#72767d}.content-block-image .image-error{color:#ed4245}.content-block-image .image-caption{margin-top:6px;font-size:12px;color:#b9bbbe;font-style:italic}.content-block-image .image-prompt{font-style:normal}.content-block-image .prompt-label{color:#72767d;font-weight:500}.content-block-image-pending{padding:20px;background-color:#5865f21a;border-left:3px solid #5865f2;border-radius:4px;max-width:512px}.content-block-image-pending .image-generating{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#5865f2;font-weight:500}.content-block-image-pending .generating-spinner{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.content-block-image-pending .image-prompt-pending{font-size:12px;color:#b9bbbe}.content-block-image-pending .prompt-label{color:#72767d;font-weight:500}.content-block-image-error{padding:16px;background-color:#ed42451a;border-left:3px solid #ed4245;border-radius:4px;max-width:512px}.content-block-image-error .image-generation-error{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#ed4245}.content-block-image-error .error-icon{font-size:16px}.content-block-image-error .image-prompt-failed{font-size:12px;color:#b9bbbe}.content-block-image-error .prompt-label{color:#72767d;font-weight:500}.content-block-unknown{padding:8px;background-color:#faa61a1a;border-left:3px solid #faa61a;border-radius:4px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;color:#faa61a}.image-prompt-details{margin-top:6px}.image-prompt-details .image-prompt{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px}.prompt-expand-btn{background:none;border:1px solid #5865f2;color:#5865f2;font-size:11px;padding:2px 6px;border-radius:3px;cursor:pointer;font-family:inherit;transition:all .15s ease}.prompt-expand-btn:hover{background-color:#5865f233}.full-prompt-details{margin-top:8px;padding:10px;background-color:#0000004d;border-radius:4px;border-left:2px solid #5865f2}.full-prompt-header{margin-bottom:6px}.full-prompt-label{font-size:11px;color:#72767d;text-transform:uppercase;letter-spacing:.5px}.full-prompt-content{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;color:#b9bbbe;white-space:pre-wrap;word-break:break-word;line-height:1.6}.message-generating{border-left:3px solid #5865f2;padding-left:12px;margin-left:-15px}.message-generating-label{color:#5865f2;font-size:11px;font-style:italic;margin-left:8px;animation:pulse-opacity 1.5s ease-in-out infinite}@keyframes pulse-opacity{0%,to{opacity:1}50%{opacity:.5}}.message-content-wrapper{display:inline}.generating-cursor{display:inline-block;color:#5865f2;animation:blink-cursor 1s step-end infinite;margin-left:2px;font-weight:700}@keyframes blink-cursor{0%,to{opacity:1}50%{opacity:0}}.scroll-to-bottom{position:absolute;bottom:80px;left:50%;transform:translate(-50%);background-color:#5865f2;color:#fff;border:none;border-radius:20px;padding:8px 16px;font-size:13px;font-weight:500;cursor:pointer;box-shadow:0 2px 8px #0000004d;transition:all .15s ease;z-index:10}.scroll-to-bottom:hover{background-color:#4752c4;box-shadow:0 4px 12px #0006}.scroll-to-bottom:active{transform:translate(-50%) scale(.98)}.mention{display:inline;position:relative;background-color:#5865f226;color:#7289da;padding:0 4px;border-radius:4px;font-weight:500;cursor:pointer;transition:background-color .15s ease}.mention:hover{background-color:#5865f24d}.mention-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:8px;background-color:#18191c;border:1px solid #202225;border-radius:6px;padding:8px 12px;box-shadow:0 4px 12px #0006;white-space:nowrap;z-index:100;display:flex;flex-direction:column;align-items:center;gap:2px}.mention-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#18191c}.mention-tooltip-name{font-weight:600;color:#fff;font-size:14px}.mention-tooltip-type{font-size:11px;color:#72767d;text-transform:uppercase;letter-spacing:.5px}@media (max-width: 768px){.message-pane-header{padding:12px}.message-pane-header h2{font-size:16px}.messages{padding:12px}.message{padding:6px 0;margin-bottom:8px}.message-avatar{width:32px;height:32px;font-size:14px;margin-right:10px}.message-author,.message-content{font-size:14px}.bid-cycle-status,.typing-indicator{padding:6px 12px;font-size:12px}.scroll-to-bottom{bottom:70px;padding:6px 12px;font-size:12px}.content-block-image{max-width:100%}}.voice-input{position:relative;display:inline-flex;align-items:center}.voice-button{background-color:#5865f2;color:#fff;border:none;border-radius:8px;padding:12px 16px;font-size:18px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:44px;height:44px}.voice-button:hover:not(:disabled){background-color:#4752c4;transform:scale(1.05)}.voice-button:disabled{background-color:#4e5058;color:#72767d;cursor:not-allowed}.voice-button.listening{background:#f44;color:#fff;border-color:#c00;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.1)}}.voice-button.error{background-color:#ed4245;color:#fff}.voice-error-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:8px;padding:6px 12px;background:#f44;color:#fff;border-radius:4px;font-size:12px;white-space:nowrap;pointer-events:none;z-index:1000;box-shadow:0 2px 8px #0003}.voice-error-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#f44}.voice-input-unsupported{display:inline-flex}.voice-input-unsupported .voice-button{opacity:.3}.mention-autocomplete{position:absolute;bottom:100%;left:0;margin-bottom:4px;min-width:220px;max-width:320px;background-color:#2c2f33;border:1px solid #202225;border-radius:6px;box-shadow:0 4px 12px #0006;z-index:1000;overflow:hidden}.mention-autocomplete-empty{padding:12px 16px;color:#72767d;font-size:13px;text-align:center}.mention-autocomplete-item{display:flex;align-items:center;gap:10px;padding:8px 12px;cursor:pointer;transition:background-color .1s ease}.mention-autocomplete-item:hover,.mention-autocomplete-item.selected{background-color:#5865f2}.mention-autocomplete-item.selected{background-color:#4752c4}.mention-autocomplete-avatar{width:28px;height:28px;border-radius:50%;background-color:#5865f2;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:13px;flex-shrink:0}.mention-autocomplete-item:hover .mention-autocomplete-avatar,.mention-autocomplete-item.selected .mention-autocomplete-avatar{background-color:#fff3}.mention-autocomplete-name{flex:1;color:#dcddde;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-autocomplete-item:hover .mention-autocomplete-name,.mention-autocomplete-item.selected .mention-autocomplete-name{color:#fff}.mention-autocomplete-type{padding:2px 6px;border-radius:3px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;flex-shrink:0}.mention-autocomplete-type.type-human{background-color:#72767d4d;color:#b9bbbe}.mention-autocomplete-type.type-llm{background-color:#5865f24d;color:#7289da}.mention-autocomplete-type.type-consultant{background-color:#faa61a4d;color:#faa61a}.mention-autocomplete-item:hover .mention-autocomplete-type,.mention-autocomplete-item.selected .mention-autocomplete-type{background-color:#ffffff26;color:#fff}.message-input{display:flex;gap:12px;padding:16px 20px;background-color:#2c2f33;border-top:1px solid #202225}.message-input-wrapper{flex:1;position:relative}.message-input textarea{width:100%;padding:12px 16px;background-color:#40444b;border:none;border-radius:8px;color:#dcddde;font-size:15px;font-family:inherit;outline:none;transition:background-color .15s ease;resize:none;min-height:44px;max-height:200px;line-height:1.4;overflow-y:auto}.message-input textarea:focus{background-color:#383a40}.message-input textarea:disabled{opacity:.5;cursor:not-allowed}.message-input textarea::placeholder{color:#72767d}.message-input button{padding:12px 24px;background-color:#5865f2;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:background-color .15s ease}.message-input button:hover:not(:disabled){background-color:#4752c4}.message-input button:disabled{background-color:#4e5058;color:#72767d;cursor:not-allowed}.message-input-buttons{display:flex;gap:8px}.message-input .pause-button{padding:12px 16px;background-color:#faa61a;color:#000;font-weight:600}.message-input .pause-button:hover:not(:disabled){background-color:#e89c15}.message-input .pause-button.paused{background-color:#ed4245;color:#fff}.message-input .pause-button.paused:hover:not(:disabled){background-color:#ed4245}.message-input .pause-button:disabled{opacity:.8}@media (max-width: 768px){.message-input{padding:10px 12px;gap:8px}.message-input textarea{padding:10px 12px;font-size:16px}.message-input button{padding:10px 16px;font-size:14px}.message-input .pause-button{padding:10px 12px}.message-input-buttons{gap:6px}}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:500px;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 20px #00000026}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e0e0e0;background:#f5f5f5}.modal-header h2{margin:0;font-size:1.25rem;color:#333}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.close-button:hover{background:#e0e0e0;color:#333}.modal-error{background:#ffebee;color:#c62828;padding:12px 20px;display:flex;justify-content:space-between;align-items:center}.modal-error button{background:none;border:none;color:#c62828;cursor:pointer;font-size:1.2rem}.modal-body{padding:20px;overflow-y:auto;flex:1}section{margin-bottom:24px}section:last-child{margin-bottom:0}section h3{margin:0 0 12px;font-size:1rem;color:#555;border-bottom:1px solid #eee;padding-bottom:8px}.invite-form{display:flex;gap:8px;margin-bottom:12px}.search-input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:.9rem}.search-input:focus{outline:none;border-color:#666}.role-select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;font-size:.9rem}.search-loading,.no-results{color:#888;font-size:.9rem;padding:8px 0}.search-results{list-style:none;margin:0;padding:0;border:1px solid #ddd;border-radius:4px;max-height:200px;overflow-y:auto}.search-result-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid #eee}.search-result-item:last-child{border-bottom:none}.search-result-item .user-info{display:flex;flex-direction:column}.search-result-item .user-email{font-size:.85rem;color:#888}.invite-button{padding:6px 14px;background:#4caf50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.invite-button:hover{background:#388e3c}.participants-list{list-style:none;margin:0;padding:0}.participant-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #eee}.participant-item:last-child{border-bottom:none}.participant-info{display:flex;align-items:center;gap:8px}.participant-name{font-weight:500}.you-badge{color:#888;font-weight:400;font-size:.85rem;margin-left:4px}.participant-type{font-size:.75rem;padding:2px 6px;border-radius:3px;text-transform:uppercase}.participant-type.human{background:#e3f2fd;color:#1565c0}.participant-type.llm{background:#f3e5f5;color:#7b1fa2}.pending-badge{font-size:.75rem;padding:2px 6px;background:#fff3e0;color:#e65100;border-radius:3px}.participant-actions{display:flex;align-items:center;gap:8px}.role-select-small{padding:4px 8px;border:1px solid #ddd;border-radius:4px;background:#fff;font-size:.85rem}.role-badge{font-size:.8rem;padding:4px 10px;border-radius:4px;text-transform:capitalize}.role-badge.reader{background:#e0e0e0;color:#555}.role-badge.writer{background:#e3f2fd;color:#1565c0}.role-badge.moderator{background:#e8f5e9;color:#2e7d32}.remove-button{background:none;border:none;color:#999;font-size:1.2rem;cursor:pointer;padding:4px 8px;border-radius:4px}.remove-button:hover{background:#ffebee;color:#c62828}.leave-section{padding-top:16px;border-top:1px solid #eee;text-align:center}.leave-button{padding:10px 24px;background:#fff;color:#c62828;border:1px solid #c62828;border-radius:4px;cursor:pointer;font-size:.9rem}.leave-button:hover{background:#ffebee}.loading{color:#888;text-align:center;padding:20px}.settings-section{background:#f8f9fa;margin:-20px -20px 20px;padding:20px;border-bottom:1px solid #e0e0e0}.setting-row{margin-bottom:12px}.setting-row:last-child{margin-bottom:0}.setting-label{display:flex;align-items:flex-start;gap:12px;cursor:pointer}.setting-label input[type=checkbox]{margin-top:3px;width:18px;height:18px;cursor:pointer}.setting-text{display:flex;flex-direction:column;gap:4px}.setting-text strong{color:#333}.setting-description{font-size:.85rem;color:#666;line-height:1.4}.chat-page{display:flex;flex-direction:column;height:100vh;height:100dvh;background-color:#36393f}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background-color:#2c2f33;border-bottom:1px solid #202225}.chat-header-left{display:flex;align-items:center}.chat-header h1{margin:0;font-size:20px;font-weight:600;color:#fff}.chat-header-link{text-decoration:none}.user-info{display:flex;align-items:center;gap:16px}.username{color:#dcddde;font-size:14px;font-weight:500}.logout-button{padding:6px 12px;background:transparent;border:1px solid #4e5058;border-radius:4px;color:#dcddde;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.logout-button:hover{background:#4e5058;border-color:#6d6f78}.chat-content{display:flex;flex:1;min-height:0}.chat-main{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.chat-main-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background-color:#2c2f33;border-bottom:1px solid #202225;min-height:48px}.active-channel-name{color:#fff;font-size:16px;font-weight:600}.settings-button{background:transparent;border:none;font-size:18px;cursor:pointer;padding:6px 10px;border-radius:4px;transition:background-color .2s ease}.settings-button:hover{background-color:#3c3f44}.mobile-menu-button{display:none;background:transparent;border:none;font-size:24px;cursor:pointer;padding:4px 8px;margin-right:12px}@media (max-width: 768px){.chat-page{position:fixed;top:0;left:0;right:0;bottom:0;height:100%}.chat-header{padding:10px 12px;flex-shrink:0;position:relative;z-index:50}.chat-header h1{font-size:16px}.mobile-menu-button{display:block;color:#fff}.username{display:none}.user-info{gap:8px}.chat-content{position:relative;flex:1;min-height:0;overflow:hidden}.chat-content .channel-list{position:absolute;left:0;top:0;bottom:0;z-index:100;transform:translate(-100%);transition:transform .2s ease;width:80%;max-width:280px}.chat-content.sidebar-open .channel-list{transform:translate(0);box-shadow:4px 0 12px #0000004d}.sidebar-overlay{display:none;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:99}.chat-content.sidebar-open .sidebar-overlay{display:block}.chat-main-header{padding:10px 12px;flex-shrink:0}.chat-main{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column}.active-channel-name{font-size:14px}}*{box-sizing:border-box}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}#root{height:100vh;overflow:hidden}
