/* Shared by default, store and jingpro; loaded after template styles. */
#chat_messages .msg{
    margin-bottom:10px
}
#chat_messages .bubble:not(.quick-bubble){
    max-width: 78%!important;
    padding: 7px 9px!important;
    border-radius: 9px!important;
    font-size: 13px!important;
    line-height: 1.45!important;
    box-sizing: border-box!important;
    overflow-wrap:anywhere
}
#chat_messages .msg.right .bubble:not(.quick-bubble){
    padding-right:25px!important
}
#chat_messages .bubble.compact-card-bubble{
    padding: 0!important;
    border: 0!important;
    background: transparent!important;
    max-width:calc(100% - 20px)!important
}
#chat_messages .msg.right .bubble.compact-card-bubble{
    padding:0!important
}
#chat_messages .kf-customer-order{
    width: 244px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 6px;
    background: #fff;
    color: #405572;
    font-size: 12px;
    line-height: 1.4;
    text-align:left
}
#chat_messages .kfc-order-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-bottom: 1px solid #e8edf5;
    background:#f5f8fe
}
#chat_messages .kfc-order-head strong{
    font-size: 12px;
    font-weight:600
}
#chat_messages .kfc-order-head>span{
    color: #8b9bb0;
    font-size:10px
}
#chat_messages .kfc-order-product{
    display: block;
    padding: 6px 8px;
    color: #3b5271;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap:anywhere
}
#chat_messages .kf-customer-order dl{
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 4px 10px;
    margin: 0;
    padding:0 8px 15px
}
#chat_messages .kf-customer-order dl>div{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap:4px
}
#chat_messages .kf-customer-order dt{
    flex-shrink: 0;
    color: #8595aa;
    font-size: 10px;
    font-weight:400
}
#chat_messages .kf-customer-order dd{
    min-width: 0;
    margin: 0;
    text-align: right;
    overflow-wrap: anywhere;
    font-size:11px
}
#chat_messages .kfc-order-wide{
    grid-column:1/-1
}
#chat_messages .kfx-text-body{
    font-size:13px
}
#chat_messages .kfx-issue-card .kfx-codes{
    font-size:12px
}
#chat_messages .kfx-expand{
    font-size:11px
}
#chat_messages .bubble:not(.quick-bubble) a{
    overflow-wrap:anywhere
}
@media(max-width:767px){
    #chat_messages .kf-customer-order{
        width:230px
    }
}
