/* Presentation only. Existing chat IDs, forms, calls and transport are unchanged. */
body.divi-modern{--conversation-accent:#425ad9;--conversation-text:#18243b;--conversation-soft:#f3f6fb;--conversation-border:#e4eaf3}
body.divi-modern #multiChatContainer{gap:14px;right:20px;bottom:14px}
body.divi-modern .floating-chat-box{width:350px;height:min(590px,calc(100dvh - 115px));border:1px solid var(--conversation-border);border-radius:20px;box-shadow:0 16px 55px #1b2b4c26;background:#fff}
body.divi-modern .floating-chat-box .chat-popup-header{min-height:68px;padding:10px 12px;background:#fff!important;color:var(--conversation-text)!important;border-bottom:1px solid var(--conversation-border);gap:8px;box-shadow:none}
body.divi-modern .chat-title-button{min-width:0;color:inherit!important;background:transparent!important;flex:1;text-align:left}
body.divi-modern .chat-title-text{font-size:14px;font-weight:750;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.divi-modern .chat-online-label{font-size:11px;color:#69778d!important;margin-top:3px}
body.divi-modern .chat-header-actions{gap:3px}
body.divi-modern .chat-popup-header .chat-header-actions button{width:34px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;color:#50617e!important;background:#f3f6fb!important;font-size:17px}
body.divi-modern .chat-popup-header .chat-header-actions button:hover{background:#e5ebfa!important}
body.divi-modern .chat-popup-body{padding:18px 14px;background:#f6f8fc!important;overscroll-behavior:contain;scrollbar-width:thin;gap:14px}
body.divi-modern .chat-popup-body .messenger5-message-bubble{max-width:85%!important;padding:10px 12px!important;border-radius:16px!important;font-size:14px!important;line-height:1.5;box-shadow:none!important}
body.divi-modern .messenger5-message-bubble[data-msg-sender=me]{background:#e5ebff!important;color:#172b66!important;border:1px solid #dce4ff!important}
body.divi-modern .messenger5-message-bubble[data-msg-sender=other]{background:#fff!important;color:var(--conversation-text)!important;border:1px solid var(--conversation-border)!important}
body.divi-modern .floating-chat-box .chat-popup-footer{padding:10px 10px 12px;background:#fff;border-top:1px solid var(--conversation-border)}
body.divi-modern .chat-composer-row{gap:5px;align-items:flex-end}
body.divi-modern .chat-composer-row textarea{min-height:42px;background:var(--conversation-soft)!important;border:1px solid transparent!important;border-radius:15px!important;padding:11px!important;font-size:14px;line-height:1.4;box-shadow:none}
body.divi-modern .chat-composer-row textarea:focus{border-color:#a6b6fa!important;background:#fff!important;outline:3px solid #425ad917}
body.divi-modern .chat-round-action,body.divi-modern .chat-send-btn{width:38px!important;height:42px!important;min-width:38px!important;flex-basis:38px!important;border-radius:12px!important}
body.divi-modern .chat-send-btn{background:var(--conversation-accent)!important;color:#fff!important}
body.divi-modern .chat-attachment-menu{border:1px solid var(--conversation-border);border-radius:17px;box-shadow:0 12px 40px #172b4c24;padding:7px;max-width:min(290px,calc(100vw - 36px))}
body.divi-modern .chat-attachment-menu button{border-radius:11px;min-height:48px}
body.divi-modern .chat-attachment-menu small{color:#68778e;font-size:11px}
body.divi-modern .floating-chat-box button:focus-visible,body.divi-modern .pm-shell button:focus-visible,body.divi-modern .pm-float-win button:focus-visible{outline:3px solid #9bafff;outline-offset:2px}
body.divi-modern .pm-shell{border:1px solid var(--conversation-border);border-radius:22px;box-shadow:0 10px 40px #172b4c0a;grid-template-columns:minmax(245px,31%) minmax(0,1fr);height:calc(100dvh - 140px);min-height:420px}
body.divi-modern .pm-sidebar{background:#fff;min-height:0}
body.divi-modern .pm-sidebar-head{padding:22px 18px}
body.divi-modern .pm-thread-item{padding:15px;border:0;border-radius:12px;margin:4px 7px}
body.divi-modern .pm-thread-item:hover,body.divi-modern .pm-thread-item.is-active{background:#fdf0f3}
body.divi-modern .pm-main{min-width:0;min-height:0;overflow:hidden}
body.divi-modern .pm-thread-head,body.divi-modern .pm-float-head{background:#fff!important;color:var(--conversation-text)!important;border-bottom:1px solid var(--conversation-border);min-height:65px;padding:10px 14px}
body.divi-modern .pm-thread-head .pm-muted,body.divi-modern .pm-thread-head #pmContextLabel{color:#79849a!important}
body.divi-modern .pm-messages{background:#f7f8fc;min-height:0;padding:20px 16px;gap:12px;overscroll-behavior:contain}
body.divi-modern .pm-bubble{max-width:84%;border-radius:16px;padding:10px 13px;font-size:14px;line-height:1.5}
body.divi-modern .pm-bubble.mine{background:#fce6ec;color:#762641;border:1px solid #f7d8e2}
body.divi-modern .pm-composer{padding:12px;align-items:flex-end;gap:8px}
body.divi-modern .pm-composer textarea,body.divi-modern .pm-composer input{border:1px solid var(--conversation-border);border-radius:14px;background:#f6f8fc;min-width:0;min-height:42px;box-sizing:border-box}
body.divi-modern .pm-composer button{width:42px;height:42px;flex-basis:42px;border-radius:13px;background:#bd4466}
body.divi-modern .pm-float-win{width:350px;height:min(590px,calc(100dvh - 115px));border:1px solid var(--conversation-border);border-top:3px solid #d45c80;border-radius:20px;box-shadow:0 16px 55px #1b2b4c26}
body.divi-modern .pm-float-actions button{color:#7c3d55!important;background:#fdf0f3!important;border-radius:10px;min-width:34px;min-height:36px}
.moments-publish-state{padding:14px 16px;border:1px solid #dfe5fa;background:#f2f5ff;color:#26386c;border-radius:15px;margin:12px auto;font-size:13px;max-width:760px;line-height:1.6}
.moments-publish-state button{border:1px solid #bdc9ee;border-radius:10px;padding:8px 12px;background:#fff;color:#314ba8;margin:6px;cursor:pointer}
@media(max-width:760px){
 body.divi-modern #multiChatContainer{right:0!important;left:0!important;bottom:0!important;max-width:100vw!important}
 body.divi-modern #multiChatContainer .floating-chat-box:not(.chat-minimized){width:100vw!important;min-width:100vw!important;max-width:100vw!important;height:var(--social-visible-vh,100dvh)!important;max-height:var(--social-visible-vh,100dvh)!important;border-radius:0!important;bottom:0!important;margin:0!important}
 body.divi-modern #multiChatContainer .floating-chat-box .chat-popup-header{padding-top:max(10px,env(safe-area-inset-top));flex-shrink:0}
 body.divi-modern .floating-chat-box .chat-popup-body{flex:1 1 auto;min-height:0}
 body.divi-modern .floating-chat-box .chat-popup-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))!important;flex-shrink:0}
 body.divi-modern .chat-composer-row textarea,body.divi-modern .pm-composer textarea,body.divi-modern .pm-composer input{font-size:16px!important}
 body.divi-modern .pm-page{padding:0 0 75px}
 body.divi-modern .pm-shell{grid-template-columns:1fr;height:auto;min-height:0;border-radius:16px}
 body.divi-modern .pm-sidebar{max-height:38dvh;overflow:auto;border-right:0}
 body.divi-modern .pm-main{height:65dvh;min-height:380px}
 body.divi-modern #pmFloatRoot{left:0!important;right:0!important;bottom:0!important;max-width:100vw!important}
 body.divi-modern .pm-float-win{width:100vw!important;max-width:100vw!important;height:var(--social-visible-vh,100dvh)!important;max-height:var(--social-visible-vh,100dvh)!important;border-radius:0!important;margin:0!important}
 body.divi-modern .pm-float-win .pm-composer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.floating-chat-box,.pm-float-win{animation:none!important;transition:none!important}}
body.divi-modern .pm-float-msgs{padding:18px 14px;background:#f7f8fc;gap:12px;scrollbar-width:thin}
body.divi-modern .pm-float-bubble{max-width:85%;padding:11px 13px;border-radius:16px;font-size:14px;line-height:1.5;box-shadow:none}
body.divi-modern .pm-float-bubble.mine{background:#fce6ec;color:#762641;border:1px solid #f7d8e2}
body.divi-modern .pm-float-form{padding:11px;gap:6px;border-top:1px solid var(--conversation-border)}
body.divi-modern .pm-float-form input{min-width:0;min-height:42px;border:1px solid var(--conversation-border);border-radius:14px;background:#f6f8fc;padding:10px 12px;box-sizing:border-box}
body.divi-modern .pm-float-form button[type=submit]{width:40px;height:42px;min-width:40px;border-radius:12px;background:#bd4466}
body.divi-modern .pm-float-form .pm-attach-btn,body.divi-modern .pm-float-form .pm-emoji-btn{width:34px;height:40px;min-width:34px;border-radius:10px;display:flex;align-items:center;justify-content:center}
body.divi-modern .pm-float-sub{color:#8e6680!important;font-size:11px}
@media(max-width:760px){body.divi-modern .pm-float-form{padding-bottom:max(12px,env(safe-area-inset-bottom))!important}body.divi-modern .pm-float-form input{font-size:16px!important}}

body.divi-modern .chat-header-actions .m40-audio-call-btn{font-size:0!important}
body.divi-modern .chat-header-actions .m40-audio-call-btn::before{content:"";display:block;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203H4a1%201%200%200%200-1%201c0%209%208%2017%2017%2017a1%201%200%200%200%201-1v-3l-5-2-2%202a16%2016%200%200%201-7-7l2-2z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203H4a1%201%200%200%200-1%201c0%209%208%2017%2017%2017a1%201%200%200%200%201-1v-3l-5-2-2%202a16%2016%200%200%201-7-7l2-2z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}

body.divi-modern .chat-header-actions .m40-video-call-btn{font-size:0!important}
body.divi-modern .chat-header-actions .m40-video-call-btn::before{content:"";display:block;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2212%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22m15%2010%206-4v12l-6-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2212%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22m15%2010%206-4v12l-6-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}

body.divi-modern .chat-send-btn{font-size:0!important}
body.divi-modern .chat-send-btn::before{content:"";display:block;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%203%2018%209-18%209%204-9-4-9zm4%209h14%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%203%2018%209-18%209%204-9-4-9zm4%209h14%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}

body.divi-modern .chat-header-actions .chat-close-btn{font-size:0!important}
body.divi-modern .chat-header-actions .chat-close-btn::before{content:"";display:block;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%206%2012%2012M6%2018%2018%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%206%2012%2012M6%2018%2018%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.divi-modern .messenger5-message-bubble[data-msg-sender=me]>div:last-child,body.divi-modern .messenger5-message-bubble .message-read-status{color:#61708e!important;font-size:11px!important}
body.divi-modern .pm-float-bubble.mine .pm-msg-meta{color:#8a5268!important;font-size:11px}
@media(max-width:760px){body.divi-modern .chat-popup-body .messenger5-bubble-actions .messenger5-reply-action,body.divi-modern .chat-popup-body .messenger5-bubble-actions .message-reaction-trigger{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}}
body.divi-modern .floating-chat-box.chat-minimized{height:68px!important;min-height:68px!important;max-height:68px!important}
body.divi-modern #pmFloatWin[data-min="1"]{height:68px!important;min-height:68px!important;max-height:68px!important}
body.divi-modern .floating-chat-box.chat-minimized .chat-popup-body,body.divi-modern .floating-chat-box.chat-minimized .chat-popup-footer,body.divi-modern .floating-chat-box.chat-minimized .chat-file-indicator{display:none!important}
