.cm-inbox{--cm-measure: 920px;container:cm-inbox / inline-size;display:flex;flex-direction:column;height:100%;min-height:0;background:#fff;color:#0f172a;font-size:13px}.cm-inbox-header{padding:8px 16px 4px}.cm-columns{--cm-list-w: clamp(280px, 28cqi, 340px);flex:1;min-height:0;display:grid;grid-template-columns:var(--cm-list-w) minmax(0,1fr) clamp(260px,24cqi,300px);border-top:1px solid #e2e8f0}.cm-inbox:not(.has-selection) .cm-columns{grid-template-columns:var(--cm-list-w) minmax(0,1fr)}.cm-list{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid #e2e8f0;background:#fff}.cm-list-tools{display:grid;gap:10px;padding:12px 12px 10px;border-bottom:1px solid #eef2f6}.cm-search{min-width:0;flex:none;width:100%;height:34px;padding:0 10px;border-color:#e2e8f0;border-radius:9px;background:#f8fafc}.cm-search:focus-within{background:#fff}.cm-search-row{display:flex;gap:6px;min-width:0}.cm-search-row .cm-search{flex:1 1 auto;width:auto}.cm-new{display:inline-flex;flex:none;align-items:center;gap:5px;height:34px;padding:0 10px;border-radius:9px;background:#0f766e;color:#fff;font-size:12.5px;font-weight:600}.cm-new:hover{background:#115e59}.cm-new:focus-visible{outline:2px solid #5eead4;outline-offset:2px}.cm-new-from-search{display:block;margin:8px auto 0;color:#0f766e;font-weight:600;text-decoration:underline}.cm-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:3px;border-radius:10px;background:#f1f5f9}.cm-segments>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;height:28px;padding:0 8px;border-radius:8px;color:#475569;font-size:12.5px;font-weight:600;white-space:nowrap;transition:background-color .12s,color .12s,box-shadow .12s}.cm-segments>button:hover{color:#0f172a}.cm-segments>button.is-active{background:#fff;color:#0f172a;box-shadow:0 1px 2px #0f172a14,0 0 0 1px #0f172a0a}.cm-segment-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#0f766e;color:#fff;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}.cm-filters{display:flex;flex-wrap:wrap;align-items:center;gap:2px 4px}.cm-filters>button,.cm-more>button{display:inline-flex;align-items:center;gap:4px;height:26px;min-height:0;padding:0 8px;border-radius:7px;color:#475569;font-size:12px;font-weight:500;white-space:nowrap;transition:background-color .12s,color .12s}.cm-filters>button:hover,.cm-more>button:hover{background:#f1f5f9;color:#0f172a}.cm-filters>button.is-active,.cm-more>button.is-active{background:#ccfbf1;color:#115e59;font-weight:600}.cm-more{position:relative}.cm-more-menu{position:absolute;z-index:20;top:calc(100% + 4px);left:0;display:grid;min-width:170px;padding:4px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;box-shadow:0 8px 24px #0f172a1f}.cm-more-menu>button{height:30px;padding:0 10px;border-radius:6px;text-align:left;font-size:12.5px;color:#334155}.cm-more-menu>button:hover,.cm-more-menu>button[aria-checked=true]{background:#f1f5f9;color:#0f172a}.cm-filters>.cm-unread-toggle{margin-left:auto}.cm-unassigned{display:flex;align-items:center;gap:6px;width:100%;padding:6px 10px;border-radius:8px;background:#fef3c7;color:#92400e;font-size:12px;font-weight:600;text-align:left}.cm-unassigned:hover,.cm-unassigned.is-active{background:#fde68a}.cm-assignee{display:inline-flex;flex:none;align-items:center;justify-content:center;border-radius:999px;background:#e2e8f0;color:#334155;font-weight:700;letter-spacing:.01em;-webkit-user-select:none;user-select:none}.cm-assignee.is-sm{width:22px;height:22px;font-size:9.5px}.cm-assignee.is-xs{width:18px;height:18px;font-size:8.5px}.cm-assignee svg{width:62%;height:62%}.cm-assignee.is-agent{background:#ede9fe;color:#5b21b6}.cm-assignee.is-mine{background:#0f766e;color:#fff}.cm-assignee.is-missing{background:#fef3c7;color:#92400e}.cm-assignee.is-tone-0{background:#ccfbf1;color:#0f766e}.cm-assignee.is-tone-1{background:#e0f2fe;color:#075985}.cm-assignee.is-tone-2{background:#fce7f3;color:#9d174d}.cm-assignee.is-tone-3{background:#fef3c7;color:#92400e}.cm-assignee.is-tone-4{background:#e2e8f0;color:#334155}.cm-assignee.is-tone-5{background:#dcfce7;color:#166534}.cm-item-owner{display:inline-flex;margin-left:auto;padding-left:4px}.cm-list-error{display:flex;align-items:center;gap:6px;margin:8px 12px 0}.cm-list-items{position:relative;flex:1;min-height:0;overflow-y:auto;padding:6px;scrollbar-width:thin}.cm-list-items>li+li{margin-top:2px}.cm-list-note{padding:18px 14px;text-align:center;color:#64748b;font-size:12px;line-height:1.5}.cm-item{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border-radius:10px;text-align:left;transition:background-color .12s}.cm-item:hover{background:#f8fafc}.cm-item.is-selected{background:#f0fdfa;box-shadow:inset 0 0 0 1px #99f6e4}.cm-item-main{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;flex:1;min-width:0}.cm-item-top{display:flex;align-items:baseline;gap:8px}.cm-item-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600}.cm-item-time{flex:none;font-size:11px;color:#64748b;font-variant-numeric:tabular-nums}.cm-item-middle{display:flex;align-items:center;gap:8px;min-width:0}.cm-item-preview{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:12.5px}.cm-item.is-unread .cm-item-name{font-weight:700}.cm-item.is-unread .cm-item-preview{font-weight:600;color:#0f172a}.cm-item.is-unread .cm-item-time{color:#0f766e;font-weight:600}.cm-item-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;margin-top:1px}.cm-unread{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#0f766e;color:#fff;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}.cm-chip{display:inline-block;max-width:160px;padding:0 7px;height:18px;border-radius:999px;font-size:10.5px;font-weight:600;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f1f5f9;color:#475569}.cm-chip.is-ok{background:#d1fae5;color:#065f46}.cm-chip.is-warn{background:#fef3c7;color:#92400e}.cm-chip.is-bad{background:#ffe4e6;color:#9f1239}.cm-chip.is-info{background:#e0f2fe;color:#075985}.cm-chip.is-lead{background:#fce7f3;color:#9d174d}.cm-chip.is-agent{background:#ede9fe;color:#5b21b6}.cm-thinking{display:inline-flex;align-items:center;animation:cm-thinking-pulse 1.6s ease-in-out infinite}.cm-thinking-dots span{animation:cm-thinking-dot 1.2s infinite;opacity:.2}.cm-thinking-dots span:nth-child(2){animation-delay:.2s}.cm-thinking-dots span:nth-child(3){animation-delay:.4s}@keyframes cm-thinking-dot{0%,60%,to{opacity:.2}30%{opacity:1}}@keyframes cm-thinking-pulse{0%,to{background:#ede9fe}50%{background:#ddd6fe}}@media(prefers-reduced-motion:reduce){.cm-thinking,.cm-thinking-dots span{animation:none;opacity:1}}.cm-channel{display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;color:#fff;background:#64748b}.cm-channel svg{width:17px;height:17px}.cm-channel.is-sm{width:22px;height:22px}.cm-channel.is-sm svg{width:12px;height:12px}.cm-channel.is-badge{position:absolute;right:-3px;bottom:-3px;width:18px;height:18px;box-shadow:0 0 0 2px #fff}.cm-channel.is-badge svg{width:10px;height:10px}.cm-channel.is-whatsapp{background:#16a34a}.cm-channel.is-telegram{background:#0284c7}.cm-channel.is-sms{background:#7c3aed}.cm-channel.is-email{background:#ea580c}.cm-channel.is-voice{background:#0f766e}.cm-avatar{position:relative;display:inline-flex;flex:none;width:40px;height:40px}.cm-avatar-face{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:999px;background:#e2e8f0;color:#334155;font-size:14px;font-weight:600;letter-spacing:.01em;-webkit-user-select:none;user-select:none}.cm-avatar-face svg{width:20px;height:20px;opacity:.85}.cm-avatar.is-tone-0 .cm-avatar-face{background:#ccfbf1;color:#0f766e}.cm-avatar.is-tone-1 .cm-avatar-face{background:#e0f2fe;color:#075985}.cm-avatar.is-tone-2 .cm-avatar-face{background:#ede9fe;color:#5b21b6}.cm-avatar.is-tone-3 .cm-avatar-face{background:#fce7f3;color:#9d174d}.cm-avatar.is-tone-4 .cm-avatar-face{background:#fef3c7;color:#92400e}.cm-avatar.is-lg{width:64px;height:64px}.cm-avatar.is-lg .cm-avatar-face{font-size:22px}.cm-avatar.is-lg .cm-avatar-face svg{width:30px;height:30px}.cm-avatar.is-lg .cm-channel.is-badge{right:-1px;bottom:-1px;width:22px;height:22px}.cm-avatar.is-lg .cm-channel.is-badge svg{width:12px;height:12px}.cm-item.is-selected .cm-channel.is-badge{box-shadow:0 0 0 2px #f0fdfa}.cm-main{container:cm-main / inline-size;display:flex;flex-direction:column;min-width:0;min-height:0;background:#f5f7fa}.cm-placeholder{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#64748b;padding:24px;text-align:center}.cm-placeholder-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin-bottom:8px;border-radius:999px;background:#e8edf3;color:#94a3b8}.cm-placeholder-icon svg{width:28px;height:28px}.cm-placeholder-title{font-size:15px;font-weight:600;color:#334155}.cm-control{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:61px;padding:10px 16px;background:#fff;border-bottom:1px solid #e2e8f0}.cm-control-who{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 240px}.cm-back{display:none}.cm-control-name{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;min-width:0;flex:1}.cm-control-head{display:flex;align-items:center;gap:8px;min-width:0}.cm-control-head .cm-chip{flex:0 1 auto;min-width:0}.cm-control-title{flex:0 1 auto;min-width:min(100%,8ch);font-size:15px;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-control-text{flex:1 1 0;min-width:0;font-size:12px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-control-sub{font-size:12px;color:#64748b;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-control-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-left:auto}.cm-owner{display:inline-flex;align-items:center;gap:6px;min-width:0;margin-right:4px}.cm-owner-label{font-size:11.5px;color:#64748b;white-space:nowrap}.cm-owner-button{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:220px;height:32px;padding:0 8px 0 5px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#0f172a;font-size:12.5px;font-weight:600}.cm-owner-button:hover:not(:disabled):not(.is-static){border-color:#99f6e4;background:#f0fdfa}.cm-owner-button.is-static{border-color:transparent}.cm-owner.is-missing .cm-owner-button{border-color:#fcd34d;background:#fffbeb;color:#92400e}.cm-owner-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-thread-wrap{position:relative;flex:1 1 0;min-height:0;display:flex}.cm-thread{position:relative;flex:1;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 20px 18px;scrollbar-width:thin}.cm-thread-content{display:flex;flex-direction:column;gap:8px;width:100%;min-width:0;max-width:var(--cm-measure);margin:0 auto}.cm-older{display:flex;justify-content:center;padding:4px 0 8px}.cm-older>button{height:26px;min-height:0;padding:0 12px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;font-size:12px;color:#334155}.cm-older>button:hover:not(:disabled){background:#f8fafc}.cm-thread-empty{margin:24px auto;color:#64748b}.cm-day{display:flex;align-items:center;gap:12px;margin:8px 0 2px}.cm-day:before,.cm-day:after{content:"";flex:1;height:1px;background:#e2e8f0}.cm-day>span{display:inline-block;padding:2px 10px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font-size:11px;font-weight:600}.cm-day>span:first-letter{text-transform:uppercase}.cm-system{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:0 6px;margin:0 auto;max-width:80%;padding:0 10px;color:#64748b;font-size:11.5px;line-height:1.5;text-align:center;overflow-wrap:anywhere}.cm-system time{color:#94a3b8;font-variant-numeric:tabular-nums}.cm-system.is-resolved{display:block;cursor:pointer}.cm-system.is-resolved summary{list-style:none}.cm-system.is-resolved summary::-webkit-details-marker{display:none}.cm-resolved-text{display:block;margin-top:4px;padding:6px 10px;border-radius:8px;background:#fff;color:#475569;white-space:pre-wrap;text-align:left}.cm-said{display:inline-flex;align-items:center;gap:3px}.cm-call{display:flex;flex-direction:column;gap:6px;width:min(420px,92%);margin:2px auto;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.cm-call-head{display:flex;align-items:center;gap:10px}.cm-call-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:#ccfbf1;color:#0f766e}.cm-call-icon svg{width:16px;height:16px}.cm-call.is-missed .cm-call-icon{background:#fee2e2;color:#b91c1c}.cm-call.is-voicemail .cm-call-icon{background:#ede9fe;color:#6d28d9}.cm-call.is-live{border-color:#5eead4;box-shadow:0 0 0 3px #ccfbf1}.cm-call.is-live .cm-call-icon{animation:cm-call-pulse 1.6s ease-in-out infinite}@keyframes cm-call-pulse{50%{box-shadow:0 0 0 5px #99f6e4}}@media(prefers-reduced-motion:reduce){.cm-call.is-live .cm-call-icon{animation:none}}.cm-call-title{color:#0f172a;font-size:13px;font-weight:600}.cm-call-detail{color:#475569;font-size:12px}.cm-call-head time{margin-left:auto;color:#94a3b8;font-size:11.5px;font-variant-numeric:tabular-nums}.cm-call-steps summary{color:#475569;font-size:12px;cursor:pointer}.cm-call-steps ol{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}.cm-call-steps li{display:flex;gap:8px;color:#334155;font-size:12px}.cm-call-steps li time{flex:none;width:54px;color:#94a3b8;font-variant-numeric:tabular-nums}.cm-events{display:flex;flex-direction:column;align-items:center;gap:3px}.cm-events-toggle{display:inline-flex;align-items:center;gap:3px;height:22px;min-height:0;margin-bottom:2px;padding:0 10px 0 6px;border-radius:999px;background:#e8edf3;color:#64748b;font-size:11px;font-weight:500}.cm-events-toggle:hover{background:#dde4ec;color:#334155}.cm-events-toggle svg{width:13px;height:13px}.cm-row{display:flex;min-width:0}.cm-row.is-contact{justify-content:flex-start}.cm-row.is-staff,.cm-row.is-agent,.cm-row.is-note,.cm-row.is-whisper{justify-content:flex-end}.cm-row.is-continued{margin-top:-5px}.cm-bubble{min-width:0;max-width:min(70%,560px);padding:8px 12px 6px;border:1px solid #e5e9ef;border-radius:16px;background:#fff;box-shadow:0 1px 2px #0f172a0a;font-size:13.5px}.cm-bubble.is-contact{border-bottom-left-radius:5px}.cm-bubble.is-staff{background:#d9f2ea;border-color:#c3e8dc;border-bottom-right-radius:5px}.cm-bubble.is-agent{background:#ede9fe;border-color:#ddd6fe;border-bottom-right-radius:5px}.cm-bubble.is-note{background:#fefce8;border:1px dashed #eab308;box-shadow:none}.cm-bubble.is-whisper{background:#f5f3ff;border:1px dashed #8b5cf6;box-shadow:none}.cm-bubble.is-failed{border:1px solid #fda4af}.cm-author{display:flex;align-items:center;gap:4px;min-width:0;margin-bottom:2px;font-size:11.5px;font-weight:600;color:#0f766e;overflow-wrap:anywhere}.cm-author svg{flex:none}.cm-bubble.is-agent .cm-author,.cm-bubble.is-whisper .cm-author{color:#6d28d9}.cm-bubble.is-note .cm-author{color:#a16207}.cm-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.cm-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:0 4px;margin-top:2px;font-size:10.5px;color:#0f172a8c;font-variant-numeric:tabular-nums}.cm-delivery{display:inline-flex}.cm-tick{width:14px;height:14px;color:#0f172a80}.cm-tick.is-read{color:#0284c7}.cm-tick.is-error{color:#e11d48}.cm-bubble.is-deleted .cm-text,.cm-bubble.is-deleted .cm-attachments{opacity:.55}.cm-deleted{display:flex;align-items:center;gap:4px;margin-bottom:2px;font-size:11.5px;font-weight:600;color:#9f1239}.cm-unsupported{margin-bottom:4px;padding:4px 8px;border-radius:8px;background:#f1f5f9;color:#334155;font-size:12px}.cm-edited{font-style:italic}.cm-revisions{margin-top:4px;font-size:12px;color:#0f172ab3}.cm-revisions summary{cursor:pointer;width:fit-content}.cm-revisions ol{margin:4px 0 0;padding-left:18px;list-style:decimal}.cm-revisions li{white-space:pre-wrap;overflow-wrap:anywhere;text-decoration:line-through;text-decoration-color:#0f172a59}.cm-failure{margin-top:4px;padding:4px 8px;border-radius:8px;background:#fff1f2;color:#9f1239;font-size:12px;overflow-wrap:anywhere}.cm-suggestion{min-width:0;max-width:min(70%,560px);padding:10px 12px;border-radius:16px;border:1px dashed #8b5cf6;background:#faf5ff;font-size:13.5px}.cm-suggestion .cm-author{color:#6d28d9}.cm-suggestion.is-editing{width:100%}.cm-suggestion-edit{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:64px;max-height:min(50vh,420px);margin:2px 0;padding:6px 8px;border:1px solid #c4b5fd;border-radius:8px;outline:0;background:#fff;font:inherit;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:hidden;overflow-y:auto;resize:none;scrollbar-width:thin}.cm-suggestion-edit:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf629}.cm-suggestion-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.cm-suggestion-todo{display:flex;flex-direction:column;gap:4px;min-width:0;margin-top:8px;padding:6px 8px;border-radius:8px;background:#fff;border:1px solid #ddd6fe;overflow-wrap:anywhere}.cm-suggestion-todo-title{color:#6d28d9;font-size:12px;font-weight:600}.cm-suggestion-todo ul,.cm-resolved-actions{margin:0;padding-left:18px;list-style:disc}.cm-resolved-actions{margin-top:4px;color:#475569;text-align:left}.cm-new-messages{position:absolute;left:50%;bottom:12px;transform:translate(-50%);display:inline-flex;align-items:center;gap:4px;max-width:calc(100% - 24px);white-space:nowrap;height:30px;min-height:0;padding:0 14px;border-radius:999px;background:#0f766e;color:#fff;font-size:12px;font-weight:500;box-shadow:0 4px 12px #0f172a2e}.cm-new-messages:hover{background:#115e59}.cm-attachments{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin:2px 0 4px}.cm-attachment{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;max-width:100%;font-size:12px}.cm-attachment.is-missing{color:#64748b;font-style:italic}.cm-attachment.is-image img{display:block;max-width:min(260px,100%);max-height:260px;border-radius:10px;object-fit:cover}.cm-image-placeholder{display:flex;align-items:center;justify-content:center;width:200px;max-width:100%;height:140px;border-radius:10px;background:#e2e8f0;color:#64748b}.cm-attachment.is-media{height:32px;min-height:0;padding:0 10px;border-radius:999px;background:#ffffffb3;border:1px solid #cbd5e1}.cm-attachment.is-player audio{width:260px;max-width:100%}.cm-attachment.is-player video{max-width:min(320px,100%);max-height:260px;border-radius:10px}.cm-attachment.is-file{padding:4px 6px;border-radius:8px;background:#ffffffb3;border:1px solid #e2e8f0}.cm-file-name{flex:1;min-width:0;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.cm-file-size{color:#64748b}.cm-file-error{flex-basis:100%;color:#9f1239}.cm-caption{flex-basis:100%;color:#475569;overflow-wrap:anywhere}.cm-audio{display:grid;gap:4px;min-width:0}.cm-transcript{display:flex;gap:6px;margin:0;padding:6px 8px;border-left:3px solid #99f6e4;border-radius:6px;background:#fff9;color:#334155;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.cm-transcript svg{margin-top:2px;color:#0f766e}.cm-transcribe{display:inline-flex;align-items:center;gap:4px;justify-self:start;padding:2px 4px;border-radius:6px;color:#0f766e;font-size:12px;font-weight:500}.cm-transcribe:hover:not(:disabled){background:#f0fdfa}.cm-transcribe:disabled{color:#64748b}.cm-fieldset{display:grid;gap:6px;margin:0;padding:10px 12px 12px;border:1px solid #e2e8f0;border-radius:10px}.cm-fieldset legend{padding:0 4px;font-size:13px;font-weight:600;color:#334155}.cm-attachment figcaption{margin-top:2px;color:#475569;overflow-wrap:anywhere}.cm-composer{flex:none;max-height:70%;overflow-y:auto;padding:10px 20px 14px;border-top:1px solid #e2e8f0;background:#fff;scrollbar-width:thin}.cm-composer-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;max-width:var(--cm-measure);margin:0 auto}.cm-composer.is-readonly{color:#64748b;font-size:12px;text-align:center;padding:14px}.cm-composer-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 16px}.cm-composer-modes{display:inline-flex;flex-wrap:wrap;gap:2px;max-width:100%;padding:3px;border-radius:9px;background:#f1f5f9}.cm-composer-modes>button{display:inline-flex;align-items:center;gap:5px;height:26px;min-height:0;padding:0 10px;border-radius:7px;font-size:12px;font-weight:500;color:#475569;white-space:nowrap}.cm-composer-modes>button:hover{color:#0f172a}.cm-composer-modes>button.is-active{background:#fff;color:#0f172a;box-shadow:0 1px 2px #0f172a24}.cm-composer.is-note .cm-composer-modes>button.is-active{color:#a16207}.cm-composer.is-whisper .cm-composer-modes>button.is-active{color:#6d28d9}.cm-purpose-select{flex:1 1 240px;min-width:0;max-width:340px}.cm-purpose-hint{margin:0;padding:6px 10px;overflow-wrap:anywhere;border:1px solid #fde68a;border-radius:8px;background:#fffbeb;color:#92400e;font-size:12px}.cm-box{display:flex;flex-direction:column;min-width:0;border:1px solid #cbd5e1;border-radius:12px;background:#fff;transition:border-color .12s,box-shadow .12s}.cm-box:focus-within{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f}.cm-composer.is-note .cm-box{border:1px dashed #eab308;background:#fefce8}.cm-composer.is-note .cm-box:focus-within{box-shadow:0 0 0 3px #eab3082e}.cm-composer.is-whisper .cm-box{border:1px dashed #8b5cf6;background:#faf5ff}.cm-composer.is-whisper .cm-box:focus-within{box-shadow:0 0 0 3px #8b5cf629}.cm-input{display:block;width:100%;min-width:0;min-height:40px;max-height:180px;padding:10px 12px 4px;border:0;outline:0;background:transparent;font-size:13.5px;line-height:1.45;resize:none}.cm-input::placeholder{color:#94a3b8}.cm-box-bar{display:flex;align-items:center;gap:6px;min-width:0;padding:2px 6px 6px}.cm-box-bar>.dg-iconbtn,.cm-box-bar>button{flex:none}.cm-box-hint{flex:0 1 auto;min-width:0;padding-left:6px;font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-box-hint kbd{padding:0 4px;border:1px solid #e2e8f0;border-radius:4px;background:#f8fafc;color:#64748b;font:inherit}.cm-counter{flex:none;font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums}.cm-counter.is-over{color:#e11d48;font-weight:700}.cm-composer-error{margin:0;color:#9f1239;font-size:12px}.cm-pending{display:flex;flex-wrap:wrap;gap:4px;padding:8px 8px 0}.cm-pending>li{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;padding:0 2px 0 8px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;font-size:12px}.cm-template{display:grid;gap:6px}.cm-template-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;min-width:0;padding:10px 12px;border:1px solid #fde68a;border-radius:12px;background:#fff}.cm-template-name{flex:1 1 180px;min-width:0;max-width:260px}.cm-template-language{flex:none;width:80px}.cm-template-params{flex:1 1 260px;min-width:0}.cm-template-params textarea{min-height:56px}.cm-context{position:relative;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;border-left:1px solid #e2e8f0;background:#fff;padding:0 16px 16px;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;scrollbar-width:thin}.cm-profile{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:2px;padding:24px 0 18px;text-align:center}.cm-profile .cm-avatar{margin-bottom:10px}.cm-profile-name{max-width:100%;font-size:15px;font-weight:600;overflow-wrap:anywhere}.cm-profile-sub{max-width:100%;font-size:12px;color:#64748b;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cm-context>section{padding:14px 0;border-top:1px solid #eef2f6}.cm-context h3{margin-bottom:8px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.cm-facts{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:13px}.cm-facts dt{color:#64748b}.cm-facts dd{min-width:0;overflow-wrap:anywhere;text-align:right;font-weight:500}.cm-context-text{font-size:13px;line-height:1.45;color:#475569;overflow-wrap:anywhere}.cm-context .dg-notice{overflow-wrap:anywhere}.cm-patient{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;font-weight:500}.cm-patient-name{flex:1;min-width:0;overflow-wrap:anywhere}.cm-dialog-overlay{position:fixed;inset:0;z-index:50;background:#02061766}.cm-dialog{position:fixed;left:50%;top:50%;z-index:50;transform:translate(-50%,-50%);display:flex;flex-direction:column;width:min(480px,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);border-radius:12px;background:#fff;box-shadow:0 10px 30px #0f172a40;outline:none}.cm-dialog.is-wide{width:min(680px,calc(100vw - 2rem))}.cm-dialog-head{display:flex;align-items:center;gap:8px;padding:12px 14px 6px}.cm-dialog-title{flex:1;font-size:16px;font-weight:600}.cm-dialog-description{padding:0 14px;color:#475569;font-size:13px}.cm-dialog-body{padding:10px 14px;overflow-y:auto}.cm-dialog-footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px 12px;border-top:1px solid #f1f5f9}.cm-form{display:grid;gap:12px}.cm-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.cm-field{display:grid;gap:4px;min-width:0}.cm-field--narrow{max-width:420px}.cm-field-error{font-size:12px;color:#be123c;font-weight:500}.cm-hint{font-size:12px;font-weight:400;color:#64748b}.cm-mono textarea{font-family:ui-monospace,monospace;font-size:12px}.cm-hint code,.cm-webhook code{font-family:ui-monospace,monospace;font-size:11px}.cm-link-kinds{display:flex;flex-wrap:wrap;gap:6px}.cm-link-results{display:grid;gap:2px;margin-top:8px;max-height:320px;overflow-y:auto}.cm-link-hit{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;width:100%;padding:6px 8px;border-radius:6px;text-align:left}.cm-link-hit:hover:not(:disabled){background:#f0fdfa}.cm-link-number{font-variant-numeric:tabular-nums;color:#64748b;min-width:44px}.cm-link-name{font-weight:600}.cm-link-details{flex-basis:100%;padding-left:52px;font-size:12px;color:#64748b}.cm-account-choices{display:grid;gap:4px}.cm-new-accounts{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cm-new-label{font-size:12px;color:#64748b}.cm-new-accounts>button{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;border:1px solid #e2e8f0;font-size:12.5px}.cm-new-accounts>button:hover{border-color:#99f6e4;background:#f0fdfa}.cm-new-accounts>button.is-active{border-color:#0f766e;background:#f0fdfa;color:#0f766e;font-weight:600}.cm-account-choices button{display:flex;align-items:center;gap:8px;width:100%;padding:8px;border-radius:8px;border:1px solid #e2e8f0;text-align:left}.cm-account-choices button:hover{background:#f0fdfa;border-color:#99f6e4}.cm-history{display:grid;gap:10px}.cm-pairing{display:grid;gap:10px;justify-items:center;text-align:center}.cm-pairing .dg-notice{justify-self:stretch;text-align:left}.cm-pairing-qr{width:264px;height:264px;image-rendering:pixelated;border:1px solid #e2e8f0;border-radius:6px}.cm-pairing-qr.is-empty{display:grid;place-items:center;font-size:12px;color:#64748b;background:#f8fafc}.cm-pairing-code{font-family:ui-monospace,monospace;font-size:30px;font-weight:600;letter-spacing:.12em;padding:12px 18px;border-radius:6px;background:#f1f5f9}.cm-pairing-phone{display:flex;align-items:flex-end;gap:8px;justify-self:stretch;text-align:left}.cm-pairing-phone>:first-child{flex:1}.cm-webhook{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cm-webhook-label{font-size:11px;font-weight:600;color:#475569}.cm-webhook code{padding:2px 6px;border-radius:4px;background:#f1f5f9;overflow-wrap:anywhere}@container cm-inbox (max-width: 1000px){.cm-columns{--cm-list-w: clamp(260px, 34cqi, 320px)}.cm-columns,.cm-inbox:not(.has-selection) .cm-columns{grid-template-columns:var(--cm-list-w) minmax(0,1fr)}.cm-context{display:none}}@container cm-inbox (max-width: 640px){.cm-columns,.cm-inbox:not(.has-selection) .cm-columns{grid-template-columns:minmax(0,1fr)}.cm-inbox.has-selection .cm-list{display:none}.cm-inbox:not(.has-selection) .cm-main{display:none}.cm-back{display:inline-flex}}@container cm-main (max-width: 560px){.cm-control{padding:8px 12px}.cm-control-text,.cm-box-hint,.cm-owner-label{display:none}.cm-thread{padding:10px 12px 14px}.cm-composer{padding:8px 12px 12px}.cm-bubble,.cm-suggestion{max-width:88%}.cm-system{max-width:100%}}@media(max-width:760px){.cm-form-row{grid-template-columns:1fr}}.cm-field-warn{font-size:12px;font-weight:500;color:#92400e}.cm-assign{display:grid;gap:4px}.cm-assign-title{margin-top:8px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#64748b}.cm-assign-group{display:grid;gap:2px}.cm-assign-option{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:6px 10px;border-radius:9px;text-align:left;font-size:13px;color:#0f172a;transition:background-color .12s}.cm-assign-option:hover{background:#f8fafc}.cm-assign-option.is-selected{background:#f0fdfa;box-shadow:inset 0 0 0 1px #99f6e4}.cm-assign-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.cm-agents{display:grid;gap:8px;margin-top:24px}.cm-section-title{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#0f172a}.cm-handoff-list{display:grid;gap:6px}.cm-handoff-row{display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr) auto;align-items:end;gap:8px}.cm-handoff-name{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-bottom:7px;font-size:13px;font-weight:600;color:#0f172a}.cm-handoff-actions{display:inline-flex;gap:2px;padding-bottom:4px}@media(max-width:560px){.cm-handoff-row{grid-template-columns:minmax(0,1fr) auto}.cm-handoff-when{grid-column:1 / -1;grid-row:2}}.cm-link-alerts{display:flex;flex-direction:column;gap:6px;padding:8px 16px}.cm-link-alert{display:flex;align-items:flex-start;gap:10px}.cm-link-alert>svg{margin-top:2px}.cm-link-alert-detail{margin-top:2px;font-size:12px;opacity:.85}.cm-composer-link{display:flex;align-items:center;gap:6px;margin:8px 20px 0;font-size:12px}.cm-template-editor{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}.cm-template-fields{display:grid;gap:8px;min-width:0}.cm-template-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.cm-template-problems{margin:0;padding-left:28px}.cm-template-preview{display:grid;gap:4px;padding:12px;border-radius:12px;background:#efeae2;position:sticky;top:0}.cm-template-bubble{display:grid;gap:4px;padding:8px 10px;border-radius:8px;background:#fff;box-shadow:0 1px .5px #00000021;font-size:13px;overflow-wrap:anywhere}.cm-template-bubble p{margin:0;white-space:pre-wrap}.cm-template-footer{color:#64748b;font-size:11px}.cm-template-button{padding:6px;border-radius:8px;background:#fff;color:#0284c7;text-align:center;font-size:13px}.cm-template-body{max-width:420px;white-space:pre-wrap;overflow-wrap:anywhere}.cm-template-pick{display:grid;gap:8px;min-width:0;padding:10px 12px;border:1px solid #fde68a;border-radius:12px;background:#fff}.cm-template-pick-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;align-items:end}@media(max-width:760px){.cm-template-editor{grid-template-columns:minmax(0,1fr)}}.cm-email{display:flex;flex-direction:column;gap:.25rem;min-width:18rem}.cm-email-subject{font-size:.85rem}.cm-email-body{width:100%;min-height:12rem;border:1px solid rgb(226 232 240);border-radius:.375rem;background:#fff}.cm-subject{margin-bottom:.25rem}.cm-rating{display:grid;gap:4px;margin-top:6px;padding-top:6px;border-top:1px dashed rgba(100,116,139,.25)}.cm-rating-bar{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.cm-rating-label{margin-right:4px;font-size:11px;color:#64748b}.cm-rating-btn{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:2px 8px;border:1px solid transparent;border-radius:999px;background:transparent;color:#64748b;font-size:12px;cursor:pointer}.cm-rating-btn:hover:not(:disabled){background:#64748b1f;color:#0f172a}.cm-rating-btn:focus-visible{outline:2px solid #2563eb;outline-offset:1px}.cm-rating-btn:disabled{cursor:default;opacity:.6}.cm-rating-btn.is-on{border-color:#16a34a;background:#f0fdf4;color:#15803d}.cm-rating-btn.is-bad.is-on{border-color:#dc2626;background:#fef2f2;color:#b91c1c}.cm-rating-comments{display:grid;gap:2px;margin:0;padding:0;list-style:none;font-size:12px;color:#334155}.cm-rating-edit{display:grid;gap:4px}.cm-rating-edit textarea{width:100%;padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;font:inherit;font-size:13px;resize:vertical}.cm-rating-edit-actions{display:flex;gap:6px}.cm-quality-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.cm-quality-stat{display:grid;gap:2px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px}.cm-quality-stat strong{font-size:18px;font-variant-numeric:tabular-nums;color:#0f172a}.cm-quality-stat span{font-size:12px;color:#64748b}.cm-quality-filters{display:flex;flex-wrap:wrap;gap:6px}.cm-quality-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.cm-quality-item{display:grid;gap:6px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px}.cm-quality-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;font-size:13px}.cm-quality-head time{margin-left:auto;font-size:12px;color:#64748b}.cm-quality-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#0f172a}.cm-quality-sent{margin:0;padding-left:8px;border-left:3px solid #16a34a;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#14532d}.cm-quality-proposed{text-decoration:line-through;text-decoration-color:#dc262680;color:#64748b}.cm-system.is-agent-note{flex-wrap:wrap}.cm-system.is-agent-note>.cm-rating{flex-basis:100%}.cm-system.is-agent-note .cm-rating-bar{justify-content:center}.cm-outreach{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;width:100%;margin-top:.25rem}.cm-outreach-actions{display:inline-flex;gap:.375rem}.cm-outreach-preview{display:flex;flex-direction:column;gap:4px;width:min(100%,560px);text-align:left}
