/* MVM Support Network V1.0.25 chat visibility and contrast. Copyright 2026 Merseyview Media Ltd. */
.chat-console [hidden]{display:none!important}
.chat-conversation{position:relative;min-width:0;overflow:hidden}
.chat-conversation>[data-chat-active]:not([hidden]){display:flex;flex-direction:column;min-height:0;height:auto}
.chat-conversation>[data-chat-empty]:not([hidden]){display:grid}
.conversation-head{flex:0 0 auto}
.console-messages{flex:0 0 auto;width:100%;height:410px;border:1px solid #c5d9e3;border-radius:16px;background:linear-gradient(180deg,#edf5f8,#e4eef3)!important;color:#173b50;box-shadow:inset 0 2px 12px rgba(11,48,68,.08)}
.console-message{border:1px solid #cfdee6;background:#f8fbfc;color:#17384c;box-shadow:0 6px 16px rgba(12,48,67,.08)}
.console-message>div{color:#557385;opacity:1}.console-message p{color:inherit!important}
.console-message.visitor{background:#dcebf3;color:#12364d;border-color:#c3dbe7}
.console-message.agent{background:#0879a4;color:#fff;border-color:#1591bc}.console-message.agent>div{color:#dff7ff}
.console-message.system{background:#fff1d8;color:#68471c;border-color:#efd7a8}.console-message.system>div{color:#80612f}
.chat-list-item,.chat-list-item strong{color:#15394e!important}.chat-list-item small{color:#547487!important}
.chat-list-item.active{border-color:#168eb9!important;background:#dceff6!important;box-shadow:0 8px 20px rgba(6,100,137,.14)}
.console-composer{margin-top:14px}.console-composer textarea{color:#17384c;background:#f8fbfc;border-color:#bcd4df}
body.theme-mvm-dark .chat-list-item{background:#0d3a54!important;border-color:#255a73!important;color:#eefaff!important}
body.theme-mvm-dark .chat-list-item strong{color:#f4fbff!important}body.theme-mvm-dark .chat-list-item small{color:#a9cbdb!important}body.theme-mvm-dark .chat-list-item>i{color:#5fe1ad!important}
body.theme-mvm-dark .chat-list-item.active{background:linear-gradient(145deg,#15506e,#0c354d)!important;border-color:#4ac9f4!important;box-shadow:0 12px 28px rgba(0,0,0,.3)!important}
body.theme-mvm-dark .console-messages{background:linear-gradient(180deg,#051a29,#08263a)!important;border-color:#2b5d76!important;box-shadow:inset 0 2px 14px rgba(0,0,0,.32)!important}
body.theme-mvm-dark .console-message{background:#103a52;color:#e8f6fc;border-color:#2b5e77;box-shadow:0 8px 20px rgba(0,0,0,.25)}
body.theme-mvm-dark .console-message>div{color:#add0df!important}body.theme-mvm-dark .console-message p{color:inherit!important}
body.theme-mvm-dark .console-message.visitor{background:#10415c;color:#edfaff;border-color:#28627d}
body.theme-mvm-dark .console-message.agent{background:linear-gradient(145deg,#0785b3,#08658e);color:#fff;border-color:#32b7e5}
body.theme-mvm-dark .console-message.system{background:#4a371a;color:#fff0c8;border-color:#80632f}body.theme-mvm-dark .console-message.system>div{color:#f0d89d!important}
body.theme-mvm-dark .console-composer textarea{background:#061a29!important;color:#f2f9fc!important;border-color:#32637d!important}
@media(max-width:1050px){.chat-conversation>[data-chat-active]:not([hidden]){min-height:0}.console-messages{height:min(410px,55vh)}}
