#root,body,html{height:100%;margin:0}.app-container{display:flex;flex-direction:column;font-family:Arial,Helvetica,sans-serif;height:100dvh;overflow:hidden}.auth-page{align-items:center;background:#f5f7fa;display:flex;flex:1 1 auto;justify-content:center;min-height:0;overflow-y:auto;padding:24px}.auth-card{background:#fff;border:1px solid #e3e8ef;border-radius:18px;box-shadow:0 12px 40px #1a273714;padding:28px;width:min(100%,360px)}.auth-card h1{color:#17202a;font-size:25px;line-height:1.2;margin:0}.auth-subtitle{color:#6b7683;font-size:14px;line-height:1.45;margin:8px 0 22px}.auth-form{grid-gap:15px;display:grid;gap:15px}.auth-form label{grid-gap:6px;color:#344054;display:grid;font-size:13px;font-weight:600;gap:6px}.auth-form input{background:#fff;border:1px solid #d7dee7;border-radius:10px;color:#17202a;font:inherit;font-weight:400;height:44px;outline:none;padding:0 12px;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.auth-form input:focus{border-color:#1689f5;box-shadow:0 0 0 3px #1689f51f}.auth-error{background:#fef3f2;border-radius:9px;color:#b42318;font-size:13px;margin:0;padding:9px 11px}.auth-submit{background:#1689f5;border:0;border-radius:10px;color:#fff;cursor:pointer;font-size:14px;font-weight:700;min-height:44px}.auth-submit:disabled{cursor:wait;opacity:.6}.auth-switch{color:#6b7683;font-size:13px;margin:20px 0 0;text-align:center}.auth-switch a{color:#0877d1;font-weight:700;text-decoration:none}.auth-method-tabs{grid-gap:4px;background:#edf2f7;border-radius:11px;display:grid;gap:4px;grid-template-columns:1fr 1fr;margin:0 0 18px;padding:4px}.auth-method-tabs button{background:#0000;border:0;border-radius:8px;color:#526273;cursor:pointer;font-weight:700;min-height:38px}.auth-method-tabs button.active{background:#fff;box-shadow:0 2px 8px #0f172a14;color:#0877d1}.auth-qr-panel{grid-gap:14px;display:grid;gap:14px;justify-items:center}.auth-qr-code{background:#fff;border:1px solid #d7dee7;border-radius:14px;line-height:0;padding:10px}.auth-qr-placeholder{background:#f1f5f9;border-radius:14px;color:#6b7683;display:grid;height:242px;place-items:center;width:242px}.auth-qr-steps{color:#526273;font-size:13px;line-height:1.55;margin:0;padding-left:22px}@media (max-width:480px){.auth-page{background:#fff;padding:14px}.auth-card{border:0;box-shadow:none;padding:18px 10px}}main.app-root{flex:1 1 auto}.chats,main.app-root{display:flex;min-height:0;overflow:hidden}.chats{border-right:1px solid #e0e0e0;flex-direction:column;min-width:240px}.chats .search-user-chat{border-bottom:1px solid #eee;padding:10px}.chats .search-user-chat input{box-sizing:border-box;padding:8px 10px;width:100%}.search-results{background:#fff;border-bottom:1px solid #eee;max-height:240px;overflow-y:auto;padding:10px}.search-error,.search-status{font-size:13px;margin:0 0 8px}.search-status{color:#666}.search-error{color:#b00020}.chats .my-chats{flex:1 1 auto;min-height:0;overflow-y:auto;padding:10px}.chat-item{position:relative}.chat-item--user button{background:#f7fbff;border-color:#d8e7f7}.chat-item--user button:hover{background:#eef6ff;border-color:#8bb8e8}.chat-item button{background:#fff;border:1px solid #0000;cursor:pointer;gap:8px;padding:8px 10px;text-align:left;width:100%}.chat-item-unread{background:#1689f5;border-radius:999px;box-sizing:border-box;font-size:12px;font-weight:700;height:22px;margin-left:auto;min-width:22px;padding:0 7px}.chat-item-unread,.user-avatar{align-items:center;color:#fff;display:inline-flex;flex:0 0 auto;justify-content:center;line-height:1}.user-avatar{border-radius:50%;font-weight:800;letter-spacing:.02em;overflow:hidden;-webkit-user-select:none;user-select:none}.user-avatar img{display:block;height:100%;object-fit:cover;width:100%}.chat-item-pin{flex:0 0 auto;font-size:14px}.chat-item-actions{grid-gap:4px;background:#fff;border:1px solid #dce3ea;border-radius:12px;box-shadow:0 10px 28px #1f29372e;display:grid;gap:4px;min-width:150px;padding:6px;position:absolute;right:6px;top:calc(100% - 2px);z-index:250}.chat-item .chat-item-actions button{background:#0000;border:0;border-radius:8px;font-size:14px;justify-content:flex-start;min-height:36px;padding:8px 10px;width:100%}.chat-item .chat-item-actions button:hover{background:#eef6ff}.chat-item .chat-item-actions .chat-item-delete{color:#c62828}.chat-item button:hover{border-color:#ddd}.chat-panel{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden;position:relative}.chat-drop-overlay{align-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#e8f5fff0;border:2px dashed #1689f5;border-radius:16px;color:#0871cf;display:flex;inset:8px;justify-content:center;pointer-events:none;position:absolute;z-index:15000}.chat-drop-overlay>div{grid-gap:6px;display:grid;gap:6px;text-align:center}.chat-drop-overlay strong{font-size:18px}.chat-drop-overlay span{color:#52677b;font-size:13px}.chat-content{flex-direction:column;overflow-y:auto;padding:16px}.chat-content,.chat-content-shell{display:flex;flex:1 1 auto;min-height:0}.chat-content-shell{position:relative}.chat-content-shell>.chat-content{flex:1 1 auto}.chat-scroll-bottom{animation:chat-scroll-bottom-in .16s ease-out;background:#fffffff5;border:1px solid #d7e2ee;border-radius:50%;bottom:16px;box-shadow:0 5px 18px #153d6033;color:#0877d1;cursor:pointer;display:grid;height:44px;padding:0;place-items:center;position:absolute;right:18px;width:44px;z-index:40}.chat-scroll-bottom:hover{background:#1689f5;color:#fff}.chat-scroll-bottom svg{fill:currentColor;height:25px;width:25px}@keyframes chat-scroll-bottom-in{0%{opacity:0;transform:translateY(8px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}.pending-upload-message .message-bubble{opacity:.92}.pending-upload-text{white-space:pre-wrap}.pending-upload-reply{cursor:default}.pending-upload-files{grid-gap:3px;border-radius:10px;display:grid;gap:3px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:7px;overflow:hidden;width:min(430px,65vw)}.pending-upload-files--count-1{grid-template-columns:minmax(0,1fr)}.pending-upload-file{aspect-ratio:4/3;background:#dbe6ef;border-radius:7px;min-height:110px;min-width:0;overflow:hidden;position:relative}.pending-upload-file-placeholder,.pending-upload-file>img,.pending-upload-file>video{display:block;height:100%;object-fit:cover;width:100%}.pending-upload-file-placeholder{background:#edf3f8;display:grid;font-size:34px;place-items:center}.pending-upload-file-placeholder img{height:44px;object-fit:contain;width:44px}.pending-upload-progress{align-items:center;background:#0a182685;color:#fff;display:flex;flex-direction:column;gap:7px;inset:0;justify-content:center;position:absolute;text-shadow:0 1px 2px #00000073}.pending-upload-spinner{animation:send-button-spin .72s linear infinite;border:3px solid #ffffff6b;border-radius:50%;border-top-color:#fff;height:34px;width:34px}.pending-upload-progress strong{font-size:12px}.pending-upload-footer{align-items:center;display:flex;gap:10px;justify-content:space-between}.pending-upload-cancel{background:#b42318;border:0;border-radius:7px;color:#fff;cursor:pointer;font-size:11px;font-weight:700;padding:5px 9px}.emoji-picker-header{align-items:center;border-bottom:1px solid #e1e7ee;display:flex;justify-content:space-between;padding:8px 10px}.emoji-picker-header button{background:#0000;border:0;border-radius:8px;color:#526273;cursor:pointer;font-size:22px;height:30px;line-height:24px;width:30px}.pending-upload-file-name{bottom:5px;color:#fff;font-size:11px;left:5px;overflow:hidden;position:absolute;right:5px;text-overflow:ellipsis;text-shadow:0 1px 3px #000;white-space:nowrap;z-index:2}.chat-date-separator{align-self:center;background:#f2f4f7;border-radius:999px;color:#666;font-size:12px;margin:2px 0;padding:4px 10px}.chat-unread-separator{align-items:center;color:#1689f5;display:flex;font-size:12px;font-weight:700;gap:10px;margin:8px 0;text-align:center;width:100%}.chat-unread-separator:after,.chat-unread-separator:before{background:#9ed0ff;content:"";flex:1 1 auto;height:1px}.chat-history-loading{align-self:center;color:#777;font-size:12px;margin:4px 0}.chat-input{align-items:center;background:#fff;border-top:1px solid #eee;display:flex;flex-wrap:wrap;gap:8px;padding:10px}.chat-textarea{box-sizing:border-box;font-family:inherit;max-height:140px;min-height:44px;padding:8px 10px;resize:vertical;width:100%}.chat-input-main{display:flex;flex-direction:column;gap:8px}.voice-composer{align-items:center;background:#f7fbff;border:1px solid #d9e6f3;border-radius:14px;box-sizing:border-box;display:flex;gap:10px;min-height:52px;padding:7px 9px;width:100%}.voice-composer--recording{background:#fff7f7;border-color:#fecaca;color:#b42318}.voice-composer__dot{animation:voice-pulse 1s ease-in-out infinite;background:#ef4444;border-radius:50%;flex:0 0 auto;height:11px;width:11px}.voice-composer__wave{align-items:center;display:flex;flex:1 1;height:32px;justify-content:space-around;overflow:hidden}.voice-composer__wave i{animation:voice-wave .9s ease-in-out infinite alternate;background:#ef6b6b;border-radius:3px;width:3px}.voice-composer__wave i:nth-child(3n){animation-delay:.18s}.voice-composer__wave i:nth-child(4n){animation-delay:.32s}.voice-composer audio{flex:1 1;height:38px;min-width:160px}.voice-composer__duration{font-feature-settings:"tnum";color:#64748b;font-size:12px;font-variant-numeric:tabular-nums}.voice-composer__delete,.voice-composer__send,.voice-composer__stop{border:0;border-radius:50%;cursor:pointer;display:grid;flex:0 0 38px;height:38px;padding:0;place-items:center;width:38px}.voice-composer__delete,.voice-composer__stop{background:#fee2e2;color:#dc2626}.voice-composer__send{background:#1689f5;color:#fff;font-size:18px}@keyframes voice-pulse{50%{opacity:.38;transform:scale(.82)}}@keyframes voice-wave{0%{transform:scaleY(.55)}to{transform:scaleY(1)}}.chat-input-actions{display:flex;flex-direction:column;gap:8px}.attach-button{border:1px solid #e6e9ec;border-radius:6px;font-size:18px}.attach-button,.voice-record-button{align-items:center;background:#f3f6f9;cursor:pointer;display:inline-flex;height:40px;justify-content:center;width:40px}.voice-record-button{border:1px solid #e6e9ec;border-radius:999px;padding:0}.voice-record-button img{height:20px;object-fit:contain;width:20px}.voice-record-button--active{background:#ffe9e9;border-color:#ffb7b7;box-shadow:0 0 0 3px #ff49491f}.voice-record-button:disabled{cursor:not-allowed;opacity:.5}.send-button{background:#0084ff;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:8px 12px}.send-button:disabled{cursor:not-allowed;opacity:.5}.voice-recording-error{color:#b00020;font-size:11px;line-height:1.3;max-width:120px;text-align:center}.voice-recording-status{color:#c62828;font-size:12px;font-weight:700;min-width:48px;text-align:center}.chat-attachments-preview{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));width:100%}.chat-voice-preview{margin-bottom:8px;width:100%}.chat-attachment-item{background:#fafafa;border:1px solid #e8e8e8;border-radius:8px;display:flex;flex-direction:column;gap:6px;padding:6px;position:relative}.chat-attachment-thumb{background:#eee;border-radius:6px;height:88px;object-fit:cover;width:100%}.chat-attachment-audio-player{min-height:80px;width:100%}.chat-attachment-audio-wrap{display:block;position:relative;width:100%}.chat-attachment-big-play{align-items:center;background:#0009;border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:20px;height:56px;justify-content:center;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:56px;z-index:2}.chat-attachment-big-play:active{transform:translate(-50%,-50%) scale(.96)}.chat-attachment-file-icon{height:40px;object-fit:contain;width:40px}.chat-attachment-meta{color:#666;display:flex;flex-direction:column;font-size:11px;gap:2px}.chat-attachment-meta span:first-child{color:#222;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-attachment-remove{align-items:center;background:#0009;border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;height:22px;justify-content:center;line-height:1;position:absolute;right:6px;top:6px;width:22px}.chat-attachment-audio-actions{display:flex;justify-content:flex-end}.chat-attachment-send-btn{background:#0084ff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:12px}.chat-attachment-send-btn:disabled{cursor:not-allowed;opacity:.5}.message{display:flex;max-width:70%}.message-bubble{box-shadow:0 1px 0 #0000000d}.message.own{align-self:flex-start}.message.own .message-bubble{background:#e6f4ff;color:#0b3a5b}.message.other{align-self:flex-end}.message.other .message-bubble{background:#f1f0f0;color:#111}.message p{margin:0 0 6px;word-break:break-word}.message-media-grid{width:100%}.message-media-tile{aspect-ratio:1/1;background:#f2f2f2;border-radius:10px;cursor:pointer;max-width:180px;min-width:120px;overflow:hidden;position:relative}.message-media-preview{display:block;height:100%;object-fit:cover;width:100%}.message-media-video{pointer-events:none}.message-media-play-icon{align-items:center;background:#00000073;border-radius:50%;color:#fff;display:flex;font-size:18px;height:36px;justify-content:center;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:36px}.message-audio-list{display:flex;flex-direction:column;gap:8px}.message-audio-item{grid-gap:8px 10px;align-items:center;background:#fff9;border:1px solid #00000014;border-radius:8px;display:grid;gap:8px 10px;grid-template-columns:minmax(260px,1fr) auto;padding:8px;width:min(480px,72vw)}.message-audio-player{height:42px;min-width:260px;width:100%}.message-audio-meta{align-items:baseline;display:flex;gap:8px;grid-column:1/2;min-width:0}.message-audio-name{color:#333;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-audio-size{color:#666;flex:0 0 auto;font-size:11px}.message-audio-download{background:#f6f6f6;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:12px;grid-column:2/3;grid-row:1/3;padding:6px 10px}.message-audio-download:disabled{cursor:default;opacity:.6}.message-download-progress{font-feature-settings:"tnum";color:#526273;display:block;font-size:11px;font-variant-numeric:tabular-nums;margin-top:5px}.message .message-date{color:#666;display:block;font-size:11px;margin-top:6px}@media (max-width:700px){.chats{width:200px}.message{max-width:85%}}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal{background:#fff;border-radius:8px;box-shadow:0 4px 16px #0003;display:flex;flex-direction:column;gap:16px;max-height:80vh;max-width:500px;padding:20px;width:90%}.modal h2{color:#222;font-size:18px;margin:0}.modal input[type=text]{border:1px solid #ddd;border-radius:4px;box-sizing:border-box;font-size:14px;padding:10px;width:100%}.modal input[type=text]:focus{border-color:#0084ff;box-shadow:0 0 0 2px #0084ff1a;outline:none}.modal input[type=text]:disabled{background:#f5f5f5;cursor:not-allowed}.members-search-results{border:1px solid #eee;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto}.member-checkbox,.members-search-results{border-radius:4px;display:flex;padding:8px}.member-checkbox{align-items:center;cursor:pointer;gap:10px;transition:background .2s}.member-checkbox:hover{background:#f5f5f5}.member-checkbox input[type=checkbox]{cursor:pointer}.member-checkbox input[type=checkbox]:disabled{cursor:not-allowed;opacity:.6}.selected-count{color:#666;font-size:13px;margin:0;text-align:center}.modal-buttons{display:flex;gap:12px;justify-content:flex-end}.modal-buttons button{border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:opacity .2s}.modal-buttons button:first-child{background:#0084ff;color:#fff}.modal-buttons button:first-child:hover{opacity:.9}.modal-buttons button:first-child:disabled{cursor:not-allowed;opacity:.5}.modal-buttons button:last-child{background:#f0f0f0;color:#222}.modal-buttons button:last-child:hover{background:#e0e0e0}.modal-buttons button:last-child:disabled{cursor:not-allowed;opacity:.5}.settings-page{align-items:flex-start;background:#f4f7fb;justify-content:center;min-height:100vh}.settings-card,.settings-page{box-sizing:border-box;display:flex;padding:24px}.settings-card{background:#fff;border:1px solid #e0e7ef;border-radius:18px;box-shadow:0 12px 36px #1f293714;flex-direction:column;gap:16px;width:min(100%,520px)}.settings-card h1{margin:0}.settings-back{align-self:flex-start;background:#eef4ff;border:0;border-radius:9px;color:#0b5cab;cursor:pointer;padding:8px 10px}.settings-profile{align-items:center;display:flex;gap:16px}.settings-profile>div{display:flex;flex-direction:column;gap:4px;min-width:0}.settings-profile strong{font-size:20px}.settings-profile span{color:#6b7280}.settings-logout,.settings-upload{align-items:center;background:#1689f5;border:0;border-radius:11px;color:#fff;cursor:pointer;display:inline-flex;font-weight:700;justify-content:center;min-height:44px;padding:10px 16px}.settings-upload input{display:none}.settings-error,.settings-hint{font-size:13px;margin:-8px 0 0}.settings-hint{color:#6b7280}.settings-error{color:#b00020}.settings-logout{background:#c62828;margin-top:8px}.settings-sessions{display:flex;flex-direction:column;gap:12px;padding-top:4px}.settings-section-heading h2{font-size:18px;margin:0 0 3px}.settings-section-heading span,.settings-sessions-empty{color:#6b7280;font-size:13px;margin:0}.settings-session-list{display:flex;flex-direction:column;gap:8px}.settings-session{grid-gap:10px;align-items:center;background:#f8fafc;border:1px solid #e1e8f0;border-radius:12px;display:grid;gap:10px;grid-template-columns:24px minmax(0,1fr) auto;padding:12px}.settings-session-icon{color:#1689f5;text-align:center}.settings-session-info{display:flex;flex-direction:column;gap:2px;min-width:0}.settings-session-info strong{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.settings-session-info em{background:#e5f1ff;border-radius:999px;color:#0b5cab;font-size:11px;font-style:normal;padding:2px 6px}.settings-session-info span{color:#6b7280;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-session>button{background:#fff;border:1px solid #f1b8b8;border-radius:9px;color:#b42318;cursor:pointer;font-weight:600;min-height:34px;padding:7px 10px}.settings-session>button:disabled{cursor:wait;opacity:.55}@media (max-width:480px){.settings-page{padding:12px}.settings-card{padding:18px}.settings-session{grid-template-columns:20px minmax(0,1fr)}.settings-session>button{grid-column:2;justify-self:start}}.message-actions{background:#fffffff2;border-radius:6px;box-shadow:0 2px 8px #00000026;display:flex;gap:6px;padding:4px;position:absolute;top:4px;z-index:100}.message.own .message-actions{right:-60px}.message.other .message-actions{left:-60px}.message-action-btn{background:#fff;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;font-size:14px;height:28px;padding:0;transition:all .2s;width:28px}.message-action-btn,.message-edit-btn{align-items:center;display:flex;justify-content:center}.message-edit-btn img{height:16px;object-fit:contain;width:16px}.message-action-btn:hover{background:#f0f0f0;border-color:#0084ff}.message-delete-btn:hover{background:#fff0f0;border-color:#f44;color:#f44}.chat-header{align-items:center;background:#fafafa;border-bottom:1px solid #eee;display:flex;justify-content:space-between}.chat-header-title-block{display:flex;gap:10px}.chat-header-title{font-size:16px;font-weight:600}.chat-header-subtitle{color:#666}.chat-header-actions{align-items:center;display:flex;gap:8px}.chat-header-action-btn{border:1px solid #e6e9ec;border-radius:6px;cursor:pointer;height:34px;width:34px}.chat-header-action-btn--icon img{height:16px;width:16px}.public-members-list{background:#fff;border:1px solid #eee;border-radius:4px;max-height:300px;overflow-y:auto}.modal--wide{max-width:720px;width:95%}.public-member-row{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;gap:12px;justify-content:space-between;padding:10px 12px}.public-member-row:last-child{border-bottom:none}.public-member-info{align-items:center;display:flex;gap:8px;min-width:0}.public-member-badge{background:#0084ff;border-radius:12px;color:#fff;font-size:12px;padding:2px 8px}.public-member-remove-btn{background:#fff5f5;border:1px solid #ffd2d2;border-radius:6px;color:#b00020;cursor:pointer;font-size:13px;font-weight:500;padding:8px 12px;transition:background .2s,border-color .2s,opacity .2s}.public-member-remove-btn:hover{background:#ffecec;border-color:#ffb3b3}.public-member-remove-btn:disabled{cursor:not-allowed;opacity:.6}*,:after,:before{box-sizing:border-box}body{background:#f7f9fc;color:#12212f}.app-container,.chat-panel,main.app-root{background:#fff}.chats{background:#fafafa;width:320px}.sidebar-actions{grid-gap:10px;display:grid;gap:10px;padding:10px}.sidebar-button{border:1px solid;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;min-height:40px;padding:10px 14px;transition:opacity .15s ease,transform .15s ease}.sidebar-button:active{opacity:.85;transform:scale(.99)}.sidebar-button--primary{background:#0084ff;border-color:#0084ff;color:#fff}.sidebar-button--secondary{background:#f7fbff;border-color:#d8e7f7;color:#0b3a5b}.chat-textarea,.chats .search-user-chat input,.modal input[type=text]{background:#fff;border:1px solid #d9dee8;border-radius:8px;color:#111;font:inherit;min-height:40px;padding:10px 12px}.chat-textarea:focus,.chats .search-user-chat input:focus,.modal input[type=text]:focus{border-color:#0084ff;box-shadow:0 0 0 3px #0084ff1a;outline:none}.chat-item{margin-bottom:8px;width:100%}.chat-item button{align-items:center;background:#f7fbff;border:1px solid #d8e7f7;border-radius:14px;color:#12212f;display:flex;gap:12px;justify-content:flex-start;min-height:56px;padding:12px 14px;transition:opacity .15s ease,transform .15s ease,border-color .15s ease}.chat-item--user button{background:#fff9f2;border-color:#f0d7b6}.chat-item button:hover{border-color:#9dbbd9}.chat-item button:active{opacity:.85;transform:scale(.99)}.chat-item-title{color:#12212f;flex:1 1 auto;font-size:16px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header{background:#fff;border-color:#e5eaf0;gap:12px;min-height:56px;padding:10px 12px}.chat-header-title-block{align-items:center;flex:1 1;flex-wrap:wrap;gap:2px 10px;min-width:0}.chat-header-title-block>button{background:#eef4ff;border:0;border-radius:10px;color:#0b5cab;cursor:pointer;font-weight:700;padding:8px 10px}.chat-header-title{color:#12212f;font-size:17px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header-subtitle{color:#6b7280;font-size:12px}.chat-header-action-btn{background:#fff;border:1px solid #dce3ea;border-radius:10px;color:#12212f;min-height:36px;min-width:36px;padding:0 10px}.chat-header-action-btn--danger{background:#fef3f2;color:#b42318}.chat-blocked-notice{background:#fef3f2;border-top:1px solid #fee4e2;color:#8a2c24;font-size:13px;padding:8px 12px;text-align:center}.message-system-event{align-items:center;background:#eef2f6;border-radius:999px;color:#526273;display:flex;font-size:12px;gap:6px;justify-content:center;margin:7px auto;max-width:min(88%,520px);padding:6px 11px;text-align:center}.message-system-event-icon{flex:0 0 auto}.message-system-event time{color:#8793a1;flex:0 0 auto;font-size:10px}.block-confirm-overlay{padding:14px;z-index:16000}.block-confirm-modal{align-items:center;gap:12px;text-align:center;width:min(92vw,410px)}.block-confirm-icon{background:#fef3f2;border-radius:50%;display:grid;font-size:25px;height:48px;place-items:center;width:48px}.block-confirm-modal h2,.block-confirm-modal p{margin:0}.block-confirm-modal p{color:#667085;font-size:14px;line-height:1.45}.block-confirm-actions{grid-gap:9px;display:grid;gap:9px;grid-template-columns:1fr 1fr;width:100%}.block-confirm-actions button{border:0;border-radius:9px;cursor:pointer;font-weight:600;min-height:42px;padding:9px 12px}.block-confirm-actions button:first-child{background:#f2f4f7;color:#344054}.block-confirm-actions button:last-child{background:#d92d20;color:#fff}.block-confirm-actions button:disabled{cursor:default;opacity:.6}.chat-content{background:#fff;gap:8px;padding:12px}.message{margin:6px 0;max-width:none;padding:0 12px;width:100%}.message.own{justify-content:flex-start}.message.other{justify-content:flex-end}.message-bubble{border-radius:12px;box-shadow:0 1px 2px #0000000d;box-sizing:border-box;max-width:70%;min-width:0;padding:8px 12px;position:relative;width:-webkit-fit-content;width:fit-content}.message-bubble:has(.message-code-block){width:min(680px,70%)}.message .message-actions{bottom:calc(100% + 4px);top:auto}.message.own .message-actions{left:0;right:auto}.message.other .message-actions{left:auto;right:0}.message p{font-size:15px;line-height:20px;white-space:pre-wrap}.message p.message-single-emoji{font-size:52px;line-height:1.12;margin:2px 0 6px;word-break:normal}.message-link{color:#0877d1;overflow-wrap:anywhere;text-decoration:underline}.message-code-files{grid-gap:8px;display:grid;gap:8px}.message-code-block{background:#1e1e1e;border:1px solid #343a46;border-radius:10px;box-sizing:border-box;color:#f8f8f2;max-width:100%;min-width:0;overflow:hidden;width:100%}.message-code-block--preview{cursor:pointer;transition:border-color .15s ease,transform .15s ease}.message-code-block--preview:hover{border-color:#1689f5}.message-code-block--preview:active{transform:scale(.995)}.message-code-header{align-items:center;background:#252b35;color:#cbd5e1;display:flex;font:12px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;gap:10px;justify-content:space-between;min-height:34px;padding:5px 8px 5px 12px}.message-code-header button{background:#0000;border:1px solid #4b5563;border-radius:6px;color:#e5e7eb;cursor:pointer;padding:4px 8px}.message-code-actions{display:flex;gap:6px}.code-viewer-overlay{align-items:center;background:#050910db;box-sizing:border-box;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:22000}.code-viewer-dialog{background:#1e1e1e;border:1px solid #3c4655;border-radius:14px;box-shadow:0 24px 80px #0000008c;display:flex;flex-direction:column;height:min(820px,92vh);min-width:0;overflow:hidden;width:min(1100px,96vw)}.code-viewer-header{align-items:center;background:#252b35;box-sizing:border-box;color:#e5e7eb;display:flex;flex:0 0 auto;gap:12px;justify-content:space-between;min-height:48px;padding:7px 10px 7px 16px}.code-viewer-header>span{font:13px ui-monospace,SFMono-Regular,Consolas,monospace;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.code-viewer-actions{display:flex;flex:0 0 auto;gap:7px}.code-viewer-actions button{background:#303846;border:1px solid #566171;border-radius:7px;color:#eef2f7;cursor:pointer;min-height:34px;padding:5px 10px}.code-viewer-actions .code-viewer-close{font-size:24px;padding:0;width:34px}.code-viewer-content{flex:1 1 auto;min-height:0;min-width:0;overflow:auto}.code-viewer-content pre{box-sizing:border-box;max-width:none;min-width:100%;width:-webkit-max-content;width:max-content}.message-code-block pre{box-sizing:border-box;font-size:13px!important;max-height:420px;max-width:100%;overflow:auto!important}.message-code-block--preview pre{max-height:190px;overflow:hidden!important;pointer-events:none}.message-code-preview-hint{background:#252b35;border-top:1px solid #343a46;color:#9fb3c8;font-size:11px;padding:7px 10px;text-align:center}.message-code-loading{background:#eef2f6;border-radius:9px;box-sizing:border-box;color:#667085;font-size:12px;max-width:100%;padding:12px;width:min(480px,65vw)}.message-code-error{background:#fef3f2;color:#b42318}.message-poll{grid-gap:9px;display:grid;gap:9px;max-width:100%;width:min(420px,62vw)}.message-poll-question{font-size:16px;overflow-wrap:anywhere}.message-poll-meta,.message-poll-total{color:#667085;font-size:11px}.message-poll-options{grid-gap:8px;display:grid;gap:8px}.message-poll-option-group{grid-gap:5px;display:grid;gap:5px;min-width:0}.message-poll-option{background:#fff;border:1px solid #d9e2ec;border-radius:9px;color:#17202a;cursor:pointer;display:block;min-height:42px;overflow:hidden;padding:0;position:relative;text-align:left;width:100%}.message-poll-option:disabled{color:#17202a;cursor:default;opacity:1}.message-poll-option-bar{background:#1689f51a;inset:0 auto 0 0;pointer-events:none;position:absolute;z-index:0}.message-poll-option-row{align-items:center;box-sizing:border-box;display:flex;gap:8px;min-height:42px;padding:8px 10px;position:relative;z-index:1}.message-poll-option-mark{border:1px solid #b8c4d1;border-radius:50%;color:#fff;display:grid;flex:0 0 20px;font-size:12px;height:20px;place-items:center;width:20px}.message-poll-option-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;text-align:left}.message-poll-option-stat{color:#475467;flex:0 0 auto;font-size:12px;white-space:nowrap}.message-poll-option--selected{border-color:#1689f5}.message-poll-option--selected .message-poll-option-mark{background:#1689f5;border-color:#1689f5}.message-poll-voters{grid-gap:5px;border-left:2px solid #b8ddff;display:grid;gap:5px;margin:0 4px;padding:4px 7px 6px 34px}.message-poll-voter{align-items:center;color:#344054;display:flex;font-size:13px;gap:8px;min-width:0}.message-poll-voter .user-avatar{flex:0 0 28px}.message-poll-voter>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-poll-submit{background:#1689f5;border:0;border-radius:8px;color:#fff;cursor:pointer;min-height:36px}.message-poll-submit:disabled{cursor:default;opacity:.55}.message-poll-error{color:#b42318;font-size:12px}.message-poll-statistics-button{background:#ffffffb8;border:1px solid #9dcbf5;border-radius:8px;color:#0877d1;cursor:pointer;font-weight:600;min-height:34px;padding:7px 10px}.poll-statistics-overlay{box-sizing:border-box;padding:12px;z-index:16000}.poll-statistics-modal{color:#17202a;gap:0;max-height:min(86vh,760px);overflow:hidden;padding:0;width:min(94vw,520px)}.poll-statistics-header{align-items:flex-start;border-bottom:1px solid #e4e9ef;display:flex;gap:12px;justify-content:space-between;padding:16px 18px}.poll-statistics-header h2{margin:0 0 4px;overflow-wrap:anywhere}.poll-statistics-header span{color:#667085;font-size:12px}.poll-statistics-header>button{background:#f2f4f7;border:0;border-radius:50%;color:#475467;cursor:pointer;flex:0 0 34px;font-size:24px;height:34px;line-height:1;padding:0;width:34px}.poll-statistics-list{grid-gap:16px;display:grid;gap:16px;min-height:0;overflow-y:auto;padding:12px 16px 18px}.poll-statistics-option{grid-gap:7px;display:grid;gap:7px}.poll-statistics-option-title{display:flex;gap:12px;justify-content:space-between}.poll-statistics-option-title strong{min-width:0;overflow-wrap:anywhere}.poll-statistics-empty,.poll-statistics-option-title span{color:#667085;flex:0 0 auto;font-size:12px}.poll-statistics-progress{background:#e7edf4;border-radius:999px;height:5px;overflow:hidden}.poll-statistics-progress>span{background:#1689f5;border-radius:inherit;display:block;height:100%}.poll-statistics-voter{align-items:center;display:flex;gap:9px;min-width:0;padding:3px 0}.poll-statistics-voter>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-media-tile{aspect-ratio:4/3;border-radius:6px;height:auto;max-width:none;min-width:0;width:100%}.message-media-grid{grid-gap:3px;border-radius:10px;display:grid;gap:3px;max-width:100%;overflow:hidden;width:520px}.message-media-grid--count-1{grid-template-columns:minmax(0,1fr);max-width:100%;width:430px}.message-media-grid--count-2,.message-media-grid--count-4{grid-template-columns:repeat(2,minmax(0,1fr))}.message-media-grid--count-3{grid-template-columns:1.35fr 1fr;grid-template-rows:repeat(2,clamp(90px,10vw,145px))}.message-media-grid--count-3 .message-media-tile:first-child{aspect-ratio:auto;grid-row:1/span 2;height:100%}.message-media-grid--count-3 .message-media-tile:not(:first-child){aspect-ratio:auto;height:100%}.message-media-grid--count-5{grid-template-columns:repeat(6,minmax(0,1fr))}.message-media-grid--count-5 .message-media-tile{grid-column:span 2}.message-media-grid--count-5 .message-media-tile:first-child,.message-media-grid--count-5 .message-media-tile:nth-child(2){grid-column:span 3}.message-media-tile--unavailable{align-items:center;border:1px dashed #c8ced7;cursor:default;display:flex;justify-content:center}.message-file-unavailable,.message-media-unavailable{color:#6b7280;font-size:12px;padding:8px;text-align:center}.chat-input{align-items:flex-end;border-color:#e5eaf0;flex:0 0 auto;flex-direction:row;flex-wrap:nowrap;gap:10px;max-height:42vh;overflow:visible;padding:12px;position:relative;z-index:30}.chat-input-main{flex:1 1 auto;min-width:0}.chat-attachments-preview{align-content:start;grid-template-columns:repeat(auto-fill,minmax(110px,150px));max-height:168px;overflow-y:auto}.chat-textarea{border-radius:12px;font-size:15px;max-height:120px;min-height:48px;padding:10px 14px}.chat-input-actions{align-items:center;flex:0 0 auto;flex-direction:row;flex-wrap:nowrap;gap:10px}.composer-popover-anchor{position:relative;z-index:31}.composer-emoji-anchor{flex:0 0 auto}.chat-input .composer-icon-button{background:#fff;border:1px solid #dce3ea;border-radius:10px;color:#334155;cursor:pointer;display:grid;font-size:22px;height:42px;padding:0;place-items:center;width:42px}.composer-more-button{line-height:1}.composer-more-button svg{fill:currentColor;display:block;height:22px;width:22px}.composer-menu,.emoji-picker-popover{background:#fff;border:1px solid #dce3ea;border-radius:12px;bottom:calc(100% + 8px);box-shadow:0 12px 32px #0f172a2e;padding:7px;position:absolute;right:-6px;z-index:1000}.composer-menu{grid-gap:4px;display:grid;gap:4px;width:210px}.composer-menu button,.composer-menu label{align-items:center;background:#0000;border:0;border-radius:8px;color:#17202a;cursor:pointer;display:flex;font-size:14px;min-height:40px;padding:8px 10px;text-align:left}.composer-menu button:hover,.composer-menu label:hover{background:#f1f6fb}.composer-menu input{display:none}.emoji-picker-popover{overflow:hidden;padding:0;width:min(350px,calc(100vw - 16px))}.composer-emoji-anchor .emoji-picker-popover{left:0;right:auto}.emoji-picker-popover .epr-main{border:0}.emoji-picker-popover button{padding:0}.emoji-picker-popover input[type=text]{flex:initial}.attach-button,.record-button{background:#fff!important;border:1px solid #dce3ea!important;border-radius:10px;min-height:42px;min-width:42px;padding:10px!important}.record-button img{height:22px;width:22px}.poll-create-modal{width:min(94vw,480px)}.poll-create-modal>input,.poll-create-options input,.poll-limit-setting input{border:1px solid #d8e0e9;border-radius:9px;min-height:42px;padding:8px 10px;width:100%}.poll-create-options{grid-gap:8px;display:grid;gap:8px}.poll-create-options>div{display:flex;gap:6px}.poll-create-options button{background:#fef3f2;border:0;border-radius:8px;color:#b42318;cursor:pointer;flex:0 0 auto;width:38px}.poll-add-option{align-self:flex-start;background:#0000;border:0;color:#0877d1;cursor:pointer}.poll-limit-setting,.poll-setting{align-items:center;color:#344054;display:flex;font-size:14px;gap:8px}.poll-setting input{height:17px;width:17px}.poll-limit-setting{display:grid}.send-button{align-items:center;border-radius:10px;display:inline-flex;justify-content:center;margin-left:auto;min-height:42px;min-width:46px;padding:9px;width:46px}.send-button svg{fill:currentColor;height:23px;width:23px}.send-button-spinner{animation:send-button-spin .7s linear infinite;border:2px solid #ffffff73;border-radius:50%;border-top-color:#fff;height:18px;width:18px}@keyframes send-button-spin{to{transform:rotate(1turn)}}.media-viewer-nav{background:#0000008f;border:0;border-radius:50%;color:#fff;cursor:pointer;font-size:42px;height:52px;line-height:44px;padding:0;position:fixed;top:50%;transform:translateY(-50%);transition:background-color .15s ease,transform .15s ease;width:52px;z-index:10001}.media-viewer-nav:hover{background:#000000c7;transform:translateY(-50%) scale(1.05)}.media-viewer-nav--previous{left:24px}.media-viewer-nav--next{right:24px}.modal{border-radius:16px;gap:14px;padding:18px}.modal-buttons button{border-radius:10px;min-width:96px}@media (max-width:768px){.chats{border-right:0;min-width:0;width:100%}.message{padding:0}.message-bubble{max-width:85%}.message-bubble:has(.message-code-block){width:85%}.message-bubble:has(.message-poll){width:85%}.message-poll{width:100%}.code-viewer-overlay{padding:0}.code-viewer-dialog{border:0;border-radius:0;height:100dvh;width:100vw}.code-viewer-header{padding-left:10px}.code-viewer-actions{gap:4px}.code-viewer-actions button{font-size:12px;padding-inline:7px}.message-media-tile{min-width:0;width:100%}.message-media-grid--count-1{max-width:100%;width:340px}.message-media-grid--count-3{grid-template-rows:repeat(2,clamp(86px,27vw,120px))}.chat-input{gap:6px;max-height:48vh;padding:7px}.chat-scroll-bottom{bottom:12px;height:42px;right:12px;width:42px}.pending-upload-files{width:min(330px,72vw)}.chat-attachments-preview{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));max-height:142px}.chat-header-title-block{flex-wrap:nowrap}.chat-header-subtitle{display:none}.chat-input-actions{gap:4px;width:auto}.send-button{min-height:40px;min-width:40px;padding:8px;width:40px}.attach-button,.record-button{min-height:40px;min-width:38px;padding:7px!important;width:38px}.chat-input .composer-icon-button{height:40px;width:38px}.composer-emoji-anchor .emoji-picker-popover{bottom:58px;left:8px;position:fixed;right:8px;width:auto}.chat-textarea{min-height:44px;padding:9px 11px}.media-viewer-overlay{padding:8px!important}.media-viewer-dialog{max-width:calc(100vw - 16px)!important}.media-viewer-nav{bottom:20px;font-size:34px;height:44px;line-height:38px;top:auto;transform:none;width:44px}.media-viewer-nav:hover{transform:scale(1.05)}.media-viewer-nav--previous{left:16px}.media-viewer-nav--next{right:16px}}.user-avatar--clickable{cursor:zoom-in}.avatar-crop-overlay,.avatar-lightbox{align-items:center;background:#070c14e6;box-sizing:border-box;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:20000}.avatar-lightbox>img{border-radius:16px;box-shadow:0 18px 70px #00000073;max-height:90vh;max-width:min(92vw,980px);object-fit:contain}.avatar-lightbox-close{background:#ffffff29;border:0;border-radius:50%;color:#fff;cursor:pointer;font-size:30px;height:44px;position:fixed;right:22px;top:18px;width:44px}.avatar-crop-dialog{background:#fff;border-radius:18px;box-sizing:border-box;display:flex;flex-direction:column;gap:14px;max-height:94vh;overflow-y:auto;padding:22px;width:min(94vw,440px)}.avatar-crop-dialog h2{font-size:20px;margin:0}.avatar-crop-preview{align-self:center;aspect-ratio:1;background:#e7ebf0;cursor:grab;overflow:hidden;position:relative;touch-action:none;-webkit-user-select:none;user-select:none;width:min(78vw,320px)}.avatar-crop-preview--dragging{cursor:grabbing}.avatar-crop-preview canvas{display:block;height:100%;width:100%}.avatar-crop-mask{border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 100px #0000006b;inset:0;pointer-events:none;position:absolute}.avatar-crop-dialog label{grid-gap:10px;align-items:center;color:#344054;display:grid;font-size:13px;gap:10px;grid-template-columns:120px 1fr}.avatar-crop-dialog input[type=range]{width:100%}.avatar-crop-actions{display:flex;gap:10px;justify-content:flex-end}.avatar-crop-actions button{border:0;border-radius:10px;cursor:pointer;min-height:40px;padding:8px 16px}.avatar-crop-actions button:last-child{background:#1689f5;color:#fff}.chat-item-saved-icon{flex:0 0 auto;font-size:18px}.chat-reply-draft,.message-reply-preview{background:#1689f514;border:0;border-left:3px solid #1689f5}.message-reply-preview{align-items:flex-start;border-radius:6px;color:inherit;cursor:pointer;display:flex;flex-direction:column;margin:0 0 7px;padding:6px 8px;text-align:left;width:100%}.chat-reply-draft strong,.message-reply-preview strong{color:#0877d1;font-size:12px}.chat-reply-draft span,.message-reply-preview span{color:#52606d;font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-reply-draft{align-items:center;border-radius:8px;box-sizing:border-box;display:flex;gap:12px;justify-content:space-between;margin-bottom:8px;padding:7px 9px;width:100%}.chat-reply-draft>div{display:flex;flex-direction:column;min-width:0}.chat-reply-draft button{background:#0000;border:0;color:#52606d;cursor:pointer;flex:0 0 auto;font-size:22px;padding:2px 7px!important}.message--highlighted .message-bubble{animation:message-highlight 1.6s ease-out}@keyframes message-highlight{0%,35%{box-shadow:0 0 0 4px #1689f561}to{box-shadow:0 1px 2px #0000000d}}.chat-content-shell{max-width:100%;min-width:0;overflow:hidden;width:100%}.chat-content-shell>.chat-content{max-width:100%;min-width:0;overflow-x:hidden;width:100%}.chat-content .message,.chat-content .message-bubble,.chat-content .message-code-block,.chat-content .message-code-files,.chat-content .message-media-grid,.chat-content .pending-upload-files{max-width:100%;min-width:0}.chat-content .message-code-block:not(.message-code-block--preview) pre{overflow-x:auto!important}:root{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}:root[data-theme=dark] .app-container,:root[data-theme=dark] .settings-page,:root[data-theme=dark] body,:root[data-theme=dark] main.app-root{background:#0f141b!important;color:#edf3fa!important}:root[data-theme=dark] .chat-header,:root[data-theme=dark] .chat-input,:root[data-theme=dark] .chat-panel,:root[data-theme=dark] .chats,:root[data-theme=dark] .composer-menu,:root[data-theme=dark] .emoji-picker-popover,:root[data-theme=dark] .modal,:root[data-theme=dark] .settings-card,:root[data-theme=dark] .settings-session{background:#171e27!important;border-color:#2c3846!important;color:#edf3fa!important}:root[data-theme=dark] .chat-item button,:root[data-theme=dark] .chat-item--user button,:root[data-theme=dark] .public-member-row{background:#1c2632!important;border-color:#334354!important;color:#edf3fa!important}:root[data-theme=dark] .chat-textarea,:root[data-theme=dark] input,:root[data-theme=dark] textarea{background:#111820!important;border-color:#3a4858!important;color:#f4f7fb!important}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#8f9cab!important}:root[data-theme=dark] .message.other .message-bubble{background:#202a35!important;color:#edf3fa!important}:root[data-theme=dark] .message.own .message-bubble{background:#123e63!important;color:#f5f9ff!important}:root[data-theme=dark] .chat-header-title,:root[data-theme=dark] .chat-item-title,:root[data-theme=dark] .settings-card h1,:root[data-theme=dark] .settings-profile strong,:root[data-theme=dark] .settings-session-info strong{color:#edf3fa!important}:root[data-theme=dark] .chat-header-subtitle,:root[data-theme=dark] .settings-hint,:root[data-theme=dark] .settings-section-heading span,:root[data-theme=dark] .settings-session-info span{color:#9eabba!important}.settings-theme{align-items:center;border:1px solid #e1e8f0;border-radius:12px;display:flex;gap:16px;justify-content:space-between;padding:14px}.settings-theme>div{grid-gap:3px;display:grid;gap:3px}.settings-theme span{color:#6b7280;font-size:13px}.settings-theme button{background:#1689f5;border:0;border-radius:999px;color:#fff;cursor:pointer;font-weight:700;padding:9px 13px}:root[data-theme=dark] .settings-theme{border-color:#334354}:root[data-theme=dark] .settings-theme span{color:#9eabba}:root[data-theme=dark] .auth-page{background:#0f141b!important}:root[data-theme=dark] .auth-card{background:#171e27!important;color:#edf3fa!important}:root[data-theme=dark] .auth-card h1{color:#edf3fa!important}:root[data-theme=dark] .auth-subtitle,:root[data-theme=dark] .auth-switch{color:#9eabba!important}:root[data-theme=dark] .auth-method-tabs{background:#111820}:root[data-theme=dark] .auth-method-tabs button{color:#9eabba}:root[data-theme=dark] .auth-method-tabs button.active{background:#263343;color:#7cc0ff}:root[data-theme=dark] .auth-qr-steps{color:#b4bfcb}:root[data-theme=dark] .chat-content,:root[data-theme=dark] .chat-content-shell,:root[data-theme=dark] .my-chats,:root[data-theme=dark] .search-results,:root[data-theme=dark] .sidebar-actions{background-color:#0f141b!important}:root[data-theme=dark] .chat-header button,:root[data-theme=dark] .chat-header-action-btn,:root[data-theme=dark] .composer-icon-button,:root[data-theme=dark] .modal-buttons button:first-child,:root[data-theme=dark] .record-button,:root[data-theme=dark] .settings-back{background:#202a35!important;border-color:#3a4858!important;color:#edf3fa!important}:root[data-theme=dark] .chat-attachment-item,:root[data-theme=dark] .chat-reply-draft,:root[data-theme=dark] .member-checkbox,:root[data-theme=dark] .message-audio,:root[data-theme=dark] .message-file,:root[data-theme=dark] .message-reply-preview,:root[data-theme=dark] .poll-option,:root[data-theme=dark] .poll-statistics-modal,:root[data-theme=dark] .public-member-row{background:#1c2632!important;border-color:#3a4858!important;color:#edf3fa!important}:root[data-theme=dark] .chat-date-separator,:root[data-theme=dark] .chat-history-loading,:root[data-theme=dark] .message-date,:root[data-theme=dark] .search-status{color:#9eabba!important}:root[data-theme=dark] .chat-date-separator,:root[data-theme=dark] .chat-unread-separator{background:#17212b!important}:root[data-theme=dark] .emoji-picker-popover .EmojiPickerReact{--epr-bg-color:#171e27;--epr-category-label-bg-color:#171e27;--epr-text-color:#edf3fa;--epr-search-input-bg-color:#111820;--epr-hover-bg-color:#293644}:root[data-theme=dark] .chat-item-actions button,:root[data-theme=dark] .settings-session>button{background:#202a35!important;border-color:#3a4858!important;color:#edf3fa!important}:root[data-theme=dark] a{color:#72b7ff}:root[data-theme=dark] .chat-file-draft,:root[data-theme=dark] .chat-item-actions,:root[data-theme=dark] .message-audio-item,:root[data-theme=dark] .message-code-loading,:root[data-theme=dark] .message-file-download,:root[data-theme=dark] .pending-upload-file,:root[data-theme=dark] .poll-create-options>div{background:#17212b!important;border-color:#3a4858!important;color:#edf3fa!important}:root[data-theme=dark] .message-audio-name,:root[data-theme=dark] .message-audio-size,:root[data-theme=dark] .message-download-progress,:root[data-theme=dark] .message-file-download span,:root[data-theme=dark] .pending-upload-file-name{color:#dbe6f2!important}:root[data-theme=dark] .code-viewer-actions button,:root[data-theme=dark] .message-action-btn,:root[data-theme=dark] .message-audio-download{background:#202a35!important;border-color:#3a4858!important;color:#edf3fa!important}:root[data-theme=dark] .code-viewer-dialog,:root[data-theme=dark] .code-viewer-header,:root[data-theme=dark] .media-viewer-dialog,:root[data-theme=dark] .media-viewer-dialog>div{background-color:#171e27!important;border-color:#3a4858!important;color:#edf3fa!important}:root[data-theme=dark] .media-viewer-dialog span{color:#dbe6f2!important}:root[data-theme=dark] .emoji-picker-header{border-color:#3a4858}:root[data-theme=dark] .emoji-picker-header button{background:#202a35;color:#edf3fa}