:root{--font-secondary:Lato;--font-table-grid:14px}textarea{resize:none}@layer base{:root{--background:180 20% 97%;--foreground:200 30% 12%;--surface:0 0% 100%;--surface-light:180 20% 97%;--surface-medium:174 42% 55%;--surface-dark:178 55% 17%;--surface-white:0 0% 100%;--popover:0 0% 100%;--popover-foreground:200 30% 12%;--card:0 0% 100%;--card-foreground:200 30% 12%;--text:0 0% 12%;--text-light:200 8% 39%;--muted:180 14% 96%;--muted-foreground:195 8% 47%;--primary:175 84% 26%;--primary-hover:175 84% 21%;--primary-focus:176 86% 16%;--primary-foreground:0 0% 100%;--secondary:195 45% 22%;--secondary-hover:195 50% 17%;--secondary-foreground:0 0% 100%;--accent:172 66% 42%;--accent-foreground:178 55% 12%;--hover:175 40% 95%;--hover-subtle:175 40% 97%;--active:175 35% 89%;--success:142 44% 50%;--success-foreground:0 0% 100%;--warning:45 100% 54%;--warning-foreground:0 0% 100%;--error:3 74% 56%;--error-foreground:0 0% 100%;--destructive:3 74% 56%;--destructive-foreground:0 0% 100%;--border:180 12% 87%;--input:175 20% 85%;--divider:175 20% 85%;--ring:175 60% 40%;--radius:.5rem}.dark{--background:200 40% 6%;--foreground:180 15% 90%;--surface:200 40% 6%;--surface-light:180 20% 97%;--surface-medium:195 22% 24%;--surface-dark:197 26% 17%;--surface-white:0 0% 100%;--popover:200 40% 6%;--popover-foreground:195 15% 65%;--card:200 40% 6%;--card-foreground:180 15% 90%;--muted:199 35% 11%;--muted-foreground:195 12% 57%;--primary:175 45% 92%;--primary-foreground:178 60% 8%;--secondary:200 30% 12%;--secondary-foreground:175 45% 92%;--accent:195 25% 17%;--accent-foreground:175 45% 92%;--destructive:0 63% 31%;--destructive-foreground:175 45% 92%;--border:195 25% 17%;--input:195 25% 17%;--ring:195 25% 17%;--radius:.5rem}}:root{--dg-control-h: 30px;--dg-row-h: 32px;--dg-status-inset: 44px}.dg-page{display:flex;flex-direction:column;gap:8px;min-height:100%;padding:12px 16px;background:#f8fafc;color:#0f172a}.dg-page-header{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;min-height:36px}.dg-page-header h1,.dg-page-header h2{font-size:19px;font-weight:600;line-height:1.2}.dg-page-header .dg-subtitle{font-size:13px;color:#64748b}.dg-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.dg-spacer{flex:1}.dg-search{display:flex;align-items:center;gap:6px;height:var(--dg-control-h);min-width:200px;flex:0 1 300px;padding:0 8px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.dg-search:focus-within{border-color:#0f766e;box-shadow:0 0 0 1px #0f766e}.dg-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font-size:13px}.dg-segmented{display:inline-flex;padding:2px;gap:2px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.dg-segmented>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:26px;min-height:0;padding:0 10px;border-radius:6px;font-size:13px;color:#475569;white-space:nowrap}.dg-segmented>button:hover:not(:disabled){background:#f1f5f9}.dg-segmented>button[aria-pressed=true]{background:#0f766e;color:#fff}.dg-segmented>button[aria-pressed=true]:hover:not(:disabled){background:#115e59}.dg-segmented>button>span{font-size:11px;font-variant-numeric:tabular-nums;opacity:.75}.dg-segmented>button:disabled{opacity:.5}.dg-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#475569;cursor:pointer;white-space:nowrap}.dg-check input{accent-color:#0f766e;width:15px;height:15px}.dg-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:10px;background:#fff}table.dg-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.dg-table th{position:sticky;top:0;z-index:2;padding:6px 8px;background:#f8fafc;color:#64748b;font-size:11px;font-weight:600;text-align:left;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid #e2e8f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dg-table td{height:var(--dg-row-h);padding:4px 8px;border-bottom:1px solid #f1f5f9;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dg-table td.dg-wrap{white-space:normal}.dg-table td.dg-actions{overflow:visible;text-overflow:clip;text-align:right}.dg-table tbody tr:hover>td{background:#f8fafc}.dg-table tr.dg-row{cursor:pointer}.dg-table tr.is-open>td{background:#f0fdfa;border-bottom-color:transparent}.dg-table tr.is-muted>td{color:#94a3b8}.dg-table tr.dg-group>td{position:sticky;top:29px;z-index:1;height:26px;padding:3px 8px;background:#f1f5f9;color:#334155;font-size:12px;font-weight:600}.dg-table tr.dg-detail-row>td{height:auto;padding:4px 8px 10px 32px;background:#f0fdfa;white-space:normal;overflow:visible;border-bottom:1px solid #99f6e4}.dg-table tfoot td{background:#f8fafc;font-weight:600;border-top:1px solid #e2e8f0}.dg-empty{padding:20px!important;text-align:center;color:#64748b;white-space:normal!important}.dg-expand{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;min-height:0;border-radius:5px;color:#64748b}.dg-expand:hover{background:#e2e8f0}.dg-expand svg{transition:transform .12s}.dg-expand[aria-expanded=true] svg{transform:rotate(90deg);color:#0f766e}.dg-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:0;padding:0;border-radius:6px;color:#475569}.dg-iconbtn:hover:not(:disabled){background:#e2e8f0;color:#0f172a}.dg-iconbtn:disabled{opacity:.4;cursor:default}.dg-pill{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600;background:#f1f5f9;color:#475569;white-space:nowrap}.dg-pill.is-ok{background:#d1fae5;color:#065f46}.dg-pill.is-warn{background:#fef3c7;color:#92400e}.dg-pill.is-bad{background:#ffe4e6;color:#9f1239}.dg-pill.is-info{background:#e0f2fe;color:#075985}.dg-badge{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:15px;padding:0 4px;border-radius:4px;background:#e2e8f0;color:#475569;font-size:10px;font-weight:700;vertical-align:1px}.dg-badge.is-warn{background:#fef3c7;color:#92400e}.dg-inline-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;padding:8px 10px;border:1px solid #99f6e4;border-radius:8px;background:#fff}.dg-inline-form label:not(.dg-inline-form .space-y-2 *){display:grid;gap:2px;font-size:11px;font-weight:600;color:#475569}.dg-inline-form :is(input,select,textarea):not(.dg-inline-form .space-y-2 *){min-height:0;height:var(--dg-control-h);padding:0 8px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:13px;font-weight:400;color:#0f172a;min-width:0}.dg-inline-form textarea:not(.dg-inline-form .space-y-2 *){height:auto;min-height:54px;padding:6px 8px}.dg-inline-form :is(input,select,textarea):not(.dg-inline-form .space-y-2 *):focus{outline:2px solid #0f766e;outline-offset:-1px}.dg-notice{border-radius:8px;padding:6px 10px;font-size:13px}.dg-notice.is-error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}.dg-notice.is-ok{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.dg-notice.is-warn{background:#fffbeb;color:#92400e;border:1px solid #fde68a}.dg-notice.is-info{background:#f0f9ff;color:#075985;border:1px solid #bae6fd}.dg-pager{display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:12px;color:#64748b}.dg-kpis{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:baseline;font-size:13px;color:#475569}.dg-kpis b{font-size:15px;color:#0f172a;font-variant-numeric:tabular-nums}.dg-fold{border:1px solid #e2e8f0;border-radius:10px;background:#fff}.dg-fold>.dg-fold-head{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:4px 10px;text-align:left}.dg-fold>.dg-fold-head h3{font-size:14px;font-weight:600}.dg-fold>.dg-fold-head .dg-fold-summary{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#64748b}.dg-fold>.dg-fold-body{padding:4px 10px 10px;border-top:1px solid #f1f5f9}.dg-empty-value{color:#94a3b8;font-style:italic}.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-account-tabs{display:flex;gap:2px;padding:0 12px;overflow-x:auto;scrollbar-width:thin}.cm-account-tabs>button{display:inline-flex;align-items:center;gap:6px;flex:none;height:40px;min-height:0;padding:0 12px;border-bottom:2px solid transparent;color:#475569;font-size:13px;font-weight:500;white-space:nowrap;transition:color .12s,border-color .12s}.cm-account-tabs>button:hover{color:#0f172a}.cm-account-tabs>button.is-active{border-bottom-color:#0f766e;color:#0f766e;font-weight:600}.cm-account-tabs>button.is-inactive .cm-account-name{text-decoration:line-through;text-decoration-color:#94a3b8}.cm-account-address{color:#94a3b8;font-size:11.5px;font-weight:400;font-variant-numeric:tabular-nums}.cm-account-tabs>button.is-active .cm-account-address{color:#5eada5}.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-filters{display:flex;flex-wrap:wrap;gap:6px}.cm-filters>button{display:inline-flex;align-items:center;gap:5px;height:26px;min-height:0;padding:0 10px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:500;white-space:nowrap;transition:background-color .12s,color .12s}.cm-filters>button:hover{background:#e2e8f0;color:#0f172a}.cm-filters>button.is-active{background:#0f766e;color:#fff}.cm-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;margin-right:-4px;padding:0 4px;border-radius:999px;background:#0f766e;color:#fff;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}.cm-filters>button.is-active .cm-filter-count{background:#fff;color:#0f766e}.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-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-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;gap:6px;min-width:0;margin-left:auto}.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-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-edit{width:100%;padding:6px 8px;border:1px solid #c4b5fd;border-radius:8px;background:#fff;font-size:13px;resize:vertical}.cm-suggestion-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.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-account-users{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:4px 12px}.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-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-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-pairing .tf-phone{justify-self:stretch;text-align:left}.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{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-pickup-title{font-size:13px;font-weight:600;color:#334155}.cm-pickup-list{display:grid;gap:8px}.cm-pickup-entries{display:grid;gap:2px;margin:0;padding:0;list-style:none}.cm-pickup-entries>li{display:flex;align-items:center;gap:10px;padding:4px 6px;border-radius:6px;font-size:13px}.cm-pickup-entries>li:hover{background:#f8fafc}.cm-pickup-entries>li>.dg-iconbtn{margin-left:auto}.cm-pickup-name{color:#334155;font-weight:500}.cm-pickup-add{align-items:end;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.tf-phone{display:flex;flex-direction:column;gap:.5rem}.tf-phone-head{display:flex;align-items:center;gap:.375rem;flex-wrap:wrap}.tf-phone-label{font-weight:600;font-size:.875rem;margin-right:auto}.tf-phone-screen{display:flex;justify-content:center;background:hsl(var(--muted));border-radius:var(--radius);padding:.5rem}.tf-phone-screen img{max-height:60vh;max-width:100%;border-radius:.75rem;cursor:pointer;box-shadow:0 1px 6px #0003}.tf-phone-screen img.is-busy{opacity:.6;cursor:progress}.tf-phone-empty{min-height:12rem;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.875rem;color:hsl(var(--muted-foreground));padding:1rem}.tf-phone-keys{display:flex;align-items:center;gap:.375rem}.tf-phone-text{flex:1;min-width:0;height:1.75rem;border:1px solid hsl(var(--input));border-radius:calc(var(--radius) - 2px);padding:0 .5rem;font-size:.8125rem;background:hsl(var(--background))}.tf-egress-list{display:flex;flex-direction:column;gap:.5rem}.tf-egress-item{border:1px solid hsl(var(--border));border-radius:var(--radius);padding:.5rem .625rem;display:flex;flex-direction:column;gap:.25rem}.tf-egress-head{display:flex;align-items:center;gap:.375rem;flex-wrap:wrap}.tf-egress-ip{font-family:ui-monospace,monospace;font-size:.8125rem;margin-left:auto}.tf-egress-error{font-size:.8125rem;color:#9f1239}.tf-egress-actions{display:flex;gap:.375rem;flex-wrap:wrap;justify-content:flex-end}.tf-egress-file{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:hsl(var(--muted-foreground))}.tf-egress-status{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:.8125rem;padding:.5rem .625rem;border-radius:var(--radius);background:hsl(var(--muted))}.tf-egress-users{display:flex;flex-direction:column;gap:.25rem;font-size:.8125rem}.tf-egress-users>li{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.tf-link{background:none;border:0;padding:0;color:hsl(var(--primary));text-decoration:underline;cursor:pointer;font:inherit}.cm-hint.is-working:before{content:"";display:inline-block;width:.5rem;height:.5rem;margin-right:.375rem;border-radius:50%;background:hsl(var(--primary));animation:tf-pulse 1.2s ease-in-out infinite}@keyframes tf-pulse{50%{opacity:.25}}@media(prefers-reduced-motion:reduce){.cm-hint.is-working:before{animation:none}}.tf-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.tf-egress-phone{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:.25rem}.tf-reg{display:flex;flex-direction:column;gap:.5rem;border:1px solid hsl(var(--border));border-radius:var(--radius);padding:.5rem .625rem}.tf-reg-head{display:flex;align-items:center;gap:.375rem}.tf-reg-phase{font-family:ui-monospace,monospace;font-size:.75rem;color:hsl(var(--muted-foreground))}.tf-reg-row{display:flex;align-items:center;gap:.375rem;flex-wrap:wrap}.tf-reg-cc{display:flex;align-items:center;gap:.125rem;font-size:.8125rem;width:4rem}.tf-reg-code{flex:0 0 7rem;font-family:ui-monospace,monospace;letter-spacing:.2em}.tf-reg-methods{margin:0;padding-left:1.25rem;font-size:.8125rem}.tf-reg-methods .is-off{color:hsl(var(--muted-foreground))}.tf-reg-manage summary{cursor:pointer;font-size:.8125rem;font-weight:600}.tf-reg-manage[open]{display:flex;flex-direction:column;gap:.375rem}
