.crm-chat .crm-chat-channel{padding-right:36px}.crm-inbox.crm-chat{display:flex;flex-direction:column;height:100%;min-height:0;color:var(--ink);font-family:var(--font-sans),sans-serif;gap:0}.crm-inbox.crm-chat .crm-chat-layout{display:grid;--inbox-resolved-list-width:min(var(--inbox-list-width,clamp(280px,28vw,370px)),calc(100% - 360px));grid-template-columns:minmax(0,var(--inbox-resolved-list-width)) minmax(0,1fr);flex:1;min-height:0;gap:0;border-radius:14px;border:1px solid var(--inbox-line);background:var(--inbox-surface);overflow:hidden;position:relative}.crm-chat-list{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--inbox-line);background:var(--inbox-surface)}.crm-chat-list-heading{padding:13px 16px 11px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-height:58px}.crm-chat-list-heading h2{font-size:1.3125rem;font-weight:600;letter-spacing:-.5px}.crm-chat-list-heading p{font-size:.6875rem;color:var(--inbox-secondary);margin-top:3px}.crm-chat-list-tools{display:flex;align-items:center;gap:3px;flex-wrap:nowrap}.crm-chat-list-tools>button,.crm-chat-list-tools>div>button{border-color:transparent;border-radius:8px;background:transparent;color:var(--inbox-secondary);height:30px;width:28px;padding:0}.crm-chat-list-tools>button:last-child{background:#005b41;color:#fff;width:32px;margin-left:3px;justify-content:center}.crm-chat .crm-chat-connection{height:28px;width:22px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--inbox-secondary);justify-content:center}.crm-chat-connection svg{width:13px;height:13px}.crm-chat-list-search{padding:0 16px 10px}.crm-chat-list-search>label{height:42px;border-color:var(--inbox-line);border-radius:10px;background:var(--inbox-toolbar);box-shadow:none}.crm-chat-list-search input{font-size:.8125rem;color:var(--ink)}.crm-chat-list-search input::placeholder{color:var(--inbox-secondary)}.crm-chat-filters{display:flex;gap:7px;padding:0 16px 13px;border-bottom:1px solid var(--inbox-line)}.crm-chat-filters button{border-radius:20px;padding:6px 12px;border:1px solid var(--inbox-line);background:transparent;color:var(--inbox-secondary);font-size:.75rem}.crm-chat-filters button[aria-pressed=true]{background:var(--inbox-selected);color:var(--ink);border-color:var(--inbox-selected)}.crm-chat-conversations{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin}.crm-chat .crm-chat-channel{align-items:center;gap:12px;padding:14px 16px;margin:0;border-radius:0;border-bottom:1px solid var(--inbox-line);background:var(--inbox-surface);color:var(--ink);box-shadow:none}.crm-chat .crm-chat-channel:hover{background:var(--inbox-toolbar)}.crm-chat .crm-chat-channel[aria-pressed=true]{background:var(--inbox-selected)}.crm-chat-channel>span:first-child{height:44px;width:44px;border-radius:50%;margin:0;color:var(--inbox-green);background:var(--accent-tint);overflow:hidden}.crm-chat-channel .crm-chat-avatar{width:44px;height:44px}.crm-chat .crm-chat-channel [class*="text-white/"]{color:var(--inbox-secondary)}.crm-chat-channel>span:last-child>span:first-child{gap:6px}.crm-chat-channel-time{font-size:.625rem;color:var(--inbox-secondary);font-weight:400;margin-left:auto;white-space:nowrap}.crm-chat-channel>span:last-child>span:first-child>span:first-child{font-size:.875rem;font-weight:500;flex:1}.crm-chat-channel>span:last-child>span:last-child{font-size:.75rem;font-weight:400;color:var(--inbox-secondary)}.crm-chat-list-footer{display:flex;align-items:center;justify-content:center;gap:7px;min-height:45px;padding:10px;border-top:1px solid var(--inbox-line);font-size:.625rem;color:var(--inbox-secondary)}.crm-chat-main{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:var(--inbox-canvas)}.crm-chat-thread-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 18px;min-height:73px;background:var(--inbox-toolbar);border-bottom:1px solid var(--inbox-line);flex-shrink:0}.crm-chat-thread-header h3{font-size:.9375rem;font-weight:600}.crm-chat-thread-header p{font-size:.75rem;color:var(--inbox-secondary)}.crm-chat-thread-header button{border-color:transparent;border-radius:8px;background:transparent;color:var(--inbox-secondary)}.crm-chat-back{display:grid;place-items:center;width:31px;height:33px;flex-shrink:0}.crm-chat-thread-header>div:last-child{gap:5px}.crm-chat .crm-chat-history-search{padding:8px 18px;background:var(--inbox-toolbar);border-color:var(--inbox-line)}.crm-chat-history-search label{font-size:.75rem}.crm-chat-history-search button,.crm-chat-history-search label{height:34px;background:var(--inbox-surface);border-color:var(--inbox-line);border-radius:8px}.crm-chat-history-search button{font-size:.6875rem}.crm-chat-messages{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:24px clamp(18px,4vw,62px);background:var(--inbox-canvas)}.crm-chat-message{padding:0 0 1px}.crm-chat .crm-chat-bubble{position:relative;border:0;max-width:82%;min-width:150px;border-radius:0 9px 9px 9px;background:var(--inbox-surface);color:var(--ink);padding:8px 12px;box-shadow:0 1px 2px rgb(11 20 26/10%)}.crm-chat-bubble:before{content:"";position:absolute;left:-7px;top:0;border-top:8px solid var(--inbox-surface);border-left:8px solid transparent}.crm-chat .crm-chat-bubble[data-own=true]{background:var(--inbox-outbound);color:#142a22;border-radius:9px 0 9px 9px}.crm-chat-bubble[data-own=true]:before{left:auto;right:-7px;border-left:0;border-top-color:var(--inbox-outbound);border-right:8px solid transparent}.crm-chat-bubble>div:first-child{font-size:.625rem;font-weight:400;gap:7px;color:var(--inbox-secondary)}.crm-chat-bubble>div:first-child>span:first-child{font-weight:600;color:var(--inbox-green)}.crm-chat-bubble>div:first-child>span:nth-child(2){font-size:.5625rem}.crm-chat .crm-chat-bubble p{font-size:.8125rem;line-height:1.65;color:inherit}.crm-chat .crm-chat-bubble[data-own=true] .text-white,.crm-chat .crm-chat-bubble[data-own=true] [class*="text-white/"]{color:#526e61}.crm-chat .crm-chat-bubble[data-own=true]>div:first-child>span:first-child{color:#47745e}.crm-chat .crm-chat-bubble[data-own=true] button{color:#526e61}.crm-chat .crm-chat-bubble[data-own=true] [class*="border-white/"]{border-color:#b6d0c2}.crm-chat .crm-chat-bubble[data-own=true] [class*="bg-white/"]{background:rgb(255 255 255/35%)}.crm-chat-bubble button:focus-visible{outline:2px solid var(--inbox-green);outline-offset:2px}.crm-chat .crm-chat-typing{background:var(--inbox-canvas);border-color:transparent;min-height:24px;color:var(--inbox-secondary);font-size:.6875rem}.crm-chat .crm-chat-composer{background:var(--inbox-toolbar);padding:12px 16px;border-color:var(--inbox-line);flex-shrink:0}.crm-chat-compose-row{align-items:center;gap:8px}.crm-chat-composer textarea{resize:none;border:0;border-radius:10px;background:var(--inbox-surface);color:var(--ink);min-height:44px;height:44px;max-height:104px;padding:11px 14px;display:block;font-size:.8125rem;line-height:1.375rem;box-shadow:none}.crm-chat-compose-row>button,.crm-chat-compose-row>div>button{border:0;border-radius:50%;background:transparent;color:var(--inbox-secondary)}.crm-chat-compose-row>button[type=submit]{background:#005b41;color:#fff;width:41px;height:41px}.crm-chat-avatar{border-radius:50%!important;background-color:var(--accent-tint)!important;color:var(--accent-strong)!important}.crm-chat .crm-chat-welcome{min-height:0;gap:17px}.crm-chat-welcome h2{font-size:1.5rem;font-weight:600;line-height:1.3;letter-spacing:-.5px}.crm-chat-welcome p{color:var(--inbox-secondary)}.crm-chat-welcome-new{display:grid;place-items:center;background:#005b41;color:#fff;width:50px;height:50px;border-radius:11px;margin:5px 0}.crm-chat-welcome-new:disabled{opacity:.5}.crm-chat-welcome .crm-inbox-empty-caption{bottom:44px;font-size:.6875rem}.crm-chat-welcome .crm-inbox-welcome-summary{font-size:.8125rem}.crm-inbox.crm-chat{container:chat/inline-size}.crm-inbox.crm-chat .crm-chat-layout.crm-chat-with-participants{grid-template-rows:minmax(0,1fr) minmax(0,min(36%,260px))}.crm-chat-with-participants .crm-chat-list{grid-column:1;grid-row:1/3}.crm-chat-with-participants .crm-chat-main{grid-column:2;grid-row:1}.crm-chat-with-participants .crm-chat-participants{display:flex;position:static;grid-column:2;grid-row:2;width:auto;min-width:0;min-height:0;background:var(--inbox-surface);border-left:0;border-top:1px solid var(--inbox-line);box-shadow:none}.crm-chat-participants>div:first-child{background:var(--inbox-toolbar);min-height:56px;flex-shrink:0}.crm-chat-participants>div:last-child{scrollbar-width:thin;overscroll-behavior:contain}@container chat (min-width:1100px){.crm-inbox.crm-chat .crm-chat-layout.crm-chat-with-participants{--inbox-resolved-list-width:min(var(--inbox-list-width,clamp(280px,28vw,370px)),calc(100% - 660px));grid-template-columns:minmax(0,var(--inbox-resolved-list-width)) minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr)}.crm-chat-with-participants .crm-chat-list{grid-row:1}.crm-chat-with-participants .crm-chat-participants{grid-column:3;grid-row:1;border-top:0;border-left:1px solid var(--inbox-line)}}.crm-chat-dialog-backdrop{position:fixed;inset:0;z-index:260;display:flex;align-items:center;justify-content:center;background:rgb(11 20 26/45%);padding:20px}.crm-chat-dialog{width:min(580px,100%);max-height:90dvh;overflow-y:auto;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 60px rgb(0 0 0/20%)}.crm-chat-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:19px 20px;border-bottom:1px solid var(--line);gap:16px}.crm-chat-dialog h3{font-size:1.1875rem;font-weight:600}.crm-chat-dialog h4{font-size:.8125rem;font-weight:600;padding:17px 20px 0}.crm-chat-dialog>div{border-top:0;padding:14px 20px 20px}.crm-chat-dialog form{border:0;padding:16px 20px 20px}.crm-chat-dialog input,.crm-chat-dialog select,.crm-chat-dialog textarea{border-radius:7px}.crm-chat button:focus-visible,.crm-chat-dialog button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.crm-chat-dialog fieldset{border:0}.crm-chat-dialog [role=alert]{color:var(--semantic-error,#b42318)}@media(max-width:760px){.crm-inbox.crm-chat{height:calc(100dvh - 48px);min-height:380px}.crm-inbox.crm-chat .crm-chat-layout{display:flex}.crm-chat-list{width:100%;border:0}.crm-chat-main{display:none;width:100%}.crm-chat-selected .crm-chat-list{display:none}.crm-chat-selected .crm-chat-main{display:flex}.crm-chat-thread-header{padding:10px;gap:6px;min-height:65px}.crm-chat-thread-header>div:last-child{margin-left:auto}.crm-chat-thread-header h3{max-width:54vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-chat .crm-chat-history-search{padding:7px 10px;flex-direction:row;align-items:center;gap:5px}.crm-chat-history-search>div{flex-shrink:0}.crm-chat-history-search button{padding:0 8px}.crm-chat-history-search button svg{width:13px;height:13px}.crm-chat-messages{padding:20px 16px}.crm-chat .crm-chat-bubble{max-width:94%;min-width:0}.crm-chat-bubble>div:first-child>div:last-child{gap:2px}.crm-chat-bubble>div:first-child>div:last-child button{font-size:.625rem;padding:2px}.crm-chat .crm-chat-composer{padding:10px 8px}.crm-chat-compose-row{gap:5px;flex-wrap:wrap}.crm-chat-compose-row>button{width:33px;height:39px}.crm-chat-compose-row>div.relative{flex:1;min-width:100px}.crm-chat-compose-row>div:not(.relative){max-width:100%}.crm-chat-welcome .crm-inbox-empty-caption{bottom:20px}.crm-chat-dialog-backdrop{padding:12px}.crm-chat-dialog{max-height:94dvh}.crm-chat-dialog>header{padding:15px}.crm-chat-welcome h2{font-size:1.3125rem}}.crm-chat .crm-chat-composer textarea:focus,.crm-chat .crm-chat-composer textarea:focus-visible{outline:1px solid var(--inbox-green);outline-offset:0;box-shadow:none}.crm-chat-colleague-options{z-index:270}.crm-chat-messages-wrap{position:relative;display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}.crm-chat-messages:focus-visible{outline:1px solid var(--inbox-green);outline-offset:-1px}.crm-chat-pending-summary{padding:7px 14px;background:var(--inbox-toolbar);color:var(--ink);border-bottom:1px solid var(--inbox-line);font-size:.75rem}.crm-chat-pending-summary button{text-decoration:underline;font-weight:600}.crm-chat-pending progress{height:4px;accent-color:var(--inbox-green)}.crm-chat-pending progress::-webkit-progress-bar{background:var(--inbox-line);border-radius:8px}.crm-chat-pending progress::-webkit-progress-value{background:var(--inbox-green);border-radius:8px}.crm-chat-unread-divider{display:flex;align-items:center;gap:12px;color:var(--inbox-green);font-size:.6875rem;font-weight:600;padding:12px 0 18px}.crm-chat-unread-divider:after,.crm-chat-unread-divider:before{content:"";height:1px;flex:1;background:var(--inbox-line)}.crm-chat-new-messages{position:absolute;right:16px;bottom:12px;z-index:5;border:1px solid var(--inbox-line);border-radius:20px;padding:8px 14px;background:var(--inbox-surface);color:var(--ink);font-size:.75rem;box-shadow:0 3px 12px #0002}.crm-chat-pending{margin-top:12px;opacity:.88}.crm-chat-delivery-status{display:block;font-size:.625rem;opacity:.8;margin-top:4px}.crm-chat-delivery-error{font-size:.6875rem;margin-top:8px}.crm-chat-delivery-error button{margin:6px 10px 0 0;text-decoration:underline;font-weight:600}.crm-chat-load-newer{border:1px solid var(--inbox-line);border-radius:16px;padding:6px 12px;color:var(--ink);background:var(--inbox-surface);font-size:.6875rem}.crm-chat-new-tabs{display:flex;gap:6px;padding:12px 20px 0}.crm-chat-new-tabs button{flex:1;padding:10px 8px;border-bottom:2px solid transparent;color:var(--ink-soft);font-size:.8125rem}.crm-chat-new-tabs button[aria-selected=true]{border-color:var(--accent-strong);color:var(--accent-strong);font-weight:600}.crm-chat-colleague-search{display:flex;align-items:center;gap:8px;margin:14px 20px;border:1px solid var(--line);border-radius:9px;padding:10px 12px;color:var(--ink-soft)}.crm-chat-colleague-search input{width:100%;min-width:0;background:transparent;color:var(--ink);font-size:.8125rem;outline:none}.crm-chat-colleague-list{min-height:180px;max-height:min(52dvh,420px);overflow-y:auto;padding:0 12px 14px}.crm-chat-colleague-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 10px;border-radius:9px;font-size:.8125rem}.crm-chat-colleague-row:focus-visible,.crm-chat-colleague-row:hover{background:var(--accent-tint)}.crm-chat-colleague-row:disabled{opacity:.5}@media(max-width:760px){.crm-inbox.crm-chat .crm-chat-layout.crm-chat-with-participants{flex-direction:column}.crm-chat-with-participants .crm-chat-main{flex:1 1 0%;min-height:0}.crm-chat-with-participants .crm-chat-participants{flex:0 1 240px;max-height:36%;width:100%}}