/* Reply actions and quoted-message navigation: light and dark contrast. */
#main-content .pati-dm-layout .chat-history .bubble-chat .pati-dm-msg-tools{
 display:flex!important;gap:6px!important;flex-wrap:wrap!important;
 align-items:center!important;justify-content:flex-end!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat .pati-dm-msg-tools button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:31px!important;padding:5px 9px!important;border-radius:9px!important;
 background:#e9ebef!important;color:#24262b!important;
 border:1px solid #cbd0d8!important;font-size:11px!important;font-weight:750!important;
 opacity:1!important;visibility:visible!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat.mine .pati-dm-msg-tools button{
 background:#30343c!important;border-color:#626b78!important;color:#fff!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat .pati-dm-msg-tools button:focus-visible,
#main-content .pati-dm-layout .chat-history .bubble-chat .pati-dm-reply-preview:focus-visible{
 outline:3px solid #5284ff!important;outline-offset:2px!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat .pati-dm-reply-preview{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 gap:3px!important;text-align:left!important;box-sizing:border-box!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 padding:9px 11px!important;margin:0 0 7px!important;
 border:1px solid #cbd0d8!important;border-left:3px solid #636c7c!important;
 border-radius:10px!important;background:#f0f2f5!important;color:#20242b!important;
 cursor:pointer!important;opacity:1!important;white-space:normal!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat .pati-dm-reply-preview span{
 font-size:10px!important;font-weight:700!important;color:#515b68!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat .pati-dm-reply-preview strong{
 font-size:12px!important;line-height:1.35!important;font-weight:650!important;
 color:#15181d!important;word-break:break-word!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat.mine .pati-dm-reply-preview{
 background:#262b33!important;border-color:#59616e!important;border-left-color:#9bb6ff!important;color:#fff!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat.mine .pati-dm-reply-preview span{
 color:#d2def2!important;
}
#main-content .pati-dm-layout .chat-history .bubble-chat.mine .pati-dm-reply-preview strong{
 color:#fff!important;
}
html[data-pati-theme="dark"] #main-content .pati-dm-layout .chat-history .bubble-chat:not(.mine) .pati-dm-reply-preview{
 background:#292d35!important;border-color:#58606c!important;border-left-color:#b0c2e6!important;
}
html[data-pati-theme="dark"] #main-content .pati-dm-layout .chat-history .bubble-chat:not(.mine) .pati-dm-reply-preview :is(span,strong){
 color:#fff!important;
}
html[data-pati-theme="dark"] #main-content .pati-dm-layout .chat-history .bubble-chat:not(.mine) .pati-dm-msg-tools button{
 background:#313740!important;color:#fff!important;border-color:#687280!important;
}
#main-content .pati-dm-layout #message-form.chat-form{
 flex-wrap:wrap!important;
}
#main-content .pati-dm-layout #message-form .pati-dm-reply-compose{
 flex:0 0 100%!important;display:flex!important;align-items:center!important;
 justify-content:space-between!important;gap:10px!important;
 border-left:3px solid #426ec9!important;padding:9px 11px!important;
 border-radius:11px!important;background:#edf1f7!important;color:#242b37!important;
 min-width:0!important;
}
#main-content .pati-dm-layout #message-form .pati-dm-reply-compose[hidden]{display:none!important}
#main-content .pati-dm-layout #message-form .pati-dm-reply-compose>div{
 min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important;
}
#main-content .pati-dm-layout #message-form .pati-dm-reply-compose span{
 font-size:11px!important;color:#3b62ae!important;font-weight:800!important;
}
#main-content .pati-dm-layout #message-form .pati-dm-reply-compose strong{
 display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 font-size:12px!important;color:#242b37!important;
}
#main-content .pati-dm-layout #message-form .pati-dm-reply-compose button{
 flex:0 0 34px!important;width:34px!important;height:34px!important;
 border:0!important;background:#d9e0ed!important;color:#242b37!important;
 border-radius:50%!important;font-size:22px!important;cursor:pointer!important;
}
html[data-pati-theme="dark"] #main-content .pati-dm-layout #message-form .pati-dm-reply-compose{
 background:#292e39!important;color:#f5f7ff!important;border-left-color:#a8c4ff!important;
}
html[data-pati-theme="dark"] #main-content .pati-dm-layout #message-form .pati-dm-reply-compose :is(strong,span){color:#fff!important}
#main-content .pati-dm-layout .chat-history .bubble-chat.pati-dm-reply-target{
 outline:3px solid #78a1ff!important;outline-offset:3px!important;
 box-shadow:0 0 0 6px rgba(104,150,255,.19)!important;
 animation:pati-dm-reply-pulse 1.6s ease-out!important;
}
@keyframes pati-dm-reply-pulse{
 0%{box-shadow:0 0 0 0 rgba(93,143,255,.58)}
 65%{box-shadow:0 0 0 10px rgba(93,143,255,.12)}
 100%{box-shadow:0 0 0 6px rgba(104,150,255,.19)}
}
@media(prefers-reduced-motion:reduce){
 #main-content .pati-dm-layout .chat-history .bubble-chat.pati-dm-reply-target{animation:none!important}
}
