:root {
  --qaoqo-ink: #101b2d;
  --qaoqo-muted: #637087;
  --qaoqo-line: #e2e8f0;
  --qaoqo-blue: #1675aa;
  --qaoqo-navy: #071a32;
  --qaoqo-soft: #f5f7fa;
  --qaoqo-page: #f6f8fb;
  --qaoqo-green: #2fac73;
  --qaoqo-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  font-family: var(--qaoqo-font);
  -webkit-font-smoothing: antialiased;
}

.el-button--primary {
  color: #fff !important;
  background: var(--qaoqo-navy) !important;
  border-color: var(--qaoqo-navy) !important;
}

.el-button--primary:hover,
.el-button--primary:focus {
  color: #fff !important;
  background: #0e2d4f !important;
  border-color: #0e2d4f !important;
}

.el-button--primary.is-disabled,
.el-button--primary.is-disabled:hover,
.el-button--primary.is-disabled:focus {
  color: #fff !important;
  background: #8ea0b5 !important;
  border-color: #8ea0b5 !important;
}

.el-tabs__item.is-active,
.el-tabs__item:hover {
  color: var(--qaoqo-navy);
}

.el-tabs__active-bar {
  background-color: var(--qaoqo-navy);
}

.el-menu--horizontal > .el-menu-item.is-active {
  border-bottom-color: var(--qaoqo-navy);
}

a {
  color: var(--qaoqo-blue);
}

/* Visitor chat */
.visitorBody {
  margin: 0;
  color: var(--qaoqo-ink);
  background: #eef3f8;
}

.chatCenter {
  overflow: hidden;
  max-width: 1120px;
  border: 1px solid rgba(16, 43, 70, .1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 43, 70, .14);
}

.chatEntTitle {
  display: none;
  height: 72px;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  color: #fff !important;
  background: linear-gradient(135deg, #071a32 0%, #103d67 62%, #1675aa 130%) !important;
  border-bottom: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.chatEntTitleLogo {
  display: block;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  margin-left: 0 !important;
  padding: 5px;
  border: 2px solid rgba(255,255,255,.85) !important;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  object-fit: contain;
}

.chatEntTitleCopy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.chatEntKicker {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.chatEntTitleName {
  overflow: hidden;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatEntTitle .el-badge__content.is-fixed.is-dot {
  right: 5px;
  bottom: 1px;
  top: unset;
  width: 10px;
  height: 10px;
  border: 2px solid #103d67;
  background: #53d69a;
  box-shadow: 0 0 0 3px rgba(83,214,154,.16);
}

.chatContext,
.chatBox,
.chatVisitorPage {
  background: #f3f6fa;
}

.chatVisitorPage .chatBox {
  padding: 22px 22px 28px;
}

.chatVisitorPage .el-row,
.chatVisitorPage .kefuMe {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.chatVisitorPage .kefuMe {
  display: flex;
  justify-content: flex-end;
}

.chatVisitorPage .chatMsgContent {
  flex: 1 1 auto;
  min-width: 72px;
  max-width: min(590px, calc(100% - 48px));
}

.chatAgentMessage {
  display: flex;
  align-items: flex-start;
}

.chatAgentAvatar {
  display: block;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin-right: 10px;
  padding: 5px;
  border: 2px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16,43,70,.1);
  object-fit: contain;
}

.chatContent {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(16,43,70,.08);
  border-radius: 16px;
  background: #fff;
  color: var(--qaoqo-ink);
  box-shadow: 0 6px 18px rgba(16, 43, 70, .06);
  font-size: 14px;
  line-height: 1.6;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.chatBoxMe .chatContent,
.kefuMe .chatContent {
  float: none !important;
  max-width: min(590px, 82%);
}

.chatContent img {
  max-width: 100%;
  border-radius: 10px;
}

.chatContent2 {
  border-radius: 16px 16px 16px 5px;
  padding: 11px 16px;
}

.chatBoxMe .chatContent2 {
  border-color: #1479b8 !important;
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg, #0c4f80, #1689c8) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(22,117,170,.2);
}

.chatTime {
  margin: 18px 0 11px;
  color: #8390a2;
  font-size: 11px;
}

.chatTime span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #8390a2;
}

.chatNotice {
  text-align: center;
}

.chatNoticeContent {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(16,43,70,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #668096;
  box-shadow: 0 3px 10px rgba(16,43,70,.035);
  font-size: 11px;
}

.chatNoticeContent[href],
.chatVisitorPage .chatNoticeContent {
  color: var(--qaoqo-blue);
}

.chatBoxSend {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 62px;
  flex-direction: column;
  gap: 0;
  padding: 8px 14px;
  border-top: 1px solid rgba(16,43,70,.09);
  background: linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
}

.chatComposerToolbar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.visitorIconBox {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #8b97a8;
}

.visitorIconBox .iconBtn {
  position: relative;
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: #728095;
  background: transparent;
  font-size: 19px;
  line-height: 1;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.visitorIconBox .iconBtn:hover {
  color: #0d5f92;
  background: #edf6fb;
  transform: translateY(-1px);
}

.visitorIconBox .iconBtn:focus-visible,
.visitorEditorBtn:focus-visible {
  outline: 3px solid rgba(22,117,170,.2);
  outline-offset: 2px;
}

.visitorIconBox .iconBtn.is-muted {
  color: #a7b0bd;
  background: #f3f5f7;
}

.visitorIconBox .iconBtn.is-muted::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-45deg);
}

.chatComposerHint {
  overflow: hidden;
  color: #9aa5b3;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatComposerRow {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: stretch;
  gap: 10px;
}

.chatComposerInput {
  position: relative;
  min-width: 0;
  border-radius: 16px;
}

.chatAttachmentButton {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 50%;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #66788b;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.chatAttachmentButton i {
  font-size: 19px;
}

.chatAttachmentButton:hover {
  color: #126a9f;
  background: rgba(18,106,159,.09);
}

.chatAttachmentButton:focus-visible {
  color: #126a9f;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22,117,170,.16);
}

.visitorEditorArea textarea,
.visitorEditorArea .el-textarea__inner {
  box-sizing: border-box;
  height: 44px !important;
  min-height: 44px !important;
  padding: 8px 58px 8px 52px;
  color: var(--qaoqo-ink);
  background: #f3f6f9;
  border: 1px solid #e5ebf1;
  border-radius: 16px;
  box-shadow: inset 0 1px 2px rgba(16,43,70,.025);
  font-family: var(--qaoqo-font);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.visitorEditorArea .el-textarea__inner::placeholder {
  color: #97a2b2;
}

.visitorEditorArea .el-textarea__inner:focus {
  border-color: rgba(22,117,170,.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22,117,170,.1), inset 0 1px 2px rgba(16,43,70,.02);
}

.chatComposerCount {
  position: absolute;
  right: 11px;
  bottom: 9px;
  color: #a0aab7;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  pointer-events: none;
}

.visitorEditorBtn {
  position: static !important;
  display: inline-flex !important;
  width: 88px;
  min-width: 88px;
  height: 44px !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, #092744, #126a9f) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px rgba(7,26,50,.18);
  font-size: 14px !important;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.visitorEditorBtn:hover,
.visitorEditorBtn:focus {
  background: linear-gradient(145deg, #0b3154, #1682bc) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 22px rgba(7,26,50,.23);
  transform: translateY(-1px);
}

.visitorEditorBtn.is-disabled,
.visitorEditorBtn.is-disabled:hover,
.visitorEditorBtn.is-disabled:focus {
  color: #8290a1 !important;
  background: #e9edf2 !important;
  border-color: transparent !important;
  box-shadow: none;
  transform: none;
}

.visitorEditorBtn .el-icon-right {
  margin: 0;
  font-size: 13px;
}

.chatArticle {
  background: #fff;
}

.hotQuestionTitle {
  margin: 0;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--qaoqo-line);
  color: var(--qaoqo-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.allNotice {
  margin: 0;
  padding: 16px 18px 20px;
  color: var(--qaoqo-muted);
  font-size: 13px;
  line-height: 1.7;
}

.faceBox {
  box-sizing: border-box;
  overflow: auto;
  max-height: 180px;
  border: 1px solid rgba(16,43,70,.1);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(16,43,70,.13);
}

.visitorFaceBox {
  right: 14px;
  bottom: 126px;
  left: 14px;
  width: auto;
  padding: 8px;
}

.faceBoxList li {
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 1px;
  padding: 3px;
  border-color: transparent;
  border-radius: 8px;
}

.faceBoxList li:hover {
  border-color: #d9e9f3;
  background: #edf6fb;
}

@media screen and (min-width: 900px) {
  .chatCenter {
    max-height: 720px;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(16,43,70,.14);
  }

  .chatEntTitle {
    display: flex;
  }

  .chatEntBox {
    border-right: 1px solid rgba(16,43,70,.09);
  }

  .chatVisitorPage {
    height: calc(100% - 166px);
  }
}

html.is-embedded,
html.is-embedded body.visitorBody {
  height: 100%;
  background: #f3f6fa;
}

html.is-embedded .chatCenter {
  display: flex;
  flex-direction: column;
  max-width: none;
  max-height: none;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html.is-embedded .chatEntTitle {
  display: none !important;
}

html.is-embedded .chatArticle {
  display: none !important;
}

html.is-embedded .chatEntBox {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  float: none !important;
  border-right: 0 !important;
}

html.is-embedded .chatVisitorPage {
  flex: 1;
  height: auto !important;
  min-height: 0;
}

html.is-embedded .chatBoxSend {
  flex: 0 0 auto;
}

@media screen and (max-width: 640px) {
  .chatVisitorPage .chatBox {
    padding: 16px 12px 22px;
  }

  .chatAgentAvatar {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px;
    margin-right: 8px;
    border-radius: 10px;
  }

  .chatContent2 {
    padding: 10px 13px;
  }

  .chatBoxSend {
    min-height: 60px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }

  .chatComposerHint {
    display: none;
  }

  .chatComposerRow {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px;
  }

  .visitorEditorBtn {
    width: 72px;
    min-width: 72px;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 10px !important;
  }

  .visitorEditorArea textarea,
  .visitorEditorArea .el-textarea__inner {
    height: 44px !important;
    min-height: 44px !important;
    padding: 8px 52px 8px 50px;
    font-size: 16px;
  }

  .visitorFaceBox {
    right: 10px;
    bottom: 120px;
    left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visitorIconBox .iconBtn,
  .chatAttachmentButton,
  .visitorEditorBtn,
  .visitorEditorArea .el-textarea__inner {
    transition: none;
  }
}

@media screen and (min-width: 900px) {
  html.is-embedded .chatVisitorPage {
    height: auto !important;
  }
}

/* Agent console */
.mainLeftMenu {
  background-color: var(--qaoqo-navy);
}

.menuLeftItem:active,
.menuLeftItem.active {
  background: #12324f;
}

.chatBg {
  border-color: var(--qaoqo-line);
}

.onlineUsers:hover,
.onlineUsers.cur {
  background-color: #f3f8fb;
  border-left-color: var(--qaoqo-navy);
}

.conversationListHeader {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--qaoqo-line);
  background: #fff;
}

.conversationListHeader > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.conversationListHeader strong {
  color: var(--qaoqo-ink);
  font-size: 16px;
  font-weight: 800;
}

.conversationListHeader span,
.conversationListHeader em {
  color: var(--qaoqo-muted);
  font-size: 11px;
  font-style: normal;
}

.conversationListHeader em {
  color: #d92d20;
  font-weight: 700;
}

.conversationList {
  min-height: 0;
}

.conversationItem {
  box-sizing: border-box;
  width: 100%;
  height: 68px;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-left-width: 3px;
}

.conversationAvatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.conversationOnlineDot {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #31b66f;
}

.conversationUnread {
  position: absolute;
  top: -7px;
  right: -10px;
  display: inline-flex;
  min-width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #f04438;
  box-shadow: 0 2px 6px rgba(217,45,32,.24);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 13px;
}

.conversationCopy {
  min-width: 0;
  flex: 1;
}

.conversationNameRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.conversationNameRow strong {
  overflow: hidden;
  color: var(--qaoqo-ink);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversationNameRow time {
  flex: 0 0 auto;
  color: #9aa4b2;
  font-size: 10px;
}

.conversationItem .lastNewMsg {
  overflow: hidden;
  margin-top: 4px;
  color: #7f8998;
  font-size: 11px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversationPagination {
  padding: 10px 6px;
  text-align: center;
}

.kefuMainBg {
  background: var(--qaoqo-page);
  border-right-color: var(--qaoqo-line);
}

/* Keep the conversation viewport and composer in separate flex tracks.  The
   legacy absolute composer overlapped the final messages on desktop. */
.chatMainPage .chatBgContext > .el-alert,
.chatMainPage .conversationActionBar,
.chatMainPage .kefuFuncBtns {
  flex: 0 0 auto;
}

.chatMainPage .chatBox {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 14px 22px;
  scroll-behavior: smooth;
}

.chatMainPage .kefuFuncBox {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  box-sizing: border-box;
  width: 100%;
  height: 150px;
  min-height: 150px;
  flex: 0 0 150px;
  padding: 0 12px 10px;
  z-index: 2;
}

.chatMainPage .iconBtnsBox {
  height: 36px;
}

.chatMainPage .chatArea .el-textarea__inner {
  box-sizing: border-box;
  min-height: 92px !important;
  max-height: 92px !important;
  padding: 10px 74px 10px 12px;
  overflow-y: auto;
  resize: none;
}

.chatMainPage .kefuSendBtn {
  right: 22px;
  bottom: 20px;
}

.messageEndAnchor {
  width: 100%;
  height: 1px;
  clear: both;
}

.kefuFuncBox,
.kefuFuncBtns {
  border-color: var(--qaoqo-line);
}

.chatMainPage .el-alert--info,
.chatMainPage .el-alert--success {
  border-bottom: 1px solid var(--qaoqo-line);
  background: #fff;
  color: var(--qaoqo-ink);
}

.chatMainPage .el-alert--success {
  background: #f3faf6;
}

.conversationActionBar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--qaoqo-line);
  background: #fff;
}

.conversationActionName {
  overflow: hidden;
  color: var(--qaoqo-ink);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobileBackButton {
  display: none;
}

.chatMainPage .chatBoxMe .chatContent {
  border-color: var(--qaoqo-navy);
  background: var(--qaoqo-navy);
  color: #fff;
}

.chatMainPage .chatContent {
  border-color: #e0e6ee;
  border-radius: 14px;
  background: #fff;
}

.kefuSendBtn {
  min-height: 32px;
  border-radius: 9px;
  font-weight: 800;
}

.chatRightTitle {
  color: var(--qaoqo-ink);
  border-bottom-color: var(--qaoqo-line);
}

.chatRightTitle a {
  color: var(--qaoqo-blue);
}

.visitorReplyContent {
  color: var(--qaoqo-blue);
}

.chatTitle {
  color: var(--qaoqo-blue);
}

.productCard {
  border: 1px solid var(--qaoqo-line);
  border-radius: 12px;
  background: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 10px;
  background-color: var(--qaoqo-page);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background-color: #c9d3de;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #9aabbc;
}

/* Mobile agent console: one screen at a time, like a native messaging app. */
@media screen and (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    touch-action: pan-x pan-y;
  }

  .mainLeftMenu {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: calc(58px + env(safe-area-inset-bottom));
    align-items: flex-start;
    padding-bottom: env(safe-area-inset-bottom);
    float: none;
    box-shadow: 0 -1px 16px rgba(16,43,70,.14);
  }

  .mainIdentity {
    display: none;
  }

  .mainLeftMenu .menuLeftItem {
    box-sizing: border-box;
    width: 25%;
    height: 58px;
    flex: 1 1 25%;
    padding-top: 8px;
  }

  .mainLeftMenu .menuLeftItemLogout {
    position: relative;
    bottom: auto;
  }

  .mainRight {
    width: 100%;
    height: calc(100% - 58px - env(safe-area-inset-bottom));
    float: none;
  }

  .chatMainPage > .el-row {
    display: block !important;
  }

  .chatMainPage .conversationPane,
  .chatMainPage .activeChatPane {
    width: 100% !important;
    height: 100%;
  }

  .chatMainPage .conversationPane {
    display: block;
  }

  .chatMainPage .activeChatPane,
  .chatMainPage .supportDetailPane {
    display: none;
  }

  .chatMainPage.mobile-chat-open .conversationPane {
    display: none;
  }

  .chatMainPage.mobile-chat-open .activeChatPane {
    display: block;
  }

  .chatMainPage .chatLeft {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    margin-left: 0;
    overflow: hidden;
    border: 0;
  }

  .chatMainPage .conversationListHeader,
  .chatMainPage .conversationPagination {
    flex: 0 0 auto;
  }

  .chatMainPage .conversationList {
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .chatMainPage .conversationItem {
    height: 72px;
    padding-right: 16px;
    padding-left: 14px;
  }

  .chatMainPage .chatBgContext {
    border: 0;
  }

  .chatMainPage .chatBgContext > .el-alert {
    display: none;
  }

  .chatMainPage .conversationActionBar {
    min-height: 50px;
    justify-content: flex-start;
    padding: 5px 10px;
  }

  .mobileBackButton {
    display: inline-flex;
    min-width: 58px;
    height: 38px;
    align-items: center;
    gap: 2px;
    padding: 0 8px 0 2px;
    border: 0;
    color: var(--qaoqo-blue);
    background: transparent;
    font: inherit;
    font-weight: 700;
  }

  .mobileBackButton i {
    font-size: 20px;
  }

  .chatMainPage .conversationActionName {
    min-width: 0;
    flex: 1;
    text-align: center;
  }

  .chatMainPage .conversationActionBar .el-button {
    flex: 0 0 auto;
  }

  .chatMainPage .chatBox {
    padding: 10px 10px 18px;
    -webkit-overflow-scrolling: touch;
  }

  .chatMainPage .chatRowAvator {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px;
    margin-right: 7px;
  }

  .chatMainPage .chatContent {
    max-width: min(72vw, 520px);
    padding: 9px 12px;
  }

  .chatMainPage .kefuFuncBox {
    height: calc(126px + env(safe-area-inset-bottom));
    min-height: calc(126px + env(safe-area-inset-bottom));
    flex-basis: calc(126px + env(safe-area-inset-bottom));
    padding: 0 9px calc(8px + env(safe-area-inset-bottom));
  }

  .chatMainPage .iconBtnsBox {
    height: 34px;
  }

  .chatMainPage .chatArea .el-textarea__inner {
    min-height: 76px !important;
    max-height: 76px !important;
    padding: 9px 68px 9px 10px;
    font-size: 16px;
  }

  .chatMainPage .kefuSendBtn {
    right: 17px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .el-dialog {
    width: calc(100% - 24px) !important;
    margin-top: 7vh !important;
  }
}
