*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1));font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1));font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;font-size:14px}input,textarea,select{border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem .75rem;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #a9c7ee;outline-offset:1px;border-color:#6e9acb}button{border-radius:.5rem;padding:.5rem .75rem}button:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}button:disabled{cursor:not-allowed;opacity:.4}button{transition:background .12s}button:focus-visible,a:focus-visible,[role=separator]:focus-visible{outline:2px solid #397ac1;outline-offset:2px}h2{font-size:1.125rem;line-height:1.75rem;font-weight:600}h3{font-weight:600}[hidden]{display:none!important}.primary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));background:#285e9f}.primary:hover{background:#204c84}.panel{border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1.25rem;box-shadow:0 1px 2px #192c4810}.field{margin-bottom:1rem;display:flex;flex-direction:column;gap:.25rem}.field>span{font-weight:500;color:#334155}.muted{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1));font-size:12px;line-height:1.6}.danger{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.danger:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.\!visible{visibility:visible!important}.visible{visibility:visible}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-\[100dvh\]{height:100dvh}.max-h-48{max-height:12rem}.max-h-56{max-height:14rem}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-12{width:3rem}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity, 1))}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity, 1))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-0{padding:0}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pl-3{padding-left:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[11px\]{font-size:11px}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.app-header{height:60px;padding:0 20px;background:#24364d;color:#f8fafc;border-bottom:1px solid #1c2e44}.app-header nav button{color:#d5e2f1}.app-header nav button:hover{background:#3b516c}.app-header nav button.bg-indigo-50{background:#476480;color:#fff}.app-header>div:first-child svg{color:#b6d8fc}.app-header>div:last-child button:hover{background:#3b516c}.app-header .text-emerald-600{color:#9fe3bb}.app-header .text-slate-500{color:#d3dce8}.workspace{background:#eff3f8}.queue-pane{background:#eaf0f6;width:100%;min-height:0}.queue-head{border-color:#cbd6e4;background:#eaf0f6}.queue-head button{font-size:12px;color:#41546d}.queue-head button.bg-indigo-50{color:#1b4e89;background:#d3e2f4}.queue-item{display:block;width:calc(100% - 12px);margin:4px 6px;text-align:left;padding:13px 12px;border:1px solid transparent;border-radius:8px;position:relative}.queue-item:hover{background:#e0e8f1}.queue-item.selected{background:#cfe0f4;border-color:#b8d1ef}.queue-item.selected:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:4px;border-radius:4px;background:#2d6cae}.queue-item .muted{color:#435a75}.chat-pane{background:#f6f8fb}.chat-pane>div:first-child:not(.m-auto){min-height:62px;border-color:#d8e0ea}.conversation-scroll{padding:24px clamp(12px,2vw,32px);overscroll-behavior:contain}.bubble{max-width:min(85%,680px);min-width:0;padding:12px 15px;border:1px solid transparent;border-radius:12px;box-shadow:0 1px 2px #1b345b0c;line-height:1.6;overflow-wrap:anywhere}.bubble-customer{background:#e0eaf5;color:#233952;border-color:#c9d9eb;border-bottom-left-radius:3px}.bubble-agent{background:#315f94;color:#fff;border-bottom-right-radius:3px}.bubble-note{background:#fff2d3;border-color:#e9d6a3;color:#624b21}.bubble button:hover{background:#ffffff24}.bubble-agent button{color:#fff}.bubble .attachment-link{display:block;text-align:left;padding:4px 0;text-decoration:underline;font-size:12px}.picture{margin-top:8px;max-width:320px;width:min(280px,100%);min-width:0}.picture-frame{background:#f1f5f9;color:#43556b;border:1px solid #d2dce8;border-radius:8px;min-height:105px;display:grid;place-items:center;overflow:hidden}.picture-open{padding:0;width:100%;display:block}.picture-open img{width:100%;max-height:240px;-o-object-fit:contain;object-fit:contain;display:block}.picture-frame>span{font-size:12px;padding:14px}.picture-frame>button:not(.picture-open){color:#334155}.picture-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0a1726e8;display:flex;align-items:center;justify-content:center;padding:16px}.picture-modal>div{max-width:94vw;max-height:94dvh;display:flex;flex-direction:column;color:#fff}.picture-actions{display:flex;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}.picture-actions span{flex:1;overflow-wrap:anywhere}.picture-actions a,.picture-actions button{padding:8px 12px;color:#fff;background:#31435b;border-radius:6px}.picture-modal img{max-width:90vw;max-height:80dvh;-o-object-fit:contain;object-fit:contain}.profile-pane{border-left:0;background:#fff}.splitter{display:none;flex:0 0 7px;position:relative;background:#d3deeb;border-left:1px solid #bdcbdc;border-right:1px solid #bdcbdc;cursor:col-resize;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.splitter:hover,.splitter:focus{background:#9dbad8}.splitter:after{content:"";position:absolute;top:calc(50% - 17px);left:1px;right:1px;height:34px;background:#8a9eb5;border-radius:4px}.error-toast,.success-toast{border:1px solid #e6bfc2;background:#fff0f0;color:#9b252e;border-radius:8px;padding:10px 16px;margin:8px 16px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:8px}.success-toast{border-color:#b6dbc9;background:#eaf7ef;color:#206444;margin:0 0 16px}.settings-shell{display:flex;background:#f4f6f9}.settings-nav{width:256px;flex:none;background:#eaf0f6;border-right:1px solid #c6d3e2;padding:20px 12px;overflow-y:auto}.settings-nav-title{font-size:18px;font-weight:650;color:#26384e;padding:0 12px 18px}.settings-nav button{width:100%;text-align:left;display:flex;flex-direction:column;gap:4px;padding:13px 12px;margin:4px 0;border:1px solid transparent;color:#34465e}.settings-nav button b{font-size:14px;font-weight:600}.settings-nav button small{font-size:11px;line-height:1.4;color:#566b83}.settings-nav button.active{background:#d0e1f5;border-color:#b9d0ed;color:#204f86}.settings-nav button:hover{background:#dbe6f3}.settings-content{min-width:0;flex:1;overflow:auto}.settings-inner{max-width:1000px;margin:auto;padding:32px clamp(16px,4vw,56px) 48px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:25px;font-weight:650;letter-spacing:-.4px;color:#26364d;margin-bottom:6px}.page-heading p{color:#536780;font-size:13px}.settings-panels .panel{padding:24px}.settings-panels .panel>h3{font-size:16px;color:#26364d;padding-bottom:14px;border-bottom:1px solid #e2e8f0;margin-bottom:20px}.settings-panels .field{max-width:100%}.settings-panels .panel>button{margin-right:6px}.settings-panels details summary{cursor:pointer;font-weight:600;color:#314b6b}.settings-panels details{border-color:#d8e2ee}.settings-panels textarea{min-height:100px}.settings-panels .max-h-48{max-height:320px}.stats-page{padding:32px clamp(16px,4vw,64px);width:100%;max-width:1400px;margin:auto}.stats-page .panel{padding:24px}.stats-page .panel h3{margin-bottom:12px}.stats-page .bg-indigo-500{background:#487eb6}.stats-page strong.text-3xl{display:block;margin-top:12px;color:#234870;font-size:36px}.empty-small{color:#64748b;padding:24px 0}@media(min-width:768px){.queue-pane{width:min(var(--queue-width),35vw)}.splitter-left{display:block}}@media(min-width:1024px){.queue-pane{width:clamp(220px,var(--queue-width),min(34vw,calc(100vw - 650px)))}.profile-pane{width:clamp(220px,var(--profile-width),min(34vw,calc(100vw - 650px)))}.splitter-right{display:block}}@media(max-width:767px){.app-header{height:54px;padding:0 8px}.settings-shell{flex-direction:column}.settings-nav{width:100%;display:flex;gap:5px;overflow:auto;flex:none;padding:6px;border-right:0;border-bottom:1px solid #c6d3e2}.settings-nav-title,.settings-nav button small{display:none}.settings-nav button{width:auto;flex:none;padding:8px 10px;white-space:nowrap}.settings-inner,.stats-page{padding:18px 12px}.settings-panels .panel{padding:16px}.page-heading h1{font-size:21px}.profile-pane{width:100%}.bubble{max-width:94%}}@media(min-width:768px)and (max-width:1023px){.workspace.show-profile{position:relative}.workspace.show-profile .profile-pane{position:absolute;inset:0 0 0 auto;width:min(420px,100%);z-index:10;border-left:1px solid #c6d3e2;box-shadow:-8px 0 24px #20334e20}.workspace.show-profile .profile-pane.block{display:block}}@media(min-width:1024px){.queue-pane,.profile-pane{max-width:calc((100vw - 430px)/2)}}.connection-status{background:#eaf1f8;border:1px solid #cbd9e8;border-radius:8px;padding:12px;margin-bottom:12px;color:#334b65;line-height:1.7}.staff-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.staff-active{display:flex;align-items:center;gap:6px;padding:10px 0;grid-column:1/-1}@media(max-width:767px){.staff-fields{grid-template-columns:1fr}}@media(min-width:640px){.sm\:inline{display:inline}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:768px){.md\:inline{display:inline}.md\:flex{display:flex}.md\:hidden{display:none}}@media(min-width:1024px){.lg\:block{display:block}.lg\:hidden{display:none}}
