*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.static{position:static}.block{display:block}.hidden{display:none}.\!resize{resize:both!important}.resize{resize:both}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{--brand: #7c3aed;--accent: #ec4899;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#211a2b;background:#f8f7fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;overflow-x:hidden}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgb(124 58 237 / 35%);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.dark{color:#f8f5fb;background:#17131f}.chat-shell{--surface: #fff;--surface-muted: #f8f7fb;--surface-hover: #f4effa;--text: #211a2b;--muted: #746b7e;--border: #e8e2ee;--brand: #7c3aed;--accent: #ec4899;--scroll-thumb: rgb(116 107 126 / 38%);--scroll-thumb-hover: rgb(124 58 237 / 58%);--workspace-navigation-width: 232px;--conversation-list-width: 360px;display:grid;grid-template-columns:var(--workspace-navigation-width) minmax(280px,min(var(--conversation-list-width),calc(100vw - var(--workspace-navigation-width) - 360px))) minmax(360px,1fr);width:100%;height:100dvh;min-height:36rem;overflow:hidden;color:var(--text);background:var(--surface);transition:grid-template-columns .22s cubic-bezier(.2,.8,.2,1)}.chat-shell.navigation-collapsed{--workspace-navigation-width: 64px}.chat-shell.conversation-list-resizing{cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:none}.chat-shell.conversation-list-resizing *{cursor:col-resize!important}.dark .chat-shell{--surface: #17131f;--surface-muted: #211a2d;--surface-hover: #2b2237;--text: #f8f5fb;--muted: #afa5ba;--border: #393044;--scroll-thumb: rgb(175 165 186 / 34%);--scroll-thumb-hover: rgb(196 181 253 / 62%)}.chat-shell *{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}.chat-shell *::-webkit-scrollbar{width:6px;height:6px}.chat-shell *::-webkit-scrollbar-track{background:transparent}.chat-shell *::-webkit-scrollbar-thumb{border-radius:999px;background:var(--scroll-thumb)}.chat-shell *::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hover)}.workspace-navigation,.conversation-list,.conversation-detail{min-width:0;min-height:0}.workspace-navigation{position:relative;display:flex;flex-direction:column;gap:16px;overflow:visible;padding:12px 10px;border-right:1px solid var(--border);background:var(--surface-muted)}.workspace-brand{display:flex;min-width:0;min-height:48px;align-items:center;gap:10px;padding:0 6px}.icon-button.nav-collapse-button{position:absolute;z-index:3;top:64px;right:-22px;display:none;color:var(--muted);background:transparent;font-size:11px}.icon-button.nav-collapse-button:before{position:absolute;inset:7px;border:1px solid var(--border);border-radius:50%;background:var(--surface);box-shadow:0 4px 14px #2517361f;content:"";transition:border-color .16s ease,color .16s ease,transform .16s ease}.icon-button.nav-collapse-button>.anticon{position:relative;z-index:1}.icon-button.nav-collapse-button:not(:disabled):hover{border-color:transparent;color:var(--brand);background:transparent}.icon-button.nav-collapse-button:not(:disabled):hover:before{border-color:var(--brand);transform:scale(1.06)}.brand-tile{display:inline-grid;place-items:center;flex:0 0 auto;overflow:hidden;border:1px solid #ebe5ef;border-radius:12px;background:#fff;box-shadow:0 8px 20px #2517361a}.brand-tile img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.nav-logo{width:36px;height:36px;padding:3px;border-radius:10px}.workspace-brand-copy{display:flex;min-width:0;flex-direction:column}.workspace-brand-copy strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.workspace-brand-copy small{margin-top:1px;color:var(--muted);font-size:10px}.workspace-menu,.workspace-section{display:flex;flex-direction:column;gap:4px}.workspace-menu{position:relative}.workspace-menu button,.workspace-section button{display:flex;align-items:center;width:100%;min-height:44px;gap:10px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:13px;text-align:left}.workspace-menu button:not(:disabled):hover,.workspace-section button:not(:disabled):hover{background:var(--surface-hover)}.workspace-menu button.active{color:var(--brand);background:#7c3aed14;box-shadow:inset 3px 0 var(--brand);font-weight:700}.workspace-menu button:disabled,.workspace-section button:disabled{cursor:not-allowed;opacity:.72}.workspace-menu button .anticon,.workspace-section button>span:first-child{width:18px;flex:0 0 auto;text-align:center;font-size:17px}.workspace-menu button .anticon,.account-actions .icon-button .anticon,.channel-menu-trigger .anticon{transition:transform .18s cubic-bezier(.2,.8,.2,1)}.workspace-menu button:not(:disabled):hover .anticon,.workspace-menu button:focus-visible .anticon,.account-actions .icon-button:not(:disabled):hover .anticon,.account-actions .icon-button:focus-visible .anticon,.channel-menu-trigger:hover .anticon,.channel-menu-trigger:focus-visible .anticon{transform:translateY(-1px) scale(1.08)}.workspace-section{position:relative;min-height:0;overflow:hidden}.workspace-section>p{margin:0 10px 4px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.workspace-section button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-menu-trigger{display:flex}.channel-flyout{display:none;position:absolute;z-index:12;top:-8px;left:calc(100% + 8px);width:224px;padding:10px;border:1px solid var(--border);border-radius:14px;visibility:hidden;opacity:0;color:var(--text);background:var(--surface);box-shadow:0 14px 34px #25173629;pointer-events:none;transform:translate(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s}.channel-flyout:before{position:absolute;top:0;bottom:0;left:-12px;width:12px;content:""}.channel-flyout>strong{display:block;padding:5px 8px 8px;color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase}.channel-flyout>button+button{margin-top:3px}.channel-flyout>button>span:first-child{color:var(--brand);font-weight:800}.workspace-section:hover .channel-flyout,.workspace-section:focus-within .channel-flyout{visibility:visible;opacity:1;pointer-events:auto;transform:translate(0)}.workspace-section button.selected{color:var(--brand);background:#7c3aed1a;font-weight:700}.workspace-section button b{min-width:18px;margin-left:auto;padding:2px 5px;border-radius:999px;color:#fff;background:var(--brand);font-size:9px;text-align:center}.workspace-account{display:flex;align-items:center;justify-content:space-between;gap:0;margin-top:auto;padding:10px 0 0;border-top:1px solid var(--border)}.connection-status{display:flex;min-width:0;align-items:center;gap:5px;color:var(--muted);font-size:10px;font-weight:700}.connection-status .status-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.status-mark{display:none;font-weight:900}.status-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#f59e0b}.status-open{background:#10b981}.status-disconnected{background:#f43f5e}.account-actions{display:flex;gap:0}.icon-button{display:inline-grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border:1px solid transparent;border-radius:10px;background:transparent;cursor:pointer}.icon-button:not(:disabled):hover{border-color:var(--border);background:var(--surface-hover)}.icon-button:disabled{cursor:not-allowed;opacity:.42}.language-toggle{border:0;color:var(--muted);background:transparent;font-size:11px;font-weight:800;letter-spacing:.04em}.language-toggle:not(:disabled):hover,.language-toggle:focus-visible{border:0;color:var(--brand);background:var(--surface-hover)}.conversation-list{position:relative;display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--surface)}.conversation-list-resizer{position:absolute;z-index:6;top:0;right:-6px;display:none;width:12px;height:100%;touch-action:none;cursor:col-resize}.conversation-list-resizer:before{position:absolute;top:0;bottom:0;left:5px;width:2px;content:"";background:transparent;transition:background .16s ease,box-shadow .16s ease}.conversation-list-resizer:hover:before,.conversation-list-resizer:focus-visible:before,.conversation-list-resizing .conversation-list-resizer:before{background:var(--brand);box-shadow:0 0 0 3px #7c3aed1f}.conversation-list-resizer:focus-visible{outline:0}.pane-header{display:flex;height:64px;min-height:64px;flex:0 0 auto;align-items:center;gap:10px;padding:8px 14px;border-bottom:1px solid var(--border)}.pane-header h1,.pane-header h2{margin:0;color:var(--text)}.pane-header h1{font-size:18px;letter-spacing:-.02em}.pane-header h2{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.list-header{justify-content:space-between}.list-header-actions{display:flex;flex:0 0 auto;gap:4px}.list-header p{margin:0 0 2px;color:var(--brand);font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.conversation-search{position:relative;display:flex;min-height:44px;align-items:center;gap:9px;margin:12px 14px 6px;padding:0 11px;border:1px solid var(--border);border-radius:10px;color:var(--muted);background:var(--surface-muted);font-size:12px}.conversation-search input{position:relative;z-index:1;width:100%;min-width:0;border:0;outline:0;color:var(--text);background:transparent;font-size:12px}.conversation-search input::-moz-placeholder{color:transparent}.conversation-search input::placeholder{color:transparent}.placeholder-motion{display:flex;gap:.28em;overflow:hidden;color:var(--muted);white-space:nowrap;pointer-events:none}.placeholder-motion>span{opacity:0;animation:placeholder-word-reveal 5s ease-in-out infinite both}.placeholder-motion>span:nth-child(2){animation-delay:.12s}.placeholder-motion>span:nth-child(3){animation-delay:.24s}.placeholder-motion>span:nth-child(4){animation-delay:.36s}.placeholder-motion>span:nth-child(5){animation-delay:.48s}.placeholder-motion>span:nth-child(6){animation-delay:.6s}.conversation-placeholder-motion{position:absolute;z-index:2;top:50%;right:11px;left:34px;align-items:center;transform:translateY(-50%);font-size:12px}.conversation-search input:not(:-moz-placeholder)+.conversation-placeholder-motion{visibility:hidden;opacity:0}.conversation-search input:not(:placeholder-shown)+.conversation-placeholder-motion{visibility:hidden;opacity:0}.conversation-search:focus-within{border-color:#7c3aed8c;box-shadow:0 0 0 3px #7c3aed1a}.conversation-scroll,.message-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}.conversation-scroll{padding:8px}.compact-static-channels{display:none;gap:4px;margin:0 0 8px;padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted)}.compact-static-channels h2{margin:2px 6px 4px;color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase}.compact-static-channels button{display:flex;min-width:0;min-height:44px;align-items:center;gap:8px;padding:0 10px;border:0;border-radius:9px;color:var(--muted);background:transparent;text-align:left;cursor:pointer}.compact-static-channels button:hover,.compact-static-channels button.selected{color:var(--brand);background:#7c3aed1a}.compact-static-channels button>span{font-size:15px;font-weight:900}.compact-static-channels button strong{min-width:0;flex:1;overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.compact-static-channels button b{min-width:18px;padding:2px 5px;border-radius:999px;color:#fff;background:var(--brand);font-size:9px;text-align:center}.conversation-items,.message-items{margin:0;padding:0;list-style:none}.conversation-items li+li{margin-top:3px}.conversation-items button{display:flex;width:100%;min-width:0;align-items:center;gap:11px;padding:11px;border:1px solid transparent;border-radius:12px;background:transparent;text-align:left;cursor:pointer;transition:background .16s ease,border-color .16s ease}.conversation-items button:hover{background:var(--surface-hover)}.conversation-items button.selected{border-color:#7c3aed33;background:#7c3aed1a}.chat-avatar{display:inline-grid;place-items:center;overflow:hidden;flex:0 0 auto;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--brand),var(--accent));font-size:12px;font-weight:800}.chat-avatar img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.chat-avatar-person{border:1px solid var(--border);color:var(--muted);background:var(--surface-muted)}.chat-avatar-small{width:30px;height:30px;font-size:9px}.chat-avatar-medium{width:44px;height:44px}.chat-avatar-large{width:56px;height:56px}.conversation-avatar{position:relative;display:inline-flex;flex:0 0 auto}.presence-indicator{position:absolute;right:-1px;bottom:1px;width:12px;height:12px;border:2px solid var(--surface);border-radius:50%;background:#10b981}.conversation-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}.conversation-line{display:flex;min-width:0;align-items:center;gap:8px}.conversation-line strong,.conversation-line>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-line strong{flex:1;color:var(--text);font-size:13px}.conversation-line time{flex:0 0 auto;color:var(--muted);font-size:10px}.conversation-line.preview{color:var(--muted);font-size:11px}.conversation-line.preview>span{flex:1}.conversation-line.preview b{display:grid;min-width:19px;height:19px;place-items:center;border-radius:999px;color:#fff;background:#be185d;font-size:9px}.muted-conversation-icon{flex:0 0 auto;color:var(--muted);font-size:10px}.brand-loading,.message-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px}.brand-loading{min-height:280px;padding:20px}.brand-loading .ant-skeleton{width:100%}.loading-logo{width:54px;height:54px;padding:4px;animation:logo-breathe 1.5s ease-in-out infinite}.pane-state{display:flex;height:100%;min-height:240px;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center}.pane-state>.anticon{color:var(--brand);font-size:34px}.pane-state h2{margin:14px 0 0;color:var(--text);font-size:16px}.pane-state p{max-width:320px;margin:7px 0 18px;color:var(--muted);font-size:13px;line-height:1.55}.primary-button,.send-button{border:0;color:#fff;background:linear-gradient(135deg,var(--brand),var(--accent));font-weight:800;cursor:pointer}.primary-button{min-height:44px;padding:0 18px;border-radius:10px}.primary-button.compact{min-height:44px}.primary-button:disabled,.send-button:disabled{cursor:not-allowed;opacity:.48}.secondary-button{min-height:44px;padding:0 18px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--surface);font-weight:700;cursor:pointer}.create-group-modal{--surface: #fff;--surface-muted: #f8f7fb;--surface-hover: #f4effa;--text: #211a2b;--muted: #746b7e;--border: #e8e2ee;--brand: #7c3aed;--accent: #ec4899}.dark .create-group-modal{--surface: #17131f;--surface-muted: #211a2d;--surface-hover: #2b2237;--text: #f8f5fb;--muted: #afa5ba;--border: #393044}.create-group-modal .ant-modal{max-width:calc(100vw - 24px)}.create-group-modal .ant-modal-container{overflow:hidden;padding:0;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 12px 32px #2517361f}.create-group-modal .ant-modal-header{margin:0;padding:20px 22px 14px;background:var(--surface)}.create-group-modal .ant-modal-title{color:var(--text);font-size:20px}.create-group-modal .ant-modal-close{top:10px;right:10px;width:44px;height:44px;color:var(--muted)}.create-group-modal .ant-modal-close:hover{color:var(--text);background:var(--surface-hover)}.create-group-modal .ant-modal-body{padding:0 22px 22px}.create-group-form{display:flex;max-height:calc(100dvh - 110px);min-width:0;flex-direction:column;gap:16px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:2px}.group-avatar-picker{position:relative;display:flex;align-self:center;align-items:center;flex-direction:column;gap:4px;color:var(--text);cursor:pointer;text-align:center}.group-avatar-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.group-avatar-picker strong{margin-top:3px;color:var(--brand);font-size:12px}.group-avatar-picker small{color:var(--muted);font-size:10px;font-weight:600}.group-avatar-picker:focus-within .group-avatar-preview{box-shadow:0 0 0 3px #7c3aed2e}.group-avatar-preview{position:relative;display:grid;width:64px;height:64px;flex:0 0 auto;place-items:center;align-self:center;overflow:hidden;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--brand),var(--accent));font-size:20px;font-weight:900}.group-avatar-preview>img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.group-avatar-badge{position:absolute;right:2px;bottom:2px;display:grid;width:22px;height:22px;place-items:center;border:2px solid var(--surface);border-radius:50%;color:#fff;background:var(--brand);font-size:10px}.group-field{display:flex;min-width:0;flex-direction:column;gap:7px;color:var(--text);font-size:12px;font-weight:800}.create-group-modal .ant-input,.create-group-modal .ant-input-affix-wrapper{min-height:44px;border-color:var(--border);border-radius:10px;color:var(--text);background:var(--surface-muted)}.create-group-modal .ant-input-affix-wrapper .ant-input{min-height:auto;background:transparent}.create-group-modal .ant-input::-moz-placeholder{color:var(--muted)}.create-group-modal .ant-input::placeholder{color:var(--muted)}.create-group-modal .ant-input-affix-wrapper-focused,.create-group-modal .ant-input:focus{border-color:#7c3aed8c;box-shadow:0 0 0 3px #7c3aed1a}.selected-members{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:7px}.selected-members>span{width:100%;color:var(--muted);font-size:11px;font-weight:700}.selected-members button{display:inline-flex;max-width:100%;min-height:44px;align-items:center;gap:7px;padding:3px 9px 3px 4px;border:1px solid var(--border);border-radius:999px;color:var(--text);background:var(--surface-muted);cursor:pointer}.selected-members button>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-search-results{min-height:120px;max-height:180px;overflow-x:hidden;overflow-y:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted)}.member-search-results>p{display:flex;min-height:118px;align-items:center;justify-content:center;gap:8px;margin:0;padding:16px;color:var(--muted);font-size:12px;text-align:center}.member-search-results>p[role=alert],.group-form-error{color:#be123c}.dark .member-search-results>p[role=alert],.dark .group-form-error{color:#fb7185}.member-search-results ul{margin:0;padding:5px;list-style:none}.member-search-results li+li{margin-top:3px}.member-search-results button{display:flex;width:100%;min-width:0;min-height:48px;align-items:center;gap:10px;padding:7px 9px;border:0;border-radius:9px;color:var(--text);background:transparent;text-align:left;cursor:pointer}.member-search-results button:hover{background:var(--surface-hover)}.member-search-results button>span:last-child{display:flex;min-width:0;flex:1;flex-direction:column}.member-search-results strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.member-search-results small{color:var(--muted);font-size:10px}.group-form-error{margin:-4px 0 0;font-size:12px}.group-form-actions{display:flex;justify-content:flex-end;gap:8px}.group-form-actions .primary-button{min-width:108px}.conversation-detail{display:flex;flex-direction:column;background:var(--surface)}.detail-header{min-width:0}.detail-title{min-width:0;flex:1}.detail-title p{min-height:16px;margin:3px 0 0;overflow:hidden;color:var(--muted);font-size:11px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.mute-toggle.active{color:#be185d;background:#be185d1a}.mobile-back{display:none}.message-scroll{padding:28px clamp(18px,4vw,64px);background:color-mix(in srgb,var(--surface-muted) 58%,var(--surface))}.message-loading{height:100%}.message-items{display:flex;min-height:100%;flex-direction:column;justify-content:flex-end;gap:18px}.message-items li{display:flex;max-width:min(78%,680px);align-items:flex-start;gap:9px}.message-items li.mine{align-self:flex-end}.message-items li.focused-message .message-bubble{outline:3px solid rgb(245 158 11 / 70%);outline-offset:4px;animation:focused-message-pulse .9s ease-out 2}.message-items li.system-message{width:100%;max-width:none;align-self:stretch;justify-content:center;padding:2px 0;text-align:center}.system-event{display:flex;max-width:min(84%,680px);flex-wrap:wrap;align-items:baseline;justify-content:center;gap:4px;margin:0;padding:2px 8px;color:var(--muted);font-size:11px;line-height:1.45}.system-event-content{overflow-wrap:anywhere}.system-event-separator,.system-event time{font-size:9px}.system-event-separator{opacity:.78}.system-event time{font-variant-numeric:tabular-nums;white-space:nowrap}.system-message.focused-message .system-event{border-radius:8px;background:#f59e0b1a;outline:2px solid rgb(245 158 11 / 55%);outline-offset:2px}.message-items li.history-loader{width:100%;max-width:none;align-self:stretch;justify-content:center}.history-loader button{min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:999px;color:var(--muted);background:var(--surface);cursor:pointer}.history-loader button:disabled{cursor:wait;opacity:.7}.message-block{position:relative;min-width:0;max-width:100%}.message-meta{display:flex;align-items:baseline;gap:8px;margin:0 4px 5px}.message-meta strong{font-size:11px}.message-meta time,.message-meta>span{color:var(--muted);font-size:9px}.mine .message-meta{justify-content:flex-end}.message-bubble{overflow-wrap:anywhere;padding:11px 14px;border:1px solid var(--border);border-radius:4px 15px 15px;color:var(--text);background:var(--surface);font-size:13px;line-height:1.55;box-shadow:0 5px 16px #2517360d}.ai-message-preview .message-bubble{white-space:pre-wrap}.ai-stream-cursor{display:inline-block;width:5px;height:14px;margin-left:3px;border-radius:2px;background:var(--brand);vertical-align:-2px;animation:ai-cursor .85s steps(1) infinite}.message-items li.ai-private-note{width:min(100%,520px);max-width:none;min-height:38px;align-self:center;align-items:center;justify-content:center;gap:6px;padding:5px 6px 5px 12px;border:1px solid var(--border);border-radius:999px;color:var(--muted);background:color-mix(in srgb,var(--surface) 90%,transparent);font-size:10px;text-align:center}.ai-private-note span{min-width:0;overflow-wrap:anywhere}.ai-private-note .icon-button{width:28px;height:28px}.mine .message-bubble{border:0;border-radius:15px 4px 15px 15px;color:#fff;background:linear-gradient(135deg,#6d28d9,#7e22ce 60%,#be185d)}.message-attachments{display:grid;max-width:min(360px,62vw);gap:7px;margin-top:8px}.message-attachments:first-child{margin-top:0}.message-attachment{display:grid;min-width:0;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px;border:1px solid var(--border);border-radius:11px;color:var(--text);background:var(--surface-muted)}.message-attachment.image{grid-template-columns:minmax(0,1fr) 44px}.attachment-image-preview{grid-column:1 / -1;min-width:180px;overflow:hidden;border-radius:8px;background:color-mix(in srgb,var(--surface-muted) 75%,#000)}.attachment-image-button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.attachment-image-button img{display:block;width:100%;max-height:260px;-o-object-fit:cover;object-fit:cover}.attachment-image-state{min-height:120px}.attachment-image-retry{display:grid;width:100%;min-height:120px;place-items:center;padding:14px;border:0;color:#be123c;background:transparent;font-size:11px;font-weight:700;cursor:pointer}.attachment-preview-dialog{width:min(920px,calc(100vw - 32px));max-width:none;height:min(760px,calc(100dvh - 32px));max-height:none;padding:52px 16px 16px;border:0;border-radius:16px;background:#0c0912f5;box-shadow:0 28px 90px #0000006b}.attachment-preview-dialog::backdrop{background:#0c0912b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.attachment-preview-dialog>.icon-button{position:absolute;top:8px;right:8px;color:#fff;background:#ffffff1f}.attachment-preview-dialog>img{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.attachment-file-dialog{display:none;grid-template-rows:auto minmax(0,1fr);padding:0;color:var(--text);background:var(--surface)}.attachment-file-dialog[open]{display:grid}.attachment-file-dialog>header{display:flex;min-width:0;align-items:center;gap:12px;padding:10px 12px 10px 18px;border-bottom:1px solid var(--border)}.attachment-file-dialog>header>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.attachment-file-dialog>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-file-dialog>header small{color:var(--muted);font-size:10px}.attachment-preview-content{display:grid;min-width:0;min-height:0;place-items:center;overflow:auto;padding:16px;background:var(--surface-muted)}.attachment-preview-content iframe{width:100%;height:100%;border:0;border-radius:10px;background:#fff}.attachment-preview-content pre{width:min(820px,100%);min-height:100%;margin:0;overflow-wrap:anywhere;white-space:pre-wrap;color:var(--text);font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.attachment-preview-loading{color:var(--muted);font-size:12px}.attachment-preview-retry{min-height:44px;padding:0 16px;border:1px solid var(--border);border-radius:10px;color:#be123c;background:var(--surface);font-weight:700;cursor:pointer}.attachment-image-loading{display:grid;min-height:120px;place-items:center;color:var(--muted);font-size:11px}.attachment-file-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:9px;color:var(--brand);background:#7c3aed1a;font-size:18px}.attachment-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.attachment-copy strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.attachment-copy small{color:var(--muted);font-size:9px}.attachment-actions{display:flex;align-items:center}.attachment-actions .icon-button{width:40px;height:40px;color:inherit}.attachment-inline-video{grid-template-columns:minmax(0,1fr) 40px}.attachment-video-frame{display:grid;min-height:150px;grid-column:1 / -1;place-items:center;overflow:hidden;border-radius:9px;background:#0c0912}.attachment-video-frame video{display:block;width:100%;max-height:360px;background:#0c0912}.attachment-media-loading{color:#d8d2e1;font-size:11px}.attachment-media-retry{min-height:44px;padding:0 14px;border:0;border-radius:9px;color:#fecdd3;background:#be185d2e;font-weight:700;cursor:pointer}.attachment-inline-audio{grid-template-columns:44px minmax(0,1fr) 40px}.attachment-audio-toggle{display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--brand),var(--accent));cursor:pointer;font-size:17px}.attachment-audio-toggle:disabled{cursor:wait;opacity:.6}.attachment-audio-body{display:flex;min-width:0;flex-direction:column;gap:3px}.attachment-audio-body>strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.attachment-audio-body audio{display:none}.attachment-audio-progress{display:grid;min-width:0;grid-template-columns:minmax(54px,1fr) auto;align-items:center;gap:6px}.attachment-audio-progress input{width:100%;min-width:0;height:16px;margin:0;accent-color:var(--brand);cursor:pointer}.attachment-audio-progress input:disabled{cursor:wait;opacity:.5}.attachment-audio-progress small{min-width:67px;color:var(--muted);font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap}.attachment-audio-retry{width:-moz-max-content;width:max-content;padding:0;border:0;color:#be123c;background:transparent;font-size:9px;font-weight:700;cursor:pointer}.mine .message-attachment{border-color:#ffffff38;color:#fff;background:#ffffff1f}.mine .attachment-copy small,.mine .attachment-image-loading{color:#ffffffbd}.mine .attachment-file-icon{color:#fff;background:#ffffff24}.mine .attachment-audio-toggle{color:var(--brand);background:#fff}.mine .attachment-audio-progress input{accent-color:#fff}.mine .attachment-audio-progress small{color:#ffffffbd}.attachment-error{display:block;color:#e11d48;font-size:10px}.mine .attachment-error{color:#fecdd3}.message-bubble.sticker-bubble,.mine .message-bubble.sticker-bubble,.message-bubble.gif-bubble,.mine .message-bubble.gif-bubble{padding:0;border:0;background:transparent;box-shadow:none}.message-gif{display:block;width:auto;max-width:min(240px,70vw);height:auto;max-height:240px;border-radius:12px;-o-object-fit:contain;object-fit:contain;background:var(--surface-muted);box-shadow:0 6px 18px #2517361a}.message-gif-fallback{display:grid;min-width:180px;min-height:120px;place-items:center;gap:8px;padding:12px;border:1px solid var(--border);border-radius:12px;color:var(--muted);background:var(--surface-muted);font:inherit;font-size:11px;text-align:center}button.message-gif-fallback{cursor:pointer}.message-gif-fallback button{min-height:44px;padding:0 14px;border:1px solid var(--border);border-radius:9px;color:var(--brand);background:var(--surface);font-weight:800;cursor:pointer}.message-sticker{display:grid;width:160px;height:160px;place-items:center;overflow:hidden}.message-sticker img,.sticker-picker-asset img,.sticker-lottie,.sticker-lottie svg{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.sticker-loading{display:block;width:28px;height:28px;border:3px solid var(--border);border-top-color:var(--brand);border-radius:50%;animation:sticker-spin .8s linear infinite}.sticker-fallback{padding:12px;color:var(--muted);font-size:11px;text-align:center}.reply-preview{display:flex;max-width:100%;flex-direction:column;gap:2px;margin:-3px -5px 8px;padding:6px 8px;border-left:3px solid currentColor;border-radius:6px;background:#7c3aed14;opacity:.86}.mine .reply-preview{background:#ffffff24}.reply-preview strong{font-size:10px}.reply-preview span{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.message-footer{display:flex;min-height:24px;align-items:center;justify-content:flex-start;gap:8px;margin:3px 4px 0;color:var(--muted);font-size:9px}.mine .message-footer{justify-content:flex-end}.message-footer button{min-height:24px;padding:0 4px;border:0;color:var(--muted);background:transparent;font-size:9px;cursor:pointer}.message-footer button:hover{color:var(--brand)}.message-footer .message-delete-action:hover{color:#e11d48}.message-reactions{position:relative;max-width:100%}.reaction-control{position:absolute;z-index:9;right:-36px;bottom:calc(100% - 12px);width:44px;height:44px;pointer-events:none}.mine .reaction-control{right:auto;left:-36px}.reaction-trigger{position:relative;display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:50%;color:#e11d48;background:transparent;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(4px) scale(.92);transition:opacity .16s ease,transform .16s ease;font-size:13px}.reaction-trigger:before{position:absolute;inset:10px;border:1px solid var(--border);border-radius:50%;background:var(--surface);box-shadow:0 4px 12px #2517361f;content:"";transition:transform .16s ease}.reaction-trigger>span{position:relative;z-index:1;transition:transform .16s ease}.reaction-trigger:is(:hover,:focus-visible):before{transform:scale(1.12)}.reaction-trigger:is(:hover,:focus-visible)>span{transform:scale(1.08)}.message-block:hover .reaction-trigger,.message-block:focus-within .reaction-trigger,.message-reactions.open .reaction-trigger{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}.reaction-trigger:disabled{cursor:wait;opacity:.55}.reaction-picker{position:absolute;z-index:9;bottom:calc(100% - 1px);left:50%;display:flex;flex-direction:column;padding:4px;border:1px solid var(--border);border-radius:999px;background:var(--surface);box-shadow:var(--floating-shadow, 0 12px 32px rgb(37 23 54 / 12%));opacity:0;pointer-events:none;transform:translate(-50%,4px);transition:opacity .16s ease,transform .16s ease}.reaction-control:is(:hover,:focus-within) .reaction-picker,.message-reactions.open .reaction-picker{opacity:1;pointer-events:auto;transform:translate(-50%)}.message-block:has(.reaction-chip-details:is(:hover,:focus-within)) .reaction-picker{opacity:0;pointer-events:none;transform:translate(-50%,4px);transition:none}.reaction-picker button{display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:50%;background:transparent;cursor:pointer;list-style:none;font-size:19px}.reaction-picker button:hover,.reaction-picker button:focus-visible{background:var(--surface-hover)}.reaction-picker button:disabled{cursor:wait;opacity:.55}.reaction-more-panel{--surface: #fff;--surface-hover: #f4effa;--muted: #746b7e;width:min(300px,calc(100vw - 48px));color:#211a2b;background:var(--surface)}.dark .reaction-more-panel{--surface: #17131f;--surface-hover: #2b2237;--muted: #afa5ba;color:#f8f5fb}.reaction-emoji-popover-container{overflow:hidden;padding:0!important;background:#fff!important}.dark .reaction-emoji-popover-container{background:#17131f!important}.dark .reaction-emoji-popover-arrow:before{background:#17131f!important}.reaction-more-panel .EmojiPickerReact{--epr-bg-color: var(--surface);--epr-category-label-bg-color: var(--surface);border:0}.reaction-picker-loading{display:grid;height:180px;place-items:center;color:var(--muted);font-size:12px}.reaction-chips{display:flex;max-width:100%;flex-wrap:wrap;gap:3px;margin-top:4px}.reaction-chip-details{position:relative}.reaction-chip-details>button{display:inline-flex;min-width:34px;min-height:30px;align-items:center;justify-content:center;gap:6px;padding:0 9px;border:1px solid var(--border);border-radius:999px;color:var(--text);background:var(--surface);cursor:pointer}.reaction-chip-details>button.active{border-color:var(--brand);color:var(--brand);background:#7c3aed17}.reaction-chip-details>button>span{display:block;flex:0 0 auto;font-size:15px;line-height:1}.reaction-chip-details>button strong{display:block;min-width:1ch;flex:0 0 auto;font-size:10px;font-variant-numeric:tabular-nums;line-height:1;text-align:center}.message-reactions-error{display:block;margin-top:5px;color:#e11d48;font-size:10px}.reaction-people{position:absolute;z-index:10;bottom:calc(100% + 6px);left:0;display:flex;visibility:hidden;width:-moz-max-content;width:max-content;max-width:240px;flex-direction:column;gap:7px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--surface);box-shadow:0 12px 32px #25173629;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;font-size:12px}.reaction-chip-details:hover .reaction-people,.reaction-chip-details:focus-within .reaction-people{visibility:visible;opacity:1;transform:translateY(0)}.mine .reaction-people{right:0;left:auto}.reaction-people strong{margin-bottom:2px}.reaction-person{display:flex;min-width:0;align-items:center;gap:8px}.reaction-person>span:last-child{overflow:hidden;max-width:170px;text-overflow:ellipsis;white-space:nowrap}.reaction-person-avatar{display:inline-grid;width:24px;height:24px;flex:0 0 auto;place-items:center;overflow:hidden;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--brand),var(--accent));font-size:8px;font-weight:800}.reaction-person-avatar img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.message-footer .delivery-read{color:#047857;font-weight:800}.message-footer .delivery-failed,.message-footer .delivery-failed button{color:#be123c;font-weight:800}.message-footer .delivery-failed button{min-height:44px;padding:0;text-decoration:underline}.dark .message-footer .delivery-read{color:#6ee7b7}.dark .message-footer .delivery-failed,.dark .message-footer .delivery-failed button{color:#fb7185}.composer{position:relative;flex:0 0 auto;margin:14px 18px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 10px 25px #2517360f}.composer.dragging-attachment{border-color:var(--brand);box-shadow:0 0 0 4px #7c3aed1f,0 10px 25px #2517360f}.composer.dragging-attachment:after{position:absolute;z-index:7;inset:6px;display:grid;place-items:center;border:1px dashed var(--brand);border-radius:10px;color:var(--brand);background:color-mix(in srgb,var(--surface) 90%,transparent);content:attr(data-drop-attachments);font-size:12px;font-weight:800;pointer-events:none}.message-action-error{display:flex;min-width:0;align-items:center;gap:8px;margin:8px 8px 0;padding:7px 7px 7px 10px;border-radius:9px;color:#be123c;background:#fff1f2;font-size:11px}.message-action-error span{min-width:0;flex:1;overflow-wrap:anywhere}.message-action-error .icon-button{width:36px;height:36px;color:inherit}.dark .message-action-error{color:#fda4af;background:#9f123933}.mention-menu{position:absolute;z-index:8;right:0;bottom:calc(100% + 8px);left:0;max-height:min(300px,42vh);overflow:auto;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 16px 38px #2517362e}.mention-menu>button{display:flex;width:100%;min-height:48px;align-items:center;gap:9px;padding:6px 9px;border:0;border-radius:8px;color:var(--text);background:transparent;text-align:left;cursor:pointer}.mention-menu>button:hover,.mention-menu>button:focus-visible{background:var(--surface-hover)}.mention-menu>button[aria-selected=true]{background:var(--surface-hover);box-shadow:inset 3px 0 var(--brand)}.mention-menu>button[aria-selected=true] strong{color:var(--brand)}.dark .mention-menu>button[aria-selected=true] strong{color:#c4b5fd}.mention-menu>button>span:last-child{display:flex;min-width:0;flex-direction:column;gap:2px}.mention-menu strong,.mention-menu small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-menu strong{font-size:11px}.mention-menu small{color:var(--muted);font-size:9px}.composer-reply{display:flex;min-width:0;align-items:flex-start;gap:9px;margin:8px 8px 0;padding:7px 8px 7px 10px;border-radius:9px;color:var(--muted);background:var(--surface-muted);text-align:left}.composer-reply>.anticon{margin-top:3px;color:var(--brand)}.composer-reply>span:not(.anticon){display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.composer-reply strong,.composer-reply small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-reply strong{color:var(--brand);font-size:10px}.composer-reply small{font-size:10px}.composer-reply .icon-button{width:44px;height:44px;margin-left:auto}.composer-attachments{display:flex;min-width:0;flex-wrap:wrap;gap:6px;padding:8px 8px 0}.composer-attachment{display:flex;width:min(100%,280px);min-width:0;align-items:center;gap:8px;padding:6px 7px 6px 9px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted)}.composer-attachment>span:not(.anticon){display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}.composer-attachment strong,.composer-attachment small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-attachment strong{font-size:10px}.composer-attachment small{color:var(--muted);font-size:9px}.composer-attachment .icon-button{width:36px;height:36px}.composer-attachment progress{width:68px;height:6px;accent-color:var(--brand)}.composer-attachment-error{margin:6px 10px 0;color:#e11d48;font-size:10px;overflow-wrap:anywhere}.composer-disabled-note{display:flex;min-height:38px;align-items:center;gap:8px;margin:8px 8px 0;padding:0 11px;border:1px solid var(--border);border-radius:9px;color:var(--muted);background:var(--surface-muted);font-size:11px;font-weight:700}.composer-disabled-note .anticon{color:var(--brand)}.composer-input-row textarea:disabled{cursor:not-allowed}.composer-assist{margin:8px 8px 0;overflow:hidden;border:1px solid color-mix(in srgb,var(--brand) 24%,var(--border));border-radius:11px;background:color-mix(in srgb,var(--surface-muted) 76%,var(--surface))}.composer-assist header{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:8px;padding:3px 4px 3px 10px;border-bottom:1px solid var(--border)}.composer-assist header>span{display:flex;min-width:0;align-items:center;gap:7px;color:var(--brand);font-size:11px}.composer-assist header strong{overflow:hidden;color:var(--text);text-overflow:ellipsis;white-space:nowrap}.composer-assist .icon-button{width:32px;height:32px}.composer-assist p{max-height:132px;min-height:38px;margin:0;overflow:auto;padding:10px;color:var(--text);font-size:12px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}.composer-assist p.streaming:after{display:inline-block;width:5px;height:14px;margin-left:3px;border-radius:2px;background:var(--brand);content:"";vertical-align:-2px;animation:ai-cursor .85s steps(1) infinite}.composer-assist-footer{display:flex;justify-content:flex-end;gap:12px;padding:0 12px 10px}.composer-assist-decision{padding:0;border:0;background:transparent;cursor:pointer;font-size:18px;line-height:1}.composer-assist-decision.reject{color:#dc2626}.composer-assist-decision.accept{color:#16a34a}.composer-assist-decision:hover{opacity:.72}.composer-assist-decision:focus-visible{border-radius:2px;outline:2px solid currentColor;outline-offset:3px}.dark .composer-assist-decision.reject{color:#f87171}.dark .composer-assist-decision.accept{color:#4ade80}.composer-sparkles-icon{width:16px;height:16px}.composer-action-tooltip{pointer-events:none}.composer-input-row{display:flex;min-height:48px;align-items:flex-end;gap:2px;padding:5px 6px}.composer-menu-button{height:38px;flex:0 0 auto;padding:0 12px;border:0;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--brand),var(--accent));cursor:pointer;font-size:11px;font-weight:800}.composer-menu-button:disabled{cursor:not-allowed;opacity:.48}.composer-draft-field{position:relative;min-width:48px;flex:1}.composer-input-row textarea{display:block;width:100%;min-width:48px;min-height:38px;max-height:112px;field-sizing:content;resize:none;overflow-y:auto;padding:9px 7px;border:0;outline:0;color:var(--text);background:transparent;line-height:1.45}.composer-input-row textarea:-moz-placeholder{height:38px;field-sizing:fixed;overflow:hidden}.composer-input-row textarea:placeholder-shown{height:38px;field-sizing:fixed;overflow:hidden}.composer-input-row textarea::-moz-placeholder{color:var(--muted)}.composer-input-row textarea::placeholder{color:var(--muted)}.composer-draft-field.has-motion-placeholder textarea::-moz-placeholder{color:transparent}.composer-draft-field.has-motion-placeholder textarea::placeholder{color:transparent}.composer-placeholder-motion{position:absolute;z-index:2;top:0;right:7px;left:7px;height:38px;align-items:center;font-size:13px;line-height:1.45}.composer-draft-field textarea:not(:-moz-placeholder)+.composer-placeholder-motion{visibility:hidden;opacity:0}.composer-draft-field textarea:not(:placeholder-shown)+.composer-placeholder-motion{visibility:hidden;opacity:0}.composer-actions{display:flex;flex:0 0 auto;align-items:center;gap:2px;padding:0}.composer-actions .icon-button,.composer-input-row .send-button{width:38px;height:38px}.composer-count-warning{display:block;width:-moz-fit-content;width:fit-content;margin:-2px 8px 6px auto;color:#9d174d;font-size:9px;font-weight:800}.dark .composer-count-warning{color:#f9a8d4}.composer-attachment-menu{width:208px;padding:6px;color:#211a2b;background:#fff}.composer-attachment-menu button{display:grid;width:100%;min-height:42px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 9px;border:0;border-radius:8px;color:inherit;background:transparent;text-align:left;cursor:pointer}.composer-attachment-menu button:not(:disabled):hover,.composer-attachment-menu button:not(:disabled):focus-visible{background:#f4effa}.composer-attachment-menu button:disabled{cursor:not-allowed;opacity:.52}.composer-attachment-menu .anticon{color:#64748b;font-size:16px}.composer-attachment-menu span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.composer-attachment-menu small{padding:2px 5px;border-radius:999px;color:#9d174d;background:#fce7f3;font-size:8px;font-weight:800}.dark .composer-attachment-menu{color:#f8f5fb;background:#17131f}.dark .composer-attachment-menu button:not(:disabled):hover,.dark .composer-attachment-menu button:not(:disabled):focus-visible{background:#2b2237}.dark .composer-attachment-menu small{color:#f9a8d4;background:#ec489924}.gif-picker{width:100%;overflow:hidden;color:var(--gif-text);background:var(--gif-surface)}.gif-search{position:relative;display:flex;align-items:center;margin:10px}.gif-search .anticon{position:absolute;left:11px;color:var(--gif-muted);pointer-events:none}.gif-search input{width:100%;min-height:44px;padding:9px 10px 9px 35px;border:1px solid var(--gif-border);border-radius:10px;outline:0;color:var(--gif-text);background:var(--gif-muted-surface);font-size:12px}.gif-search input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #7c3aed1f}.gif-motion-toggle{min-height:44px;margin:0 10px 10px;padding:0 12px;border:1px solid var(--gif-border);border-radius:9px;color:var(--brand);background:var(--gif-surface);font-weight:800;cursor:pointer}.gif-grid{display:grid;max-height:min(246px,42vh);grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow-y:auto;padding:0 10px 10px}.gif-grid>button{min-width:0;overflow:hidden;padding:0;border:1px solid transparent;border-radius:10px;background:var(--gif-muted-surface);cursor:pointer}.gif-grid>button:hover,.gif-grid>button:focus-visible{border-color:var(--brand);outline:0;box-shadow:0 0 0 2px #7c3aed1f}.gif-grid img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.gif-motion-placeholder,.gif-item-error{display:grid;width:100%;height:100%;min-height:92px;place-items:center;padding:8px;color:var(--gif-muted);font-size:11px;font-weight:800}.gif-item-error{color:#be123c}.dark .gif-item-error{color:#fda4af}.gif-loading-more{display:grid;min-height:48px;grid-column:1 / -1;place-items:center;color:var(--gif-muted)}.gif-grid>.gif-pagination-retry{min-height:44px;grid-column:1 / -1;color:var(--brand);font-weight:800}.gif-picker-state{display:flex;min-height:180px;align-items:center;justify-content:center;gap:9px;margin:0;padding:16px;color:var(--gif-muted);text-align:center;font-size:11px}.gif-picker-state button{min-height:44px;padding:0 12px;border:1px solid var(--gif-border);border-radius:9px;color:var(--brand);background:var(--gif-surface);font-weight:800;cursor:pointer}.composer-error{margin:7px 10px 0;color:#be123c;font-size:11px}@keyframes ai-cursor{50%{opacity:0}}.composer-picker{--surface: #fff;--surface-muted: #f8f7fb;--surface-hover: #f4effa;--muted: #746b7e;--border: #e8e2ee;--brand: #7c3aed;--gif-surface: var(--surface);--gif-muted-surface: var(--surface-muted);--gif-hover: var(--surface-hover);--gif-text: #211a2b;--gif-muted: var(--muted);--gif-border: var(--border);width:min(352px,calc(100vw - 28px));overflow:hidden;border:1px solid var(--border);border-radius:14px;color:#211a2b;background:var(--surface);box-shadow:var(--floating-shadow, 0 12px 32px rgb(37 23 54 / 12%))}.dark .composer-picker{--surface: #17131f;--surface-muted: #211a2d;--surface-hover: #2b2237;--muted: #afa5ba;--border: #393044;--gif-text: #f8f5fb;color:#f8f5fb}.chat-composer-popover-container{overflow:hidden;padding:0!important;color:#211a2b;background:#fff!important}.dark .chat-composer-popover-container{color:#f8f5fb;background:#17131f!important}.chat-composer-popover-arrow:before{background:#fff!important}.dark .chat-composer-popover-arrow:before{background:#17131f!important}.composer-picker .EmojiPickerReact{--epr-bg-color: var(--surface);--epr-category-label-bg-color: var(--surface);--epr-category-label-height: 32px !important;--epr-emoji-size: 22px !important;--epr-emoji-padding: 4px !important;border:0}.composer-picker .epr-emoji-category-label{font-size:12px}.picker-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 10px;border-bottom:1px solid var(--border);background:var(--surface)}.picker-tabs button{position:relative;min-height:44px;border:0;color:var(--muted);background:transparent;cursor:pointer;font-size:12px;font-weight:650}.picker-tabs button:after{position:absolute;right:8px;bottom:-1px;left:8px;height:2px;border-radius:999px 999px 0 0;background:transparent;content:""}.picker-tabs button[aria-selected=true]{color:var(--brand)}.picker-tabs button[aria-selected=true]:after{background:var(--brand)}.picker-loading{display:grid;height:180px;place-items:center;color:var(--muted);font-size:12px}.picker-state{display:flex;min-height:240px;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px}.picker-state button{min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);cursor:pointer}.sticker-picker{min-height:300px;padding:8px 10px 10px}.sticker-pack-tabs{display:flex;gap:6px;overflow-x:auto;padding:0 0 8px}.sticker-pack-tabs button{min-height:44px;flex:0 0 auto;padding:0 11px;border:1px solid var(--border);border-radius:999px;color:var(--muted);background:var(--surface);cursor:pointer}.sticker-pack-tabs button.active{border-color:#7c3aed59;color:var(--brand);background:#7c3aed17;font-weight:800}.sticker-grid{display:grid;max-height:248px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;overflow-y:auto}.sticker-grid>button{display:grid;min-width:0;aspect-ratio:1;place-items:center;padding:5px;border:1px solid transparent;border-radius:12px;background:transparent;cursor:pointer}.sticker-grid>button:hover{border-color:var(--border);background:var(--surface-hover)}.sticker-picker-asset{display:grid;width:100%;height:100%;place-items:center;overflow:hidden}.send-button{display:grid;width:44px;height:44px;place-items:center;border-radius:9px}.detail-empty{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;background:radial-gradient(circle at 50% 45%,rgb(124 58 237 / 8%),transparent 34%)}.avatar-stack{display:flex;align-items:center;justify-content:center;margin-bottom:18px}.avatar-stack>span{display:grid;width:66px;height:66px;place-items:center;margin-left:-12px;border:3px solid var(--surface);border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--brand),var(--accent));font-size:18px;font-weight:800}.avatar-stack>span:first-child{z-index:2;margin-left:0;padding:4px;background:#fff}.detail-empty h2{margin:0;font-size:22px;letter-spacing:-.02em}.detail-empty p{max-width:380px;margin:8px 0 20px;color:var(--muted);font-size:13px;line-height:1.6}.connection-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--border);border-radius:999px;color:var(--brand);background:var(--surface);font-size:11px;font-weight:800}.group-info-drawer .ant-drawer-section,.group-info-drawer .ant-drawer-header{color:#211a2b;background:#fff}.dark .group-info-drawer .ant-drawer-section,.dark .group-info-drawer .ant-drawer-header{color:#f8f5fb;background:#17131f}.dark .group-info-drawer .ant-drawer-header{border-bottom-color:#393044}.dark .group-info-drawer .ant-drawer-title,.dark .group-info-drawer .ant-drawer-close{color:#f8f5fb}.group-panel{display:flex;min-width:0;flex-direction:column;gap:20px}.group-panel-heading{display:flex;min-width:0;align-items:center;gap:12px}.group-panel-heading>div{min-width:0}.group-panel-heading h3{overflow:hidden;margin:0;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.group-panel-heading p{margin:4px 0 0;color:#746b7e;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.dark .group-panel-heading p{color:#afa5ba}.group-role-summary{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border-radius:10px;color:#746b7e;background:#f8f7fb;font-size:11px}.group-role-summary strong{color:#6d28d9;font-size:11px}.dark .group-role-summary{color:#afa5ba;background:#211a2d}.dark .group-role-summary strong{color:#c4b5fd}.group-action-feedback{margin:-8px 0 0;padding:9px 11px;border-radius:9px;font-size:11px;line-height:1.45}.group-action-feedback.error{color:#be123c;background:#fff1f2}.group-action-feedback.success{color:#047857;background:#ecfdf5}.dark .group-action-feedback.error{color:#fda4af;background:#e11d481f}.dark .group-action-feedback.success{color:#6ee7b7;background:#10b9811f}.group-action-section{overflow:hidden;border:1px solid #e8e2ee;border-radius:12px;background:#fff}.dark .group-action-section{border-color:#393044;background:#17131f}.group-action-section>summary{display:flex;min-height:44px;align-items:center;gap:9px;padding:0 12px;color:#6d28d9;font-size:12px;font-weight:800;cursor:pointer;list-style:none}.group-action-section>summary::-webkit-details-marker{display:none}.group-action-section>summary:after{margin-left:auto;content:"+";font-size:16px}.group-action-section[open]>summary:after{content:"−"}.dark .group-action-section>summary{color:#c4b5fd}.group-edit-form,.group-member-picker{display:flex;flex-direction:column;gap:12px;padding:12px;border-top:1px solid #e8e2ee}.dark .group-edit-form,.dark .group-member-picker{border-top-color:#393044}.group-edit-form label{display:flex;min-width:0;flex-direction:column;gap:6px;color:#4b4353;font-size:11px;font-weight:800}.dark .group-edit-form label{color:#d6cfdd}.group-edit-form input,.group-edit-form textarea,.group-member-picker input[type=search]{width:100%;min-height:44px;padding:9px 10px;border:1px solid #dcd4e3;border-radius:9px;outline:0;color:inherit;background:transparent;font-size:12px;font-weight:400}.dark .group-edit-form input,.dark .group-edit-form textarea,.dark .group-member-picker input[type=search]{border-color:#4b4057}.group-edit-form input:focus,.group-edit-form textarea:focus,.group-member-picker input[type=search]:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a}.group-edit-form textarea{resize:vertical}.group-edit-form label small{align-self:flex-end;color:#746b7e;font-size:9px;font-weight:500}.group-edit-avatar-control{display:flex;min-width:0;align-items:center;flex-direction:column;gap:5px;padding:4px 0}.group-edit-form .group-edit-avatar-picker{position:relative;align-items:center;color:#6d28d9;cursor:pointer;text-align:center}.dark .group-edit-form .group-edit-avatar-picker{color:#c4b5fd}.group-edit-form .group-edit-avatar-picker input{position:absolute;width:1px;min-height:1px;height:1px;overflow:hidden;padding:0;border:0;clip-path:inset(50%);white-space:nowrap}.group-edit-avatar-picker strong{font-size:11px}.group-edit-avatar-preview{position:relative;display:grid;width:64px;height:64px;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#ec4899)}.group-edit-avatar-preview>img,.group-edit-avatar-preview>.chat-avatar{width:100%;height:100%}.group-edit-avatar-preview>img{-o-object-fit:cover;object-fit:cover}.group-edit-avatar-picker:focus-within .group-edit-avatar-preview{box-shadow:0 0 0 3px #7c3aed2e}.group-edit-avatar-badge{position:absolute;right:1px;bottom:1px;display:grid;width:22px;height:22px;place-items:center;border:2px solid #fff;border-radius:50%;color:#fff;background:#7c3aed;font-size:10px}.dark .group-edit-avatar-badge{border-color:#17131f}.group-edit-avatar-control>small{color:#746b7e;font-size:9px}.dark .group-edit-avatar-control>small{color:#afa5ba}.group-edit-avatar-remove{min-height:44px;padding:0 10px;border:0;color:#be123c;background:transparent;cursor:pointer;font-size:10px;font-weight:800}.dark .group-edit-avatar-remove{color:#fda4af}.group-edit-avatar-remove:hover,.group-edit-avatar-remove:focus-visible{border-radius:8px;outline:0;background:#fff1f2}.dark .group-edit-avatar-remove:hover,.dark .group-edit-avatar-remove:focus-visible{background:#e11d481f}.group-edit-avatar-control>.group-edit-avatar-pending{color:#be123c}.dark .group-edit-avatar-control>.group-edit-avatar-pending{color:#fda4af}.group-member-picker>label{position:relative;display:flex;align-items:center}.group-member-picker>label .anticon{position:absolute;left:11px;color:#746b7e}.group-member-picker input[type=search]{padding-left:34px}.group-member-results{max-height:220px;overflow:auto}.group-member-results>p{display:grid;min-height:90px;place-items:center;margin:0;padding:14px;color:#746b7e;text-align:center;font-size:11px}.dark .group-member-results>p{color:#afa5ba}.group-member-results ul{display:flex;margin:0;padding:0;flex-direction:column;gap:3px;list-style:none}.group-member-results li>label{display:flex;min-height:48px;align-items:center;gap:9px;padding:6px 7px;border-radius:9px;cursor:pointer}.group-member-results li>label:hover{background:#f4effa}.dark .group-member-results li>label:hover{background:#2b2237}.group-member-results input[type=checkbox]{width:16px;height:16px;accent-color:#7c3aed}.group-member-results li>label>span:last-child{display:flex;min-width:0;flex:1;flex-direction:column}.group-member-results strong,.group-member-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-member-results strong{font-size:11px}.group-member-results small{color:#746b7e;font-size:9px}.dark .group-member-results small{color:#afa5ba}.group-member-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #e8e2ee;font-size:12px}.dark .group-member-heading{border-bottom-color:#393044}.group-member-heading span{display:grid;min-width:24px;height:24px;place-items:center;border-radius:999px;color:#6d28d9;background:#f5edff;font-size:10px;font-weight:800}.group-member-list{display:flex;margin:-10px 0 0;padding:0;flex-direction:column;gap:3px;list-style:none}.group-member-list li{display:flex;min-width:0;align-items:center;gap:10px;padding:8px 4px}.group-member-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.group-member-list strong,.group-member-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-member-list strong{font-size:12px}.group-member-list small{color:#746b7e;font-size:10px}.dark .group-member-list small{color:#afa5ba}.group-member-actions{display:flex;flex:0 0 auto;align-items:center;gap:4px}.group-member-actions select{width:112px;min-height:36px;padding:0 7px;border:1px solid #dcd4e3;border-radius:8px;color:inherit;background:transparent;font-size:10px}.dark .group-member-actions select{border-color:#4b4057;background:#17131f}.group-remove-member{display:grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border:0;border-radius:8px;color:#be123c;background:transparent;cursor:pointer}.group-remove-member:hover{background:#fff1f2}.dark .group-remove-member{color:#fda4af}.dark .group-remove-member:hover{background:#e11d481f}.group-remove-member:disabled{cursor:wait;opacity:.5}.group-leave-section{padding-top:4px;border-top:1px solid #e8e2ee}.dark .group-leave-section{border-top-color:#393044}.group-leave-section p{margin:12px 0 0;color:#746b7e;font-size:11px;line-height:1.5}.dark .group-leave-section p{color:#afa5ba}.danger-button{width:100%;min-height:44px;margin-top:12px;border:1px solid #fecdd3;border-radius:10px;color:#be123c;background:#fff1f2;font-weight:800;cursor:pointer}.dark .danger-button{border-color:#e11d484d;color:#fda4af;background:#e11d481f}.danger-button:disabled{cursor:wait;opacity:.55}.group-panel-state{display:flex;min-height:240px;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}.start-chat-dialog{width:min(520px,calc(100vw - 32px));max-height:min(680px,calc(100dvh - 32px));overflow:hidden;padding:20px;border:1px solid #e8e2ee;border-radius:16px;color:#211a2b;background:#fff;box-shadow:0 24px 70px #2517363d}.start-chat-dialog::backdrop{background:#17131f7a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.dark .start-chat-dialog{border-color:#393044;color:#f8f5fb;background:#17131f}.start-chat-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.start-chat-dialog>header h2{margin:0;font-size:17px}.people-search-form{display:flex;flex-direction:column;gap:7px;margin-top:18px}.people-search-form>label{font-size:12px;font-weight:800}.people-search-form>div{display:flex;min-width:0;align-items:center;gap:8px}.people-search-form>div>.anticon{margin-left:11px;color:#746b7e}.people-search-form input{min-width:0;min-height:44px;flex:1;margin-left:-38px;padding:0 10px 0 38px;border:1px solid #e8e2ee;border-radius:10px;color:inherit;background:transparent}.dark .people-search-form input{border-color:#393044}.people-search-error{margin:12px 0 0;color:#e11d48;font-size:12px}.people-search-results{min-height:160px;max-height:min(420px,52vh);overflow:auto;margin-top:14px}.people-search-results>p{display:grid;min-height:150px;place-items:center;margin:0;padding:20px;color:#746b7e;text-align:center;font-size:12px}.dark .people-search-results>p{color:#afa5ba}.people-search-results ul{display:flex;margin:0;padding:0;flex-direction:column;gap:4px;list-style:none}.people-search-results li>button{display:flex;width:100%;min-width:0;min-height:60px;align-items:center;gap:10px;padding:8px;border:0;border-radius:10px;color:inherit;background:transparent;text-align:left;cursor:pointer}.people-search-results li>button:hover,.people-search-results li>button:focus-visible{background:#f4effa}.dark .people-search-results li>button:hover,.dark .people-search-results li>button:focus-visible{background:#2b2237}.people-search-results li>button:disabled{cursor:wait;opacity:.65}.people-search-results li>button>span:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.people-search-results strong,.people-search-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.people-search-results strong{font-size:12px}.people-search-results small{color:#746b7e;font-size:10px}.dark .people-search-results small{color:#afa5ba}.people-search-results li>button>span:last-child{color:#7c3aed;font-size:10px;font-weight:800;white-space:nowrap}.chat-search-dialog{width:min(720px,calc(100vw - 32px));height:min(720px,calc(100dvh - 32px));overflow:hidden;padding:0;border:1px solid #e8e2ee;border-radius:18px;color:#211a2b;background:#fff;box-shadow:0 28px 80px #25173647}.chat-search-dialog[open]{display:flex;flex-direction:column}.chat-search-dialog::backdrop{background:#17131f85;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dark .chat-search-dialog{border-color:#393044;color:#f8f5fb;background:#17131f}.chat-search-dialog>header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 14px}.chat-search-dialog>header>div{min-width:0}.chat-search-dialog>header span{color:#7c3aed;font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.dark .chat-search-dialog>header span{color:#c4b5fd}.chat-search-dialog>header h2{margin:3px 0 0;font-size:24px;letter-spacing:-.03em}.chat-search-input{display:flex;min-height:50px;flex:0 0 auto;align-items:center;gap:10px;margin:0 22px;padding:0 14px;border:1px solid #dcd4e3;border-radius:12px;color:#746b7e;background:#f8f7fb}.dark .chat-search-input{border-color:#4b4057;color:#afa5ba;background:#211a2d}.chat-search-input:focus-within{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a}.chat-search-input input{width:100%;min-width:0;border:0;outline:0;color:inherit;background:transparent;font-size:13px}.chat-search-tabs{display:flex;flex:0 0 auto;gap:5px;padding:14px 22px 10px;border-bottom:1px solid #e8e2ee}.dark .chat-search-tabs{border-bottom-color:#393044}.chat-search-tabs button{min-height:40px;padding:0 16px;border:0;border-radius:999px;color:#746b7e;background:transparent;font-size:11px;font-weight:800;cursor:pointer}.dark .chat-search-tabs button{color:#afa5ba}.chat-search-tabs button:hover{background:#f4effa}.dark .chat-search-tabs button:hover{background:#2b2237}.chat-search-tabs button.active{color:#6d28d9;background:#f2eaff}.dark .chat-search-tabs button.active{color:#ddd6fe;background:#7c3aed33}.chat-search-error{flex:0 0 auto;margin:10px 22px 0;padding:9px 11px;border-radius:9px;color:#be123c;background:#fff1f2;font-size:11px}.dark .chat-search-error{color:#fda4af;background:#e11d481f}.chat-search-results{min-height:0;flex:1;overflow:auto;padding:10px 14px 18px}.chat-search-loading{display:flex;flex-direction:column;gap:10px;padding:12px 8px}.chat-search-count{margin:2px 10px 8px;color:#746b7e;font-size:10px;font-weight:800}.dark .chat-search-count{color:#afa5ba}.chat-search-results ul{display:flex;margin:0;padding:0;flex-direction:column;gap:4px;list-style:none}.chat-search-results li>button{display:flex;width:100%;min-width:0;min-height:66px;align-items:center;gap:11px;padding:9px 10px;border:0;border-radius:12px;color:inherit;background:transparent;text-align:left;cursor:pointer}.chat-search-results li>button:hover,.chat-search-results li>button:focus-visible{background:#f4effa}.dark .chat-search-results li>button:hover,.dark .chat-search-results li>button:focus-visible{background:#2b2237}.chat-search-results li>button:disabled{cursor:wait;opacity:.6}.chat-search-result-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.chat-search-result-copy strong,.chat-search-result-copy small,.chat-search-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-search-result-copy strong{font-size:12px}.chat-search-result-copy small{color:#746b7e;font-size:9px}.dark .chat-search-result-copy small{color:#afa5ba}.chat-search-preview{color:#4b4353;font-size:11px}.dark .chat-search-preview{color:#d6cfdd}.chat-search-preview mark{padding:0 2px;border-radius:3px;color:#78350f;background:#fef3c7;font-weight:800}.dark .chat-search-preview mark{color:#fde68a;background:#f59e0b33}.chat-search-action{flex:0 0 auto;color:#7c3aed;font-size:10px;font-weight:800;white-space:nowrap}.dark .chat-search-action{color:#c4b5fd}.chat-search-message-icon{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border-radius:12px;color:#7c3aed;background:#f2eaff;font-size:17px}.dark .chat-search-message-icon{color:#ddd6fe;background:#7c3aed33}.chat-search-empty{display:flex;min-height:280px;flex-direction:column;align-items:center;justify-content:center;padding:28px;color:#746b7e;text-align:center}.dark .chat-search-empty{color:#afa5ba}.chat-search-empty>.anticon{color:#7c3aed;font-size:30px}.chat-search-empty strong{margin-top:12px;color:#211a2b;font-size:14px}.dark .chat-search-empty strong{color:#f8f5fb}.chat-search-empty span{margin-top:5px;font-size:11px}.login-page{position:relative;display:grid;min-height:100dvh;place-items:center;overflow:hidden;padding:24px;color:#211a2b;background:radial-gradient(circle at 20% 10%,rgb(236 72 153 / 13%),transparent 32%),radial-gradient(circle at 80% 80%,rgb(124 58 237 / 16%),transparent 35%),#f8f7fb}.dark .login-page{color:#f8f5fb;background:radial-gradient(circle at 20% 10%,rgb(236 72 153 / 12%),transparent 32%),radial-gradient(circle at 80% 80%,rgb(124 58 237 / 17%),transparent 35%),#17131f}.login-preferences{position:absolute;top:20px;right:20px;display:flex;gap:8px}.login-theme{border-color:#e8e2ee;background:#fff}.dark .login-theme{border-color:#393044;background:#211a2d}.login-card{display:flex;width:min(100%,420px);flex-direction:column;gap:16px;padding:30px;border:1px solid #e8e2ee;border-radius:20px;background:#fff;box-shadow:0 22px 60px #25173624}.dark .login-card{border-color:#393044;background:#211a2d}.login-logo{width:76px;height:76px;align-self:center;padding:5px}.login-heading{text-align:center}.login-heading p{margin:2px 0 5px;color:#7c3aed;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.login-heading h1{margin:0;font-size:23px}.login-heading span{display:block;margin-top:7px;color:#746b7e;font-size:12px}.dark .login-heading span{color:#afa5ba}.login-card label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800}.login-card input{min-height:44px;padding:0 12px;border:1px solid #dcd4e3;border-radius:10px;color:inherit;background:transparent}.dark .login-card input{border-color:#4b4057}.login-card input:focus{border-color:#7c3aed}.login-error{color:#e11d48;font-size:12px;text-align:center}@keyframes logo-breathe{50%{transform:translateY(-2px) scale(1.04);box-shadow:0 12px 28px #7c3aed2e}}@keyframes focused-message-pulse{50%{transform:translateY(-2px)}}@keyframes sticker-spin{to{transform:rotate(360deg)}}@keyframes placeholder-word-reveal{0%,4%{opacity:0;transform:translateY(4px)}8%{opacity:1;transform:translateY(-1px)}12%,78%{opacity:1;transform:translateY(0)}88%,to{opacity:0;transform:translateY(0)}}@media(min-width:1200px){.icon-button.nav-collapse-button{display:inline-grid}.navigation-collapsed .workspace-navigation{align-items:center;padding-right:10px;padding-left:10px}.navigation-collapsed .workspace-brand{flex-direction:column}.navigation-collapsed .workspace-brand-copy,.navigation-collapsed .workspace-menu button>span:not(.anticon),.navigation-collapsed .workspace-section>p,.navigation-collapsed .workspace-section>button:not(.channel-menu-trigger){display:none}.navigation-collapsed .workspace-menu button{justify-content:center;width:48px;padding:0}.navigation-collapsed .workspace-menu button .anticon{width:auto}.navigation-collapsed .workspace-section{display:flex;overflow:visible}.navigation-collapsed .channel-menu-trigger{display:flex;justify-content:center;width:48px;padding:0}.navigation-collapsed .channel-menu-label{display:none}.navigation-collapsed .channel-flyout{display:block}.navigation-collapsed .connection-status .status-mark{display:inline}.navigation-collapsed .workspace-account{width:100%;flex-direction:column}.navigation-collapsed .account-actions{flex-direction:column}}@media(min-width:768px){.conversation-list-resizer{display:block}}@media(max-width:1199px)and (min-width:768px){.chat-shell{--workspace-navigation-width: 64px}.workspace-navigation{align-items:center;padding:16px 10px}.workspace-brand-copy,.workspace-menu button>span:not(.anticon),.workspace-section>p,.workspace-section>button:not(.channel-menu-trigger){display:none}.connection-status .status-mark{display:inline}.workspace-menu button{justify-content:center;width:48px;padding:0}.workspace-menu button .anticon{width:auto}.workspace-section{display:flex;overflow:visible}.channel-menu-trigger{display:flex;justify-content:center;width:48px;padding:0}.channel-menu-label{display:none}.channel-flyout{display:block}.workspace-account{width:100%;flex-direction:column}.account-actions{flex-direction:column}}@media(max-width:767px){.chat-shell{display:flex;min-height:0;flex-direction:column}.workspace-navigation{height:56px;flex:0 0 56px;flex-direction:row;align-items:center;gap:8px;padding:6px 10px;border-right:0;border-bottom:1px solid var(--border)}.workspace-brand{min-height:44px;padding:0}.nav-logo{width:36px;height:36px}.workspace-brand-copy small,.workspace-menu,.workspace-section{display:none}.compact-static-channels{display:grid}.connection-status .status-mark{display:inline}.workspace-account{width:auto;margin:0 0 0 auto;padding:0;border:0}.conversation-list,.conversation-detail{min-height:0;flex:1;border:0}.conversation-list.mobile-hidden,.conversation-detail{display:none}.conversation-detail.mobile-visible{display:flex}.pane-header{height:60px;min-height:60px;padding:8px 10px}.pane-header h1{font-size:18px}.mobile-back{display:inline-grid}.detail-header .chat-avatar{width:38px;height:38px}.message-scroll{padding:18px 12px}.message-items li{max-width:90%}.message-attachments{max-width:min(72vw,360px)}.attachment-image-preview{min-width:min(220px,64vw)}.message-footer{flex-wrap:wrap}.composer{margin:8px 10px 10px}.composer-input-row{gap:0;padding:4px}.composer-input-row textarea{min-height:44px;padding:11px 2px;font-size:12px}.composer-input-row textarea:-moz-placeholder{height:44px}.composer-input-row textarea:placeholder-shown{height:44px}.composer-menu-button{height:44px;padding:0 6px}.composer-actions{gap:0}.composer-actions .icon-button,.composer-input-row .send-button{width:44px;height:44px}.composer-attachments{flex-direction:column}.composer-attachment{width:100%}.chat-composer-popover{width:auto!important;inset-inline:14px!important}.chat-composer-popover .ant-popover-content,.chat-composer-popover .composer-picker{width:100%}.conversation-search{margin-top:10px}.group-info-drawer .ant-drawer-content-wrapper{width:min(420px,96vw)!important}.group-member-list li{align-items:flex-start;flex-wrap:wrap}.group-member-actions{width:100%;padding-left:40px}.group-member-actions select{min-height:44px;flex:1}.group-remove-member{width:44px;height:44px}.start-chat-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:16px}.chat-search-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0}.chat-search-dialog>header{padding:14px 14px 10px}.chat-search-dialog>header h2{font-size:21px}.chat-search-input{margin:0 14px}.chat-search-tabs{gap:3px;padding:10px 14px 8px}.chat-search-tabs button{min-width:0;flex:1;padding:0 8px}.chat-search-results{padding-right:8px;padding-left:8px}.chat-search-results li>button{min-height:72px;padding:9px 7px}.chat-search-action{max-width:64px;overflow:hidden;text-overflow:ellipsis}.people-search-form>div{align-items:stretch;flex-direction:column}.people-search-form>div>.anticon{position:absolute;margin:15px 0 0 12px}.people-search-form input{width:100%;margin:0;padding-left:38px}.create-group-modal .ant-modal{top:12px;width:auto!important;margin:0 12px;padding-bottom:12px}.create-group-modal .ant-modal-header{padding:18px 18px 12px}.create-group-modal .ant-modal-body{padding:0 18px 18px}.create-group-form{max-height:calc(100dvh - 94px)}.group-form-actions{position:sticky;bottom:-2px;padding-top:8px;background:var(--surface)}.group-form-actions>button{flex:1}}@media(max-height:620px)and (min-width:768px){.workspace-navigation{gap:12px;padding-top:12px;padding-bottom:12px}.workspace-section{display:none}.compact-static-channels{display:grid}}@media(prefers-reduced-motion:reduce){.placeholder-motion>span{opacity:1;animation:none;transform:none}.workspace-menu button .anticon,.account-actions .icon-button .anticon,.channel-menu-trigger .anticon{transform:none}*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.message-items li.system-event{align-self:center;max-width:92%;justify-content:center}.system-event span{font-size:12px;line-height:1.5;color:var(--muted);text-align:center}
