.av-call-launch{width:38px;height:38px;display:inline-grid;place-items:center;padding:0!important;border:0!important;background:#edf4ff!important;color:#216bf3!important;box-shadow:none!important}.rtc-native{position:fixed;inset:0;z-index:999999;display:grid;grid-template-columns:minmax(0,1fr) 390px;background:#eef3fa;color:#172033;font-family:inherit}.rtc-stage{position:relative;overflow:hidden;background:linear-gradient(145deg,#f8fbff,#e7eef8);display:grid;place-items:center}.rtc-remote{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#e7eef8}.rtc-local{position:absolute;z-index:4;right:22px;top:22px;width:170px;height:220px;object-fit:cover;border:4px solid #fff;border-radius:20px;background:#dce5f1;box-shadow:0 15px 45px #223a5c35}.rtc-person{position:relative;z-index:3;text-align:center;padding:28px}.rtc-person img{width:116px;height:116px;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 16px 44px #1f3b642d}.rtc-person h2{margin:14px 0 5px;color:#172033}.rtc-person p{color:#69778d}.rtc-person.connected{display:none}.rtc-controls{position:absolute;z-index:6;left:20px;right:20px;bottom:26px;display:flex;align-items:center;justify-content:center;gap:14px}.rtc-btn{width:68px;height:68px;border:0;border-radius:50%;display:grid;place-items:center;background:#fff;color:#23334c;box-shadow:0 9px 30px #253b5b26;cursor:pointer}.rtc-btn i{font-size:20px}.rtc-btn span{display:none}.rtc-btn.accept{background:#22b66f;color:#fff}.rtc-btn.danger{background:#ef4056;color:#fff}.rtc-btn.off{background:#f2b540;color:#fff}.rtc-chat{display:flex;flex-direction:column;background:#fff;border-left:1px solid #dfe6f0;min-width:0}.rtc-chat>header{height:68px;display:flex;align-items:center;padding:0 22px;border-bottom:1px solid #e4e9f1;font-size:17px}.rtc-chat-host{flex:1;min-height:0;overflow:auto;padding:10px}.rtc-chat-host .panel-messages,.rtc-chat-host .chat-box{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;box-shadow:none!important;border:0!important}.rtc-chat-host .chat-conversations{height:calc(100vh - 205px)!important;max-height:none!important}.rtc-empty{padding:40px 20px;text-align:center;color:#748198}
@media(max-width:767.98px){.rtc-native{grid-template-columns:1fr;grid-template-rows:48vh 52vh}.rtc-stage{min-height:0}.rtc-chat{border-left:0;border-top:1px solid #dfe6f0}.rtc-chat>header{height:52px;padding:0 15px}.rtc-chat-host{padding:0}.rtc-chat-host .chat-conversations{height:calc(52vh - 150px)!important}.rtc-local{width:86px;height:116px;right:12px;top:12px;border-width:3px;border-radius:14px}.rtc-person{padding:12px}.rtc-person img{width:76px;height:76px}.rtc-person h2{font-size:19px;margin:8px 0 2px}.rtc-controls{bottom:12px}.rtc-btn{width:52px;height:52px}.rtc-btn i{font-size:16px}}

/* v2.4 compact call layout and exact active-conversation panel */
@media(min-width:768px){.rtc-native{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(1180px,calc(100vw - 40px));height:min(720px,calc(100vh - 40px));grid-template-columns:minmax(0,1fr) 330px;border-radius:18px;overflow:hidden;box-shadow:0 28px 90px #14233d59}.rtc-local{width:128px;height:168px;right:16px;top:16px;border-width:3px;border-radius:16px}.rtc-btn{width:56px;height:56px}.rtc-controls{bottom:18px;gap:10px}.rtc-person img{width:92px;height:92px}.rtc-chat>header{height:56px;padding:0 16px;font-size:15px}.rtc-chat-host{padding:0}}
.rtc-chat-host>.chat-box,.rtc-chat-host>.panel-messages{display:flex!important;flex-direction:column!important;height:100%!important;background:transparent!important}.rtc-chat-host>.chat-box .chat-widget-content{display:flex!important;flex:1!important;min-height:0!important;flex-direction:column!important}.rtc-chat-host>.chat-box .chat-conversations,.rtc-chat-host>.panel-messages .chat-conversations{flex:1!important;height:auto!important;min-height:0!important}.rtc-chat-host>.chat-box .chat-widget-head{flex:0 0 auto}.rtc-chat-host>.chat-box .chat-form,.rtc-chat-host>.panel-messages .chat-form{flex:0 0 auto}
@media(max-width:767.98px){.rtc-native{grid-template-rows:54vh 46vh}.rtc-chat>header{height:44px}.rtc-chat-host>.chat-box .chat-conversations,.rtc-chat-host>.panel-messages .chat-conversations{height:auto!important}.rtc-local{width:72px;height:96px}.rtc-btn{width:46px;height:46px}.rtc-person img{width:64px;height:64px}.rtc-person h2{font-size:17px}}

/* v2.5 mobile camera stack, full-screen toggle chat, unread pulse and audio identity */
.rtc-chat>header{justify-content:space-between}.rtc-chat-minimize{border:0;background:#edf3ff;color:#216bf3;width:34px;height:34px;border-radius:10px;display:grid;place-items:center}.rtc-chat-toggle{position:relative}.rtc-unread{display:none;position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ff3158;color:#fff;font:700 11px/20px system-ui;text-align:center;border:2px solid #fff}.rtc-unread.show{display:block}.rtc-chat-toggle.has-unread{animation:rtcChatPulse 1s infinite;background:#216bf3;color:#fff}@keyframes rtcChatPulse{0%,100%{box-shadow:0 0 0 0 #216bf370}50%{box-shadow:0 0 0 12px #216bf300}}
.rtc-camera-remote{position:absolute;inset:0}.rtc-camera-local{position:absolute;z-index:4;right:16px;top:16px;width:128px;height:168px}.rtc-camera-local .rtc-local{position:static;width:100%;height:100%}.is-audio .rtc-camera{display:none}.is-audio .rtc-person.connected{display:block}.is-audio .rtc-person{background:#fff;padding:32px 44px;border-radius:24px;box-shadow:0 18px 55px #243b6030}.is-audio .rtc-person img{width:112px;height:112px}.is-audio .rtc-person h2{font-size:24px}.is-audio .rtc-person p{font-weight:600;color:#216bf3}
@media(max-width:767.98px){.rtc-native{display:block;inset:0;transform:none;width:100%;height:100%;border-radius:0}.rtc-stage{height:100%;display:grid;grid-template-rows:1fr 1fr;gap:2px;background:#111827}.rtc-camera{position:relative!important;inset:auto!important;right:auto!important;top:auto!important;width:100%!important;height:100%!important;min-height:0;overflow:hidden;background:#172033}.rtc-camera video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;object-fit:cover!important;box-shadow:none!important}.rtc-camera-local{grid-row:2}.rtc-controls{bottom:14px}.rtc-chat{display:none;position:absolute;z-index:20;inset:0;border:0;background:#fff}.rtc-native.chat-open .rtc-chat{display:flex}.rtc-native.chat-open .rtc-stage{visibility:hidden}.rtc-chat>header{height:54px;padding:0 16px}.rtc-chat-host{flex:1;min-height:0}.is-audio .rtc-stage{display:grid;place-items:center;background:linear-gradient(160deg,#eff5ff,#dfe9f8)}.is-audio .rtc-person{display:block;position:relative;padding:24px 30px}.is-audio .rtc-person img{width:92px;height:92px}.is-audio .rtc-person h2{font-size:21px}.is-audio .rtc-person.connected{display:block}}

/* v2.6 desktop chat toggle and unobstructed mobile camera controls */
@media(min-width:768px){.rtc-native.chat-hidden{grid-template-columns:minmax(0,1fr)}.rtc-native.chat-hidden .rtc-chat{display:none}}
@media(max-width:767.98px){.rtc-stage{height:100%;padding-bottom:72px;box-sizing:border-box;grid-template-rows:1fr 1fr}.rtc-controls{bottom:9px;height:54px}.is-audio .rtc-stage{padding-bottom:72px}}

/* v2.7 clean pre-connect screen and correctly fitted mobile private messages */
@media(max-width:767.98px){.rtc-native:not(.connected-call):not(.is-audio) .rtc-stage{display:grid;grid-template:none;place-items:center;background:linear-gradient(160deg,#eff5ff,#dce8f8)}.rtc-native:not(.connected-call):not(.is-audio) .rtc-camera-remote{display:none}.rtc-native:not(.connected-call):not(.is-audio) .rtc-camera-local{display:block;position:absolute!important;z-index:5;right:12px!important;top:12px!important;width:92px!important;height:122px!important;border:3px solid #fff;border-radius:15px;box-shadow:0 10px 35px #1b2e4d40}.rtc-native:not(.connected-call):not(.is-audio) .rtc-camera-local video{border-radius:12px!important}.rtc-native:not(.connected-call):not(.is-audio) .rtc-person{display:block;position:relative;background:#fff;padding:22px 28px;border-radius:22px;box-shadow:0 18px 55px #243b6030}.rtc-native:not(.connected-call):not(.is-audio) .rtc-person img{width:88px;height:88px}.rtc-native:not(.connected-call):not(.is-audio) .rtc-person h2{font-size:20px;color:#172033}.rtc-native.connected-call:not(.is-audio) .rtc-person{display:none}}
@media(max-width:767.98px){body:not(:has(.rtc-native)) .panel-messages{height:calc(100dvh - 170px);min-height:420px;margin:0;display:flex;flex-direction:column;overflow:hidden}body:not(:has(.rtc-native)) .panel-messages>.card-header{flex:0 0 auto;padding-top:12px;padding-bottom:12px}body:not(:has(.rtc-native)) .panel-messages>.card-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:10px}body:not(:has(.rtc-native)) .panel-messages .chat-conversations{flex:1;min-height:0;height:auto!important;max-height:none!important;overflow-y:auto}body:not(:has(.rtc-native)) .panel-messages .chat-form{flex:0 0 auto;margin-top:6px}}

/* v2.8 keep the composer above Sngine mobile navigation and pin preview top-right */
@media(max-width:767.98px){body:not(:has(.rtc-native)) .panel-messages{height:calc(100dvh - 240px)!important;min-height:0!important;margin-bottom:70px!important}body:not(:has(.rtc-native)) .panel-messages>.card-body{padding-bottom:8px!important}body:not(:has(.rtc-native)) .panel-messages .chat-form{position:relative!important;bottom:auto!important;z-index:2;background:#fff;padding-bottom:4px}.rtc-native:not(.connected-call):not(.is-audio) .rtc-camera-local{position:absolute!important;display:block!important;grid-row:auto!important;align-self:auto!important;justify-self:auto!important;top:14px!important;right:14px!important;bottom:auto!important;left:auto!important;transform:none!important;width:86px!important;height:112px!important;margin:0!important}.rtc-native:not(.connected-call):not(.is-audio) .rtc-camera-local video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}}

/* v2.9 Messenger-style full-height in-call chat on mobile */
@media(max-width:767.98px){.rtc-native.chat-open .rtc-chat{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:none!important;z-index:1000001!important}.rtc-native.chat-open .rtc-chat-host{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;height:auto!important;overflow:hidden!important;padding:0!important}.rtc-native.chat-open .rtc-chat-host>.panel-messages{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;height:100%!important;max-height:none!important;margin:0!important;border-radius:0!important}.rtc-native.chat-open .rtc-chat-host>.panel-messages>.card-header{flex:0 0 auto!important}.rtc-native.chat-open .rtc-chat-host>.panel-messages>.card-body{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;height:auto!important;padding:10px!important}.rtc-native.chat-open .rtc-chat-host>.panel-messages .chat-conversations{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important}.rtc-native.chat-open .rtc-chat-host>.panel-messages .chat-typing,.rtc-native.chat-open .rtc-chat-host>.panel-messages .chat-form{flex:0 0 auto!important}.rtc-native.chat-open .rtc-chat-host>.panel-messages .chat-form{position:relative!important;bottom:auto!important;margin:6px 0 0!important;background:#fff!important}.rtc-native.chat-open .rtc-chat-host>.chat-box{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;height:100%!important}.rtc-native.chat-open .rtc-chat-host>.chat-box .chat-widget-content{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important}.rtc-native.chat-open .rtc-chat-host>.chat-box .chat-conversations{flex:1!important;min-height:0!important;height:auto!important;overflow-y:auto!important}}

/* v3.0 full-screen Messenger layout for normal mobile private messages */
@media(max-width:767.98px){body.rtc-mobile-messages{overflow:hidden!important}.panel-messages.rtc-mobile-full{position:fixed!important;inset:0!important;z-index:99990!important;width:100vw!important;height:100dvh!important;max-height:none!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;background:#fff!important}.panel-messages.rtc-mobile-full>.card-header{position:relative;flex:0 0 58px!important;min-height:58px!important;display:flex!important;align-items:center!important;padding:8px 12px 8px 48px!important;border-radius:0!important}.panel-messages.rtc-mobile-full>.card-header .row{width:100%;align-items:center}.panel-messages.rtc-mobile-full>.card-body{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;height:auto!important;padding:10px!important}.panel-messages.rtc-mobile-full .chat-conversations{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important}.panel-messages.rtc-mobile-full .chat-typing,.panel-messages.rtc-mobile-full .chat-form{flex:0 0 auto!important}.panel-messages.rtc-mobile-full .chat-form{position:relative!important;bottom:auto!important;margin-top:6px!important;background:#fff!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}.rtc-mobile-back{position:absolute;left:10px;top:12px;z-index:3;width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:#edf4ff;color:#216bf3}.panel-messages.rtc-mobile-full .col-lg-6{margin-bottom:0!important}}

/* v3.1 remove lower blank area caused by the earlier reduced-height rule */
@media(max-width:767.98px){body.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full{position:fixed!important;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;margin:0!important;z-index:2147483000!important;background:#fff!important}body.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full>.card-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;background:#fff!important;padding-bottom:10px!important}body.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full .chat-conversations{flex:1 1 0!important;min-height:0!important;height:0!important;max-height:none!important;background:#fff!important;overflow-y:auto!important}body.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full .chat-form{flex:0 0 auto!important;margin:6px 0 0!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important;background:#fff!important}}

/* v3.2 restore the call-chat header and minimize button */
@media(max-width:767.98px){.rtc-native.chat-open .rtc-chat{display:flex!important;flex-direction:column!important}.rtc-native.chat-open .rtc-chat>header{display:flex!important;position:relative!important;z-index:5!important;flex:0 0 54px!important;background:#fff!important}.rtc-native.chat-open .rtc-chat-host>.panel-messages.rtc-mobile-full{position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;flex:1!important}.rtc-native.chat-open .rtc-chat-host>.panel-messages.rtc-mobile-full .rtc-mobile-back{display:none!important}.rtc-native.chat-open .rtc-chat-minimize{display:grid!important;position:relative!important;z-index:6!important}}

/* v3.3 follow Sngine night mode */
body.night-mode .rtc-native{background:#1e252b!important;color:#c1d4e3!important}body.night-mode .rtc-stage,body.night-mode .rtc-native:not(.connected-call):not(.is-audio) .rtc-stage,body.night-mode .rtc-native.is-audio .rtc-stage{background:linear-gradient(155deg,#171d23,#222c35)!important}body.night-mode .rtc-remote,body.night-mode .rtc-camera{background:#111820!important}body.night-mode .rtc-local{background:#1e252b!important;border-color:#354452!important}body.night-mode .rtc-person,body.night-mode .is-audio .rtc-person,body.night-mode .rtc-native:not(.connected-call):not(.is-audio) .rtc-person{background:#262d34!important;color:#eaf2f8!important;box-shadow:0 18px 55px #0008!important}body.night-mode .rtc-person h2{color:#eaf2f8!important}body.night-mode .rtc-person p{color:#91a8ba!important}body.night-mode .rtc-btn{background:#2b3843!important;color:#eaf2f8!important;box-shadow:0 9px 30px #0007!important}body.night-mode .rtc-btn.accept{background:#22a968!important;color:#fff!important}body.night-mode .rtc-btn.danger{background:#e33f55!important;color:#fff!important}body.night-mode .rtc-btn.off{background:#d89d32!important;color:#fff!important}body.night-mode .rtc-chat,body.night-mode .rtc-chat-host{background:#1e252b!important;color:#c1d4e3!important;border-color:#2e3f4d!important}body.night-mode .rtc-chat>header,body.night-mode .rtc-native.chat-open .rtc-chat>header{background:#262d34!important;color:#eaf2f8!important;border-color:#2e3f4d!important}body.night-mode .rtc-chat-minimize,body.night-mode .rtc-mobile-back{background:#2b3843!important;color:#7cabff!important}body.night-mode .rtc-chat-host>.panel-messages,body.night-mode .rtc-chat-host>.chat-box,body.night-mode .rtc-chat-host .card,body.night-mode .rtc-chat-host .card-header,body.night-mode .rtc-chat-host .card-body{background:#262d34!important;color:#c1d4e3!important;border-color:#2e3f4d!important}body.night-mode .rtc-chat-host .chat-conversations{background:#1e252b!important}body.night-mode .rtc-chat-host .chat-form,body.night-mode .rtc-chat-host .x-form,body.night-mode .rtc-chat-host textarea{background:#1e252b!important;color:#eaf2f8!important;border-color:#2e3f4d!important}body.night-mode .rtc-empty{color:#91a8ba!important}
@media(max-width:767.98px){body.night-mode.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full,body.night-mode.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full>.card-header,body.night-mode.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full>.card-body{background:#262d34!important;color:#c1d4e3!important;border-color:#2e3f4d!important}body.night-mode.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full .chat-conversations{background:#1e252b!important}body.night-mode.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full .chat-form,body.night-mode.rtc-mobile-messages:not(:has(.rtc-native)) .panel-messages.rtc-mobile-full textarea{background:#1e252b!important;color:#eaf2f8!important;border-color:#2e3f4d!important}}

/* v3.4 compact desktop video and clean in-call chat */
.rtc-chat-host>.panel-messages>.card-header{display:none!important}.rtc-chat-host>.panel-messages>.card-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;padding:10px!important}.rtc-chat-host>.panel-messages .chat-conversations{flex:1 1 0!important;min-height:0!important;height:0!important;max-height:none!important;overflow-y:auto!important}.rtc-chat-host>.panel-messages .chat-typing,.rtc-chat-host>.panel-messages .chat-form{flex:0 0 auto!important}.rtc-chat-host>.panel-messages .chat-form{position:relative!important;bottom:auto!important;margin-top:6px!important}.rtc-chat-host{overflow:hidden!important}
@media(min-width:768px){.rtc-native .rtc-remote{object-fit:contain!important;background:#111820!important}.rtc-native .rtc-camera-remote{display:grid;place-items:center;background:#111820!important}.rtc-native:not(.connected-call) .rtc-camera-remote{display:none}.rtc-native:not(.connected-call):not(.is-audio) .rtc-person{display:block!important}.rtc-native:not(.connected-call):not(.is-audio) .rtc-camera-local{width:112px;height:146px}.rtc-native.connected-call:not(.is-audio) .rtc-person{display:none!important}.rtc-chat{width:330px;max-width:330px}.rtc-native.chat-hidden .rtc-chat{display:none!important}}
body.night-mode .rtc-chat-host>.panel-messages .chat-form,body.night-mode .rtc-chat-host>.panel-messages .chat-form-message,body.night-mode .rtc-chat-host>.panel-messages textarea{background:#1e252b!important;color:#eaf2f8!important}
@media(min-width:768px){.rtc-native{width:min(1040px,calc(100vw - 40px))!important;height:min(640px,calc(100vh - 40px))!important;grid-template-columns:minmax(0,1fr) 310px!important}.rtc-chat{width:310px!important;max-width:310px!important}}

/* v3.5 keep call controls visible and composer inside the chat panel */
.rtc-stage>.rtc-controls{display:flex!important;visibility:visible!important;opacity:1!important;position:absolute!important;z-index:100!important;left:16px!important;right:16px!important;bottom:18px!important;align-items:center!important;justify-content:center!important;pointer-events:auto!important}.rtc-stage>.rtc-controls .rtc-btn{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}.rtc-chat-host>.panel-messages>.card-body{overflow:hidden!important}.rtc-chat-host>.panel-messages>.card-body>.slimScrollDiv,.rtc-chat-host>.panel-messages>.card-body>.js_scroller_wrapper{display:block!important;position:relative!important;flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden!important}.rtc-chat-host>.panel-messages>.card-body>.slimScrollDiv>.chat-conversations,.rtc-chat-host>.panel-messages>.card-body>.js_scroller_wrapper>.chat-conversations{position:relative!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}.rtc-chat-host>.panel-messages .chat-typing{min-height:20px!important}.rtc-chat-host>.panel-messages .chat-form{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:58px!important;z-index:10!important;background:#fff!important}.rtc-chat-host>.panel-messages .chat-form-message,.rtc-chat-host>.panel-messages .x-form-tools{display:block!important;visibility:visible!important}.rtc-chat-host>.panel-messages .chat-form-message textarea{display:block!important;width:100%!important;min-height:40px!important}
body.night-mode .rtc-chat-host>.panel-messages .chat-form{background:#1e252b!important}
@media(max-width:767.98px){.rtc-stage>.rtc-controls{bottom:9px!important}.rtc-chat-host>.panel-messages .chat-form{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}}
.rtc-chat-host>.chat-box>.chat-widget-head{display:none!important}.rtc-chat-host>.chat-box>.chat-widget-content{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;overflow:hidden!important}.rtc-chat-host>.chat-box>.chat-widget-content>.slimScrollDiv{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden!important}.rtc-chat-host>.chat-box>.chat-widget-content>.slimScrollDiv>.chat-conversations{height:100%!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}.rtc-chat-host>.chat-box .chat-form{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;flex:0 0 auto!important;width:100%!important;min-height:58px!important;background:#fff!important;z-index:10!important}.rtc-chat-host>.chat-box .chat-form-message,.rtc-chat-host>.chat-box .x-form-tools{display:block!important;visibility:visible!important}.rtc-chat-host>.chat-box textarea{display:block!important;width:100%!important;min-height:40px!important}body.night-mode .rtc-chat-host>.chat-box .chat-form,body.night-mode .rtc-chat-host>.chat-box textarea{background:#1e252b!important;color:#eaf2f8!important}

/* v3.6 receiver controls and automatically loaded caller conversation */
.rtc-stage>.rtc-controls,.rtc-stage>.rtc-controls.controls-ready{top:auto!important;bottom:28px!important;height:64px!important;min-height:64px!important;margin:0!important;padding:0!important;transform:none!important;overflow:visible!important}.rtc-stage>.rtc-controls .rtc-btn{position:relative!important;top:auto!important;bottom:auto!important;margin:0!important;transform:none!important}.rtc-chat-host>.chat-box{flex:1 1 auto!important;min-height:0!important;height:100%!important}
@media(max-width:767.98px){.rtc-stage>.rtc-controls,.rtc-stage>.rtc-controls.controls-ready{bottom:8px!important;height:56px!important;min-height:56px!important}}

/* v3.7 raise desktop call controls slightly */
@media(min-width:768px){.rtc-stage>.rtc-controls,.rtc-stage>.rtc-controls.controls-ready{bottom:46px!important}}

/* v3.8 locked control position */
@media(min-width:768px){.rtc-stage>.rtc-controls,.rtc-stage>.rtc-controls.controls-ready{bottom:64px!important}}

/* v3.9 isolate controls and composer from delayed Sngine chat reflow */
.rtc-native>.rtc-controls,.rtc-native>.rtc-controls.controls-ready{position:absolute!important;z-index:1000002!important;top:auto!important;right:auto!important;bottom:34px!important;left:calc((100% - 310px)/2)!important;width:max-content!important;height:64px!important;min-height:64px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;transform:translateX(-50%)!important;visibility:visible!important;opacity:1!important;overflow:visible!important;pointer-events:auto!important}.rtc-native.chat-hidden>.rtc-controls{left:50%!important}.rtc-native>.rtc-controls .rtc-btn{display:grid!important;visibility:visible!important;opacity:1!important;position:relative!important;pointer-events:auto!important}.rtc-chat-host>.panel-messages,.rtc-chat-host>.chat-box{overflow:hidden!important;min-height:0!important}.rtc-chat-host>.panel-messages .chat-form,.rtc-chat-host>.chat-box .chat-form{inset:auto!important;bottom:auto!important;transform:none!important}
@media(max-width:767.98px){.rtc-native>.rtc-controls,.rtc-native>.rtc-controls.controls-ready{left:50%!important;bottom:14px!important;height:56px!important;min-height:56px!important}}

/* v3.10 desktop chat is always visible; keep its toggle only on mobile */
@media(min-width:768px){.rtc-native>.rtc-controls .rtc-chat-toggle{display:none!important}}
