* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  color: #1f2329;
  background: #f5f6f7;
  font-size: 14px;
}

a {
  color: #22c55e;
  text-decoration: none;
}

input,
button,
textarea {
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  border: none;
}

.Ip {
  width: 100%;
  height: 38px;
  border: 1px solid #e2e5e9;
  border-radius: 6px;
  padding: 0 12px;
  color: #1f2329;
  background: #fff;
}

.Ip:focus {
  border-color: #22c55e;
}

.Ip::placeholder {
  color: #b4b9c0;
}

.Btn {
  height: 36px;
  padding: 0 18px;
  border-radius: 6px;
  background: #22c55e;
  color: #fff;
  font-size: 14px;
}

.Btn:hover {
  background: #1eb355;
}

.Btn.Gray {
  background: #f0f2f4;
  color: #4a5058;
}

.Btn.Gray:hover {
  background: #e4e7ea;
}

.Btn.Red {
  background: #fff;
  color: #e05252;
  border: 1px solid #f0b8b8;
}

.Btn.Red:hover {
  background: #fdf3f3;
}

.Rail {
  width: 48px;
  flex: none;
  background: #23272d;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}

.RailLogo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 18px;
}

.RailLogo img {
  width: 32px;
  height: 32px;
  display: block;
}

.RailItem {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #b9bec6;
}

.RailItem:hover {
  background: #2f343b;
  color: #ffffff;
}

.RailItem.On {
  background: #2f343b;
  color: #22c55e;
}

.RailItem svg {
  width: 20px;
  height: 20px;
}

.LgWrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0f2;
}

.LgCard {
  width: 840px;
  height: 470px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(31, 35, 41, 0.08);
}

.LgBrand {
  width: 320px;
  height: 470px;
  background: #22c55e;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.LgBrandTop img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: block;
  margin-bottom: 20px;
}

.LgBrandTop h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.LgBrandTop p {
  font-size: 13px;
  line-height: 1.9;
  color: #e8fbef;
}

.LgBrandFoot {
  font-size: 12px;
  color: #d4f5e1;
}

.LgForm {
  width: 520px;
  height: 470px;
  padding: 52px 58px;
}

.LgForm h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 26px;
}

.LgField {
  margin-bottom: 16px;
}

.LgField label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 7px;
}

.LgTip {
  font-size: 12px;
  color: #9aa1a9;
  line-height: 1.8;
  margin: 6px 0 20px;
}

.LgForm .Btn {
  width: 100%;
  height: 40px;
}

.LgFoot {
  margin-top: 18px;
  font-size: 13px;
  color: #6b7280;
}

.WbBody {
  height: 100vh;
  display: flex;
  overflow: hidden;
  background: #f5f6f7;
}

.WbMain {
  flex: 1;
  display: flex;
  min-width: 0;
  height: 100vh;
  background: #fff;
}

.WbList {
  width: 265px;
  flex: none;
  height: 100vh;
  border-right: 1px solid #eceef0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.WbSearch {
  height: 64px;
  padding: 14px 12px;
  flex: none;
  position: relative;
}

.WbSearch input {
  width: 100%;
  height: 34px;
  border: 1px solid #eceef0;
  background: #f5f6f7;
  border-radius: 6px;
  padding: 0 10px 0 30px;
  font-size: 13px;
}

.WbSearch svg {
  position: absolute;
  left: 22px;
  top: 25px;
  width: 14px;
  height: 14px;
  color: #a6abb3;
}

.WbItems {
  flex: 1;
  overflow-y: auto;
}

.WbItem {
  height: 66px;
  padding: 10px 12px;
  display: flex;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #f4f5f6;
}

.WbItem:hover {
  background: #f7f8f9;
}

.WbItem.On {
  background: #f0f2f4;
}

.WbItem .Av {
  width: 38px;
  height: 38px;
  flex: none;
  margin-right: 10px;
}

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

.WbItemTop {
  display: flex;
  align-items: center;
  height: 20px;
}

.WbItemName {
  font-size: 13px;
  color: #1f2329;
  max-width: 90px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.Chip {
  display: inline-block;
  height: 18px;
  line-height: 18px;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 11px;
  color: #8a9099;
  background: #f0f2f4;
  margin-left: 6px;
}

.WbItemTime {
  margin-left: auto;
  font-size: 11px;
  color: #a6abb3;
}

.WbItemMsg {
  font-size: 12px;
  color: #9aa1a9;
  margin-top: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 18px;
}

.WbDot {
  position: absolute;
  right: 12px;
  bottom: 14px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #e05252;
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
}

.WbPin {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #22c55e;
  flex: none;
  margin-right: 5px;
}

.WbChat {
  flex: 1;
  min-width: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f2f3f5;
}

.ChatHead {
  height: 64px;
  flex: none;
  background: #fff;
  border-bottom: 1px solid #eceef0;
  padding: 0 18px;
  display: flex;
  align-items: center;
}

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

.ChatHeadName {
  font-size: 15px;
  font-weight: 600;
  height: 22px;
  line-height: 22px;
}

.ChatHeadSub {
  font-size: 12px;
  color: #9aa1a9;
  height: 18px;
  line-height: 18px;
}

.ChatHeadSub .On {
  color: #22c55e;
}

.ChatHeadTools {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.IconBtn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.IconBtn:hover {
  background: #f0f2f4;
  color: #1f2329;
}

.IconBtn svg {
  width: 18px;
  height: 18px;
}

.MsgList {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.MsgRow {
  display: flex;
  margin-bottom: 16px;
  align-items: flex-start;
}

.MsgRow.Mine {
  flex-direction: row-reverse;
}

.MsgAv {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 6px;
  overflow: hidden;
}

.MsgAv img {
  width: 36px;
  height: 36px;
  display: block;
}

.MsgBody {
  max-width: 60%;
  margin: 0 10px;
  position: relative;
}

.MsgText {
  background: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
  white-space: pre-wrap;
}

.Mine .MsgText {
  background: #a8e063;
}

.MsgVoice {
  background: #fff;
  border-radius: 8px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px 0 11px;
  cursor: pointer;
  min-width: 104px;
  gap: 9px;
  transition: background 0.15s, transform 0.12s;
  user-select: none;
}

.MsgVoice:hover {
  background: #f2f4f6;
}

.Mine .MsgVoice {
  background: #a8e063;
}

.Mine .MsgVoice:hover {
  background: #9ed653;
}

.MsgVoice:active {
  transform: scale(0.97);
}

.VcIcon {
  width: 16px;
  height: 16px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.VcIcon svg {
  width: 14px;
  height: 14px;
  color: #1f2329;
  display: block;
}

.MsgVoice .VcPause {
  display: none;
}

.MsgVoice.On .VcPlay {
  display: none;
}

.MsgVoice.On .VcPause {
  display: block;
}

.VcWave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
  flex: none;
}

.VcWave i {
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: #1f2329;
  opacity: 0.35;
  display: block;
}

.VcWave i:nth-child(2) {
  height: 9px;
}

.VcWave i:nth-child(3) {
  height: 6px;
}

.VcWave i:nth-child(4) {
  height: 11px;
}

.VcWave i:nth-child(5) {
  height: 5px;
}

.MsgVoice:hover .VcWave i {
  opacity: 0.55;
}

.MsgVoice.On .VcWave i {
  opacity: 0.8;
  animation: VcWave 0.75s ease-in-out infinite alternate;
}

.MsgVoice.On .VcWave i:nth-child(2) {
  animation-delay: 0.15s;
}

.MsgVoice.On .VcWave i:nth-child(3) {
  animation-delay: 0.3s;
}

.MsgVoice.On .VcWave i:nth-child(4) {
  animation-delay: 0.45s;
}

.MsgVoice.On .VcWave i:nth-child(5) {
  animation-delay: 0.6s;
}

.MsgVoice.On .VcIcon {
  animation: VcPulse 1.1s ease-in-out infinite;
}

.VcDur {
  font-size: 13px;
  color: #1f2329;
  flex: none;
}

@keyframes VcWave {
  from {
    height: 4px;
  }

  to {
    height: 13px;
  }
}

@keyframes VcPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

.MsgImg img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  display: block;
  cursor: pointer;
}

.MsgRecall {
  font-size: 12px;
  color: #8a9099;
  background: #eceef0;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}

.MsgMeta {
  font-size: 11px;
  color: #a6abb3;
  margin-top: 5px;
  height: 15px;
  display: flex;
  align-items: center;
  position: relative;
}

.Mine .MsgMeta {
  justify-content: flex-end;
}

.MsgTime {
  position: relative;
}

.MsgActions {
  display: none;
  position: absolute;
  top: 0;
  width: max-content;
  margin: 0 10px;
  white-space: nowrap;
}

.Mine .MsgActions {
  right: 100%;
}

.MsgRow:not(.Mine) .MsgActions {
  left: 100%;
}

.MsgRow:hover .MsgActions {
  display: inline-flex;
}

.MsgActions button {
  font-size: 11px;
  color: #8a9099;
  margin-left: 6px;
  white-space: nowrap;
}

.MsgActions button:hover {
  color: #22c55e;
}

.MsgDay {
  text-align: center;
  margin: 12px 0 18px;
}

.MsgDay span {
  display: inline-block;
  background: #dcdfe3;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
}

.MsgSys {
  text-align: center;
  margin-bottom: 16px;
}

.MsgSys span {
  font-size: 12px;
  color: #9aa1a9;
  background: #eceef0;
  padding: 4px 10px;
  border-radius: 4px;
}

.RateCard {
  background: #fff;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  padding: 14px;
  width: 260px;
}

.RateCard h4 {
  font-size: 13px;
  margin-bottom: 8px;
  color: #4a5058;
}

.RateStars {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.RateStars span {
  font-size: 20px;
  color: #d8dce1;
  cursor: pointer;
  line-height: 1;
}

.RateStars span.On {
  color: #f5a623;
}

.RateCard .Ip {
  height: 32px;
  font-size: 12px;
  margin-bottom: 8px;
}

.RateCard .Btn {
  width: 100%;
  height: 32px;
  font-size: 13px;
}

.ChatFoot {
  flex: none;
  background: #fff;
  border-top: 1px solid #eceef0;
  padding: 10px 16px 12px;
  position: relative;
}

.ChatTools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ChatTools .Round {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #dcdfe3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.ChatTools .Round:hover {
  border-color: #22c55e;
  color: #22c55e;
}

.ChatTools .Round svg {
  width: 17px;
  height: 17px;
}

.ChatInput {
  flex: 1;
  height: 38px;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
}

.ChatInput:focus {
  border-color: #22c55e;
}

.SendBtn {
  height: 34px;
  padding: 0 16px;
  flex: none;
  border-radius: 6px;
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.SendBtn:hover {
  background: #1eb356;
}

.SendBtn:active {
  background: #19a04c;
}

.MsgVideo {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.MsgVideo video {
  display: block;
  max-width: 260px;
  max-height: 320px;
  border-radius: 8px;
  background: #000;
}

.MsgVideo .VdTime {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  line-height: 14px;
  pointer-events: none;
}

.MtDrawer {
  width: 280px;
  flex: none;
  height: 100vh;
  background: #fff;
  border-left: 1px solid #eceef0;
  overflow: hidden;
  transition: width 0.18s;
}

.MtDrawer.Off {
  width: 0;
}

.MtInner {
  width: 280px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.MtHead {
  height: 52px;
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #eceef0;
  font-size: 14px;
  font-weight: 600;
}

.MtHead .IconBtn {
  margin-left: auto;
}

.MtScroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.MtTop {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f4;
}

.MtTop .Av {
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
}

.MtTop h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.MtTop p {
  font-size: 12px;
  color: #9aa1a9;
}

.MtTop p i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #22c55e;
  margin-right: 5px;
  vertical-align: 1px;
}

.MtTabs {
  display: flex;
  height: 40px;
  border-bottom: 1px solid #f0f2f4;
  margin-bottom: 14px;
}

.MtTab {
  flex: 1;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.MtTab.On {
  color: #22c55e;
  border-bottom-color: #22c55e;
}

.MtLabel {
  font-size: 12px;
  color: #8a9099;
  margin-bottom: 6px;
}

.MtRemark {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.MtRemark input {
  flex: 1;
  height: 32px;
  font-size: 12px;
}

.MtRemark .Btn {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.MtTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.TagItem {
  height: 24px;
  line-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  background: #eaf9ef;
  color: #1eb355;
}

.TagItem.Blue {
  background: #eaf3fd;
  color: #3d8bdc;
}

.TagItem.Orange {
  background: #fdf3e8;
  color: #d98634;
}

.TagAdd {
  height: 24px;
  line-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px dashed #cfd4da;
  color: #8a9099;
  cursor: pointer;
}

.MtRow {
  display: flex;
  height: 34px;
  align-items: center;
  font-size: 13px;
}

.MtRow span {
  width: 72px;
  color: #9aa1a9;
  font-size: 12px;
  flex: none;
}

.MtRow b {
  font-weight: 400;
  color: #1f2329;
  font-size: 12px;
  word-break: break-all;
}

.MtFoot {
  flex: none;
  padding: 14px 16px;
  border-top: 1px solid #f0f2f4;
}

.MtFoot .Btn {
  width: 100%;
  height: 34px;
  font-size: 13px;
}

.MtLink {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #8a9099;
  margin-top: 10px;
}

.MtLink:hover {
  color: #e05252;
}

.HisItem {
  padding: 10px 0;
  border-bottom: 1px solid #f4f5f6;
  cursor: pointer;
}

.HisItem:hover .HisTitle {
  color: #22c55e;
}

.HisTitle {
  font-size: 13px;
  margin-bottom: 5px;
}

.HisSub {
  font-size: 12px;
  color: #9aa1a9;
}

.StBody {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.StMain {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  padding: 26px 36px 40px;
}

.StTitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 22px;
}

.StCols {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.StColL {
  width: 392px;
  flex: none;
}

.StColR {
  width: 380px;
  flex: none;
}

.StCard {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #f0f1f2;
}

.StCard h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.StProfile {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.StProfile .Av {
  width: 58px;
  height: 58px;
  flex: none;
  margin-right: 14px;
}

.StProfile h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.StProfile p {
  font-size: 12px;
  color: #9aa1a9;
}

.StField {
  margin-bottom: 14px;
}

.StField label {
  display: block;
  font-size: 12px;
  color: #8a9099;
  margin-bottom: 6px;
}

.StHint {
  font-size: 12px;
  color: #9aa1a9;
  margin: 4px 0 10px;
}

.StAvs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.StAvItem {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}

.StAvItem img {
  width: 50px;
  height: 50px;
  display: block;
}

.StAvItem.On {
  border-color: #22c55e;
}

.StUpload {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  border: 1px dashed #cfd4da;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9aa1a9;
  font-size: 11px;
  cursor: pointer;
}

.StUpload svg {
  width: 16px;
  height: 16px;
  margin-bottom: 3px;
}

.StSwitchRow {
  display: flex;
  align-items: center;
  height: 34px;
}

.StSwitchRow span {
  flex: 1;
  font-size: 13px;
}

.Switch {
  width: 42px;
  height: 22px;
  border-radius: 11px;
  background: #dcdfe3;
  position: relative;
  transition: background 0.15s;
  flex: none;
}

.Switch i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: left 0.15s;
}

.Switch.On {
  background: #22c55e;
}

.Switch.On i {
  left: 22px;
}

.StDevTip {
  font-size: 12px;
  color: #8a9099;
  line-height: 1.9;
  margin-bottom: 6px;
}

.StDevTip span {
  color: #1f2329;
  white-space: nowrap;
}

.DevItem {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid #f4f5f6;
}

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

.DevCode {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
}

.DevCode .Chip.On {
  background: #eaf9ef;
  color: #1eb355;
}

.DevSub {
  font-size: 12px;
  color: #9aa1a9;
}

.DevItem .Btn {
  height: 28px;
  padding: 0 12px;
  font-size: 12px;
  border: 1px solid #e2e5e9;
  background: #fff;
  color: #4a5058;
}

.StPwdCard .Ip {
  margin-bottom: 12px;
}

.StPwdCard .Btn {
  height: 34px;
  font-size: 13px;
}

.StExit {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #f0b8b8;
  background: #fff;
  color: #e05252;
  font-size: 13px;
}

.StExit:hover {
  background: #fdf3f3;
}

.AgentItem {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #f4f5f6;
}

.AgentItem .Av {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

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

.AgentMain b {
  font-size: 13px;
  font-weight: 600;
}

.AgentMain p {
  font-size: 12px;
  color: #9aa1a9;
  margin-top: 3px;
  word-break: break-all;
}

.AgentItem .Btn {
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  margin-left: 8px;
  flex: none;
}

.StCardHead {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  height: 26px;
}

.StCardHead h3 {
  margin: 0;
  flex: 1;
}

.StCardHead .Btn {
  height: 28px;
  font-size: 12px;
  padding: 0 12px;
}

.VtBody {
  height: 100vh;
  background: #e6e8ea;
  display: flex;
  justify-content: center;
}

.VtPhone {
  width: 500px;
  height: 100vh;
  background: #f2f3f5;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #dcdfe3;
  border-right: 1px solid #dcdfe3;
}

.VtHead {
  height: 56px;
  flex: none;
  background: #fff;
  border-bottom: 1px solid #eceef0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 16px;
  font-weight: 600;
}

.VtState {
  position: absolute;
  right: 16px;
  top: 20px;
  font-size: 12px;
  color: #9aa1a9;
}

.VtState i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #22c55e;
  margin-right: 4px;
  vertical-align: 1px;
}

.VtFoot {
  flex: none;
  background: #fff;
  border-top: 1px solid #eceef0;
  padding: 9px 12px 11px;
  position: relative;
}

.VtEmoji {
  flex: none;
  background: #f7f8f9;
  border-top: 1px solid #eceef0;
  height: 286px;
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
}

.VtEmojiScroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.VtEmoji h5 {
  font-size: 12px;
  color: #8a9099;
  font-weight: 400;
  margin-bottom: 8px;
}

.VtEmoji .EmojiGrid b {
  width: 16.66%;
  height: 46px;
  font-size: 26px;
}

.EmojiGrid {
  display: flex;
  flex-wrap: wrap;
}

.EmojiGrid b {
  width: 16.66%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 4px;
}

.EmojiGrid b:hover {
  background: #eceef0;
}

.EmojiLast {
  display: flex;
  gap: 2px;
  background: #eceef0;
  border-radius: 6px;
  padding: 4px;
  margin-top: 10px;
  flex: none;
}

.EmojiLast b {
  width: 34px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 4px;
}

.EmojiLast b.First {
  background: #fff;
}

.RecMask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 35, 41, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.RecBox {
  width: 260px;
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.RecBox b {
  display: block;
  font-size: 26px;
  color: #22c55e;
  margin-bottom: 8px;
}

.RecBox p {
  font-size: 12px;
  color: #8a9099;
  margin-bottom: 16px;
}

.RecBox .Btn {
  width: 100%;
  height: 32px;
  font-size: 13px;
}

.DgBody {
  height: 100vh;
  display: flex;
}

.DgMain {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  padding: 26px 36px 40px;
}

.DgTitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 22px;
}

.DgStats {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
}

.DgStat {
  flex: 1;
  height: 96px;
  background: #fff;
  border: 1px solid #f0f1f2;
  border-radius: 8px;
  padding: 18px;
}

.DgStat p {
  font-size: 12px;
  color: #8a9099;
  margin-bottom: 12px;
}

.DgStat b {
  font-size: 26px;
  font-weight: 600;
}

.DgStat b i {
  font-size: 12px;
  font-style: normal;
  color: #9aa1a9;
  margin-left: 4px;
}

.DgCols {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
}

.DgCard {
  background: #fff;
  border: 1px solid #f0f1f2;
  border-radius: 8px;
  padding: 18px;
}

.DgCard h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.DgWeek {
  width: 600px;
  height: 240px;
  flex: none;
}

.DgBars {
  height: 160px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 0 6px;
}

.DgBar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 160px;
}

.DgBar b {
  width: 100%;
  background: #a8e063;
  border-radius: 3px 3px 0 0;
  display: block;
}

.DgBar span {
  font-size: 11px;
  color: #9aa1a9;
  margin-top: 6px;
  height: 16px;
  white-space: nowrap;
}

.DgBar em {
  font-size: 11px;
  color: #6b7280;
  font-style: normal;
  margin-bottom: 4px;
}

.DgCh {
  flex: 1;
  height: 240px;
}

.ChRow {
  margin-bottom: 14px;
}

.ChRowTop {
  display: flex;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.ChRowTop span {
  margin-left: auto;
  color: #9aa1a9;
}

.ChBar {
  height: 8px;
  background: #f0f2f4;
  border-radius: 4px;
  overflow: hidden;
}

.ChBar i {
  display: block;
  height: 8px;
  background: #22c55e;
}

.DgTable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.DgTable th {
  text-align: left;
  font-size: 12px;
  color: #8a9099;
  font-weight: 400;
  padding: 10px 12px;
  background: #f7f8f9;
  border-bottom: 1px solid #eceef0;
}

.DgTable td {
  font-size: 13px;
  padding: 11px 12px;
  border-bottom: 1px solid #f4f5f6;
}

.DgTable td.Gray {
  color: #9aa1a9;
  font-size: 12px;
}

.DgStars {
  color: #f5a623;
  font-size: 12px;
}

.ModalMask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 35, 41, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.ModalBox {
  width: 420px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.ModalBox.Wide {
  width: 600px;
}

.ModalHead {
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f2f4;
  font-size: 15px;
  font-weight: 600;
}

.ModalHead .IconBtn {
  margin-left: auto;
}

.ModalBody {
  padding: 18px;
  max-height: 460px;
  overflow-y: auto;
}

.ModalBody p.Txt {
  font-size: 13px;
  line-height: 1.9;
  color: #4a5058;
}

.ModalFoot {
  padding: 12px 18px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ModalField {
  margin-bottom: 14px;
}

.ModalField label {
  display: block;
  font-size: 12px;
  color: #8a9099;
  margin-bottom: 6px;
}

.ModalField .Ip {
  height: 34px;
  font-size: 13px;
}

.ModalField select {
  width: 100%;
  height: 34px;
  border: 1px solid #e2e5e9;
  border-radius: 6px;
  padding: 0 8px;
  background: #fff;
  color: #1f2329;
}

.ToastWrap {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.Toast {
  background: #23272d;
  color: #fff;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 4px;
  opacity: 0.96;
}

.Toast.Bad {
  background: #e05252;
}

.Pop {
  position: absolute;
  bottom: 58px;
  left: 16px;
  width: 340px;
  background: #fff;
  border: 1px solid #eceef0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(31, 35, 41, 0.12);
  z-index: 40;
  display: none;
}

.Pop.Show {
  display: block;
}

.PopHead {
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid #f0f2f4;
}

.PopHead .IconBtn {
  margin-left: auto;
  width: 26px;
  height: 26px;
}

.PopBody {
  padding: 10px 12px;
  max-height: 250px;
  overflow-y: auto;
}

.EmojiPanel {
  width: 340px;
}

.EmojiPanel .EmojiGrid b {
  width: 16.66%;
  height: 38px;
  font-size: 22px;
}

.QkGroups {
  display: flex;
  gap: 6px;
  padding: 8px 12px 0;
  flex-wrap: wrap;
}

.QkGroup {
  height: 24px;
  line-height: 24px;
  padding: 0 9px;
  border-radius: 12px;
  font-size: 12px;
  background: #f0f2f4;
  color: #4a5058;
  cursor: pointer;
}

.QkGroup.On {
  background: #eaf9ef;
  color: #1eb355;
}

.QkItem {
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.6;
  color: #4a5058;
  cursor: pointer;
}

.QkItem:hover {
  background: #f5f6f7;
}

.QkSearch {
  padding: 8px 12px 0;
}

.QkSearch input {
  height: 30px;
  font-size: 12px;
}

.StatusBtn {
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  border: 1px solid #e2e5e9;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #4a5058;
  margin-right: 4px;
}

.StatusBtn:hover {
  border-color: #22c55e;
}

.StatusBtn i {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #22c55e;
  margin-right: 5px;
}

.StatusBtn.Busy i {
  background: #f5a623;
}

.StatusBtn.Away i {
  background: #b4b9c0;
}

.WbMenu {
  position: absolute;
  right: 0;
  top: 38px;
  width: 148px;
  background: #fff;
  border: 1px solid #eceef0;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(31, 35, 41, 0.12);
  padding: 5px 0;
  z-index: 50;
  display: none;
}

.WbMenu.Show {
  display: block;
}

.WbMenu b {
  display: block;
  height: 34px;
  line-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 400;
  color: #4a5058;
  cursor: pointer;
}

.WbMenu b:hover {
  background: #f5f6f7;
  color: #22c55e;
}

.WbMenu b.Red {
  color: #e05252;
}

.Empty {
  text-align: center;
  padding: 60px 0;
  font-size: 13px;
  color: #9aa1a9;
}

.TransItem {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #eceef0;
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: pointer;
}

.TransItem.On {
  border-color: #22c55e;
  background: #f6fdf8;
}

.TransItem .Av {
  width: 34px;
  height: 34px;
  margin-right: 10px;
}

.TransItem b {
  font-size: 13px;
  font-weight: 600;
}

.TransItem p {
  font-size: 12px;
  color: #9aa1a9;
  margin-top: 3px;
}

.QrBox {
  text-align: center;
  padding: 6px 0 0;
}

.QrBox img {
  width: 190px;
  height: 190px;
  display: block;
  margin: 0 auto 12px;
  border: 1px solid #f0f2f4;
}

.QrBox p {
  font-size: 12px;
  color: #8a9099;
  word-break: break-all;
  margin-bottom: 12px;
}

.ReadonlyMsg {
  background: #f7f8f9;
  border-radius: 6px;
  padding: 12px;
  max-height: 380px;
  overflow-y: auto;
}

.ReadonlyMsg .Row {
  margin-bottom: 10px;
  font-size: 13px;
}

.ReadonlyMsg .Row b {
  display: block;
  font-size: 11px;
  color: #9aa1a9;
  font-weight: 400;
  margin-bottom: 3px;
}

.ReadonlyMsg .Row.Mine b {
  text-align: right;
}

.ReadonlyMsg .Row.Mine span {
  float: right;
  background: #a8e063;
  padding: 7px 10px;
  border-radius: 6px;
  max-width: 80%;
}

.ReadonlyMsg .Row span {
  display: inline-block;
  background: #fff;
  border: 1px solid #eceef0;
  padding: 7px 10px;
  border-radius: 6px;
  max-width: 80%;
}

.ReadonlyMsg .Row.Tip span {
  border: none;
  background: none;
  color: #9aa1a9;
  font-size: 12px;
}

.BigImg {
  max-width: 760px;
  max-height: 560px;
  display: block;
  border-radius: 6px;
}

.ImgMask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.FootLine {
  text-align: center;
  font-size: 12px;
  color: #b4b9c0;
  padding: 18px 0 6px;
}

.Av {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex: none;
}

.Av img {
  width: 100%;
  height: 100%;
  display: block;
}

.NotifyWrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.Notify {
  width: 262px;
  background: #fff;
  border: 1px solid #eceef0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(31, 35, 41, 0.12);
  padding: 10px 12px;
  display: flex;
  cursor: pointer;
}

.Notify .Av {
  width: 34px;
  height: 34px;
  margin-right: 10px;
}

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

.NotifyMain b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.NotifyMain p {
  font-size: 12px;
  color: #8a9099;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .VtBody {
    background: #f2f3f5;
    height: 100dvh;
  }

  .VtPhone {
    width: 100%;
    height: 100dvh;
    border-left: none;
    border-right: none;
  }

  .VtHead {
    height: 52px;
    font-size: 15px;
  }

  .VtState {
    right: 12px;
    top: 18px;
  }

  .MsgList {
    padding: 14px 12px;
  }

  .MsgRow {
    margin-bottom: 14px;
  }

  .MsgAv {
    width: 34px;
    height: 34px;
  }

  .MsgAv img {
    width: 34px;
    height: 34px;
  }

  .MsgBody {
    max-width: 72%;
    margin: 0 8px;
  }

  .MsgText {
    font-size: 15px;
    padding: 9px 11px;
  }

  .MsgImg img {
    max-width: 180px;
    max-height: 180px;
  }

  .VtFoot {
    padding: 8px 10px 10px;
  }

  .ChatTools {
    gap: 8px;
  }

  .ChatInput {
    height: 36px;
  }

  .VtEmoji {
    height: 246px;
  }

  .VtEmoji .EmojiGrid b {
    height: 42px;
    font-size: 24px;
  }
}


.Chip.Warn {
  background: #fff2e0;
  color: #d9820b;
}

.WbItem.Pending {
  background: #fffdf6;
}

.WarnTxt {
  color: #d9820b;
  font-weight: 600;
}

.MsgSending {
  color: #8a9099;
  background: #eef0f2 !important;
}

.EmptyChat {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #a6abb3;
  font-size: 13px;
}

.MsgRow.Flash .MsgText {
  background: #fff3bf;
}

.ScList {
  max-height: 320px;
  overflow-y: auto;
}

.ScTip {
  font-size: 13px;
  color: #a6abb3;
  text-align: center;
  padding: 26px 0;
}

.ScItem {
  padding: 9px 10px;
  border-bottom: 1px solid #f2f3f5;
  cursor: pointer;
}

.ScItem:hover {
  background: #f7f8f9;
}

.ScItem b {
  display: block;
  font-size: 11px;
  color: #a6abb3;
  font-weight: 400;
  margin-bottom: 3px;
}

.ScItem span {
  font-size: 13px;
  color: #1f2329;
}

.BigImg {
  max-width: 90vw;
  max-height: 88vh;
}

.ImgNav {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ImgNav svg {
  width: 22px;
  height: 22px;
}

.ImgNav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.ImgNav.Prev {
  left: 26px;
}

.ImgNav.Next {
  right: 26px;
}

.ImgCount {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 10px;
  border-radius: 10px;
}

.HisGroup {
  font-size: 12px;
  color: #a6abb3;
  margin: 18px 0 8px;
}

.HisTransfer {
  font-size: 12px;
  color: #6b7280;
  background: #f5f6f7;
  padding: 7px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.HisMore,
.HisLoadMore {
  width: 100%;
  height: 32px;
  font-size: 12px;
  margin-top: 10px;
}

.NotifyX {
  margin-left: auto;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  color: #b0b5bd;
  font-size: 14px;
  flex: none;
}

.NotifyX:hover {
  background: #eceef0;
  color: #6b7280;
}

.NotifyMore {
  border: 1px dashed #c9ced5;
  background: #fafbfc;
}

#MtDrawer.Off #MtClose svg {
  transform: rotate(180deg);
}

#MtClose svg {
  transition: transform 0.18s;
}

.WbBody {
  min-width: 1180px;
}

.TagPick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.RecBtns {
  display: flex;
  gap: 10px;
}

.RecBtns .Btn {
  flex: 1;
  width: auto;
  padding: 0 6px;
  white-space: nowrap;
}

.StPwdTip {
  font-size: 12px;
  color: #a6abb3;
  margin: -4px 0 12px;
  line-height: 1.6;
}

.LgPwdWrap {
  position: relative;
}

.LgPwdWrap .Ip {
  padding-right: 38px;
}

.LgEye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a6abb3;
}

.LgEye svg {
  width: 17px;
  height: 17px;
}

.LgEye.On {
  color: #22c55e;
}

.Ip.Bad {
  border-color: #e05252;
  background: #fff7f7;
}

.VtEmoji {
  height: min(246px, 40vh);
}

.MsgImg img {
  border-radius: 6px;
}

#BtnBack {
  display: none;
}

@media (max-width: 900px) {
  .WbBody {
    min-width: 0;
  }

  .Rail {
    width: 48px;
  }

  .WbList {
    position: absolute;
    left: 48px;
    top: 0;
    bottom: 0;
    width: calc(100% - 48px);
    z-index: 30;
  }

  .WbChat {
    position: absolute;
    left: 48px;
    top: 0;
    bottom: 0;
    width: calc(100% - 48px);
    z-index: 20;
  }

  .WbBody:not(.ChatOn) .WbChat {
    display: none;
  }

  .WbBody.ChatOn .WbList {
    display: none;
  }

  #BtnBack {
    display: flex;
    margin-right: 4px;
  }

  .MtDrawer {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 40;
    box-shadow: -6px 0 16px rgba(0, 0, 0, 0.08);
  }

  .ChatHead {
    padding: 0 10px;
  }

  .ChatHeadName {
    max-width: 120px;
  }

  .StMain,
  .DgMain {
    padding: 16px;
  }

  .StCols,
  .DgCols {
    flex-direction: column;
  }

  .StColL,
  .StColR,
  .DgWeek,
  .DgCh {
    width: 100%;
  }

  .DgStats {
    flex-wrap: wrap;
  }

  .DgStat {
    width: 48%;
  }

  .DgTableWrap {
    overflow-x: auto;
  }

  .DgTable {
    display: table;
    min-width: 660px;
  }

  .LgCard {
    width: 100%;
    max-width: 420px;
    height: auto;
    flex-direction: column;
  }

  .LgBrand {
    display: none;
  }

  .LgForm {
    width: 100%;
    height: auto;
    padding: 30px 22px;
  }
}

@media (max-width: 900px) {
  .WbBody {
    overflow-x: hidden;
  }
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 900px) {
  .ChatHead {
    height: 62px;
    padding: 0 8px;
  }

  .Pop {
    left: 8px;
    right: 8px;
    width: auto;
    max-width: calc(100% - 16px);
  }

  .ChatHeadSub {
    display: block;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ChatHeadTools {
    gap: 2px;
  }

  .ChatHeadTools .IconBtn,
  .ChatHeadTools .StatusBtn,
  .ChatHeadTools .HeadMore {
    flex: none;
    padding: 0 5px;
  }

  .ChatHeadTools .StatusBtn span {
    display: none;
  }

  .ChatTools {
    padding: 8px;
    gap: 6px;
  }

  .ChatTools .Round {
    width: 30px;
    height: 30px;
    flex: none;
  }

  .ChatTools .ChatInput {
    min-width: 0;
    height: 34px;
    padding: 0 10px;
  }

  .ChatTools .SendBtn {
    width: auto;
    height: 32px;
    padding: 0 12px;
    flex: none;
  }

  .MsgVideo video {
    max-width: 210px;
    max-height: 260px;
  }
}

.MsgFail {
  color: #d9534f !important;
  background: #fdf0ef !important;
  cursor: pointer;
}

@media (max-width: 900px) {
  .DgBars {
    gap: 8px;
    padding: 0 2px;
  }

  .DgBar span {
    font-size: 10px;
  }

  .DgStats {
    flex-wrap: wrap;
    gap: 10px;
  }

  .DgStat {
    flex: none;
    width: calc(50% - 5px);
    height: auto;
    min-height: 86px;
    padding: 14px;
  }

  .DgStat p {
    margin-bottom: 8px;
  }
}

@media (max-width: 900px) {
  .LgCard {
    width: calc(100% - 32px);
  }
}
