.testchat-backdrop{background:rgba(0,0,0,.5)}
.testchat-drawer{width:430px;max-width:100vw;box-shadow:-4px 0 18px #00000016;font-family:Inter,-apple-system,system-ui,"San Francisco","Segoe UI",Roboto,"Helvetica Neue",sans-serif;color:#303030}
.testchat-header{height:72px;min-height:72px;padding:8px 16px 0;display:flex;align-items:center;gap:16px}
.testchat-header h2{font-size:16px;line-height:32px;font-weight:600;margin:0;flex:1}
.testchat-close{border:0;background:transparent;color:#555;font-size:22px;font-weight:300;width:20px;height:30px;padding:0;line-height:1}
.testchat-clear{background:#fff;border:1px solid #c9c9c9;border-radius:9px;min-height:32px;padding:5px 11px;font-size:14px;box-shadow:0 1px #0000000b}
.testchat-frame{min-height:0;flex:1;margin:0 16px 24px;display:flex;flex-direction:column;background:#fff;border-radius:24px;box-shadow:0 2px 14px #00000020;overflow:hidden}
.testchat-messages{min-height:0;flex:1;overflow-y:auto;padding:24px 16px 18px;display:flex;flex-direction:column;gap:16px;scrollbar-width:thin}
.testchat-avatar{width:32px;height:32px;min-width:32px;border-radius:50%;background:#050505;color:#fff;display:grid;place-items:center;font-size:14px;line-height:1}
.testchat-greeting,.testchat-assistant{display:flex;align-items:flex-start;gap:8px}
.testchat-greeting,.testchat-assistant{margin-right:48px}.testchat-greeting>div:last-child,.testchat-assistant-content{flex:1;min-width:0}
.testchat-reply{background:#f3f3f3;border-radius:13px;padding:8px 12px;font-size:14px;line-height:16px;white-space:normal;overflow-wrap:anywhere}
.testchat-typing{align-items:center}
.testchat-typing-bubble{width:48px;height:28px;border-radius:16px;background:#f3f3f3;display:flex;align-items:center;justify-content:center;gap:2px}
.testchat-typing-bubble i{width:9px;height:9px;border-radius:50%;background:#dedede;animation:testchat-dot 1.15s infinite ease-in-out}
.testchat-typing-bubble i:nth-child(2){animation-delay:.16s}
.testchat-typing-bubble i:nth-child(3){animation-delay:.32s}
@keyframes testchat-dot{0%,65%,100%{transform:translateY(0);opacity:.65}30%{transform:translateY(-3px);opacity:1}}
.testchat-agent-name{margin:8px 4px;color:#a2a6ad;font-size:12px}
.testchat-suggestions{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:4px}
.testchat-suggestions button{border:0;border-radius:22px;background:#fff;padding:9px 13px;box-shadow:0 2px 12px #00000010;color:#222;white-space:nowrap;max-width:100%;font-size:14px}
.testchat-user{align-self:flex-end;background:#000;color:#fff;padding:8px 12px;border-radius:13px;max-width:317px;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.testchat-reply-actions{display:flex;align-items:center;gap:10px;padding:11px 4px 0;font-size:12px;color:#9aa4b4;white-space:nowrap}
.testchat-reply-actions button{border:0;background:transparent;color:#9aa4b4;padding:0;font-size:12px}
.testchat-reply-actions button:hover{text-decoration:underline}
.testchat-reply-actions span:first-of-type{margin-left:auto;color:#003b20;font-weight:600}
.testchat-info{color:#777;font-size:14px;margin-left:3px}
.testchat-composer{height:137px;min-height:137px;padding:28px 20px;box-shadow:-4px -4px 10px #0000001a;border-radius:24px 24px 0 0;display:block}
.testchat-composer textarea{display:block;height:45px;min-height:45px;max-height:128px;border:0;resize:none;outline:none;font-size:16px;line-height:24px;font-weight:450;color:#222;width:100%;padding:8px 12px 8px 0;margin:0;background:transparent}
.testchat-composer textarea::placeholder{color:#999}
.testchat-composer-tools{height:36px;display:flex;align-items:center;gap:16px}
.testchat-tool{width:36px;height:36px;flex:none;border:0;border-radius:50%;background:transparent;color:#717171;padding:0;display:grid;place-items:center}
.testchat-tool:hover{background:#f3f3f3;color:#1d1d1d}
.testchat-tool:disabled{opacity:.4;cursor:default}
.testchat-tool svg{width:24px;height:24px;fill:currentColor}
.testchat-mic{margin-left:auto}
.testchat-send{width:36px;height:36px;flex:none;border:0;background:transparent;color:#000;padding:0;display:grid;place-items:center}
.testchat-send svg{width:36px;height:36px}
.testchat-send:disabled{color:#e7e7e7;cursor:default}
.testchat-quick{height:169px;min-height:169px;display:flex;flex-direction:column;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -2px 17px #00000011}
.testchat-quick-head{display:flex;align-items:center;padding:17px 20px 10px;gap:10px}
.testchat-quick-head strong{font-size:16px;line-height:20px;font-weight:600;flex:1}
.testchat-quick-head button{border:0;background:transparent;color:#999;font-size:18px;padding:0;width:16px;height:20px;line-height:1}
.testchat-quick input{border:0;outline:0;width:100%;min-height:63px;padding:0 20px;font-size:16px;color:#222;background:transparent}
.testchat-quick input::placeholder{color:#999}
.testchat-quick-foot{border-top:1px solid #f1f1f1;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;min-height:61px}
.testchat-back{width:40px;height:40px;border:0;background:none;color:#777;font-size:22px;padding:0;display:grid;place-items:center}
.testchat-back:disabled{opacity:.35}
.testchat-dots{display:flex;align-items:center;gap:5px}
.testchat-dots i{width:6px;height:6px;border-radius:50%;background:#d5d5d5}
.testchat-dots i.active{background:#000}
.testchat-next{width:40px;height:40px;flex:none;border-radius:50%;border:0;background:#000;color:white;padding:0;display:grid;place-items:center;line-height:1}
.testchat-next svg{width:36px;height:36px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
@media(max-width:480px){.testchat-frame{margin-bottom:12px}.testchat-header{height:62px;min-height:62px}}

.channel-image-preview{position:relative;display:inline-flex;margin:0 0 8px 8px;width:48px;height:48px;flex:none}.channel-image-preview>img{width:48px;height:48px;object-fit:cover;border-radius:6px}.channel-image-preview>button{position:absolute;top:-4px;right:-4px;width:16px;height:16px;padding:0;border:0;background:#000;color:white;border-radius:50%;display:grid;place-items:center}.channel-image-preview svg{width:14px;height:14px}.channel-message-image{display:block;max-width:100%;max-height:240px;border-radius:8px;margin-bottom:6px;object-fit:contain}

.channel-chat-composer:has(.channel-image-preview),.testchat-composer:has(.channel-image-preview){height:auto!important;min-height:193px}

.testchat-locale{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 16px 12px;min-height:32px;flex:none}.testchat-locale label{font-weight:600}.testchat-locale select{width:160px;max-width:65%;height:32px;border:1px solid #999;border-radius:8px;background:#fff;padding:4px 12px;color:#303030}.testchat-reply-actions{padding-top:8px}.testchat-messages .testchat-user{flex:none}.testchat-assistant,.testchat-greeting{flex:none}
