.chat-shell{overflow:hidden;background:#e8eee9}.chat-shell #chat-messages{padding:20px;display:flex;flex-direction:column;gap:12px;max-height:60vh!important;min-height:250px}.chat-bubble{background:#fff;align-self:flex-start;max-width:85%;width:max-content;min-width:180px;margin:0!important;border-radius:14px 14px 14px 4px!important;padding:12px 16px!important;box-shadow:0 1px 3px #123a2510}.chat-bubble.chat-own{align-self:flex-end;background:#dcefdc;border-radius:14px 14px 4px 14px!important}.chat-bubble .report-top{gap:16px;flex-wrap:wrap}.chat-bubble p{margin:8px 0;color:#173e32;font-size:15px}.chat-bubble audio{display:block;width:320px;max-width:100%;margin:10px 0}.chat-reply-button{background:transparent;color:#32614c;padding:5px 0;font-size:12px}.chat-quote,#chat-reply-preview{display:flex;flex-direction:column;border-left:3px solid #459776;background:#edf6ef;padding:8px 12px;margin:10px 0;border-radius:5px;color:#35614c;overflow-wrap:anywhere}.chat-quote span,#chat-reply-preview span{font-size:13px;white-space:pre-wrap}.chat-shell #chat-form{background:#fff;border-top:1px solid #d5e1d9;position:relative}.chat-compose-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.chat-compose-actions label{cursor:pointer;margin:0}.chat-send{float:right}.chat-shell #chat-error{clear:both;margin-bottom:0;padding-top:8px}.chat-shell textarea{min-height:70px}.chat-receipt{font-size:11px}.chat-receipt .button{font-size:11px;min-height:28px;padding:4px 8px}#chat-voice-preview{display:flex;gap:10px;align-items:center;flex-wrap:wrap}#chat-voice-preview[hidden],#chat-reply-preview[hidden]{display:none}@media(max-width:720px){.chat-shell #chat-messages{padding:12px;max-height:55dvh!important}.chat-bubble{max-width:95%;min-width:0}.chat-bubble audio{width:250px}.chat-shell #chat-form{padding:14px}.chat-bubble .report-top small{font-size:10px}.chat-bubble{padding:10px 12px!important}}

.chat-shell #chat-form{padding-right:84px;padding-bottom:65px}.chat-compose-actions{position:absolute;right:18px;bottom:18px;margin:0}.chat-compose-actions [data-chat-control=record]{width:50px;height:50px;min-height:50px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#238878;color:#fff;border:0;box-shadow:0 3px 10px #173e3220;transition:background .15s,transform .15s}.chat-compose-actions [data-chat-control=record]:hover{background:#196c5e}.chat-compose-actions [data-chat-control=record]:active{transform:scale(.95)}.chat-compose-actions [data-chat-control=record].recording{background:#d64c4c;font-size:22px}.chat-shell .chat-send{float:none;margin-top:12px}#chat-voice-preview audio{width:100%}@media(max-width:720px){.chat-shell #chat-form{padding:14px 76px 14px 14px}.chat-compose-actions{right:14px;bottom:14px}.chat-compose-actions [data-chat-control=record]{width:48px;height:48px;min-height:48px}}

/* Composer controls sit inside the text field. */
.chat-shell #chat-form{padding:16px}
.chat-shell #chat-form>label{display:block;margin:0}
.chat-shell #chat-text{padding:14px 124px 14px 14px;min-height:100px;margin:0;resize:vertical}
.chat-shell .chat-compose-actions{top:48px;right:74px;bottom:auto}
.chat-shell .chat-send{position:absolute;top:48px;right:24px;width:44px;height:44px;min-height:44px;padding:0;margin:0;border-radius:50%;font-size:0;display:flex;align-items:center;justify-content:center}
.chat-shell .chat-send::after{content:'➤';font-size:23px;line-height:1}
.chat-shell .chat-compose-actions [data-chat-control=record]{width:44px;height:44px;min-height:44px;background:#edf4ef;color:#24735d;box-shadow:none}
.chat-shell .chat-compose-actions [data-chat-control=record].recording{background:#d64c4c;color:white}
@media(max-width:720px){.chat-shell #chat-form{padding:14px}.chat-shell .chat-compose-actions{top:46px;right:70px;bottom:auto}.chat-shell .chat-send{top:46px;right:20px}.chat-shell #chat-text{padding-right:114px}}
