.bk-rich-msg{position:relative;padding-right:34px!important;min-width:130px}.bk-chat-avatar{width:25px;height:25px;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-right:7px;background:#d8ece1;font-size:12px}.bk-rich-msg>b{vertical-align:middle}.bk-rich-msg .bk-file{display:flex;flex-direction:column;gap:5px;margin:8px 0;padding:7px;border-radius:9px;background:#00000008;font-size:12px;overflow-wrap:anywhere;color:#16634a}.bk-file img{width:100%;max-width:300px;max-height:300px;object-fit:contain;border-radius:6px}.bk-file-icon{font-size:28px}.bk-withdrawn{font-style:italic;opacity:.6}.bk-sticker{text-align:center;padding:10px;min-width:150px}.bk-sticker>span{display:block;font-size:64px;line-height:1.2;filter:drop-shadow(0 3px 0 white)}.bk-sticker>strong{font-size:15px;display:block;color:#087a4d}.bk-message-actions{position:absolute;right:6px;top:5px;background:transparent}.bk-message-actions>summary{cursor:pointer;font-size:20px;list-style:none;line-height:20px;padding:0 4px}.bk-message-actions>div{position:absolute;right:0;top:24px;z-index:12;background:#fff;box-shadow:0 4px 20px #0003;border-radius:10px;padding:6px;display:flex;flex-wrap:wrap;width:185px;gap:4px}.bk-message-actions button,.bk-reactions button{border:0;background:#f1f6f2;border-radius:12px;padding:5px 7px;cursor:pointer;color:#244337}.bk-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.bk-reactions .selected{outline:1px solid #079568;background:#dcf9e7}.bk-rich-compose{width:100%;flex-basis:100%;font:13px system-ui}.bk-rich-tools{display:flex;align-items:center;gap:8px}.bk-rich-tools button,.bk-rich-tools .bk-attach{background:transparent!important;color:#487665!important;border:0!important;width:auto!important;height:auto!important;border-radius:5px!important;padding:5px 8px!important;font-size:17px!important;cursor:pointer}.bk-rich-tools small{color:#6b8073;font-size:10px;margin-left:auto}.bk-attach input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;padding:0!important}.bk-attach:focus-within{outline:2px solid #16875d}.bk-picker{padding:8px;display:flex;flex-wrap:wrap;gap:6px;max-height:160px;overflow:auto;background:#fff;border-radius:10px}.bk-picker[hidden]{display:none}.bk-picker button{background:#f0f7f1!important;color:#196749!important;width:auto!important;height:auto!important;font-size:18px!important;border:0;padding:8px!important;border-radius:9px!important}.bk-pending{padding:4px;color:#167251;overflow-wrap:anywhere}.bk-pending button{width:auto!important;height:auto!important;border:0;font-size:12px!important;padding:3px 8px!important;background:#e3eee7!important;color:#23543a!important}.composer:has(.bk-rich-compose),.chat-form:has(.bk-rich-compose){flex-wrap:wrap}.bk-msg.bk-rich-msg{max-width:90%;overflow:visible}.bk-rich-msg p{overflow-wrap:anywhere;white-space:pre-wrap}.msg.bk-rich-msg{overflow:visible}.bk-rich-msg small{font-size:10px}.bk-file span{overflow-wrap:anywhere}
.bk-rich-tools{gap:4px}.bk-rich-tools button,.bk-rich-tools .bk-attach{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:5px!important}.bk-rich-tools svg{display:block;width:20px;height:20px;pointer-events:none}.bk-rich-tools button:hover,.bk-rich-tools .bk-attach:hover{background:#e6f3e9!important;color:#079b3d!important}.bk-rich-tools button:focus-visible{outline:2px solid #079b3d}.bk-receipt{display:inline-block;font-size:9px;letter-spacing:-3px;padding-right:3px;color:#84958b;vertical-align:middle}.bk-receipt.read{color:#249dd0}.embedded-chat .bk-rich-msg small{font-size:9px}.embedded-chat .bk-chat-avatar{width:18px;height:18px;font-size:9px;margin-right:4px}.embedded-chat .bk-message-actions>summary{font-size:15px;line-height:17px}.embedded-chat .bk-reactions button{padding:2px 5px;font-size:10px}.embedded-chat .bk-rich-compose{font-size:11px}.embedded-chat .bk-rich-msg .bk-file{font-size:10px}.embedded-chat .bk-sticker>span{font-size:48px}.embedded-chat .bk-sticker>strong{font-size:12px}.embedded-chat .bk-sticker{min-width:100px;padding:6px}
/* Floating menus are outside message/history clipping containers. */
.bk-floating-menu{position:fixed;z-index:10000;width:250px;max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px);overflow:auto;background:#fff;border:1px solid #ecefed;border-radius:16px;padding:6px;box-shadow:0 7px 30px #182f282b;color:#26362f;font:12px/1.4 system-ui}.bk-floating-menu button{border:0;background:white;color:inherit;cursor:pointer;font:inherit;text-align:left;padding:9px 11px;display:flex;align-items:center;gap:12px;border-radius:9px;width:100%;min-height:34px}.bk-floating-menu button:hover,.bk-floating-menu button:focus-visible{background:#eef3ef;outline:none}.bk-floating-menu svg,.bk-card>svg{width:19px;height:19px;flex:none}.bk-quick-reactions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;border-bottom:1px solid #edf0ee;padding:4px 0 7px}.bk-quick-reactions button{padding:5px 0;justify-content:center;font-size:22px}.bk-action-list button:last-child{border-top:1px solid #edf0ee;border-radius:0 0 9px 9px}.bk-emoji-grid{display:grid;grid-template-columns:repeat(5,1fr)}.bk-emoji-grid button{font-size:23px;justify-content:center;padding:7px}.bk-sticker-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;border-top:1px solid #eee;padding-top:7px}.bk-sticker-grid button{flex-direction:column;text-align:center;gap:3px}.bk-sticker-grid span{font-size:38px;line-height:1.3}.bk-sticker-grid small{font-size:10px}.bk-menu-trigger{position:absolute;top:3px;right:4px;border:0;background:transparent;color:#587364;font:18px system-ui;cursor:pointer;padding:0 4px;line-height:22px}.bk-rich-msg{padding-right:28px!important}.bk-quote{margin:7px 0 4px;border-left:3px solid #15a773;border-radius:5px;padding:6px 8px;background:#00000007;font-size:11px;max-height:75px;overflow:hidden}.bk-quote div{white-space:pre-wrap;overflow-wrap:anywhere}.bk-forwarded{font-style:italic;text-align:left!important;color:#84958a}.bk-mark{font-size:10px;margin-left:5px;color:#688577}.bk-card{padding:10px;background:#ffffff88;border:1px solid #d9e7df;border-radius:9px;min-width:150px}.bk-card b{display:block;margin-top:5px}.bk-card button,.bk-poll button{border:1px solid #cbded1;border-radius:7px;padding:7px 10px;background:#fff;color:#23754d;font:11px system-ui;cursor:pointer}.bk-poll{min-width:170px;padding:8px 0}.bk-poll>b{display:block;margin-bottom:7px}.bk-poll button{display:flex;width:100%;gap:12px;justify-content:space-between;margin:5px 0;text-align:left}.bk-poll .chosen{background:#def4e3;border-color:#079b3d}.bk-file.custom-sticker{background:none!important;padding:0!important}.custom-sticker img{max-width:150px;max-height:150px}.custom-sticker span{display:none}.bk-action-dialog{width:min(370px,92vw);max-height:85dvh;overflow:auto;border:1px solid #dde5e0;border-radius:16px;padding:18px;font:12px system-ui;color:#284334}.bk-action-dialog::backdrop,.bk-call-dialog::backdrop{background:#17382c66}.bk-dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.bk-dialog-heading button{border:0;border-radius:50%;width:28px;height:28px;background:#eef3ef;font-size:20px}.bk-action-dialog label{display:block;margin:12px 0}.bk-action-dialog input,.bk-action-dialog textarea,.bk-action-dialog select{box-sizing:border-box;display:block;width:100%;padding:9px;margin:5px 0;border:1px solid #d0ded4;border-radius:8px;font:inherit}.bk-action-dialog button[type=submit]{background:#079b3d;color:white;border:0;border-radius:8px;padding:10px 15px;margin:4px;cursor:pointer}.bk-action-dialog [role=status]{color:#a44428}.bk-hidden-file{display:none!important}
/* A single compact input row, with pending reply/upload above it only when needed. */
.composer:has(.bk-rich-compose),.chat-form:has(.bk-rich-compose){display:flex;flex-wrap:wrap;align-items:center;gap:5px!important;padding:8px 10px!important}.bk-rich-compose{display:contents!important}.bk-rich-tools{order:1;display:flex;gap:1px}.composer input[name=body],.chat-form input[name=body]{order:2;flex:1;min-width:50px;padding:10px 12px!important;margin:0!important}.composer>button:not(.bk-voice-button),.chat-form>button:not(.bk-voice-button){order:3;flex:none}.bk-pending{order:0;flex:0 0 100%;font-size:11px}.bk-pending:empty{display:none}.bk-rich-tools button{width:30px!important;height:32px!important;min-width:30px;min-height:32px;padding:4px!important}.bk-rich-tools small{display:none!important}.bk-presence{font-style:italic;font-size:10px;font-weight:400;color:#6e8d79}.bk-voice-button{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px!important;height:32px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#315d46!important;margin-left:auto;cursor:pointer}.bk-voice-button svg{width:21px;height:21px}.conversation-header[role=button]{cursor:pointer}.conversation-header[role=button]:focus-visible{outline:2px solid #079b3d;outline-offset:-2px}.bk-chat-title .bk-voice-button{margin-left:auto}.bk-call-dialog{border:0;border-radius:20px;width:min(350px,90vw);padding:28px;text-align:center;font:13px/1.5 system-ui;color:#234832}.bk-call-symbol{font-size:42px;color:#079b3d;margin-bottom:12px}.bk-call-dialog b{display:block;font-size:17px}.bk-call-dialog button{border:0;border-radius:20px;padding:10px 16px;margin:5px;background:#079b3d;color:white;cursor:pointer}.bk-call-dialog button[data-end]{background:#db4949}.bk-call-dialog button[data-mute]{background:#e3eee7;color:#345540}.bk-call-dialog small{display:block;font-size:10px;color:#7c8f83;margin-top:12px}.bk-call-dialog [hidden]{display:none!important}
.bk-pinned-bar{position:sticky;top:0;z-index:5;flex:none;align-self:stretch;background:#edf6ee;border:1px solid #d6e5d9;border-radius:7px;padding:4px}.bk-pinned-bar button{display:block;width:100%;border:0;background:none;color:#3a7750;font:11px system-ui;text-align:left;padding:4px 6px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-rich-msg audio,.bk-rich-msg video{display:block;width:100%;max-width:320px;max-height:260px;margin:6px 0;border-radius:8px}.bk-rich-msg audio{min-width:160px;height:38px}
.bk-camera-preview{width:100%;max-height:300px;object-fit:contain;border-radius:9px;background:#16251d}.bk-action-dialog [data-camera-file]{border:0;background:#eff5f0;color:#386449;border-radius:8px;padding:9px;cursor:pointer}
