/* MYRAVV WhatsApp-inspired shared theme and real mobile chat shell.
   Loaded last to win over legacy ChatNet, colour and monochrome rules. */
:root{
 --mw-green:#075e54;--mw-green-2:#128c7e;--mw-own:#d9fdd3;--mw-chat:#efeae2;
 --mw-bg:#f7f8fa;--mw-surface:#fff;--mw-text:#111b21;--mw-muted:#667781;
 --mw-border:#e7ecef;--mw-shadow:0 2px 10px rgba(11,32,38,.08);
}
body{color:var(--mw-text)}
a{color:var(--mw-green-2)}
.btn-primary,.btn-success,.rp-btn-primary{background:var(--mw-green-2)!important;border-color:var(--mw-green-2)!important;color:#fff!important}
.btn-outline-primary,.btn-outline-success{color:var(--mw-green-2)!important;border-color:var(--mw-green-2)!important}
.nav-pills .nav-link.active,.page-item.active .page-link{background:var(--mw-green-2)!important;color:#fff!important}
.form-control:focus,.form-select:focus{border-color:var(--mw-green-2)!important;box-shadow:0 0 0 .2rem rgba(18,140,126,.13)!important}
.rp-fundraiser-card{background:#fff!important;border:1px solid var(--mw-border)!important;border-radius:14px!important;box-shadow:none!important}
.rp-fundraiser-progress span{background:var(--mw-green-2)!important}
.rp-send-message{background:var(--mw-green-2)!important;border-color:var(--mw-green-2)!important;color:#fff!important}

@media(max-width:767.98px){
 html,body.incallx{width:100%;height:100%;height:var(--mw-visual-height,100dvh);min-height:100%;margin:0;overflow:hidden!important;overscroll-behavior:none;background:var(--mw-bg)!important}
 body.incallx{position:fixed;inset:0}
 body.incallx #wrapper{display:block!important;position:relative!important;width:100%!important;height:var(--mw-visual-height,100dvh)!important;min-height:var(--mw-visual-height,100dvh)!important;margin:0!important;padding:0!important;overflow:hidden!important;background:var(--mw-bg)!important}
 /* The desktop room rail becomes the native-style bottom tab bar. */
 body.incallx #wrapper>.room-bar{position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;z-index:1200!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-around!important;gap:6px!important;width:100%!important;height:calc(62px + env(safe-area-inset-bottom))!important;min-height:calc(62px + env(safe-area-inset-bottom))!important;max-height:calc(62px + env(safe-area-inset-bottom))!important;padding:6px 10px calc(6px + env(safe-area-inset-bottom))!important;margin:0!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e4e9eb!important;box-shadow:0 -3px 14px rgba(17,27,33,.07)!important;backdrop-filter:blur(18px)!important}
 body.incallx .room-bar .mini-brand-seperator{display:none!important}
 body.incallx .room-bar .private-messages{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;margin:0!important;border-radius:50%!important;background:#f0f4f4!important;color:var(--mw-green)!important}
 body.incallx .room-bar .private-messages.active{background:#dff4ef!important;color:var(--mw-green)!important}
 body.incallx .room-bar .room-list{display:flex!important;flex:1 1 auto!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;max-width:none!important;min-width:0!important;height:48px!important;margin:0!important;padding:0 4px!important;overflow-x:auto!important;overflow-y:hidden!important}
 body.incallx .room-bar .room-list>*{flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;max-height:40px!important;margin:0!important;border-radius:13px!important}
 body.incallx .room-bar .action-list{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;gap:7px!important;margin:0!important;padding:0!important}
 body.incallx .room-bar .action-item{display:flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;margin:0!important;border-radius:14px!important;background:#f0f4f4!important;color:var(--mw-green)!important}
 body.incallx .room-bar .action-item.active{background:#dff4ef!important;color:var(--mw-green)!important}
 body.incallx .room-bar .cn-tab>i,body.incallx .room-bar .action-item>i{font-size:20px!important}
 body.incallx #wrapper>.sidebar-wrapper{display:block!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;z-index:1302!important;width:min(86vw,350px)!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)!important;overflow-x:hidden!important;overflow-y:auto!important;visibility:hidden!important;transform:translateX(-105%)!important;transition:transform .22s ease,visibility .22s ease!important;background:#fff!important;border:0!important;border-radius:0 20px 20px 0!important;box-shadow:16px 0 42px rgba(17,27,33,.18)!important}
 body.incallx.rp-mobile-menu-open #wrapper>.sidebar-wrapper{visibility:visible!important;transform:translateX(0)!important}
 body.incallx.rp-mobile-menu-open::after{content:"";position:fixed;inset:0;z-index:1301;background:rgba(8,26,30,.42);backdrop-filter:blur(2px)}
 body.incallx #wrapper>.main-container{display:flex!important;flex-direction:column!important;position:relative!important;width:100%!important;height:var(--mw-visual-height,100dvh)!important;min-height:0!important;margin:0!important;padding:0 0 calc(62px + env(safe-area-inset-bottom))!important;overflow:hidden!important;background:var(--mw-bg)!important}
 body.incallx .main-container>.video-call-container{flex:0 0 auto!important}
 body.incallx #main-tabs{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important}
 body.incallx #main-tabs>.main-tab-pane{display:none!important;flex:1 1 auto!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important}
 body.incallx #main-tabs>.main-tab-pane.active.show{display:flex!important}
 body.incallx .main-tab-pane>.page-content-wrapper{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important;background:var(--mw-bg)!important}
 body.incallx .page-content-wrapper>.topbar{display:flex!important;flex:0 0 56px!important;align-items:center!important;min-height:56px!important;height:56px!important;padding:0 12px!important;background:var(--mw-green)!important;color:#fff!important;border:0!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important;z-index:12!important}
 body.incallx .page-content-wrapper>.topbar .sidebarToggle{display:inline-flex!important;flex:0 0 40px!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#fff!important}
 body.incallx .page-content-wrapper>.topbar .sidebarToggle i,body.incallx .page-content-wrapper>.topbar .top-channel-icon{color:#fff!important}
 body.incallx .page-content-wrapper>.topbar .top-channel-name{max-width:48vw!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:16px!important;font-weight:750!important;letter-spacing:0!important;color:#fff!important}
 body.incallx .page-content-wrapper>.topbar .nav-item{color:#fff!important}
 body.incallx .page-content-wrapper>.topbar .rightbarToggle,body.incallx .page-content-wrapper>.topbar #notifications-panel{display:none!important}
 body.incallx .container-fluid.group-chat,body.incallx .container-fluid.private-chat{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
 body.incallx .container-fluid.group-chat>.wrapper,body.incallx .container-fluid.private-chat>.wrapper{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important}
 body.incallx .container-fluid.group-chat .main-panel,body.incallx .container-fluid.private-chat .main-panel{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important;background:var(--mw-chat)!important}
 body.incallx .main-panel>.ad-main-top,body.incallx .main-panel>.ad-main-bottom{display:none!important}
 body.incallx .main-panel>.alert,body.incallx .main-panel>.rp-freeze-banner,body.incallx .main-panel>.room-notice{flex:0 0 auto!important;max-height:58px!important;overflow:auto!important;margin:0!important}
 body.incallx .main-panel>.rp-sponsored-slot:empty{display:none!important}
 body.incallx .main-panel>.rp-sponsored-slot:not(:empty){flex:0 0 auto!important;max-height:44px!important;overflow:hidden!important;margin:2px 8px!important}
 /* Money Raiser is a compact one-line disclosure, not a feed card. */
 body.incallx #main-room .rp-fundraiser-strip{display:block!important;flex:0 0 auto!important;min-height:0!important;max-height:none!important;margin:4px 8px!important;padding:5px 9px!important;overflow:visible!important;border:1px solid #dcebe7!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
 body.incallx #main-room .rp-fundraiser-strip-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:30px!important;margin:0!important;padding:0!important}
 body.incallx #main-room .rp-fundraiser-strip-head>div:first-child{display:flex!important;flex-direction:column!important;min-width:0!important;gap:0!important}
 body.incallx #main-room .rp-fundraiser-strip-head b{font-size:11px!important;line-height:1.2!important;color:var(--mw-green)!important}
 body.incallx #main-room .rp-fundraiser-strip-head small{font-size:9px!important;line-height:1.2!important;color:var(--mw-muted)!important}
 body.incallx #main-room .rp-fundraiser-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:5px!important}
 body.incallx #main-room .rp-fundraiser-actions>.btn{min-height:28px!important;padding:4px 8px!important;border:0!important;border-radius:8px!important;background:#e7f5f1!important;color:var(--mw-green)!important;font-size:10px!important}
 body.incallx #main-room .rp-fundraiser-toggle{display:inline-flex!important;align-items:center!important;gap:4px!important;min-height:28px!important;padding:4px 7px!important;border:0!important;border-radius:8px!important;background:#e7f5f1!important;color:var(--mw-green)!important;font-size:10px!important;font-weight:700!important}
 body.incallx #main-room .rp-fundraiser-list{display:none!important;max-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
 body.incallx.rp-fundraisers-open #main-room .rp-fundraiser-list{display:flex!important;flex-direction:row!important;gap:8px!important;max-height:32vh!important;padding:8px 0 2px!important;overflow-x:auto!important;overflow-y:hidden!important}
 body.incallx.rp-fundraisers-open #main-room .rp-fundraiser-card{flex:0 0 min(250px,78vw)!important;max-height:30vh!important;padding:8px!important;overflow:auto!important;border-radius:12px!important}
 body.incallx #main-room .rp-fundraiser-copy p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:3px 0!important;font-size:11px!important}
 body.incallx .chat-scroll{display:block!important;position:relative!important;flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:8px 9px 12px!important;overflow-x:hidden!important;overflow-y:auto!important;background-color:var(--mw-chat)!important;background-image:radial-gradient(rgba(7,94,84,.035) .7px,transparent .7px)!important;background-size:12px 12px!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important}
 body.incallx .chat-scroll .messages{min-height:100%!important;padding-bottom:8px!important}
 body.incallx .room-editor,body.incallx .private-editor{display:block!important;position:relative!important;z-index:20!important;flex:0 0 auto!important;width:100%!important;min-height:0!important;margin:0!important;padding:5px 8px calc(6px + env(safe-area-inset-bottom))!important;background:#f0f2f5!important;border-top:1px solid #e1e7e9!important;box-shadow:0 -2px 9px rgba(17,27,33,.05)!important}
 body.incallx .room-editor .editor-wrap,body.incallx .private-editor .editor-wrap{width:100%!important;margin:0!important}
 body.incallx .editor-container{display:flex!important;flex-direction:row!important;align-items:flex-end!important;gap:5px!important;width:100%!important;min-width:0!important;margin:0!important;padding:5px!important;border:1px solid #e1e7e9!important;border-radius:24px!important;background:#fff!important;box-shadow:none!important}
 body.incallx .editor-container .attachment-col{display:flex!important;flex:0 0 34px!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;padding:0!important}
 body.incallx .editor-container #attachmentOptions{width:24px!important;height:24px!important;color:var(--mw-green-2)!important}
 body.incallx .editor-container .editor-col{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:auto!important;min-width:0!important;padding:0!important}
 body.incallx .editor-container #chatnet-editor,body.incallx .editor-container .note-editor,body.incallx .editor-container .note-editor.note-frame{width:100%!important;min-width:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 body.incallx .editor-container .note-editing-area{background:transparent!important}
 body.incallx .editor-container .note-editable{min-height:38px!important;max-height:112px!important;padding:9px 4px!important;overflow-y:auto!important;border:0!important;background:transparent!important;color:var(--mw-text)!important;font-size:16px!important;line-height:1.35!important}
 body.incallx .editor-container .note-placeholder{padding:9px 4px!important;color:#87949a!important}
 body.incallx .editor-container .emoji-col{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:3px!important;padding:0 2px 7px 0!important}
 body.incallx .editor-container .editor-icon{width:21px!important;height:21px!important;margin:0!important;color:#667781!important}
 body.incallx .editor-container .rp-send-message{display:inline-flex!important;flex:0 0 42px!important;align-items:center!important;justify-content:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:var(--mw-green-2)!important;color:#fff!important;box-shadow:none!important}
 body.incallx .editor-container .rp-send-message span{display:none!important}
 body.incallx .editor-container .rp-send-message i{font-size:19px!important;color:#fff!important}
 body.incallx .rp-message-privacy-controls{display:flex!important;flex-wrap:wrap!important;gap:5px 9px!important;padding:4px 9px 0!important;border:0!important;background:transparent!important;color:#667781!important;font-size:10px!important}
 body.incallx .rp-message-privacy-controls select{max-width:112px!important;padding:2px 5px!important;border:1px solid #dce3e5!important;border-radius:8px!important;background:#fff!important;font-size:11px!important}
 body.incallx .rp-message-privacy-controls input{width:14px!important;height:14px!important}
 body.incallx .rightbar-wrapper{display:none!important}
 body.incallx .main-tab-content,body.incallx .main-tab-content>.tab-pane{padding:0!important}
 body.incallx .rp-mobile-menu-open .sidebar-wrapper .channel-bar{display:block!important;width:100%!important;height:auto!important;max-height:none!important;padding:12px!important;background:#fff!important}
 body.incallx .sidebar-wrapper .topbar-channels{min-height:50px!important;padding:8px!important;border-bottom:1px solid var(--mw-border)!important}
 body.incallx .sidebar-wrapper .channel-item,body.incallx .sidebar-wrapper .disc-cat-row,body.incallx .sidebar-wrapper .room-manage-row{min-height:48px!important;margin:3px 0!important;border-radius:12px!important}
 body.incallx .rp-message-privacy-controls{scroll-margin-bottom:8px}
}
@media(max-width:380px){
 body.incallx .room-bar .room-list{justify-content:flex-start!important}
 body.incallx .room-bar .action-item{width:38px!important;min-width:38px!important;height:38px!important}
 body.incallx .editor-container .emoji-col .editor-icon-sticker,body.incallx .editor-container .emoji-col .editor-icon-gif{display:none!important}
}
@media(prefers-color-scheme:dark){
 body.incallx.dark,html.dark body.incallx{--mw-bg:#0b141a;--mw-surface:#111b21;--mw-text:#e9edef;--mw-muted:#8696a0;--mw-border:#26343d;--mw-chat:#0b141a}
 body.incallx.dark .room-editor,body.incallx.dark .private-editor,html.dark body.incallx .room-editor,html.dark body.incallx .private-editor{background:#111b21!important;border-color:#26343d!important}
 body.incallx.dark .editor-container,html.dark body.incallx .editor-container{background:#202c33!important;border-color:#2a3942!important}
 body.incallx.dark .editor-container .note-editable,html.dark body.incallx .editor-container .note-editable{color:#e9edef!important}
}
