* { box-sizing: border-box; }
body { margin: 0; color: #303133; background: #fff; font: 14px/1.5 "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; }
body > header { height: 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dcdfe6; padding: 0 18px; }
body > header strong { font-size: 18px; }
a { color: inherit; text-decoration:none; }
body > header { height:auto;min-height:52px;flex-wrap:wrap;gap:6px 16px;padding-block:6px; }
body > header nav { display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px; }
body > header nav a { padding:5px 0; }
body > header nav a[aria-current] { color:#303133;font-weight:650;text-decoration:none; }
body > .relay-placeholder-bar { height:50px;min-height:50px;padding:0 18px;display:block;border:0; }
#console-navigation a { display:block;height:40px;line-height:40px;padding:0 16px;white-space:nowrap; }
#console-navigation a:hover { background:#597baf; }
.relay-placeholder-bar #logout { float:right;margin:10px 0; }
.ws-scope { margin:12px 16px;color:#586471; }
.ws-scope + #original-notice:empty { min-height:0;margin:0; }
#original-notice { margin: 7px 16px; color: #606266; min-height: 21px; }
#original-notice[data-error] { color: #a03121; }
#original-root { padding: 0 0 12px; }
#original-root .outer-box { min-height: 450px; height: calc(100vh - 108px); width: 100%; }
#original-root .el-table { min-height: 245px; }
#original-root .local-unavailable { opacity: .57; }
#original-root [data-local-thread] { white-space: nowrap; }
.local-thread-actions { display: flex; align-items: center; justify-content: center; gap: 10px; }
.local-thread-actions a { min-width: 0; }
.local-thread-actions button { border: 0; background: transparent; color: #409eff; cursor: pointer; padding: 0; }
.local-thread-actions a { color:#409eff; }
.local-customer-account { border:0;background:none;padding:0;color:#303133;cursor:pointer;font:inherit; }
.el-table th.el-table__cell,.el-table th { background:#d5e3fb!important; color:#606266!important; font-weight:700!important; }
.el-date-editor .el-range-separator { box-sizing:content-box;white-space:nowrap;flex:none; }
.el-range-editor--mini.el-input__inner { display:inline-flex;align-items:center;max-width:100%; }
.el-range-editor--mini .el-range-input { min-width:0; }
#original-root .search-wrapper { display:grid;grid-template-columns:repeat(auto-fit,350px);column-gap:10px;grid-auto-flow:row dense; }
#original-root .search-wrapper .el-form-item { margin-bottom:10px; min-width:0; }
#original-root .search-wrapper .el-form-item__content { min-width:0; }
#original-root .search-wrapper :is(.el-input,.el-select,.el-cascader,.el-date-editor) { max-width:100%; }
#original-root :is(.action-list,.but-list) { gap:8px; flex-wrap:wrap; height:auto; min-height:28px; }
#original-root :is(.action-list,.but-list) .el-button--mini { border-radius:3px; }
.el-dialog .el-form--label-right .el-form-item__label { line-height:28px; }
.el-dialog .el-form--label-right .el-form-item__content { min-width:0; }
.el-dialog .el-form--label-right .el-switch { vertical-align:middle; }
@media(max-width:600px){
  #original-root .search-wrapper { grid-template-columns:minmax(0,1fr); }
  #original-root .search-wrapper .el-form-item__content { max-width:100%;min-width:0; }
}
.el-dialog__wrapper .el-dialog { max-width: calc(100% - 16px); }
.thread-mobile { display: none; }
.local-device-receipts { display:flex; justify-content:flex-end; gap:9px; color:#267255; font-size:12px; }
.history-attachment { width:min(280px,100%); margin:4px 0 4px auto; overflow-wrap:anywhere; }
.history-attachment.incoming-attachment { margin-inline:0 auto; }
.history-attachment .el-image { max-width:100%; max-height:160px; }
.history-attachment .el-image__inner { max-height:160px; }
#original-root .chat-history-box { height:calc(100vh - 105px); gap:12px; }
.record-accounts,.record-sessions,.record-messages { overflow:auto; padding:10px; border:1px solid #e4e7ed; }
.record-accounts { width:135px; }
.record-sessions { width:210px; }
.record-sessions button:not(.btn-prev,.btn-next) { display:block; text-align:left; border:0; background:white; width:100%; padding:12px 6px; cursor:pointer; }
.record-sessions button.is-current { background:#ecf5ff; color:#1769ad; }
.record-sessions small { display:block; color:#606266; }
.record-sessions .nameinfo { display:flex; align-items:baseline; justify-content:space-between; gap:6px; }
.record-sessions .time_text { flex:none; font-size:12px; color:#606266; }
.record-sessions :is(.item_name,.content) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.chat-history-box h2 { font-size:16px; margin:0 0 12px; }
#original-root .record-messages { min-width:0; }
.record-history .text-search-box { display:flex; gap:8px; }
@media(max-width:850px){
  #original-root .chat-history-box { display:block; height:auto; }
  #original-root .chat-history-box > .accountList { width:100%; max-width:100%; height:260px; }
  #original-root .chat-history-box > :is(aside,section) { width:100%; min-width:0; height:auto; margin:6px 0; }
}
@media (max-width: 720px) {
  #original-root { padding: 0 0 10px; }
  #original-root .outer-box { height: auto; }
  #original-root .el-table { height: 380px !important; }
  #original-root .el-pagination { overflow-x: auto; }
  #original-root .local-unavailable, #original-root .el-table__fixed-right, .thread-desktop { display: none; }
  #original-root .action-list { flex-wrap: wrap; gap: 6px; }
  #original-root .thread-mobile { display: block; overflow: hidden; text-overflow: ellipsis; }
  .el-dialog .text-search-box { display: flex; flex-wrap: wrap; gap: 6px; }
}
.whatsapp-message-info{color:#586573;font-size:12px;line-height:1.6;margin:4px 0;max-width:100%}
.whatsapp-message-info summary{cursor:pointer}
.whatsapp-message-info code{overflow-wrap:anywhere;user-select:all}
.media-grid[data-v-0be87cf4] .media-item{flex-direction:column;min-width:0}
@media(max-width:700px){
  .media-grid[data-v-0be87cf4]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
