/* LBLR clean chat and rich automation editor */
.lblr-source-textarea{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important}
.lblr-rich-editor{width:100%;border:1px solid #dfe3ea;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.lblr-editor-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:9px 10px;background:#f7f9fc;border-bottom:1px solid #e8ecf2}
.lblr-editor-button{appearance:none;border:1px solid #d8dee8;background:#fff;color:#344054;border-radius:6px;min-width:34px;height:32px;padding:0 9px;font-size:13px;cursor:pointer}
.lblr-editor-button:hover{border-color:#2f6fed;color:#2f6fed;background:#f2f6ff}
.lblr-editor-color{width:34px;height:32px;padding:3px;border:1px solid #d8dee8;border-radius:6px;background:#fff}
.lblr-editor-canvas{min-height:230px;max-height:460px;overflow-y:auto;padding:18px 20px;font-size:15px;line-height:1.75;color:#182230;outline:none;word-break:break-word}
.lblr-editor-canvas:empty:before{content:attr(data-placeholder);color:#98a2b3;pointer-events:none}
.lblr-editor-canvas p{margin:0 0 12px}.lblr-editor-canvas ul,.lblr-editor-canvas ol{padding-left:24px}.lblr-editor-canvas a{color:#2563eb;text-decoration:underline}
.lblr-editor-help{padding:7px 12px;background:#fbfcfe;color:#667085;font-size:12px;border-top:1px solid #eef1f5}

.pc_customerServer_container{background:#f5f7fb!important;color:#101828}
.pc_customerServer_container_header{background:#fff!important;color:#101828!important;border-bottom:1px solid #e7eaf0!important;box-shadow:0 1px 3px rgba(16,24,40,.04)!important}
.pc_customerServer_container_header_title img{box-shadow:0 0 0 2px #e8efff;object-fit:cover}
.pc_customerServer_container_content{background:#f5f7fb!important}
.pc_customerServer_container_content .scroll_content{padding:16px 12px 28px!important}
.pc_customerServer_container_content .scroll_content .chart_list_item_content{padding:6px 4px!important;align-items:flex-end!important}
.pc_customerServer_container_content .scroll_content .chart_list_item_avatar{width:38px!important;height:38px!important;flex:0 0 38px;border-radius:50%!important;background:#e6ecf5;box-shadow:0 1px 2px rgba(16,24,40,.08)}
.pc_customerServer_container_content .scroll_content .chart_list_item_avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
.pc_customerServer_container_content .scroll_content .chart_list_item_text{max-width:min(72%,680px)!important;padding:10px 14px!important;border-radius:16px 16px 16px 5px!important;background:#fff!important;color:#182230!important;line-height:1.62!important;font-size:15px!important;text-align:left!important;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 1px 2px rgba(16,24,40,.07)}
.pc_customerServer_container_content .scroll_content .right-box .chart_list_item_text{background:#2f6fed!important;color:#fff!important;border-radius:16px 16px 5px 16px!important}
.pc_customerServer_container_content .scroll_content .chart_list_item_time{font-size:12px;color:#98a2b3;margin:14px auto 8px!important}
.chart_list_item_text.lblr-rich-message{white-space:normal!important}
.chart_list_item_text.lblr-rich-message p{margin:0 0 10px}.chart_list_item_text.lblr-rich-message p:last-child{margin-bottom:0}
.chart_list_item_text.lblr-rich-message ul,.chart_list_item_text.lblr-rich-message ol{padding-left:22px;margin:8px 0}
.chart_list_item_text.lblr-rich-message a{color:#2563eb;text-decoration:underline;font-weight:600}
.right-box .chart_list_item_text.lblr-rich-message a{color:#fff3a6}
.pc_customerServer_container_header_title img{cursor:zoom-in}
.lblr-avatar-preview{position:fixed;inset:0;z-index:1000000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.78);backdrop-filter:blur(5px)}
.lblr-avatar-preview img{display:block;max-width:min(82vw,520px);max-height:78vh;width:auto;height:auto;object-fit:contain;border-radius:18px;background:#fff;box-shadow:0 22px 70px rgba(0,0,0,.38)}
.lblr-avatar-preview-close{position:fixed;top:calc(18px + env(safe-area-inset-top));right:18px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#111827;font-size:30px;line-height:40px;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.footer_customerServer_container,.pc_customerServer_container_footer,.mobel_customerServer_container_footer{background:#fff!important;border-top:1px solid #e7eaf0!important;box-shadow:0 -2px 8px rgba(16,24,40,.04)!important}
.pc_customerServer_container .crmchat_link,
.pc_customerServer_container_footer_copyright,
.pc_customerServer_container_advertisement .copyright{display:none!important}
.pc_customerServer_container_footer_input-textarea,.mobel_customerServer_container_footer_input{border:1px solid #dfe3ea!important;border-radius:18px!important;background:#f8fafc!important}
.pc_customerServer_container_footer_handle_send,.sendMessage-primary{background:#2f6fed!important;border-radius:18px!important;box-shadow:0 3px 8px rgba(47,111,237,.24)!important}

@media(max-width:700px){
  .pc_customerServer_container_content .scroll_content{padding:12px 8px 20px!important}
  .pc_customerServer_container_content .scroll_content .chart_list_item_text{max-width:calc(100vw - 104px)!important;font-size:16px!important;padding:10px 13px!important}
  .pc_customerServer_container_header{min-height:58px!important;padding:9px 12px!important}
  .pc_customerServer_container_footer,.mobel_customerServer_container_footer{padding-bottom:calc(10px + env(safe-area-inset-bottom))!important}
  .lblr-editor-canvas{min-height:190px;padding:14px;font-size:16px}
}
