/* Message presentation only; the stored and copied text remains unchanged. */
.chat-msg-text.we-chat-text, .dsc-chat-msg-text.we-chat-text {
    white-space: normal;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.we-chat-text > .we-chat-text-line {
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: start;
    unicode-bidi: plaintext;
    min-width: 0;
}
.we-chat-text-line > bdi {
    unicode-bidi: isolate;
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
}
#chat-text-input, .chat-msg-edit-form textarea {
    unicode-bidi: plaintext;
    text-align: start;
}
