@font-face{font-family:Branding;src:url(/branding/capresso/Branding%20SemiBold.otf)}:root{--cp-red: #e2211c;--cp-black: #000;--cp-gray: #d2d2cd;--cp-white: #fff}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;font-family:Segoe UI,sans-serif;color:#24222b}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{height:100%;display:grid;grid-template-columns:minmax(320px,30%) 1fr;background:#f7f7f5}.update-banner,.session-recovery-banner{position:fixed;z-index:50;top:max(10px,env(safe-area-inset-top));left:50%;transform:translate(-50%);width:min(620px,calc(100% - 24px));display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:12px;background:#24222b;color:#fff;box-shadow:0 8px 28px #0004}.update-banner span,.session-recovery-banner span{display:grid;gap:2px}.update-banner small,.session-recovery-banner small{color:#ddd}.update-banner button,.session-recovery-banner button{border:0;border-radius:8px;padding:9px 12px;background:var(--cp-red);color:#fff;font-weight:700;white-space:nowrap}.session-recovery-banner{background:#302d34}.chat-list{border-right:1px solid #ddd;background:#fff;display:flex;flex-direction:column;min-width:0}.list-header,.chat-header{height:64px;background:#f6f5f3;display:flex;align-items:center;padding:10px 16px;gap:12px;border-bottom:1px solid #e2e2df}.mini-logo{width:42px;height:42px;object-fit:contain}.header-actions{margin-left:auto;display:flex}.account-menu{position:relative}.account-menu-panel{position:absolute;z-index:45;top:calc(100% + 6px);right:0;min-width:245px;padding:6px;border:1px solid #ddd;border-radius:10px;background:var(--cp-white);box-shadow:0 8px 24px #0002}.account-menu-panel button{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:7px;color:#4a464e;white-space:nowrap}.account-menu-panel button:hover,.account-menu-panel button:focus-visible{background:#f2f1ef;outline:none}.account-menu-panel svg{width:18px}.list-header button,.chat-header button,.composer button{border:0;background:transparent;color:#5c5962;padding:8px;border-radius:50%}.list-header svg,.chat-header svg,.composer svg{width:21px}.avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#e5e3df;color:#302d34;font-weight:700}.avatar.brand{background:#e02128;color:#fff}.offline,.sync-summary{display:flex;gap:8px;align-items:center;padding:9px 16px;background:#fff0f0;color:#8d161a;font-size:13px;line-height:1.3}.offline svg{width:17px}.sync-summary{min-height:42px;margin:0 12px 8px;padding:7px 10px;border:1px solid #e2e2df;border-radius:9px;background:#f7f7f5;color:#5c5962}.sync-summary>span:not(.sync-dot){display:grid;gap:1px;min-width:0}.sync-summary strong{color:#302d34;font-size:12px;line-height:1.2}.sync-summary small{overflow:hidden;color:#777;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.sync-summary svg{width:17px;flex:0 0 17px}.sync-summary.offline,.sync-summary.warning{border-color:#e2211c55;background:#fff0f0}.sync-summary.offline strong,.sync-summary.warning strong{color:#8d161a}.sync-details{min-height:32px;display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:4px 8px;border:1px solid #e2211c55;border-radius:8px;background:#fff;color:#8d161a;font-size:11px;font-weight:700}.sync-details:hover,.sync-details:focus-visible{border-color:var(--cp-red);outline:none}.sync-details svg{width:15px;height:15px}.sync-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#777}.sync-summary.syncing .sync-dot{background:var(--cp-red);animation:sync-pulse 1.2s ease-in-out infinite}@keyframes sync-pulse{50%{opacity:.35;transform:scale(.82)}}.search{margin:8px 12px;background:#f2f1ef;border-radius:10px;display:flex;align-items:center;padding:0 12px}.search svg{width:18px;color:#777}.search input{width:100%;border:0;outline:0;background:transparent;padding:10px}.conversation-filters{display:flex;gap:7px;padding:0 12px 8px;overflow-x:auto;scrollbar-width:none}.conversation-filters::-webkit-scrollbar{display:none}.conversation-filters button{display:inline-flex;min-height:34px;align-items:center;gap:6px;flex:0 0 auto;padding:6px 11px;border:1px solid #d2d2cd;border-radius:18px;background:#fff;color:#4c4850;font-size:13px;font-weight:600}.conversation-filters button:hover,.conversation-filters button:focus-visible{border-color:var(--cp-red);outline:none}.conversation-filters button.active{border-color:var(--cp-red);background:var(--cp-gray);color:#24222b}.conversation-filters button span{min-width:19px;padding:1px 5px;border-radius:10px;background:var(--cp-red);color:#fff;font-size:11px;text-align:center}.conversations{min-height:0;flex:1;overflow:auto}.conversation-list-empty{display:grid;place-items:center;gap:6px;padding:40px 24px;color:#777;text-align:center}.conversation-list-empty svg{width:30px;color:var(--cp-red)}.conversation-list-empty strong{color:#302d34}.conversation{width:100%;border:0;background:#fff;display:grid;grid-template-columns:48px 1fr auto;gap:10px;text-align:left;padding:11px 14px}.conversation:hover,.conversation.active{background:#f3f2ef}.conversation span{display:flex;min-width:0;flex-direction:column;border-bottom:1px solid #eee;padding-bottom:10px}.conversation strong{font-size:15px}.conversation small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#777;margin-top:4px}.conversation small.draft-preview{color:#c8322d}.conversation time{font-size:11px;color:#8b878f}.conversation time svg{width:15px;height:15px}.conversation time{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.conversation time .conversation-flags{display:flex;width:auto;flex-direction:row;gap:4px;padding:0;border:0;color:#a8171b}.conversation time .mention-badge,.conversation time .unread-badge{display:inline-grid;width:auto;min-width:22px;height:22px;place-items:center;flex-direction:initial;padding:0 6px;border:0;border-radius:11px;background:var(--cp-red);color:#fff;font-size:12px;font-weight:700}.conversation time .mention-badge{border:1px solid var(--cp-red);background:#fff;color:#a8171b}.conversation time .unread-badge.manual{min-width:12px;width:12px;height:12px;padding:0;color:transparent}.chat-panel{min-width:0;min-height:0;height:100%;overflow:hidden;display:flex;flex-direction:column;background:#eeeae4;background-image:radial-gradient(#ded8cf .7px,transparent .7px);background-size:16px 16px}.chat-title{display:flex;flex:1;flex-direction:column;min-width:0}.chat-title strong,.chat-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-title small{color:#78747d}.chat-header .chat-title-button{width:auto;height:auto;flex:1 1 auto;align-items:flex-start;padding:0;border-radius:0;color:inherit;text-align:left}.chat-header .chat-title-button:hover strong,.chat-header .chat-title-button:focus-visible strong{color:var(--cp-red)}.chat-header .chat-title-button:focus-visible{outline:2px solid #e0212855;outline-offset:5px}.chat-tools{display:flex;align-items:center;flex:0 0 auto}.back{display:none!important}.messages{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:24px clamp(18px,6vw,90px)}.empty-messages{display:flex}.message-virtual-item{padding-bottom:8px}.history-status{min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;color:#716d75;font-size:12px;text-align:center}.history-status.complete{color:#8d898f}.history-status button{border:1px solid #d8d5d2;border-radius:999px;background:#fff;color:#8d161a;padding:7px 13px;font:inherit}.history-status button:hover,.history-status button:focus-visible{border-color:#e02128;outline:none}.history-status .spinner{width:15px;height:15px}.message-row{position:relative;width:100%;display:flex;align-items:center}.message-row.mine{justify-content:flex-end}.message-row.message-selected{background:#e2211c1a}.message-selection-active .message-row{min-height:44px;padding-left:48px;cursor:pointer}.message-selection-check{position:absolute;left:10px;top:50%;width:24px;height:24px;display:grid;place-items:center;border:2px solid #807c82;border-radius:6px;background:#fff9;color:#fff;transform:translateY(-50%);transition:background .12s ease,border-color .12s ease,transform .12s ease}.message-selection-check.checked{border-color:#20bd74;background:#20bd74}.message-selection-check.checked svg{width:17px;height:17px;stroke-width:3}.message-reaction-trigger{width:34px;height:34px;display:grid;flex:0 0 34px;place-items:center;margin:0 5px;padding:6px;border:0;border-radius:50%;background:transparent;color:#77737b;opacity:.48}.message-row:hover .message-reaction-trigger,.message-reaction-trigger:focus-visible{background:#ffffffd9;opacity:1;outline:2px solid #e2211c55}.message-reaction-trigger:disabled{opacity:.16;cursor:default}.message-row.mine .message-reaction-trigger{order:-1}.message-reaction-trigger svg{width:20px;height:20px}.bubble{position:relative;align-self:flex-start;max-width:min(72%,650px);background:#fff;border-radius:4px 12px 12px;padding:8px 10px;box-shadow:0 1px 1px #0001;touch-action:pan-y;transform:translate(var(--swipe-offset, 0));transition:transform .16s ease;will-change:transform}.bubble.swiping{transition:none}.bubble:before{content:"↩";position:absolute;top:50%;left:-42px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:var(--cp-red);opacity:0;box-shadow:0 1px 5px #0002;transform:translateY(-50%) scale(.75);transition:opacity .12s ease,transform .12s ease;pointer-events:none}.bubble.swiping:before{opacity:1;transform:translateY(-50%) scale(1)}.bubble.mine{align-self:flex-end;background:#ffe0df;border-radius:12px 4px 12px 12px}.bubble b{color:#bd171b;font-size:12px}.bubble p{margin:2px 0 3px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble .message-meta{display:flex;justify-content:flex-end;align-items:center;gap:4px;color:#777;font-size:10px}.bubble .message-meta svg{width:14px}.bubble .message-meta .edited-label{font-size:10px;font-weight:500;color:inherit}.message-text>span{display:inline;color:inherit;font-size:inherit}.message-text .message-mention{display:inline;padding:1px 3px;border-radius:4px;background:#fff0f0;color:#a8171b;font-size:inherit;font-weight:700}.message-text .message-mention.is-me{background:var(--cp-red);color:#fff}.bubble .deleted-copy{color:#777;font-style:italic}.bubble .message-delete{display:grid;place-items:center;width:24px;height:24px;padding:3px;border:0;border-radius:50%;background:transparent;color:#777}.bubble .message-delete:hover{background:#0000000d;color:var(--cp-red)}.bubble .message-delete:disabled{opacity:.35}.receipt.sent,.receipt.delivered,.receipt.pending{color:#777}.receipt.read{color:#168bd2}.receipt-failed{width:22px;height:22px;display:inline-grid;place-items:center;padding:2px;border:0;border-radius:50%;background:transparent;color:var(--cp-red)}.receipt-failed:hover,.receipt-failed:focus-visible{background:#fff0f0;outline:1px solid #e2211c55}.receipt-failed svg{width:16px;height:16px}.bubble em{font-style:normal}.forwarded{display:flex;align-items:center;gap:4px;margin:1px 0 5px;color:#777;font-style:italic}.forwarded svg{width:14px;height:14px}.reply-quote{display:flex;min-width:180px;flex-direction:column;gap:3px;margin:4px 0 7px;padding:7px 9px;border-left:3px solid var(--cp-red);border-radius:5px;background:#f3f1ee}.mine .reply-quote{background:#f8cfce}.reply-quote strong{color:#94181b;font-size:12px}.reply-quote small{max-width:360px;overflow:hidden;color:#625f66;text-overflow:ellipsis;white-space:nowrap}.message-reactions{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 -16px}.message-reactions button{border:1px solid #ddd;border-radius:14px;padding:2px 7px;background:#fff;color:#4a464e;font-size:12px}.message-reactions button.mine{border-color:#d98380;background:#fff0f0}.composer-reply{display:flex;align-items:center;gap:10px;padding:8px 16px 0;background:#f6f5f3}.composer-reply>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px;padding:7px 10px;border-left:3px solid var(--cp-red);background:#fff}.composer-reply strong{color:#94181b;font-size:12px}.composer-reply small{overflow:hidden;color:#777;text-overflow:ellipsis;white-space:nowrap}.composer-reply button{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#666}.composer-edit>div{border-left-color:#94181b}.delete-dialog{max-width:480px;padding:24px}.delete-dialog>h2{margin:0;font-size:20px;font-weight:600}.delete-actions{display:grid;justify-items:end;gap:10px;margin-top:42px}.delete-actions>button{min-width:200px;padding:10px 24px;border:1px solid #d6d3cf;border-radius:999px;background:#fff;color:#49454d;font-weight:700}.delete-actions>button:hover{border-color:#aaa6a1;background:#f7f6f4}.delete-actions>button.danger{color:var(--cp-red)}.delete-actions>button:disabled{opacity:.45}@media(max-width:520px){.delete-dialog{width:calc(100% - 28px);padding:22px 18px}.delete-actions{margin-top:32px}.delete-actions>button{min-width:min(220px,100%)}}.composer{position:relative;display:flex;align-items:center;gap:4px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#f6f5f3}.mention-suggestions{position:absolute;z-index:12;bottom:calc(100% + 6px);left:12px;width:min(420px,calc(100% - 24px));max-height:min(320px,42vh);padding:6px;overflow-y:auto;border:1px solid #ddd;border-radius:14px;background:#fff;box-shadow:0 10px 32px #0003}.mention-suggestions>button{display:flex;width:100%;height:auto;min-height:54px;align-items:center;gap:10px;padding:7px 10px;border:0;border-radius:10px;background:transparent;text-align:left}.mention-suggestions>button:hover,.mention-suggestions>button.active{background:#fff0f0;color:#761215}.mention-suggestions .avatar{width:38px;height:38px}.mention-suggestions>button>span:last-child{display:flex;min-width:0;flex:1;flex-direction:column}.mention-suggestions strong,.mention-suggestions small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-suggestions small{color:#777}.voice-message{display:block;width:min(300px,70vw);height:42px;margin:4px 0}.document-attachment{display:grid;grid-template-columns:32px minmax(0,1fr) 22px;align-items:center;gap:9px;width:min(330px,75vw);margin:5px 0;padding:10px 12px;border-radius:10px;background:#f4f3f1;color:#3f3d42;text-decoration:none}.document-attachment>svg{width:22px;height:22px;color:var(--cp-red)}.document-attachment>span{min-width:0;display:grid;gap:2px}.document-attachment strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-attachment small{color:#777;font-size:11px}.upload-transfer{display:flex;align-items:center;gap:8px;min-height:28px;margin-top:4px;color:#68656c;font-size:12px}.upload-transfer>div[role=progressbar]{flex:1;min-width:90px;height:5px;overflow:hidden;border-radius:99px;background:#d5d2d2}.upload-transfer>div[role=progressbar]>span{display:block;height:100%;border-radius:inherit;background:var(--cp-red);transition:width .12s linear}.upload-transfer>button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:50%;background:#e7e5e5;color:#514e54}.upload-transfer>button svg{width:16px;height:16px}.upload-transfer.paused{justify-content:flex-end;color:#8a4d00}.voice-recorder{position:absolute;z-index:8;inset:5px 10px;display:flex;align-items:center;gap:10px;padding:5px 8px 5px 14px;border-radius:24px;background:#fff}.voice-recorder time{flex:1;color:#6b676f;font-variant-numeric:tabular-nums}.recording-dot{width:10px;height:10px;border-radius:50%;background:var(--cp-red);animation:recording-pulse 1.1s infinite}@keyframes recording-pulse{50%{opacity:.35}}.composer textarea{flex:1;min-width:72px;border:1px solid #ddd;border-radius:22px;padding:11px 16px;outline:0;resize:none;overflow:hidden;line-height:20px}.composer .send{background:var(--cp-red);color:#fff}.emoji-picker{align-self:flex-start;display:flex;width:min(470px,calc(100% - 32px));height:min(390px,48vh);flex-direction:column;margin:0 16px 6px;border:1px solid #ddd;border-radius:14px;background:var(--cp-white);box-shadow:0 8px 28px #0002;overflow:hidden;z-index:5}.emoji-search{display:flex;align-items:center;gap:7px;padding:9px 10px 7px;border-bottom:1px solid #eee}.emoji-search>svg{width:18px;color:#777}.emoji-search input{min-width:0;flex:1;padding:8px 10px;border:1px solid #ddd;border-radius:18px;outline:0;font:inherit}.emoji-search input:focus{border-color:var(--cp-red);box-shadow:0 0 0 2px #e2211c18}.emoji-search button,.emoji-categories button,.emoji-grid button{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:0;border-radius:8px;background:transparent}.emoji-search button svg{width:19px;color:#666}.emoji-categories{display:flex;padding:5px 8px;border-bottom:1px solid #eee;overflow-x:auto;scrollbar-width:thin}.emoji-categories button{position:relative;font-size:20px}.emoji-categories button.active:after{content:"";position:absolute;right:5px;bottom:0;left:5px;height:3px;border-radius:3px;background:var(--cp-red)}.emoji-section-title{padding:7px 12px 4px;color:#68646c;font-size:12px;font-weight:600}.emoji-grid{display:grid;min-height:0;flex:1;grid-template-columns:repeat(10,1fr);align-content:start;padding:4px 10px 10px;overflow-y:auto}.emoji-grid button{width:100%;min-width:36px;font-size:23px}.emoji-search button:hover,.emoji-categories button:hover,.emoji-grid button:hover{background:#f2f1ef}.emoji-empty{display:grid;flex:1;place-items:center;padding:24px;color:#777;text-align:center}.toast{position:fixed;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));translate:-50% 0;max-width:calc(100% - 32px);padding:10px 16px;border-radius:20px;background:#24222be8;color:#fff;font-size:13px;text-align:center;z-index:30}.context-menu{position:fixed;z-index:80;width:min(260px,calc(100vw - 16px));overflow:hidden;padding:7px;border:1px solid #343238;border-radius:17px;outline:0;background:#19191a;color:#f7f7f7;box-shadow:0 16px 44px #0007}.context-menu button{width:100%;min-height:44px;display:grid;grid-template-columns:34px 1fr;align-items:center;border:0;border-radius:9px;padding:7px 10px;background:transparent;color:inherit;text-align:left}.context-menu button:hover,.context-menu button:focus-visible{background:#2b292d;outline:0}.context-menu button:disabled{opacity:.38;cursor:default}.context-menu button.danger{margin-top:5px;border-top:1px solid #3b393e;border-radius:0 0 9px 9px;color:#ffb4b1}.context-menu svg{width:20px;height:20px}.message-context-menu{width:min(330px,calc(100vw - 16px));overflow:visible}.context-quick-reactions,.message-quick-reactions{display:flex;align-items:center;justify-content:space-evenly;gap:2px;padding:5px;border:1px solid #3f3c42;border-radius:25px;background:#202023;box-shadow:0 8px 24px #0005}.context-quick-reactions{margin-bottom:6px}.context-quick-reactions>button,.message-quick-reactions>button{width:38px;min-height:38px;display:grid;grid-template-columns:1fr;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;font-size:21px;text-align:center}.context-quick-reactions>button:hover,.context-quick-reactions>button.active,.message-quick-reactions>button:hover,.message-quick-reactions>button.active{background:#ffffff1c;transform:scale(1.08)}.reaction-popover-backdrop{position:fixed;z-index:75;inset:0;background:transparent}.message-quick-reactions{position:fixed;left:clamp(8px,calc(var(--reaction-x) - 151px),calc(100vw - 310px));top:clamp(8px,calc(var(--reaction-y) - 52px),calc(100dvh - 52px));width:min(302px,calc(100vw - 16px));color:#fff}.context-menu.message-selection-context{left:max(320px,30vw)!important;top:0!important;width:calc(100% - max(320px,30vw));overflow:visible;padding:0;border:0;border-radius:0;background:transparent;color:#2f2c32;box-shadow:none}.mobile-selection-bar{position:relative;z-index:3;height:64px;display:flex;align-items:center;gap:4px;padding:8px 16px;background:#fff;border-bottom:1px solid #e5e2de;box-shadow:0 2px 8px #0002}.mobile-selection-bar>button{width:44px;min-height:44px;display:grid;grid-template-columns:1fr;place-items:center;padding:8px;border:0;border-radius:50%;background:transparent;color:#2f2c32}.mobile-selection-bar>button.danger{margin:0;border:0;border-radius:50%;color:var(--cp-red)}.mobile-selection-bar>button:hover,.mobile-selection-bar>button:focus-visible{background:#f1efec;outline:none}.mobile-selection-bar svg{width:24px;height:24px}.mobile-selection-count{flex:1;font-size:20px}.mobile-message-more{position:absolute;z-index:6;top:68px;right:8px;width:min(260px,calc(100vw - 16px));padding:7px;border:1px solid #343238;border-radius:14px;background:#19191a;color:#f7f7f7;box-shadow:0 12px 32px #0005}.compact-backdrop{background:#0005}.reaction-dialog{width:min(520px,calc(100% - 24px));display:flex;flex-wrap:wrap;justify-content:center;gap:4px;padding:10px;border-radius:22px;background:#fff;box-shadow:0 14px 50px #0005}.reaction-dialog button{width:43px;height:43px;border:0;border-radius:50%;background:transparent;font-size:24px}.reaction-dialog button:hover,.reaction-dialog button.active{background:#ffe5e4;transform:scale(1.08)}.message-info dl{display:grid;gap:8px;margin:0}.message-info dl>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #eee}.message-info dt{color:#777}.message-info dd{margin:0;text-align:right}.message-info h3{margin:6px 0 0;font-size:15px}.receipt-list,.forward-picker{overflow-y:auto;border:1px solid #eee;border-radius:10px}.receipt-list>div{display:grid;grid-template-columns:42px minmax(0,1fr);gap:2px 9px;align-items:center;padding:9px;border-bottom:1px solid #eee}.receipt-list .avatar{grid-row:1 / 3;width:38px;height:38px}.receipt-list small{color:#777}.forward-picker label{display:grid;grid-template-columns:auto 42px minmax(0,1fr);align-items:center;gap:9px;padding:9px;border-bottom:1px solid #eee}.forward-picker label:last-child,.receipt-list>div:last-child{border-bottom:0}.forward-picker .avatar{width:38px;height:38px}.empty,.welcome,.splash,.login{margin:auto;text-align:center}.empty{padding:25px;background:#fffc;border-radius:18px}.empty svg{color:#e02128}.welcome img,.splash img,.login img{width:200px}.login{height:100%;display:flex;max-width:420px;flex-direction:column;justify-content:center;align-items:center;padding:24px}.login h1,.welcome h1{font-family:Branding,Segoe UI;font-size:38px;margin:12px}.login button{border:0;background:#e02128;color:#fff;border-radius:8px;padding:13px 24px;font-weight:700}.login small{margin-top:16px;color:#777}.login .login-update{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;align-items:center;margin:8px 0 18px;padding:14px;text-align:left;border:1px solid #e3ded9;border-radius:14px;background:#fff;box-shadow:0 8px 24px #00000012}.login-update>svg{color:var(--cp-red)}.login-update span{display:grid;gap:3px;min-width:0}.login-update span small{margin:0}.login .login-update button{grid-column:1 / -1;width:100%}.login .login-version{display:inline-flex;align-items:center;gap:7px;margin-top:10px;padding:8px 12px;color:#5c5962;background:transparent}.login-version svg{width:18px}.splash{height:100%;display:flex;flex-direction:column;justify-content:center;gap:18px;color:#777}@media(max-width:760px){.update-banner,.session-recovery-banner{top:calc(72px + env(safe-area-inset-top));width:calc(100% - 20px);gap:10px;padding:10px 12px}.update-banner small,.session-recovery-banner small{line-height:1.25}.app-shell{display:block}.chat-list,.chat-panel{height:100%}.list-header,.chat-header{height:calc(64px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 10px 10px;gap:8px}.chat-header .avatar{width:40px;height:40px}.chat-header button{flex:0 0 40px;width:40px;height:40px;padding:8px}.mobile-hidden{display:none}.back{display:grid!important}.messages{padding:16px 12px}.bubble{max-width:86%;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.bubble *{-webkit-user-select:none;user-select:none}.message-row{width:calc(100% + 24px);margin-inline:-12px;padding-inline:12px;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.message-selection-active .message-row{padding-left:56px}.message-selection-check{left:16px}.mini-logo{width:105px}.composer{gap:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.mention-suggestions{left:8px;width:calc(100% - 16px);max-height:min(280px,38vh)}.composer button{flex:0 0 40px;width:40px;height:40px;padding:8px}.composer .mention-suggestions>button{width:100%;height:auto;min-height:54px;flex:0 0 auto;padding:7px 10px;border-radius:10px}.composer svg{width:20px}.composer textarea{padding:10px 12px}.emoji-picker{width:calc(100% - 16px);height:min(340px,42vh);margin:0 8px 6px}.emoji-grid{grid-template-columns:repeat(8,1fr);padding-inline:6px}.emoji-grid button{min-width:34px;height:38px}.context-menu.message-selection-context{left:0!important;top:0!important;width:100%;overflow:visible;padding:0;border:0;border-radius:0;background:transparent;color:#2f2c32;box-shadow:none}.mobile-selection-bar{position:relative;z-index:3;height:calc(64px + env(safe-area-inset-top));display:flex;align-items:flex-end;gap:4px;padding:calc(8px + env(safe-area-inset-top)) 8px 8px;background:#fff;border-bottom:1px solid #e5e2de;box-shadow:0 2px 8px #0002}.mobile-selection-bar>button{width:44px;min-height:44px;display:grid;grid-template-columns:1fr;place-items:center;padding:8px;border:0;border-radius:50%;background:transparent;color:#2f2c32}.mobile-selection-bar>button.danger{margin:0;border:0;border-radius:50%;color:var(--cp-red)}.mobile-selection-bar>button:active{background:#f1efec}.mobile-selection-bar svg{width:24px;height:24px}.mobile-selection-count{flex:1;align-self:center;padding-top:env(safe-area-inset-top);font-size:20px}.mobile-message-more{position:absolute;z-index:6;top:calc(68px + env(safe-area-inset-top));right:8px;width:min(260px,calc(100vw - 16px));padding:7px;border:1px solid #343238;border-radius:14px;background:#19191a;color:#f7f7f7;box-shadow:0 14px 36px #0006}.mobile-message-more>button{width:100%;min-height:44px;display:grid;grid-template-columns:34px 1fr;align-items:center;padding:7px 10px;border:0;border-radius:9px;background:transparent;color:inherit;text-align:left}.mobile-message-more svg{width:20px;height:20px}}.media{display:block;max-width:min(420px,100%);max-height:420px;border-radius:8px;margin:4px 0;object-fit:contain;background:#111}.modal-backdrop{position:fixed;inset:0;background:#0008;display:grid;place-items:center;z-index:70;padding:16px}.deferred-loading{display:flex;min-width:min(320px,100%);align-items:center;justify-content:center;gap:10px;padding:18px 22px;border-radius:14px;background:var(--cp-white);color:#514e54;box-shadow:0 18px 60px #0004}.deferred-inline,.deferred-panel{align-items:center;justify-content:center;gap:10px;color:#6b676f}.deferred-inline,.deferred-panel{flex-direction:row}.deferred-messages{display:flex;align-items:center;justify-content:center;gap:10px;color:#6b676f}.startup-unavailable{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:14px;padding:32px;text-align:center;background:#f7f7f5;color:#24222b}.startup-unavailable img{width:92px;height:92px;object-fit:contain}.startup-unavailable h1{margin:0;font-size:clamp(1.45rem,5vw,2rem)}.startup-unavailable p{max-width:440px;margin:0;color:#6b676f;line-height:1.5}.startup-unavailable button{border:0;border-radius:999px;padding:11px 20px;background:var(--cp-red);color:var(--cp-white);font-weight:700}.startup-unavailable button:disabled{background:var(--cp-gray);color:#6b676f;cursor:default}.modal{width:min(500px,100%);max-height:85vh;background:#fff;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 18px 60px #0004}.modal header{display:flex;align-items:center}.modal h2{margin:0;font-family:Branding,Segoe UI}.modal header button{margin-left:auto;border:0;background:transparent}.modal>input{padding:11px;border:1px solid #ccc;border-radius:8px}.version-dialog{max-width:480px}.version-details{display:grid;grid-template-columns:1fr 1fr;gap:10px}.version-details>div{display:grid;gap:3px;padding:14px;border:1px solid #e4e1dd;border-radius:12px;background:#f7f6f4}.version-details span,.version-details small{color:#6d6970;font-size:12px}.version-details strong{color:#242127;font-size:18px}.version-state{display:flex;align-items:center;gap:9px;margin:0;padding:11px 12px;border-radius:10px;background:#f2f1ef;color:#4a464e}.version-state svg{width:20px;flex:0 0 20px}.version-state.current{background:#eef7ef;color:#286235}.version-state.update{background:#fff0f0;color:#a8171b}.version-state.warning{background:#fff6df;color:#795b16}.version-notes{margin:0;color:#625f66;font-size:13px}.version-actions{display:flex;justify-content:flex-end;gap:8px}.version-actions button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border:1px solid #d7d4d0;border-radius:9px;background:#fff;color:#3d3941;font-weight:600}.version-actions button.primary{border-color:var(--cp-red);background:var(--cp-red);color:#fff}.version-actions svg{width:18px}.version-actions .spinning{animation:spin .8s linear infinite}.device-dialog{position:relative;max-width:620px}.device-dialog>header>div{min-width:0}.device-dialog>header h2{margin-bottom:3px}.device-dialog>header p{margin:0;color:#6d6970;font-size:13px}.device-list{display:grid;max-height:min(480px,55vh);overflow-y:auto;border-block:1px solid #ece9e5}.device-list article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 4px;border-bottom:1px solid #ece9e5}.device-list article:last-child{border-bottom:0}.device-list article.current{background:#fff8f7}.device-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#efedeb;color:#5d5960}.device-icon svg{width:22px}.device-copy{min-width:0;display:grid;gap:3px}.device-copy strong,.device-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-copy small{color:#716d73;font-size:12px}.device-copy>span{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.device-copy b,.device-copy em{display:inline-flex;align-items:center;gap:3px;padding:3px 7px;border-radius:999px;background:#f1efed;color:#5d5960;font-size:11px;font-style:normal}.device-copy b{background:#ffe6e4;color:#9d171b}.device-copy em svg{width:13px}.device-revoke,.device-actions button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;border:1px solid #d7d4d0;border-radius:9px;background:#fff;color:#8d171b;font-weight:650}.device-revoke svg,.device-actions svg{width:17px}.device-revoke:disabled,.device-actions button:disabled{opacity:.45}.device-actions{display:flex;justify-content:flex-end}.device-error,.device-empty,.device-offline{margin:0;padding:10px 12px;border-radius:9px;background:#fff2df;color:#76551b}.device-offline{display:block;font-size:12px}.device-confirm{position:absolute;inset:0;z-index:2;display:grid;align-content:center;gap:12px;padding:26px;border-radius:inherit;background:#fff}.device-confirm h3,.device-confirm p{margin:0}.device-confirm p{color:#666168}.device-confirm>div{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.device-confirm button{min-height:40px;padding:8px 13px;border:1px solid #d7d4d0;border-radius:9px;background:#fff;font-weight:650}.device-confirm button.danger{border-color:var(--cp-red);background:var(--cp-red);color:#fff}.group-info-dialog{max-width:620px}.group-info-dialog>header>div{min-width:0}.group-info-dialog>header p{margin:3px 0 0;color:#6d6970;font-size:13px}.group-info-summary{display:flex;align-items:center;gap:13px;padding:14px;border-radius:13px;background:#f7f6f4}.group-info-summary .avatar{width:54px;height:54px;background:var(--cp-red);color:#fff;font-size:18px}.group-info-summary>div{min-width:0;display:grid;gap:4px}.group-info-summary strong,.group-info-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-info-summary small{color:#6d6970}.group-info-note,.group-info-error{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border-radius:9px;background:#f1f5f1;color:#3d6744;font-size:13px}.group-info-note svg{width:18px;flex:0 0 18px}.group-info-note.offline,.group-info-error{background:#fff2df;color:#76551b}.group-member-list{display:grid;max-height:min(460px,52vh);overflow-y:auto;border-block:1px solid #ece9e5}.group-member-list article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 4px;border-bottom:1px solid #ece9e5}.group-member-list article:last-child{border-bottom:0}.group-member-list .avatar{width:42px;height:42px;background:#ebe8e4;color:#625e65}.group-member-list article>div{min-width:0;display:grid;gap:3px}.group-member-list strong,.group-member-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-member-list small{color:#6d6970;font-size:12px}.group-member-list button,.group-info-actions button{min-height:38px;padding:8px 11px;border:1px solid #d7d4d0;border-radius:9px;background:#fff;color:#8d171b;font-weight:650;white-space:nowrap}.group-member-list button:disabled,.group-info-actions button:disabled{opacity:.45}.group-info-actions{display:flex;justify-content:flex-end}.group-info-empty{display:flex;align-items:center;justify-content:center;gap:8px;min-height:110px;color:#706c73}.group-info-empty svg{width:22px}.queue-dialog{max-width:640px}.queue-dialog>header>div{min-width:0}.queue-dialog>header p{margin:3px 0 0;color:#6d6970;font-size:13px}.queue-failure-list{display:grid;max-height:min(480px,55vh);overflow-y:auto;border-block:1px solid #ece9e5}.queue-failure-list article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px 4px;border-bottom:1px solid #ece9e5}.queue-failure-list article:last-child{border-bottom:0}.queue-failure-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#fff0f0;color:var(--cp-red)}.queue-failure-icon svg{width:20px}.queue-failure-list article>div{min-width:0;display:grid;gap:3px}.queue-failure-list strong{overflow:hidden;color:#302d34;text-overflow:ellipsis;white-space:nowrap}.queue-failure-list small{display:flex;align-items:center;gap:5px;color:#706c73;font-size:12px}.queue-failure-list small svg{width:14px;height:14px;flex:0 0 14px}.queue-failure-list article>button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:1px solid #d7d4d0;border-radius:9px;background:#fff;color:#8d171b;font-weight:650}.queue-failure-list article>button:disabled{opacity:.55}.queue-failure-list article>button svg{width:16px}.queue-failure-list .spinning{animation:spin .8s linear infinite}.queue-help,.queue-empty{margin:0;color:#6d6970}.kind{display:grid;grid-template-columns:1fr 1fr;gap:8px}.kind button{display:flex;justify-content:center;gap:7px;border:1px solid #ddd;background:#fff;padding:10px;border-radius:8px}.kind button.active{border-color:#e02128;background:#fff0f0}.kind svg{width:19px}.user-picker{overflow:auto;border:1px solid #eee;border-radius:8px}.user-picker label{display:grid;grid-template-columns:auto 42px 1fr;align-items:center;gap:10px;padding:9px;border-bottom:1px solid #eee}.user-picker label:last-child{border-bottom:0}.user-picker .avatar{width:38px;height:38px}.user-picker label>span:last-child{display:flex;flex-direction:column}.user-picker small{color:#777}.primary{border:0;border-radius:8px;background:#e02128;color:#fff;padding:12px;font-weight:700}@media(max-width:520px){.version-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.version-details{grid-template-columns:1fr}.version-actions{flex-direction:column}.version-actions button{width:100%}.device-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.device-list{max-height:min(52vh,440px)}.device-list article{grid-template-columns:42px minmax(0,1fr)}.device-revoke{grid-column:2;width:100%}.device-actions button{width:100%}.device-confirm>div{flex-direction:column-reverse}.device-confirm button{width:100%}.group-info-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.group-member-list{max-height:min(48vh,420px)}.group-member-list article{grid-template-columns:42px minmax(0,1fr)}.group-member-list article>button{grid-column:2;width:100%}.group-info-actions button{width:100%}.queue-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.queue-failure-list{max-height:min(52vh,440px)}.queue-failure-list article{grid-template-columns:40px minmax(0,1fr)}.queue-failure-list article>button{grid-column:2;width:100%}}.spinner{display:block;width:18px;height:18px;border:2px solid #aaa;border-top-color:#e02128;border-radius:50%;animation:spin .8s linear infinite}.conversation-tools{position:fixed;z-index:18;top:0;right:0;bottom:0;width:min(430px,100%);display:flex;flex-direction:column;background:#fff;border-left:1px solid #deddd9;box-shadow:-12px 0 32px #0002}.conversation-tools>header{min-height:76px;display:flex;align-items:center;gap:12px;padding:max(12px,env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid #e5e4e1;background:#f6f5f3}.conversation-tools>header div{display:flex;min-width:0;flex:1;flex-direction:column}.conversation-tools>header strong{font-family:Branding,Segoe UI;font-size:20px}.conversation-tools>header small{overflow:hidden;color:#777;text-overflow:ellipsis;white-space:nowrap}.conversation-tools>header button{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#57535c}.conversation-tools>header button:hover{background:#eae8e5}.conversation-tools svg{width:20px}.conversation-search{margin:12px;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:12px;background:#f2f1ef}.conversation-search input{min-width:0;flex:1;border:0;outline:0;padding:12px 4px;background:transparent}.conversation-search span{min-width:18px;color:#777;font-size:12px;text-align:center}.tool-results{flex:1;min-height:0;overflow-y:auto;padding:4px 12px 18px}.search-result{width:100%;display:block;padding:12px;border:0;border-bottom:1px solid #eee;background:#fff;color:inherit;text-align:left}.search-result:hover,.search-result:focus-visible{border-radius:10px;background:#f6f5f3;outline:none}.search-result>span{display:flex;justify-content:space-between;gap:10px}.search-result b{color:#a8171b}.search-result time,.shared-card small,.shared-file small,.shared-link small{color:#777;font-size:11px}.search-result p{margin:6px 0 0;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow-wrap:anywhere}.tool-empty{min-height:220px;display:grid;place-content:center;justify-items:center;padding:24px;color:#777;text-align:center}.tool-empty svg{width:34px;height:34px;color:var(--cp-red)}.tool-loading{padding:8px;color:#777;font-size:12px;text-align:center}.shared-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:10px 12px;border-bottom:1px solid #eee}.shared-tabs button{display:flex;min-width:0;flex-direction:column;align-items:center;gap:3px;padding:9px 4px;border:1px solid transparent;border-radius:10px;background:transparent;color:#615d65;font-size:12px}.shared-tabs button span{min-width:21px;padding:1px 6px;border-radius:10px;background:#e7e5e2;color:#343138;font-size:10px}.shared-tabs button.active{border-color:#f0c3c2;background:#fff0f0;color:#861519}.shared-tabs button.active span{background:#fff}.shared-media{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:10px}.shared-card{min-width:0;padding:7px;border:1px solid #e5e4e1;border-radius:12px;background:#fff}.shared-card .media{width:100%;aspect-ratio:1;height:auto;object-fit:cover}.shared-card small{display:block;overflow:hidden;margin:6px 2px;text-overflow:ellipsis;white-space:nowrap}.shared-card>button,.shared-file>button,.shared-link>button{border:0;border-radius:8px;padding:7px 9px;background:#fff0f0;color:#8d161a;font-weight:600}.shared-file,.shared-link{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px 4px;border-bottom:1px solid #eee}.shared-file>svg,.shared-link>svg{color:var(--cp-red)}.shared-file>div,.shared-link>div{min-width:0;display:flex;flex-direction:column;gap:4px}.shared-file strong,.shared-link a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shared-file .voice-message{width:100%;max-width:250px}.shared-link a{color:#9d171a}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){.chat-tools button{flex:0 0 40px;width:40px;height:40px}.conversation-tools{width:100%;border-left:0}.conversation-tools>header{min-height:calc(68px + env(safe-area-inset-top));padding-top:calc(10px + env(safe-area-inset-top))}}
