html body .app .composer-area{position:relative;padding:12px 20px max(12px,env(safe-area-inset-bottom));background:var(--ws-panel,#f4f8fd)}
html body .app #composer{border-radius:28px!important;padding:6px 8px;gap:6px;border:1px solid var(--ws-line,#cbd8e7)!important;background:var(--ws-bg,#fff)!important;box-shadow:none!important;align-items:flex-end}
html body .app #message-input,html body .app #message-input:focus,html body .app #message-input:focus-visible{outline:none!important;box-shadow:none!important;border:0!important;border-radius:20px!important;background:transparent!important;font-size:15px;line-height:1.45;padding:10px 5px;min-height:42px;max-height:140px}
html body .app #composer:has(:focus-visible){border-color:#5899e5!important;box-shadow:0 0 0 2px #5899e522!important}
html body .app #composer .icon-button{width:40px;height:40px;min-width:40px;border-radius:50%;padding:8px;background:transparent!important;color:var(--ws-muted,#8aa4c5)!important}
html body .app #composer .emoji-toggle{font-size:28px;line-height:1;padding:0}
html body .app #composer .gif-button{font-size:12px;font-weight:700;width:32px;min-width:32px;padding:0}
html body .app #composer .send-button{width:42px;height:42px;min-width:42px;border-radius:50%;background:#297ff3!important;color:#fff!important}
html body .app #record{touch-action:none;user-select:none;-webkit-touch-callout:none}
html body .app #composer.voice-active #record{background:#237cea!important;color:white!important;box-shadow:0 0 0 5px #368cff22}
html body .app #composer.voice-active #message-input{opacity:.35}
html body .app .composer-hint{font-size:10px;margin:7px 12px 0;color:var(--ws-muted,#8097b3)}
.emoji-panel{position:absolute;right:20px;bottom:calc(100% - 4px);width:min(340px,calc(100vw - 24px));padding:14px;border-radius:18px;border:1px solid #2d4d70;background:#10243c;color:#edf4ff;box-shadow:0 12px 40px #0005;z-index:20}.emoji-panel[hidden]{display:none}.emoji-panel input{width:100%;border:1px solid #305172;background:#0b1b30;color:#edf4ff;border-radius:10px;padding:10px;font-size:14px}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:3px;max-height:230px;overflow:auto;margin-top:10px}.emoji-grid button{background:transparent;color:inherit;border:0;padding:6px 0;font-size:23px;border-radius:8px;min-height:36px}.emoji-grid button:hover{background:#244463}
html body .app #recording-bar{padding:12px 16px;border-radius:24px;background:var(--ws-bg,#e8f1fb);border:1px solid var(--ws-line,#b8cbe0);gap:10px;flex-wrap:wrap;font-size:14px;color:var(--ws-text,#182a40)}
html body .app #recording-bar[hidden]{display:none!important}.voice-gesture-hint{font-size:11px;color:var(--ws-muted,#8fa7c9);flex-basis:100%;text-align:right}#voice-draft-preview{display:block;width:min(100%,360px);height:38px}.attachment-chip:has(#voice-draft-preview){flex-wrap:wrap}
@media(max-width:680px){html body .app .composer-area{padding:8px 6px max(8px,env(safe-area-inset-bottom))}html body .app #composer{gap:2px;padding:5px}html body .app #composer .icon-button{width:34px;min-width:34px;height:40px}html body .app #message-input{font-size:16px}html body .app #composer .send-button{width:38px;min-width:38px;height:40px}.emoji-panel{right:8px}}
