/* inbound chat bubble (bot/agent) */
.slds-chat-listitem_inbound .embedded-messaging-chat-message .slds-chat-message__text_inbound.embedded-messaging-inbound-chat-message {
    border-radius: var(--radius-bubble-in);
    background: var(--color-surface-agent);
    color: var(--color-content-primary);
}

/* outbound bubble background (user), needs !important to beat generated selector */
.embedded-messaging-outbound-chat-message {
    background: var(--color-surface-user) !important;
}

/* outbound chat bubble corners + text */
.slds-chat-listitem_outbound .embedded-messaging-chat-message .slds-chat-message__text_outbound.embedded-messaging-outbound-chat-message {
    border-radius: var(--radius-bubble-out);
    color: var(--color-content-primary);
}

/* outbound bubble links */
.slds-chat-message__text_outbound a {
    color: var(--color-content-link);
    text-decoration: none;
}

/* rich-text adjustments */
.embedded-messaging-inbound-chat-message .slds-rich-text-editor__output,
.embedded-messaging-outbound-chat-message .slds-rich-text-editor__output {
    line-height: var(--lineheight-s);
}

.embedded-messaging-inbound-chat-message .slds-rich-text-editor__output p {
    padding: 0;
}
