﻿*, *:before, *:after {
    -moz-box-sizing: border-box;
    /* Firefox 1, probably can drop this */
    -webkit-box-sizing: border-box;
    /* Safari 3-4, also probably droppable */
    box-sizing: border-box;
    /* Everything else */
}

:root {
    --kefu-theme-color: #007bff;
    --kefu-theme-color-hover: #0069d9;
    --kefu-theme-color-active: #0056b3;
}

@font-face{
    font-weight:normal;
    font-style:normal;
    font-family:"weui";
    src:url('data:application/octet-stream;base64,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') format('truetype');
}


@font-face {
    font-family: kefu__icon;
    src: url(../font/iconfont.eot?v=220);
    src: url(../font/iconfont.eot?v=220#iefix) format('embedded-opentype'),url(../font/iconfont.svg?v=220#iconfont) format('svg'),url(../font/iconfont.woff?v=220) format('woff'),url(../font/iconfont.ttf?v=220) format('truetype')
}

.kefu__icon {
    font-family: icon!important;
}

.kefu__font-icon {
    font-family: icon!important;
    font-size: 22px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-app-region: no-drag;
}

@font-face {
    font-family: 'icon';
    src: url('../font/fonteditor.eot?v=20260427');
    src: url('../font/fonteditor.eot?v=20260427#iefix') format('embedded-opentype'),
    url('../font/fonteditor.woff?v=20260427') format('woff'),
    url('../font/fonteditor.ttf?v=20260427') format('truetype'),
    url('../font/fonteditor.svg?v=20260427#iconfont') format('svg');
}

.kefu__font-icon-circle {
    font-family: icon!important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: auto 12px;
    font-size: 22px;
    color: var(--kefu-theme-color);
    cursor: pointer;
    user-select: none;
    line-height: 100%;
    padding: 2px;
}

.kefu__font-icon-circle:hover {
    background-color: var(--kefu-theme-color);
    color: #fff;
    border-radius: 200px;
}

.kefu__font-icon-gray {
    font-family: icon!important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: auto 12px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    user-select: none;
}

.kefu__font-icon-gray:hover {
    color: var(--kefu-theme-color);
    border-radius: 200px;
}

body, html {
    height: 100%;
    margin:0;
    font-family: Roboto,"Helvetica Neue",Helvetica,sans-serif,"Hiragino Sans GB","Microsoft YaHei";
    font-size: 16px;
    color: #333;
}

a {
    text-decoration: none;
}

.kefu__select-area .kefu__list-hover:hover {
    background-color: #e2f2ff;
    -webkit-transition: background-color 0.15s ease;
    transition: background-color 0.15s ease;
    cursor: default;
}

.kefu__list-hover:hover {
    background-color: #f2f2f2;
    -webkit-transition: 1s all;
    transition: 1s all;
    cursor: default;
}

.kefu__panel button:disabled, .kefu__panel input:disabled {
    pointer-events: none;
    cursor: not-allowed;
}

.kefu__close {
    margin-left: -12px;
    height: 25px;
    width: 25px;
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 10001;
    cursor: pointer;
}

.kefu__close:before, .kefu__close:after {
    content: "";
    background: #666;
    transform: translate(50%, -50%) rotate(45deg) scale(.9);
    position: absolute;
    top: 50%;
    right: 50%;
}

.kefu__close:before {
    height: 25px;
    width: 2px;
}

.kefu__close:after {
    height: 2px;
    width: 25px;
}

.kefu__body {
    padding-top: 0;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items:center;
}


.kefu__panel .kefu__flexbox {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    display: -ms-flexbox;
}

/*注册登录相关*/

.kefu__panel .kefu__form-title {
    color: #333;
    font-size: 32px;
    padding: 0 14px 18px;
    font-weight: 400;
    margin: 0;
}

.kefu__panel .kefu__form-cells {
    line-height: 1.41176471;
    font-size: 16px;
    overflow: hidden;
    position: relative;
    width: 420px;
    margin: 0 auto;
}

.kefu__panel .kefu__form-cell {
    padding: 0 16px;
    height: 50px;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.kefu__panel .kefu__form-cell:before {
    content: " ";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    left: 15px;
    z-index: 2;
}

.kefu__panel .kefu__form-label {
    display: block;
    width: 76px;
    word-wrap: break-word;
    word-break: break-all;
    font-size:15px;
}

.kefu__panel .kefu__form-input {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    width: 100%;
    border: 0;
    outline: 0;
    -webkit-appearance: none;
    background-color: transparent;
    font-size: inherit;
    color: inherit;
    height: 50px;
    padding-left:14px;
}

.kefu__panel .kefu__form-captcha {
    height: 50px;
    vertical-align: middle;
    width: 100px;
    margin-right: -14px;
}

.kefu__panel .kefu__form-link {
    padding: 14px 14px 0;
}

.kefu__panel .kefu__form-link a {
    color: #0060a0;
}

.kefu__panel .kefu__form-btn {
    padding: 26px 3px;
}

.kefu__panel .kefu__form-btn .kefu__btn-primary {
    font-size: 15px !important;
    line-height: 40px;
    margin:0 10px;
}
/*end*/


.kefu__left-bar {
    height: 100%;
    float:left;
    width:60px;
    background-color: #2e3238;
    padding:0;
    user-select: none;
    position: relative;
    -webkit-app-region: drag;
    -webkit-user-select: none;
}

.kefu__left-bar .kefu__badge {
    position: absolute;
    top: -5px;
    right: 11px;
}

.kefu__left-icon {
    margin-top:26px;
    width: 100%;
    padding-left:0;
    text-align: center;
    font-size:26px;
    color:#d6d6d6;
    cursor:pointer;
    position: relative;
}

.kefu__left-bar .kefu__selected {
    color:#3b8dff !important;
}

.kefu__left-bar .kefu__bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* 与会话列表右键菜单同一套毛玻璃样式；此处为侧栏内绝对定位，覆盖 .kefu__panel .kefu__contextmenu 的 fixed */
.kefu__left-bar .kefu__sub-menu.kefu__contextmenu {
    position: absolute;
    bottom: 20px;
    left: 50px;
    top: auto;
    right: auto;
    z-index: 2500;
    width: max-content;
    min-width: 168px;
    -webkit-app-region: no-drag;
}

/* macOS 桌面端（Electron）：为系统交通灯预留顶栏，略加宽左侧栏；Windows 不受影响 */
.is-desk-mac .kefu__left-bar {
    width: 64px;
    padding-top: 40px;
    box-sizing: border-box;
}

.is-desk-mac .kefu__left-bar .kefu__sub-menu {
    left: 64px;
}

.is-desk-mac .kefu__left-bar .kefu__avatar {
    margin-top: 4px;
    margin-bottom: 20px;
}

.is-desk-mac .kefu__left-bar .kefu__avatar + .kefu__left-icon {
    margin-top: 18px;
}

.kefu__main {
    min-width: 1024px;
    height: 100%;
    margin: 0 auto;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    overflow: hidden;
    min-height: 600px;
    width: 100%;
    position: relative;
}

.kefu__left-main-panel {
    position: relative;
    width: 330px;
    height: 100%;
    float: left;
    background: #FBFBFB;
    border-top:1px solid #d6d6d6;
    border-bottom:1px solid #d6d6d6;
}

.kefu__left-main-panel .kefu__selected {
    background-color: #e2f2ff;
    box-shadow: none;
}

.kefu__left-panel-head {
    padding: 15px 0 15px;
    -webkit-app-region: drag;
    -webkit-user-select: none;
    user-select: none;
}

.kefu__right-main-panel {
    position: relative;
    background-color: #f0f2f5;
    height: 100%;
    overflow: hidden;
    border:1px solid #d6d6d6;
}

.kefu__avatar img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    display: block;
    cursor: pointer;
    object-fit: cover;
}

.kefu__avatar {
    width: 44px;
    height: 44px;
    position: relative;
}

.kefu__avatar-big {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
    position: relative;
}

.kefu__avatar-big img{
    width: 120px;
    height: 120px;
    border-radius: 6px;
    object-fit: cover;
}

.kefu__left-bar .kefu__avatar{
    margin: 13px auto 36px;
    width: 44px;
    height: 44px;
    -webkit-app-region: no-drag;
}

.kefu__search-bar {
    position: relative;
    width: 280px;
    margin: 0 auto;
    -webkit-app-region: drag;
}

.kefu__search-bar:before {
    content: '\eba1' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #777;
    position: absolute;
    left: 8px;
    top: 50%;
    margin-top: -8px;
    font-size: 16px;
    line-height: 1;
}

.kefu__search-bar-close {
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font-family: "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #777;
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -8px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    -webkit-app-region: no-drag;
}

.kefu__search-bar-close:hover {
    color: #333;
}

.kefu__search-bar input {
    width: 280px;
    height: 30px;
    line-height: 30px;
    border: 0;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #d6d6d6;
    color: #333;
    padding: 0 30px 0 30px;
    font-size: 13px;
    box-sizing: border-box;
    -webkit-app-region: no-drag;
}

.kefu__select-area {
    /*position: absolute;*/
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: visible;
    width: auto;
    cursor: default;
    user-select: none;
    height: calc(100% - 55px);
    overflow-y: scroll;
}

.kefu__scroll-wrapper {
    /*overflow-y: auto!important;
    overflow-x: hidden;*/
    padding: 0!important;
    position: relative;
}

.kefu__select-area .kefu__scroll-wrapper {
    height: 100%;
    position: relative;
}

.kefu__scroll-wrapper>.kefu__scroll-content {
    border: none!important;
    box-sizing: content-box!important;
    height: auto;
    left: 0;
    margin: 0;
    max-height: none!important;
    max-width: none!important;
    overflow: auto!important;
    padding: 0;
    position: relative!important;
    top: 0;
    width: auto!important;
}

.kefu__chatting_item {
    overflow: hidden;
    padding: 12px 12px 11px;
    border: 1px solid transparent;
    border-top: 1px solid #eee;
    position: relative;
    display: flex;

}

.kefu__chatting_item .kefu__time {
    float: right;
    color: #989898;
    font-size: 13px;
    text-align: right;
    height: 19px;
    line-height: 1.5;
}

.kefu__chatting_item .kefu__avatar {
    float: left;
    margin-right: 10px;
    position: relative;
    background-blend-mode: hue;
}

.kefu__chatting_item .kefu__avatar img {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    object-fit: cover;
}

.kefu__offline {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

.kefu__chatting_item .kefu__info {
    overflow: hidden;
    float:left;
    width: 190px;
}

.kefu__chatting_item .kefu__info .kefu__nickname {
    font-weight: 400;
    font-size: 16px;
    color: #333;
    line-height: 20px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    display: inline-block;
    vertical-align: top;
    margin:0;
}

.kefu__chatting_item .kefu__info .kefu__msg {
    color: #989898;
    font-size: 14px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    height: 1.5em;
    margin: 5px 0 0 0;
}

.kefu__chatting_item  .kefu__badge {
    position: absolute;
    top: -5px;
    right: -5px;
}

.kefu__panel .kefu__background-selected {
    background-color: #e2f2ff;
}

/* 浅色毛玻璃浮层（右键菜单等）；叠在侧栏等复杂层上加 kefu__glass-surface--elevated */
.kefu__glass-surface,
.kefu__panel .kefu__contextmenu.kefu__glass-surface {
    background-color: rgba(255, 255, 255, 0.76);
    -webkit-backdrop-filter: blur(5px) saturate(1.15);
    backdrop-filter: blur(5px) saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    border-radius: 6px;
}

.kefu__glass-surface--elevated {
    -webkit-app-region: no-drag;
    z-index: 2500;
}

.kefu__panel .kefu__contextmenu {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #fff;
    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    border-radius: 6px;
    min-width: 168px;
    width: max-content;
    max-width: min(280px, calc(100vw - 24px));
    position: fixed;
    z-index: 99;
    cursor: default;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.45;
    overflow: visible;
    user-select: none;
    -webkit-user-select: none;
}

.kefu__panel .kefu__contextmenu.kefu__glass-surface {
    border: 1px solid rgba(255, 255, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.76);
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.kefu__panel .kefu__contextmenu ul {
    margin: 0;
    /* 与外壳留白：悬停底色不贴齐玻璃边缘 */
    padding: 5px 6px;
    list-style: none;
}

.kefu__panel .kefu__contextmenu ul li {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    margin: 1px 0;
    border-radius: 4px;
}

.kefu__contextmenu-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    font-size: 17px;
    line-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #444;
}

.kefu__contextmenu-label {
    flex: 1;
    min-width: 0;
}

.kefu__panel .kefu__contextmenu ul li:hover,
.kefu__panel .kefu__contextmenu ul li.kefu__hover {
    background-color: #e2f2ff;
}

.kefu__panel .kefu__contextmenu ul li:first-child {
    margin-top: 0;
}

.kefu__panel .kefu__contextmenu ul li:last-child {
    margin-bottom: 0;
}

.kefu__panel .kefu__arr:after {
    content: '';
    border-color: #2a2a2a;
    border-style: solid;
    border-width: 1px 1px 0 0;
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
    height: 16px;
    width: 16px;
    position: relative;
    transform: rotate(45deg) scale(.5);
    -webkit-transform: rotate(45deg) scale(.5);
}

.kefu__contextmenu .kefu__sub-menu {
    position: absolute;
    top: 104px;
    left: 160px;
    width: 160px;
    background-color: #fff;
    border: 1px solid #d6d6d6;
}

.kefu__badge {
    min-width: 8px;
    vertical-align: middle;
    background-color: #ff3b30;
    border-radius: 20px;
    color: #fff;
    display: inline-block;
    padding: 3px 5px;
    line-height: 10px;
    font-size: 10px;
    font-family: Verdana;
    text-align: center;
    font-style: normal;
    font-weight: normal;
}

.kefu__chat-head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #FBFBFB;
    border-bottom: 1px solid #d6d6d6;
    flex: 1;
    align-items: center;
    display: flex;
    justify-content:space-between;
    -webkit-app-region: drag;
    -webkit-user-select: none;
    user-select: none;
}

.kefu__chat-head .kefu__title{
    font-size:17px;
    padding:0 20px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}

.kefu__chat-head-spacer {
    flex: none;
    width: 120px;
}

.kefu__chat-head .kefu__font-icon {
    font-size:20px;
    padding-right:20px;
    color:#b6b6b6;
    cursor: pointer;
    user-select: none;
    -webkit-app-region: no-drag;
}


.kefu__chat-body {
    position: absolute;
    bottom: 181px;
    overflow-y: auto!important;
    overflow-x: hidden!important;
    padding: 0!important;
    top: 60px;
    right: 0;
    left: 0;
    width: calc(100% - 330px);
}

.kefu__history_body {
    bottom: 0 !important;
    top: 60px !important;
}

.kefu__chat-none {
    position: absolute;
    bottom: 1px;
    overflow-y: auto!important;
    overflow-x: hidden!important;
    padding: 0!important;
    top: 60px;
    right: 0;
    left: 0;
}

.kefu__flex1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.kefu__clearfix:after {
    content: "";
    clear: both;
    display: block;
}

.kefu__chat-content {
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 14px;
    font-family: inherit;
    padding: 12px;
    position: relative;
}

.kefu__history-chat-content {
    padding-bottom: 50px;
}

.kefu__history-rechat {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 330px);
    background: #f3f3f3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.kefu__panel ul, .kefu__panel ol, .kefu__panel li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kefu__chat-content ul li {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    display: -ms-flexbox;
    margin-bottom: 16px;
}

.kefu__chat-content ul li.kefu__chat-msg-time {
    padding-top: 12px;
}

.kefu__chat-content ul li.kefu__chat-msg-notice {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

.kefu__chat-content ul li.kefu__chat-msg-time span, .kefu__chat-content ul li.kefu__chat-msg-notice span {
    color: #b0b0b0;
    border-radius: 3px;
    display: block;
    font-size: 12px;
    font-family: Verdana;
    overflow: hidden;
    margin: 0 auto;
    padding: 4px;
    line-height: normal;
    max-width: 90%;
}

.kefu__session-ended-divider {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    margin: 12px 0 16px;
    list-style: none;
    box-sizing: border-box;
    gap: 10px;
}

.kefu__session-ended-divider-line {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    min-width: 0;
    height: 0;
    border: none;
    border-top: 1px dashed #c5c5c5;
    max-width: 38%;
}

.kefu__session-ended-divider-text {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 12px;
    color: #9a9a9a;
    line-height: 1.2;
    white-space: nowrap;
    font-family: Verdana, sans-serif;
}

.kf_kefu_bg {

}

.kefu__chat-content ul li.kefu__chat-msg-notice span a {
    color: #0060a0;
}

.kefu__chat-content ul li .kefu__chat-msg-avatar {
    display: block;
    overflow: hidden;
    height: 40px;
    width: 40px;
    flex-shrink: 0;
}

.kefu__chat-content ul li .kefu__chat-msg-avatar img {
    vertical-align: top;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.kefu__chat-content ul li .kefu__chat-msg-content {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-author {
    color: #aaa;
    font-size: 10px;
    margin: 3px 10px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg {
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    color: #444;
    float: left;
    font-size: 14px;
    margin: 0 10px;
    padding: 10px;
    word-wrap: break-word;
    word-break: break-all;
    min-height: 18px;
    max-width: calc(100% - 60px);
    position: relative;
    transition: all .3s;
    /*user-select: none;*/
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg .kefu__chat-msg-face {
    vertical-align: top;
    height: 25px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg a {
    color: #0060a0;
    font-family: arial;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg a:active {
    background-color: #c2e6fd;
}

.kefu__chat-content ul li.kefu__chat-msg-others .kefu__chat-msg-content .kefu__chat-msg-msg {
    background-color: #fff;
    border-color: #f0f0f0;
}

.kefu__chat-content ul li.kefu__chat-msg-others .kefu__chat-msg-content .kefu__chat-msg-msg:active, .kefu__chat-content ul li.kefu__chat-msg-others .kefu__chat-msg-content .kefu__chat-msg-msg.taped {
    background-color: #f2f2f2;
    border-color: #e9e9e9;
}

.kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-author {
    text-align: right;
}

.kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-msg {
    float: right;
    background-color: #fff;
    border-color: #f0f0f0;
}

.kefu__panel .kefu__voice-box{
    width: .6rem;
    height: .5rem;
    width: 26px;
    height: 20px;
    background: url(/static/img/chat/voice.png?v=1);
    background-size: 2.3rem .64rem;
    background-size: 100px 28px;
    background-repeat: no-repeat;
    background-position: -2px;
    display: block;
}

.kefu__panel .kefu__voice-playing{
    animation: voice_animation 1s steps(1) infinite;
    -moz-animation: voice_animation 1s steps(1) infinite;
    -webkit-animation: voice_animation 1s steps(1) infinite;
    -o-animation: voice_animation 1s steps(1) infinite;
    animation-play-state: running;
}

.kefu__panel .kefu__voice-body {
    width: 100px;
    display: block;
    height: 20px;
}

.kefu__panel .kefu__float-left{
    float:left;
}
.kefu__panel .kefu__float-right{
    float:right;
}

.kefu__panel .kefu__text-right{
    text-align: right;
}

.kefu__panel .kefu__text-center{
    text-align: center;
}

.kefu__panel .kefu__route180 {
    transform: rotate(180deg);
}

@keyframes voice_animation
{
    25%  {background-position: -28px;}
    50%  {background-position: -51px;}
    75%  {background-position: -73px;}
    100% {background-position: -3px;}
}


.kefu__chat-msg-content .kefu__chat-msg-icon {
    vertical-align: middle;
    width: 44px;
    height: 44px;
    background-color: var(--kefu-theme-color);
    border-radius: 5px;
    display: flex;
    color: #fff;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
}

.kefu__chat-msg-content .kefu__chat-msg-ppt-icon {
    background-position: 0 0;
}

.kefu__chat-msg-content .kefu__chat-msg-doc-icon {
    background-position: -50px 0
}

.kefu__chat-msg-content .kefu__chat-msg-xls-icon {
    background-position: -100px 0;
}

.kefu__chat-msg-content .kefu__chat-msg-pdf-icon {
    background-position: -150px 0;
}

.kefu__chat-msg-content .kefu__chat-msg-txt-icon {
    background-position: 0 -50px;
}

.kefu__chat-msg-content .kefu__chat-msg-zip-icon {
    background-position: -50px -50px;
}

.kefu__chat-msg-content .kefu__chat-msg-file-cover {
    display: table-cell;
    padding-right: 10px;
}

.kefu__chat-msg-content .kefu__chat-msg-file-info {
    display: table-cell;
    vertical-align: top;
    font-size: 14px;
}

.kefu__chat-msg-content .kefu__chat-msg-file-info .kefu__chat-msg-file-name {
    display:block;
    line-height: 180%;
}

.kefu__chat-msg-content .kefu__chat-msg-file-info .kefu__chat-msg-file-size {
    color: #777;
}

.kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-msg:active, .kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-msg.taped {
    background-color: #f2f2f2;
    border-color: #e9e9e9;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg:before {
    content: '';
    display: inline-block;
    border-style: solid;
    border-width: 1px 1px 0 0;
    height: 10px;
    width: 10px;
    position: absolute;
    top: 15px;
}

.kefu__msg-readed:after, .kefu__msg-unread:after {
    content: '已读';
    display: inline-block;
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    color: #24b489;
    font-size: 12px;
    transition: color 1s ease, content 1s ease;
}

.kefu__msg-unread:after {
    content: '未读';
    color: #f49282;
}

.kefu__chat-content ul li.kefu__chat-msg-others .kefu__chat-msg-content .kefu__chat-msg-msg:before {
    background: inherit;
    border-color: inherit;
    left: -6px;
    transform: translate(0, -50%) rotate(-135deg);
}

.kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-msg:before {
    background: inherit;
    border-color: inherit;
    right: -6px;
    transform: translate(0, -50%) rotate(45deg);
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture:before, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video:before {
    display: none;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video {
    background-color: transparent !important;
    border-width: 0;
    border-radius: 3px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture.taped, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video.taped, .kefu__chat-content ul li .kefu__chat-msg-avatar.taped{
    opacity: .6;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture img, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video video {
    vertical-align: top;
    pointer-events: none;
    max-height: 270px;
    max-width: 270px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture img, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video img {
    vertical-align: top;
    pointer-events: none;
    max-height: 270px;
    max-width: 270px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video:after {
    content: '';
    background: url(../img/chat/icon__play.png) no-repeat center;
    background-size: 40px;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}


.kefu__chat-footer{
    height: 180px;
    border-top: 1px solid #d6d6d6;
    background: #ffffff;
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    width: calc(100% - 330px);
}

.kefu__bot-stream-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: -46px;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5px;
    pointer-events: none;
}

.kefu__bot-stream-overlay__glass {
    max-width: calc(100% - 32px);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(33, 33, 33, 0.88);
    text-align: center;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(210, 210, 210, 0.65);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.kefu__bot-stream-overlay__glass--with-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    text-align: left;
}

.kefu__bot-stream-overlay__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.kefu__bot-stream-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.kefu__bot-stream-dots__dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgb(163 163 163 / 88%);
    opacity: 0.35;
    animation: kefuBotStreamDotPulse 1.05s ease-in-out infinite;
}

.kefu__bot-stream-dots__dot:nth-child(1) {
    animation-delay: 0s;
}

.kefu__bot-stream-dots__dot:nth-child(2) {
    animation-delay: 0.18s;
}

.kefu__bot-stream-dots__dot:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes kefuBotStreamDotPulse {
    0%, 100% {
        opacity: 0.22;
        transform: scale(0.86);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.kefu__bot-stream-overlay--history {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    top: auto;
    padding-top: 0;
    padding-bottom: 6px;
    z-index: 20;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.kefu__chat-toolbar {
    height: 40px;
    padding: 5px 17px;
    position: relative;
}

.kefu__chat-text-area {
    padding: 0;
}

.kefu__chat-toolbar .kefu__font-icon {
    font-size:22px;
    line-height: 33px;
    margin-right:17px;
    color:#666;
    cursor: pointer;
    float: left;
    overflow: hidden;
    position: relative;
}

.kefu__chat-toolbar input[type="file"] {
    opacity: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 11;
    cursor: pointer;
}

.kefu__transfer {
    height: 400px;
    max-height: calc(100vh - 100px);
}

.kefu__transfer-wrapper{
    position: absolute;
    bottom: 100%;
    z-index: 1000;
    left: 28px;
    margin-bottom: -3px;
    max-height: calc(100vh - 100px);
    background: #fff;
    width: 400px;
}

.kefu__emotion-wrapper{
    position: absolute;
    background-color: #fff;
    z-index: 99;
    bottom: 100%;
    top: auto;
    left: 11px;
    margin-bottom: -3px;
    outline: none;
}

.kefu__border{
    border: 1px solid #cfcfcf;
}

.kefu__emotion-wrapper .kefu__border:after, .kefu__emotion-wrapper .kefu__border:before {
    content: "";
    position: absolute;
    left: 16px;
    top: 100%;
    margin-left: -7px;
}

.kefu__emotion-wrapper .kefu__emotion{
    margin: 12px;
    overflow: visible;
}

.kefu__emotion-wrapper .kefu__faces{
    display: grid;
    grid-template-columns: repeat(15, minmax(0, 1fr));
    gap: 6px;
    width: 420px;
    height: auto;
    box-sizing: border-box;
    overflow: visible;
}

.kefu__emotion-wrapper .kefu__emotion span {
    float: none;
    width: auto;
    min-width: 0;
    min-height: 26px;
    aspect-ratio: 1;
    font-size: 22px;
    line-height: 1;
    border: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kefu__emotion-wrapper .kefu__emotion img{
    width:24px;
}

/* 快捷回复浮层样式 */
.kefu__quickreply-wrapper {
    position: absolute;
    bottom: 100%;
    left: 336px;
    z-index: 1000;
    width: 500px;
    margin-left: -245px;
    margin-bottom: -3px;
    max-height: calc(100vh - 100px);
    background: #fff;
}


.kefu__quickreply-wrapper .kefu__border {
    border: 1px solid #cfcfcf;
}

.kefu__quickreply-wrapper .kefu__inner {
    padding: 0;
}

.kefu__quickreply-wrapper .kefu__quickreply {
    height: 400px;
    max-height: calc(100vh - 100px);
}

.kefu__quickreply-wrapper .kefu__reply-box {
    height: 100%;
    margin: 0;
}

.kefu__quickreply-wrapper .kefu__reply-box-left {
    width: 150px;
    height: 100%;
    border-right: 1px solid #eceff1;
    overflow-y: auto;
    margin: 0;
    background: #f8f9fa;
}

.kefu__quickreply-wrapper .kefu__reply-box-right {
    width: 349px;
    height: 100%;
    overflow-y: auto;
    margin: 0 !important;
}

.kefu__quickreply-wrapper .kefu__li-cell {
    padding: 10px 12px !important;
    font-size: 14px !important;
}

.kefu__quickreply-wrapper .kefu__ellipsis {
    width: auto;
    max-width: 130px;
}

.kefu__quickreply-wrapper .kefu__reply-box-right .kefu__ellipsis {
    max-width: 320px;
}

/* 三角指示 */
.kefu__triangle:after,
.kefu__triangle:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -7px;
}

.kefu__triangle:before {
    border: 7px solid transparent;
    border-top-color: #cfcfcf;
}

.kefu__triangle:after {
    margin-top: -1px;
    border: 7px solid transparent;
    border-top-color: #fff;
}


.kefu__chat-text-area textarea {
    width: 100%;
    background-color: #fff;
    border: 0;
    outline: none;
    white-space: pre-wrap;
    word-break: normal;
    margin: 0;
    height: 6em;
    resize:none;
    font-size:15px;
    padding:0 16px;
}

.kefu__chat-send-area {
    text-align: right;
    margin-top: 5px;
    position: relative;
}

.kefu__send-btn-group {
    display: inline-flex;
    margin-right: 15px;
    position: relative;
}

.kefu__chat-send-btn {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    padding: 0 16px;
    background-color: #008eff;
    color: #fff;
    border-radius: 3px 0 0 3px;
    box-sizing: content-box;
    border: none;
    cursor: pointer;
}

.kefu__chat-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.kefu__send-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #008eff;
    color: #fff;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.3);
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.kefu__send-arrow-disabled {
    opacity: 0.65;
}

.kefu__arrow-icon {
    font-family: icon !important;
    font-style: normal;
    font-size: 14px;
    display: inline-block;
    transform: rotate(-90deg);
}

.kefu__send-arrow-btn:hover,
.kefu__send-arrow-active {
    background-color: #0078d4;
}

.kefu__send-arrow-disabled.kefu__send-arrow-btn:hover {
    background-color: #008eff;
}

.kefu__send-menu {
    position: absolute;
    right: 28px;
    bottom: 32px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    min-width: 220px;
    overflow: hidden;
}

.kefu__send-menu ul {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.kefu__send-menu li {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    cursor: pointer;
    color: #333;
    font-size: 13px;
    white-space: nowrap;
}

.kefu__send-menu li:hover {
    background-color: #f5f5f5;
}

.kefu__menu-check {
    font-family: icon !important;
    font-style: normal;
    width: 20px;
    margin-right: 8px;
    color: #008eff;
    visibility: hidden;
}

.kefu__send-menu li.kefu__selected .kefu__menu-check {
    visibility: visible;
}

::-webkit-scrollbar {
    background: rgba(50, 50, 50, .5);
    border-radius: 0;
    border-top:1px solid #000;
    height: 3px;
    width: 3px;
    transition: all .3s ease-in-out;
}

::-webkit-scrollbar-track {
    background-color: #f8f8f8;
}

::-webkit-scrollbar-track-piece {
    background: #f8f8f8;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .3);
    border-radius: 0;
    min-height: 15px;
    width: 8px;
    transition: all .3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .5)
}

::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, .5)
}

.kefu__mask {
    position:fixed;
    top:0;
    right:0;
    left:0;
    bottom:0;
    background:rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.kefu__user-detail {
    width: 330px;
    background-color: #f9f9f9;
    height: calc(100% - 60px);
    border-left: 1px solid #d6d6d6;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    line-height: 260%;
    margin-top: 60px;
    float: right;
    overflow-y: scroll;
}

.kefu__history-user-detail {
    height: calc(100% - 60px) !important;
    margin-top: 60px !important;
}

.kefu__user-detail .kefu__avatar {
    display: block;
    margin-top: 30px;
    width: 120px;
    border-radius: 6px;
}

.kefu__user-detail .kefu__nickname {
    margin-top: 16px;
    margin-bottom:3px;
}

.kefu__user-detail .kefu__input {
    width: 136px;
}

.kefu__user-detail .kefu__header {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
}

.kefu__user-detail .kefu__detail-body {
    background-color: #fff;
    width: 100%;
}

.kefu__user-detail .kefu__detail-body-inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 8px;
}

.kefu__shadow {
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
}

.kefu__user-detail ul {
    color: #888;
}

.kefu__user-detail button {
    width: 80%;
    margin-top:12px;
}

.kefu__user-detail ul li {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size:12px;
    padding: 0 10px;
}

.kefu__user-detail ul li.kefu__section-cell{
    letter-spacing: -2px;
}

.kefu__user-detail ul li.kefu__section-cell:first-child{
    margin-top:36px;
    letter-spacing: -2px;
}

.kefu__user-detail ul li .kefu__input-input{
    margin-bottom: 36px;
}


.kefu__user-detail ul li span{
    color: #333;
    font-size:14px;
}

.kefu__user-detail .kefu__sign {
    font-size: 13px;
    color: #b4bbc0;
    overflow-y: hidden;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kefu__browser-safari:before {
    content: '\E64b' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__browser-firefox:before {
    content: '\E62b' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__browser-ie:before {
    content: '\E61f' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__browser-chrome:before {
    content: '\E673' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__os-osx:before {
    content: '\Eadc' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__os-windows:before {
    content: '\Ea2d' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__os-linux:before {
    content: '\E683' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__device-pc:before {
    content: '\E600' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__device-mobile:before {
    content: '\E613' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__device-pad:before {
    content: '\E816' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 20px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #00a0df;
}

.kefu__icon-wechat:before {
    content: '\E694' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 25px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #0ba85c;
}

.kefu__icon-android:before {
    content: '\E950' !important;
    margin-left: 0;
    margin-right: 5px;
    display: inline-block;
    font: normal normal normal 25px/1 "icon";
    vertical-align: middle;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #0ba85c;
}

.kefu__user-info {
    border: 1px solid #d6d6d6;
    width: 320px !important;
    height: 400px !important;
    left: 80px;
    top: 60px;
    box-shadow: 1px 1px 10px #ddd;
}

.kefu__input-choose-avatar {
    opacity: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    cursor: pointer;
}

.kefu__user-info .kefu__avatar {
    margin-bottom: 18px !important;
}

.kefu__user-info .kefu__avatar-panel {
    position: relative;
}

.kefu__panel .kefu__btn-primary {
    background-color: #1AAD19;
    border-radius: 3px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-size: 14px;
    font-family: "Microsoft Yahei";
    text-align: center;
    outline: none;
    overflow: hidden;
    padding: 0 9px;
    text-decoration: none;
    line-height: 34px;
    position: relative;
    border:none;
}

.kefu__panel .kefu__btn-primary:active {
    background-color: #8dcb76;
}

.kefu__panel .kefu__btn-primary:after {
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 5px;
    box-sizing: border-box;
    content: '';
    height: 200%;
    width: 200%;
    position: absolute;
    left: 0;
    top: 0;
    transform: scale(.5);
    -webkit-transform: scale(.5);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

.kefu__panel .kefu__btn-default {
    background: #fff;
    border: 1px solid #d9d9d9;;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-family: "Microsoft Yahei";
    text-align: center;
    outline: none;
    padding: 0 9px;
    line-height: 34px;
}

.kefu__panel .kefu__btn-default:active {
    background: #e9e9e9;
}

.kefu__panel .kefu__btn-warning {
    background: var(--kefu-theme-color);
    border: 1px solid var(--kefu-theme-color);
    border-radius: 5px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-size: 14px;
    text-align: center;
    outline: none;
    overflow: hidden;
    padding: 0 9px;
    text-decoration: none;
    line-height: 34px;
    position: relative;
}


.kefu__panel .kefu__btn-warning:active {
    background: var(--kefu-theme-color-hover);
}

.kefu__panel button:disabled {
    pointer-events: none;
    cursor: not-allowed;
    filter: alpha(opacity=65);
    opacity: .65;
}

.kefu__setting {
    position: absolute;
    top:50%; left:50%;
    margin-top:-110px;
    margin-left:-200px;
    width:400px;
    height:220px;
    background-color: #f5f5f5;
    border: 1px solid #d6d6d6;
    box-shadow: 1px 1px 10px #888;
    border-radius: 2px;
    z-index: 101;
}

.kefu__setting .kefu__title {
    line-height: 280%;
    padding-left:20px;
    font-size: 16px;
    color:#666;
}

.kefu__setting .kefu__info {
    color: #999;
    font-size:15px;
    margin-left:10px;
    margin-bottom: 10px;
}

.kefu__setting textarea {
    border: none;
    height:5em;
    width:370px;
    outline: none;
    resize:none;
    margin:0 10px 5px;
    font-size: 15px;
    padding:5px;
}

.kefu__setting .kefu__operation {
    justify-content: flex-end;
}

.kefu__setting .kefu__operation button{
    margin-right: 10px;
    margin-top: 4px;
    padding: 0 18px;
}


.kefu__confirm {
    position: absolute;
    top:50%; left:50%;
    margin-top:-85px;
    margin-left:-200px;
    width:400px;
    height:170px;
    background-color: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 2px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    z-index:101;
}

.kefu__confirm .kefu__title {
    line-height: 280%;
    padding-left:20px;
    font-size: 16px;
    color:#999;
}

.kefu__confirm .kefu__info {
    color: #666;
    font-size: 15px;
    margin: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.kefu__confirm .kefu__operation {
    justify-content: flex-end;
    position: absolute;
    bottom: 10px;
    right:0;
}

.kefu__confirm .kefu__operation button{
    margin-right: 10px;
    margin-top: 4px;
    padding: 0 18px;
}


.kefu__group-operation {
    position: absolute;
    top:50%; left:50%;
    margin-top:-300px;
    margin-left:-200px;
    width:400px;
    height:560px;
    background-color: #f5f5f5;
    border: 1px solid #d6d6d6;
    box-shadow: 1px 1px 10px #888;
    border-radius: 2px;
}

.kefu__group-operation .kefu__list-body {
    height: 450px;
}

.kefu__panel .kefu__scrolling-panel {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

.kefu__panel .kefu__friend-list ul li .kefu__friend-list-letter {
    font-size: 14px;
    font-family: Verdana;
    padding: 0 15px;
}

.kefu__panel .kefu__border-top {
    position: relative;
}

.kefu__panel .kefu__friend-list ul li .kefu__row {
    background: #fff;
    font-family: 'Microsoft Yahei';
    padding: 10px 15px;
    position: relative;
}

.kefu__panel .kefu__check-label {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.kefu__panel .kefu__check {
    position: absolute;
    left: -9999em;
}

.kefu__panel .kefu__friend-list ul li .kefu__row .kefu__avatar-small {
    display: block;
    margin-right: 10px;
    height: 44px;
    width: 44px;
}

.kefu__panel .kefu__friend-list ul li .kefu__row .kefu__avatar-small img,
.kefu__panel .kefu__friend-list .kefu__row .kefu__avatar-small img {
    height: 100%;
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
    vertical-align: top;
}

.kefu__panel img {
    border: 0;
    border-radius: 5px;
}

.kefu__panel .kefu__clamp1{
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.kefu__panel .kefu__friend-list ul li .kefu__row:after {
    content: '';
    border-bottom: 1px solid #d9d9d9;
    color: #d9d9d9;
    height: 1px;
    width: auto;
    position: absolute;
    left: .3rem;
    right: .4rem;
    bottom: 0;
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
}

.kefu__panel .kefu__cells_checkbox .kefu__icon-checked:before {
    content: '\EA01';
    color: #C9C9C9;
    margin-left: 20px;
    margin-right: 20px;
    display: inline-block;
    font: normal normal normal 25px/1 "weui";
    vertical-align: middle;
    font-size: 25px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.kefu__panel .kefu__cells_checkbox .kefu__check:checked + .kefu__icon-checked:before {
    content: '\EA06';
    color: var(--kefu-theme-color);
}

.kefu__panel .kefu__friend-list-floatletter {
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: .4rem;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 11;
}

.kefu__panel .kefu__friend-list-floatletter em {
    flex: 1;
    font-size: .24rem;
    font-family: arial;
    text-align: center;
    height: 3.7%;
    align-self: center;
    width: 100%;
}

.kefu__list-head {
    height: 50px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#666;
}

.kefu__list-head .kefu__cross {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.kefu__list-head .kefu__cross:before, .kefu__list-head .kefu__cross:after {
    margin-top: calc(50% - 10px);
    cursor: pointer;
}


.kefu__list-bottom {
    height: 60px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kefu__panel .kefu__cross:before, .kefu__cross:after {
    position: absolute;
    left: 50%;
    content: ' ';
    height: 17px;
    width: 2px;
    background-color: #666;
    border-radius: 2px;
}

.kefu__panel .kefu__cross:before {
    transform: rotate(45deg);
}
.kefu__panel .kefu__cross:after {
    transform: rotate(-45deg);
}


/* post 操作提示 */
.kefu__panel .kefu__toast {
    position: fixed;
    z-index: 5000;
    width: 160px;
    height: 160px;
    top: 50%;
    left: 50%;
    margin-left: -80px;
    margin-top: -80px;
    background: rgba(17, 17, 17, 0.5);
    text-align: center;
    border-radius: 5px;
    color: #FFFFFF;
}

.kefu__panel .kefu__icon_toast {
    display: block;
}

.kefu__panel .kefu__icon-success-no-circle {
    color: #07C160;
    vertical-align: middle;
    font: normal normal normal 14px/1 "weui";
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.kefu__panel .kefu__icon-success-no-circle:before {
    color: #FFFFFF;
    font-size: 66px;
    content: "\EA08";
}

.kefu__panel .kefu__toast {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kefu__panel .kefu__toast__content {
    margin: 0 0 16px;
    font-size: 14px;
}

@-webkit-keyframes kefu__loadding-ball-beat {
    50% {
        opacity: 0.2;
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes kefu__loadding-ball-beat {
    50% {
        opacity: 0.2;
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.kefu__loadding-ball-beat > div {
    background-color: #fefefe;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 2px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    display: inline-block;
    -webkit-animation: kefu__loadding-ball-beat 0.7s 0s infinite linear;
    animation: kefu__loadding-ball-beat 0.7s 0s infinite linear;
}

.kefu__loadding-ball-beat > div:nth-child(2n-1) {
    -webkit-animation-delay: 0.35s !important;
    animation-delay: 0.35s !important;
}

/*group detail*/
.kefu__group-detail {
    position: absolute;
    width: 260px;
    background-color: #FBFBFB;
    height: 100%;
    border-left: 1px solid #d6d6d6;
    float: right;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    line-height: 180%;
    right: 0;
    top: 0;
}

.kefu__group-detail button {
    width: 200px;
    margin-top:12px;
}

.kefu__panel .kefu__detail-panel ul li {
    margin-bottom: 12px;
}

.kefu__panel a, .kefu__panel button, .kefu__panel input, .kefu__panel label, .kefu__panel li {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.kefu__panel .kefu__detail-panel ul li .kefu__detail-item {
    background: #fff;
    font-family: 'Microsoft Yahei';
    padding: 10px 16px;
    position: relative;
    width: 225px;
}

.kefu__panel .kefu__flex-wrap {
    flex-wrap: wrap;
}

.kefu__panel .kefu__detail-panel ul li .kefu__detail-item .kefu__avatar {
    display: block;
    margin: 12px 0;
    width: 56px;
    height:69px;
}

.kefu__panel .kefu__detail-panel ul li .kefu__detail-item .kefu__avatar img {
    display: block;
    height: 44px;
    width: 44px;
    border-radius: 6px;
    object-fit: cover;
    margin: auto;
}

.kefu__panel .kefu__detail-panel ul li .kefu__detail-item .kefu__avatar span {
    font-size: 13px;
    text-align: center;
    display: block;
    overflow: hidden;
    height: 25px;
    line-height: 25px;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 5px;
}

.kefu__panel .kefu__detail-panel ul li .kefu__more-item {
    background: #fff;
    font-family: 'Microsoft Yahei';
    padding: 10px 0;
    position: relative;
}

.kefu__panel .kefu__detail-panel ul li .kefu__detail-item .kefu__detail-item-left {
    color: #333;
    font-size: 14px;
    min-width: 70px;
}

.kefu__panel .kefu__detail-panel ul li .kefu__detail-item .kefu__detail-section {
    color: #888;
    font-size: 14px;
    min-width: 70px;
    max-width: 300px;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-left: 10px;
    max-height: 100px;
    white-space: nowrap;
}

.kefu__panel .kefu__detail-panel ul li .kefu__detail-item .kefu__operation-icon {
    display: block;
    vertical-align: middle;
    width: 44px;
    height: 44px;
    background: url(/static/web/img/icon.png) no-repeat;
    background-position: 0 0;
    background-size: 352px 88px;
    margin: auto;
}

.kefu__panel .kefu__detail-panel ul li .kefu__detail-item .kefu__operation-adduser {
    background-position: 0 0;
}
.kefu__panel .kefu__detail-panel ul li .kefu__detail-item .kefu__operation-deluser {
    background-position: -44px 0;
}

.kefu__panel .kefu__detail-panel ul li .kefu__more-item .kefu__more {
    width: 250px;
    text-align: center;
    color:#888;
    font-size: 14px;
}


.kefu__panel .kefu__flex-justify-center {
    display: flex;
    justify-content: center;
}

.kefu__panel .kefu__flex-align-center {
    display: flex;
    align-items: center;
}

.kefu__panel .kefu__h100 {
    height: 100%;
}

.kefu__panel .kefu__input {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    border: 1px solid transparent;
    background-color: transparent;
}
.kefu__panel .kefu__input:hover {
    border: 1px solid #d6d6d6;
}

.kefu__panel .kefu__input:focus {
    border: 1px solid #d6d6d6;
    background-color: #fff;
}

/*address book*/
.kefu__panel .kefu__friend-list .kefu__friend-list-letter {
    font-size: 13px;
    font-family: Verdana;
    padding: 0 14px;
}
.kefu__panel .kefu__border-top {
    position: relative;
}

.kefu__panel .kefu__friend-list .kefu__row {
    background: #fff;
    font-family: 'Microsoft Yahei';
    padding: 8px 14px;
    position: relative;
}

.kefu__panel .kefu__friend-list .kefu__row .kefu__avatar-small {
    display: block;
    margin-right: 8px;
    height: 44px;
    width: 44px;
}

.kefu__panel .kefu__friend-list .kefu__row .kefu__name {
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
}

.kefu__panel .kefu__friend-list .kefu__row:after {
    content: '';
    border-bottom: 1px solid #d9d9d9;
    color: #d9d9d9;
    height: 1px;
    width: auto;
    position: absolute;
    left: .3rem;
    right: .4rem;
    bottom: 0;
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
}

.kefu__panel .kefu__friend-list-operation {
    color: #999;
    font-size:13px;
}

.kefu__panel .kefu__btn-primary-mini {
    background-color: #1AAD19;
    border-radius: 3px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-size: 13px;
    text-align: center;
    outline: none;
    overflow: hidden;
    padding: 5px 12px;
    position: relative;
    border:none;
}


/* 聊天页面大图预览 */
.kefu__img-view {
    background: rgba(0, 0, 0, 1);
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3000;
}

.kefu__img-view .swiper-container {
    height: 100%;
    max-width: 100%;
}

.kefu__img-view .swiper-slide {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.kefu__img-view .swiper-slide img {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    transition: all .3s;
    transform: scale(.8);
}

.kefu__img-view .swiper-slide-active img {
    transform: scale(1);
}

/* 视频播放相关 */
.kefu__video-view {
    background: rgba(0, 0, 0, 1);
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2003;
}

.kefu__video-view video{
    z-index: 10;
}

.kefu__video-view:after {
    content: '';
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, .6), transparent);
    height: 1.2rem;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.kefu__video-view .kefu__close{
    position: fixed;
}

.kefu__video-view .kefu__close:before, .kefu__video-view .kefu__close:after {
    content: "";
    background: #fff;
    transform: translate(50%, -50%) rotate(45deg) scale(.9);
    position: absolute;
    top: 50%;
    right: 50%;
}

/* 拖放文件发送：遮罩仅在会话面板内，不拦截指针 */
.kefu__mask.kefu__mask--file-drop {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 160;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kefu__file-drop-hint {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    padding: 16px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 2px dashed rgba(255, 255, 255, 0.55);
    max-width: min(420px, calc(100% - 32px));
    text-align: center;
    box-sizing: border-box;
    line-height: 1.45;
}

/* 录音浮层（Web：浅色毛玻璃 + 与聊天发送区一致的蓝 / 小按钮） */
.kefu__mask--voice {
    z-index: 100;
    background: rgba(15, 23, 42, 0.06);
}

.kefu__panel .kefu__chat-voice-tip.kefu__chat-voice-tip--web {
    position: fixed;
    z-index: 101;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: min(248px, calc(100vw - 40px));
    box-sizing: border-box;
    padding: 12px 14px 10px;
    border-radius: 6px;
    text-align: center;
    color: #334155;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(12px) saturate(1.12);
    backdrop-filter: blur(12px) saturate(1.12);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.kefu__chat-voice-tip--web .kefu__chat-voice-tip__title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
    color: #64748b;
}

.kefu__chat-voice-tip--web .kefu__chat-voice-tip__stage {
    min-height: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 16px;
}

.kefu__panel .kefu__chat-voice-tip--web .kefu__chat-voice-meter {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2px;
    height: 24px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.kefu__panel .kefu__chat-voice-tip--web .kefu__chat-voice-meter__bar {
    flex: 1 1 0;
    width: 0;
    min-width: 1px;
    max-width: 3px;
    height: 14%;
    min-height: 2px;
    border-radius: 2px;
    align-self: flex-end;
    background: linear-gradient(180deg, #7ec8ff 0%, #008eff 48%, #0078d4 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    transform-origin: bottom center;
}

.kefu__chat-voice-tip--web .kefu__chat-voice-tip__actions {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    gap: 8px;
    margin-top: 2px;
}

/* 与聊天区发送按钮同量级：约 30px 高、13px 字、圆角与发送区一致 */
.kefu__panel .kefu__chat-voice-tip--web .kefu__btn-voice-cancel,
.kefu__panel .kefu__chat-voice-tip--web .kefu__btn-voice-send {
    flex: 1;
    height: 30px;
    max-height: 30px;
    line-height: 28px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 3px;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Microsoft Yahei", system-ui, sans-serif;
}

.kefu__panel .kefu__chat-voice-tip--web .kefu__btn-voice-cancel {
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.kefu__panel .kefu__chat-voice-tip--web .kefu__btn-voice-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.kefu__panel .kefu__chat-voice-tip--web .kefu__btn-voice-send.kefu__btn-primary {
    margin: 0;
    border: none;
    color: #fff;
    background-color: #008eff;
    box-shadow: 0 1px 2px rgba(0, 142, 255, 0.28);
}

.kefu__panel .kefu__chat-voice-tip--web .kefu__btn-voice-send.kefu__btn-primary:hover {
    background-color: #0078db;
}

.kefu__panel .kefu__chat-voice-tip--web .kefu__btn-voice-send.kefu__btn-primary:active {
    background-color: #006bc4;
}

.kefu__panel .kefu__chat-voice-tip--web .kefu__btn-voice-send.kefu__btn-primary:after {
    display: none;
}

@-webkit-keyframes kefu__line-scale-pulse-out {
    0% {
        -webkit-transform: scaley(1);
        transform: scaley(1); }

    50% {
        -webkit-transform: scaley(0.4);
        transform: scaley(0.4); }

    100% {
        -webkit-transform: scaley(1);
        transform: scaley(1); } }

@keyframes kefu__line-scale-pulse-out {
    0% {
        -webkit-transform: scaley(1);
        transform: scaley(1); }

    50% {
        -webkit-transform: scaley(0.4);
        transform: scaley(0.4); }

    100% {
        -webkit-transform: scaley(1);
        transform: scaley(1); } }

.kefu__line-scale-pulse-out {
    margin-top: 20px;
}

.kefu__line-scale-pulse-out > div {
    background-color: #fff;
    width: .08rem;
    height: .66rem;
    border-radius: .04rem;
    margin: .04rem;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    display: inline-block;
    -webkit-animation: kefu__line-scale-pulse-out 0.9s 0s infinite cubic-bezier(.85, .25, .37, .85);
    animation: kefu__line-scale-pulse-out 0.9s 0s infinite cubic-bezier(.85, .25, .37, .85);
}
.kefu__line-scale-pulse-out > div:nth-child(2), .kefu__line-scale-pulse-out > div:nth-child(4) {
    -webkit-animation-delay: 0.2s !important;
    animation-delay: 0.2s !important;
}
.kefu__line-scale-pulse-out > div:nth-child(1), .kefu__line-scale-pulse-out > div:nth-child(5) {
    -webkit-animation-delay: 0.4s !important;
    animation-delay: 0.4s !important;
}

.kefu__panel .kefu__flex1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.kefu__panel .kefu__loading{
    width:15px;
    height:15px;
    display:inline-block;
    vertical-align:middle;
    -webkit-animation:popLoading 1s steps(12, end) infinite;
    animation:popLoading 1s steps(12, end) infinite;
    background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;
    background-size: 100%;
    margin:0 3px;
}

@-webkit-keyframes popLoading{
    0%{
        -webkit-transform:rotate3d(0, 0, 1, 0deg);
        transform:rotate3d(0, 0, 1, 0deg);
    }
    100%{
        -webkit-transform:rotate3d(0, 0, 1, 360deg);
        transform:rotate3d(0, 0, 1, 360deg);
    }
}
@keyframes popLoading{
    0%{
        -webkit-transform:rotate3d(0, 0, 1, 0deg);
        transform:rotate3d(0, 0, 1, 0deg);
    }
    100%{
        -webkit-transform:rotate3d(0, 0, 1, 360deg);
        transform:rotate3d(0, 0, 1, 360deg);
    }
}

.kefu__loading-tip {
    text-align: center;
    margin: 8px 0;
    font-size: 13px;
    color: #999;
}

/* 页内 SVG 精灵（symbol），仅定义不展示 */
.kefu__icon-sprite-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* 对话页 / 历史页空状态（插图见 #kefu-empty-box） */
.kefu__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.45);
}

.kefu__empty-state__illu {
    display: block;
    width: 64px;
    height: 40px;
    flex-shrink: 0;
}

.kefu__empty-state__illu use {
    pointer-events: none;
}

.kefu__empty-state__text {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.45);
}

.kefu__empty-state--sidenav {
    min-height: 220px;
    padding: 40px 12px 48px;
}

.kefu__chat-body .kefu__empty-state--main,
.kefu__history_body .kefu__empty-state--main {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
}

.kefu__transfer .kefu__select-area--transfer-pop {
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.kefu__transfer .kefu__select-area--transfer-pop .kefu__scroll-wrapper {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.kefu__transfer .kefu__transfer-list-item {
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.kefu__transfer .kefu__transfer-list-item .kefu__avatar {
    float: none;
    margin-right: 0;
    flex-shrink: 0;
}

.kefu__transfer .kefu__transfer-list-item__info {
    float: none;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.kefu__transfer .kefu__transfer-list-item__title-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    width: 100%;
}

.kefu__transfer .kefu__transfer-list-item .kefu__transfer-list-item__name {
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    line-height: 1.25;
}

.kefu__transfer .kefu__transfer-list-item__tags {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 6px;
}

.kefu__transfer .kefu__transfer-list-item .kefu__transfer-list-item__group {
    margin-top: 4px;
    height: auto;
    min-height: 1.35em;
}

.kefu__transfer .kefu__transfer-list-item .kefu__transfer-list-item__action {
    flex-shrink: 0;
    margin-left: auto;
    align-self: center;
}

.kefu__transfer .kefu__transfer-list-item__btn {
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.25;
    min-height: 30px;
    box-sizing: border-box;
}

.kefu__transfer .kefu__transfer-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    padding: 2px 7px;
    border-radius: 3px;
    border: 1px solid #e8e8e8;
    vertical-align: middle;
    color: #757575;
    background: #f5f5f5;
}

.kefu__transfer .kefu__transfer-tag__bot-icon {
    font-family: icon;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 1;
    margin-right: 3px;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.kefu__empty-state--transfer-pop {
    flex: 1;
    min-height: 0;
    padding: 32px 16px 40px;
    justify-content: center;
}

/* more */
.kefu__right-head {
    height: 60px;
    background-color: #FBFBFB;
    border-bottom: 1px solid #d6d6d6;
    flex: 1;
    align-items: center;
    display: flex;
    justify-content:space-between;
    -webkit-app-region: drag;
    -webkit-user-select: none;
}

.kefu__right-head .kefu__title{
    font-size:17px;
    padding:0 20px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}


.kefu__right-body {
    height: calc(100% - 60px);
    overflow-x: auto;
}

.kefu__margin {
    margin: 20px;
}

.kefu__section {
    border: 1px solid #d6d6d6;
    margin-bottom:20px;
    max-width: 1000px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
}

.kefu__section-icon {
    user-select: none;
    font-family: icon !important;
    font-size: 24px;
    background-color: var(--kefu-theme-color);
    border-radius: 100px;
    padding:10px;
    color: #fff;
    cursor: pointer;
    line-height: 100%;
}

.kefu__section-icon:hover {
    background-color: var(--kefu-theme-color-hover);
}

.kefu__section-body {
    margin: auto 18px;
}

.kefu__section-item {
    height:80px;
    width:130px;
    margin: 28px !important;
}

.kefu__section-item span {
    font-weight: 500;
    line-height: 300%;
}

.kefu__column-center {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.kefu__section-head {
    padding: 18px;
    font-size:16px;
    border-bottom: 1px solid #d6d6d6;
}

/* 与「问候语」等卡片一致：同一标题行底部分隔线，右侧可放操作按钮 */
.kefu__panel .kefu__section-head--with-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

.kefu__panel .kefu__section-head--with-actions .kefu__section-head__text {
    flex: 1;
    min-width: 0;
}

.kefu__panel .kefu__section-head--with-actions .kefu__section-head__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
}

.kefu__big-section {
    border: 1px solid #d6d6d6;
    margin: 20px;
    max-width: 1000px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
}

.kefu__section-max-width {
    max-width: 1200px !important;
}

.kefu__big-section-body {
    margin: 60px 30px 30px;
    position: relative;
}

.kefu__big-section-body .kefu__input-input {
    width: 892px;
}

.kefu__section-textarea-cell {
    margin-bottom: 42px;
}

.kefu__section-cell {
    /*margin-bottom: 42px;*/
}

.kefu__arrow {
    display: inline-block;
}

.kefu__upset {
    transform: rotate(-180deg);
}

.kefu__input-item {
    position: relative;
}

.kefu__textarea-item {
    position: relative;
    margin-bottom: 40px;
}

.kefu__input-input {
    color: rgba(0,0,0,0.87);
    border-color: rgba(0,0,0,0.12);
    display: block;
    margin-top: 0;
    background: 0 0;
    padding-top: 2px;
    padding-bottom: 1px;
    padding-left: 2px;
    padding-right: 2px;
    border-width: 0 0 1px 0;
    line-height: 26px;
    height: 30px;
    -ms-flex-preferred-size: 26px;
    border-radius: 0;
    border-style: solid;
    width: 100%;
    box-sizing: border-box;
    font-size:16px;
    margin-bottom: 46px;
}

.kefu__input-input:focus{
    border-width: 0 0 2px 0;
    border-color: #008eff;
    padding-bottom: 0;
    outline: none;
}

.kefu__input-input:focus, .kefu__input-input:focus-visible {
    outline: none;
}

.kefu__input-input[readonly] {
    border-width: 0 0 1px 0;
    border-color: rgba(0,0,0,0.12);
    color: #999;
    padding-bottom: 1px;
}

.kefu__input-select {
    color:rgba(0,0,0,0.87) !important;
}

.kefu__form-section {
    margin-bottom: 42px !important;
}

.kefu__form-section .kefu__form-label {
    text-align: left !important;
    padding-left: 5px !important;
}

*::-webkit-input-placeholder {
    color: rgba(0,0,0,0.54);
    -webkit-font-smoothing: antialiased;
}
*:-moz-placeholder {
    color: rgba(0,0,0,0.54);
    -webkit-font-smoothing: antialiased;
}
*:-ms-input-placeholder {
    color: rgba(0,0,0,0.54);
    -webkit-font-smoothing: antialiased;
}

.kefu__button-default {
    letter-spacing: .010em;
    display: inline-block;
    position: relative;
    cursor: pointer;
    min-height: 36px;
    min-width: 88px;
    line-height: 36px;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    border-radius: 6px;
    box-sizing: border-box;
    user-select: none;
    outline: 0;
    border: 0;
    padding: 0 6px;
    margin: 18px 0 0 18px;
    background: 0 0;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    font-style: inherit;
    font-variant: inherit;
    font-family: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    color: rgb(255,255,255);
    background-color: var(--kefu-theme-color);
}

.kefu__button-default:not([disabled]):hover {
    background-color: var(--kefu-theme-color-hover);
}

/* 小号主按钮，与 .kefu__button-default 联用，实心主题色、高度与页内工具条更协调 */
.kefu__button-default.kefu__button-sm {
    min-height: 30px;
    min-width: 76px;
    line-height: 30px;
    padding: 0 12px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* 通用按钮：btn / btn-sm / btn-outline-primary（.kefu__panel 内）；尺寸与 BS5 一致且统一 rem，避免 px 高度与 rem 混用导致字不居中 */
.kefu__panel .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    cursor: pointer;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    background: transparent;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.kefu__panel .btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.kefu__panel .btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

/* BS5 .btn-sm：$input-btn-padding-y-sm / -x-sm；不写死 px 高度，由 padding + line-height（全 rem）自然形成约 30px，flex 垂直居中 */
.kefu__panel .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.kefu__panel .btn-outline-primary {
    color: var(--kefu-theme-color, #007bff);
    border-color: var(--kefu-theme-color, #007bff);
    background-color: transparent;
    box-shadow: none;
}

.kefu__panel .btn-outline-primary:hover:not(:disabled) {
    color: #fff;
    background-color: var(--kefu-theme-color-hover, #0069d9);
    border-color: var(--kefu-theme-color-hover, #0069d9);
}

.kefu__panel .btn-outline-primary:active:not(:disabled) {
    background-color: var(--kefu-theme-color-active, #0056b3);
    border-color: var(--kefu-theme-color-active, #0056b3);
    color: #fff;
}

.kefu__input-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    order: 1;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
    padding-left: 3px;
    padding-right: 0;
    z-index: 1;
    transform: translate3d(0,28px,0) scale(1);
    transition: transform .4s cubic-bezier(.25,.8,.25,1);
    max-width: 100%;
    transform-origin: left top;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: auto;
    font-size:16px;
    color: rgba(0,0,0,0.54);
    line-height: 160%;
}

.kefu__input-has-value .kefu__input-label {
    transform: translate3d(0,6px,0) scale(.75);
    transition: transform cubic-bezier(.25,.8,.25,1) .4s,width cubic-bezier(.25,.8,.25,1) .4s
}

.kefu__textarea-label {
    font-size:16px;
    color: rgba(0,0,0,0.54);
}

.kefu__input-has-value .kefu__textarea-label {
    font-size:12px;
}

.kefu__table {
    width: 100%;
    border-spacing: 0;
    overflow: hidden;
}

.kefu__table tr th {
    height: 56px;
    vertical-align: middle;
    text-align: left;
    background: #eceff1;
    border-bottom: 1px solid #eceff1;
    color: #536e7a;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 24px;
    text-transform: uppercase;
}

.kefu__table tr td {
    color: rgba(0,0,0,.87);
    font-size: 14px;
    vertical-align: middle;
    text-align: left;
    border-bottom: 1px solid #eceff1;
    color: #445a64;
    padding: 6px 24px;
    font-weight: 400;
    opacity: .87;
    line-height: 24px;
}

.kefu__table tr:hover {
    background-color: #eceff1;
    -webkit-transition: .5s all;
    transition: .5s all
}

.kefu__table tr td:first-child {
    width: 20px;
    padding: 0 0 0 24px;
}

/* 常见问题管理：版式与 #kefu_manage .kefu__table 一致，边框仅来自 .kefu__big-section */
#faq_manage .kefu__table--faq-manage {
    table-layout: fixed;
    width: 100%;
    min-width: 520px;
    border: none;
    border-radius: 0;
}

/* 覆盖全局 .kefu__table 首列窄图标列规则 */
#faq_manage .kefu__table--faq-manage thead tr th:first-child,
#faq_manage .kefu__table--faq-manage tbody tr td:first-child {
    width: auto;
    min-width: 0;
}

#faq_manage .kefu__table--faq-manage tbody tr td:first-child {
    padding: 6px 24px;
}

#faq_manage .kefu__table--faq-manage tr th:nth-child(2),
#faq_manage .kefu__table--faq-manage tr td:nth-child(2) {
    width: 22%;
    min-width: 0;
    vertical-align: middle;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
}

#faq_manage .kefu__table--faq-manage td.kefu__faq-manage-question {
    overflow: hidden;
    max-width: 0;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}

#faq_manage .kefu__faq-manage-question__ell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    transition: color 0.12s ease;
}

#faq_manage .kefu__faq-manage-question:hover .kefu__faq-manage-question__ell {
    color: #008eff;
}

#faq_manage .kefu__table--faq-manage th.kefu__table--faq-manage-th-actions,
#faq_manage .kefu__table--faq-manage td.kefu__faq-manage-actions {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: right;
    white-space: nowrap;
    background-clip: padding-box;
}

#faq_manage .kefu__table--faq-manage thead tr th,
#faq_manage .kefu__table--faq-manage tbody tr td {
    height: 58px;
    box-sizing: border-box;
    vertical-align: middle;
}

#faq_manage .kefu__table--faq-manage thead tr th {
    text-transform: none;
    letter-spacing: normal;
}

#faq_manage .kefu__table--faq-manage tbody tr:hover {
    background-color: #eceff1;
    -webkit-transition: .5s all;
    transition: .5s all;
}

#faq_manage .kefu__table--faq-manage thead tr:hover {
    background: #eceff1;
}

/* 分组管理：与常见问题表格同一套卡片内表格样式 */
#kefu_groups .kefu__table--group-manage {
    table-layout: fixed;
    width: 100%;
    min-width: 480px;
    border: none;
    border-radius: 0;
}

#kefu_groups .kefu__group-manage-table-wrap {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

#kefu_groups .kefu__table--group-manage thead tr th,
#kefu_groups .kefu__table--group-manage tbody tr td {
    height: 58px;
    box-sizing: border-box;
    vertical-align: middle;
}

#kefu_groups .kefu__table--group-manage thead tr th:first-child,
#kefu_groups .kefu__table--group-manage tbody tr td:first-child {
    width: 88px;
    max-width: 88px;
}

#kefu_groups .kefu__table--group-manage tbody tr td:first-child {
    padding: 6px 24px;
}

#kefu_groups .kefu__table--group-manage th.kefu__table--group-manage-th-actions,
#kefu_groups .kefu__table--group-manage td.kefu__group-manage-actions {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: right;
    white-space: nowrap;
    background-clip: padding-box;
}

#kefu_groups .kefu__table--group-manage td.kefu__group-manage-name {
    overflow: hidden;
    max-width: 0;
    vertical-align: middle;
}

#kefu_groups .kefu__group-manage-name__ell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

#kefu_groups .kefu__table--group-manage thead tr th {
    text-transform: none;
    letter-spacing: normal;
}

#kefu_groups .kefu__table--group-manage tbody tr:hover {
    background-color: #eceff1;
    -webkit-transition: .5s all;
    transition: .5s all;
}

#kefu_groups .kefu__table--group-manage thead tr:hover {
    background: #eceff1;
}

#kefu_groups .kefu__group-manage-action-btns {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
}

#kefu_groups .kefu__group-manage-action-btns .kefu__font-icon-gray {
    float: none;
    display: block;
    margin: 0 !important;
    flex-shrink: 0;
    font-size: 18px;
    color: #8c8c8c;
}

#kefu_groups .kefu__group-manage-action-btns .kefu__font-icon-gray:hover {
    color: #595959;
}

#kefu_groups .kefu__group-manage-action-btns .kefu__font-icon-gray.kefu__table-action-inline:not(.kefu__table-action-delete):hover {
    color: #008eff;
}

#kefu_groups .kefu__group-manage-action-btns .kefu__table-action-delete:hover,
#kefu_groups .kefu__group-manage-action-btns .kefu__table-action-delete:active {
    color: #e53935;
}

#kefu_groups .kefu__group-manage-action-btns .kefu__group-manage-del {
    font-size: 18px;
}

#faq_manage .kefu__faq-manage-action-btns {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
}

#faq_manage .kefu__faq-manage-action-btns .kefu__font-icon-gray {
    float: none;
    display: block;
    margin: 0 !important;
    flex-shrink: 0;
    font-size: 18px;
    color: #8c8c8c;
}

#faq_manage .kefu__faq-manage-action-btns .kefu__font-icon-gray:hover {
    color: #595959;
}

#faq_manage .kefu__faq-manage-action-btns .kefu__font-icon-gray.kefu__table-action-inline:not(.kefu__table-action-delete):hover {
    color: #008eff;
}

#faq_manage .kefu__faq-manage-action-btns .kefu__table-action-delete:hover,
#faq_manage .kefu__faq-manage-action-btns .kefu__table-action-delete:active {
    color: #e53935;
}

#faq_manage .kefu__faq-manage-action-btns .kefu__faq-manage-del {
    font-size: 18px;
}

#faq_manage .kefu__faq-manage-table-wrap {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

/* 标题栏与 #greeting 等一致；添加按钮在表格下方居中 */
#faq_manage .kefu__section-head.kefu__faq-manage-bar {
    box-sizing: border-box;
    font-weight: 400;
}

#faq_manage .kefu__faq-manage-bar__title {
    display: block;
    min-width: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#faq_manage .kefu__faq-manage-add-wrap,
#kefu_manage .kefu__kefu-manage-add-wrap,
#kefu_groups .kefu__group-manage-add-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px 18px 22px;
    border-top: 1px solid #eceff1;
}

#faq_manage .kefu__faq-manage-add-btn,
#kefu_manage .kefu__kefu-manage-add-btn,
#kefu_groups .kefu__group-manage-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#faq_manage .kefu__faq-manage-add-btn__icon,
#kefu_manage .kefu__kefu-manage-add-btn__icon,
#kefu_groups .kefu__group-manage-add-btn__icon {
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    margin-top: -1px;
}

#faq_manage .kefu__faq-manage-preview-root {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 24px 16px;
    background: rgba(0, 0, 0, 0.35);
}

#faq_manage .kefu__faq-manage-preview {
    width: 100%;
    max-width: 480px;
    max-height: min(70vh, 560px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

#faq_manage .kefu__faq-manage-preview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

#faq_manage .kefu__faq-manage-preview__head-title {
    font-size: 15px;
    font-weight: 600;
    color: #262626;
    line-height: 1.4;
}

#faq_manage .kefu__faq-manage-preview__close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 26px;
    color: #8c8c8c;
    cursor: pointer;
    border-radius: 2px;
    transition: color 0.12s ease, background 0.12s ease;
}

#faq_manage .kefu__faq-manage-preview__close:hover {
    color: #262626;
    background: rgba(0, 0, 0, 0.04);
}

#faq_manage .kefu__faq-manage-preview__body {
    padding: 14px 16px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
}

#faq_manage .kefu__faq-manage-preview__label {
    font-size: 13px;
    font-weight: 600;
    color: #8c8c8c;
    margin: 12px 0 6px;
}

#faq_manage .kefu__faq-manage-preview__label:first-of-type {
    margin-top: 0;
}

#faq_manage .kefu__faq-manage-preview__block {
    font-size: 14px;
    line-height: 1.65;
    color: #262626;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
}

#faq_manage .kefu__faq-manage-preview__empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #bfbfbf;
}

.kefu__table .kefu__font-icon-circle {
    float: left;
    margin: 14px 0 !important;
}

.kefu__table .kefu__font-icon-gray {
    float: left;
    margin: 14px 0 !important;
}

.kefu__table td .kefu__font-icon-gray.kefu__table-action-inline {
    float: none;
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px 0 0 !important;
}

.kefu__table td .kefu__font-icon-gray.kefu__table-action-delete:hover,
.kefu__table td .kefu__font-icon-gray.kefu__table-action-delete:active {
    color: #e53935;
}

.kefu__font-icon-gray.pop_forbidden {
    color: #ccc !important;
    cursor: default;
}

.kefu__font-icon-gray.pop_forbidden:hover {
    color: #ccc !important;
}

.kefu__font-icon-circle.pop_forbidden {
    color: #ccc !important;
    background-color: transparent !important;
    cursor: default;
}

.kefu__section-cell .kefu__font-icon-circle {
    margin-top: 2px !important;
    float: left;
}

.kefu__table tr td:last-child{
    /*width: 20px;
    padding: 0 24px 0 0;*/
}

/*浮层*/

.kefu__flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

.kefu__layer2 {
    color: rgba(0,0,0,0.87);
    background-color: rgb(255,255,255);
    border-radius: 2px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    width: 600px;
    position: relative;
}

.kefu__layer {
    color: rgba(0,0,0,0.87);
    background-color: rgb(255,255,255);
    border-radius: 2px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 8px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    position: fixed;
    left: 50%;
    top: 50%;
    width: 600px;
    margin-left: -300px;
    margin-top: -260px;
    z-index:100;
}

.kefu__layer-mini {
    color: rgba(0,0,0,0.87);
    background-color: rgb(255,255,255);
    border-radius: 2px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 8px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    position: fixed;
    left: 50%;
    top: 50%;
    width: 300px;
    margin-left: -150px;
    margin-top: -160px;
    z-index:100;
    padding: 48px 18px 0 38px;
}

.kefu__layer-title {
    margin: 24px 16px 40px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    font-size: 13px;
}

.kefu__layer .kefu__section-cell, .kefu__layer2 .kefu__section-cell {
    padding: 0 16px;
}

.kefu__layer .kefu__button-default, .kefu__layer2 .kefu__button-default {
    margin-right: 16px;
    margin-top:0 !important;
}

.kefu__form-select input {
    padding-right: 30px;
    cursor: pointer;
}

.kefu__form-select ul {
    position: absolute;
    left: 0;
    top: 32px;
    padding: 5px 0;
    z-index: 899;
    min-width: 100%;
    border: 1px solid #d2d2d2;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
    box-sizing: border-box;
}

.kefu__form-select ul li {
    padding: 8px;
    padding-left: 10px!important;
    color: #333;
    cursor: pointer;
}

.kefu__form-select ul.kefu__multi-select li.kefu__selected:before {
    content: "\ec1d";
    color: green;
    font-family: icon !important;
    float: right;
}

.kefu__form-select ul li:hover {
    background-color: #f2f2f2;
    -webkit-transition: .5s all;
    transition: .5s all;
}

.kefu__form-select ul .kefu__selected {
    background-color: #f2f2f2;
}

.kefu__section-cell .kefu__avatar {
    margin-bottom:46px;
}

.kefu__anim {
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}


@-webkit-keyframes kefu__up {
    from {
        -webkit-transform: translate3d(0,100%,0);
        opacity: .3
    }

    to {
        -webkit-transform: translate3d(0,0,0);
        opacity: 1
    }
}

@keyframes kefu__up {
    from {
        transform: translate3d(0,100%,0);
        opacity: .3
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.kefu__anim-up {
    -webkit-animation-name: kefu__up;
    animation-name: kefu__up
}

@-webkit-keyframes kefu__upbit {
    from {
        -webkit-transform: translate3d(0,30px,0);
        opacity: .3
    }

    to {
        -webkit-transform: translate3d(0,0,0);
        opacity: 1
    }
}

@keyframes kefu__upbit {
    from {
        transform: translate3d(0,30px,0);
        opacity: .3
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.kefu__anim-upbit {
    -webkit-animation-name: kefu__upbit;
    animation-name: kefu__upbit
}

@-webkit-keyframes kefu__upbit {
    from {
        -webkit-transform: translate3d(0,30px,0);
        opacity: .3
    }

    to {
        -webkit-transform: translate3d(0,0,0);
        opacity: 1
    }
}

@keyframes kefu__upbit {
    from {
        transform: translate3d(0,30px,0);
        opacity: .3
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.kefu__anim-upbit {
    -webkit-animation-name: kefu__upbit;
    animation-name: kefu__upbit
}



@-webkit-keyframes kefu__downbit {
    from {
        -webkit-transform: translate3d(0,30px,0);
        opacity: .3
    }

    to {
        -webkit-transform: translate3d(0,0,0);
        opacity: 1
    }
}

@keyframes kefu__downbit {
    from {
        transform: translate3d(0,30px,0);
        opacity: .3
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.kefu__anim-downbit {
    -webkit-animation-name: kefu__downbit;
    animation-name: kefu__downbit
}


/* switch */
.kefu__form-switch {
    position: relative;
    height: 22px;
    line-height: 22px;
    min-width: 35px;
    padding: 0 5px;
    margin-top: 8px;
    border: 1px solid #d2d2d2;
    border-radius: 20px;
    cursor: pointer;
    background-color: #fff;
    -webkit-transition: .1s linear;
    transition: .1s linear;
    display: inline-block;
    vertical-align: middle;
    font-weight: 500;
    user-select: none;
}

.kefu__form-switch i {
    position: absolute;
    left: 3px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 20px;
    background-color: #d2d2d2;
    -webkit-transition: .1s linear;
    transition: .1s linear
}

.kefu__form-switch em {
    position: relative;
    top: -2px;
    width: 25px;
    margin-left: 16px;
    padding: 0!important;
    text-align: center!important;
    color: #999!important;
    font-style: normal!important;
    font-size: 13px
}

.kefu__form-onswitch {
    border-color: #008eff;
    background-color: #008eff
}

.kefu__checkbox-disbaled,.kefu__checkbox-disbaled i {
    border-color: #e2e2e2!important
}

.kefu__form-onswitch i {
    left: 100%;
    margin-left: -19px;
    background-color: #fff;
}

.kefu__form-onswitch em {
    margin-left: 5px;
    margin-right: 21px;
    color: #fff!important
}

.kefu__checkbox-disbaled span {
    background-color: #e2e2e2!important
}

.kefu__checkbox-disbaled:hover i {
    color: #fff!important
}

.kefu__input-block {
    margin-left: 120px;
}

.kefu__form-item {
    margin-bottom: 15px;
    width: 163px;
}

.kefu__big-section-body .kefu__form-label {
    float: left;
    display: block;
    padding: 9px 0 9px 15px;
    width: 110px;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
}

.kefu__textarea {
    width: 100%;
    height:12em;
    border: 1px solid #d6d6d6;
    resize: none;
    font-size:15px;
    padding: 8px;
    background-color: #fafafa;
    outline: none;
}

.kefu__section_marginb {
    margin-bottom: 18px;
}



/*消息模版样式*/
.kefu__chat-content .kefu__chat-template {
    margin-bottom:20px;
    max-width: 520px;
    border-radius: 2px;
    background-color: #fff;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-width: 400px;
}

.kefu__chat-content .kefu__chat-template:has(.kefu__faq-item) {
    width: 560px;
    max-width: calc(100% - 60px);
    min-width: 0;
}

.kefu__chat-content .kefu__chat-template-title {
    padding: 4px 0 12px;
    border-bottom: 1px solid #5cb4fb;
    margin-bottom: 12px;
}

.kefu__chat-content ul li.kefu__faq-item {
    margin:0;
    padding: 6px 6px 6px 0;
}

.kefu__chat-content a {
    text-decoration: none;
}
/*消息模版样式*/

/*代码部署*/
.kefu__code-title {
    font-size: 13px;
    margin-bottom: 26px;
    font-weight: 500;
}

.kefu__code-section {
    margin: 30px 30px 30px;
    position: relative;
}

.kefu__code-tips {
    color: darkgray;
    font-weight: 500;
    font-size: 13px;
}

.kefu__code-content {
    margin: 8px 0;
    font-family: Monaco,Menlo,Consolas,"Ubuntu Mono",monospace;
    font-size: 13px;
}

.kefu__code-content textarea{
    width: 100%;
    height: 7em;
    border:none;
    font-size: 13px;
    resize: none;
    outline:none;
    font-family: Monaco,Menlo,Consolas,"Ubuntu Mono",monospace;
    word-break: break-all;
}

.kefu__code-content a.kefu__code-link {
    color: #0d6efd;
    text-decoration: underline;
    word-break: break-all;
}

.kefu__code-content a.kefu__code-link:hover {
    color: #0a58ca;
}
/*代码部署*/

.kefu__panel .kefu__history-rechat button{
    margin: 0 auto;
    padding: 0 36px;
    line-height: 30px;
    display: block !important;
    width: 100%;
}

.kefu__button {
    letter-spacing: .010em;
    display: inline-block;
    position: relative;
    cursor: pointer;
    min-height: 36px;
    min-width: 88px;
    line-height: 36px;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    border-radius: 2px;
    box-sizing: border-box;
    user-select: none;
    outline: 0;
    border: 0;
    padding: 0 6px;
    margin: 6px 8px;
    background: 0 0;
    color: currentColor;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    font-style: inherit;
    font-variant: inherit;
    font-family: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);
}

.kefu__button:not([disabled]):hover {
    background-color: rgba(158,158,158,0.2);
}

.kefu__pay-amount {
    color: var(--kefu-theme-color);
    line-height: 36px;
    margin: 36px;
    padding: 10px;
    vertical-align: bottom;
}


.kefu__charge-icon:before {
    content: '\E793';
    font-family: icon;
    font-size: 26px;
    color: var(--kefu-theme-color);
    vertical-align: middle;
    margin-right: 12px;
}

.kefu__func-link {
    line-height: 200%;
    display:inline-block;
    margin:16px 5px 16px 0;
    cursor: pointer;
}

.kefu__func-link:hover {
    color: #008eff;
}

.kefu__orangered {
    color: var(--kefu-theme-color) !important;
}

.kefu__orangered:hover {
    color: var(--kefu-theme-color-hover) !important;
}

.kefu__orangered-hover:hover {
    color: var(--kefu-theme-color) !important;
}

.kefu__green-btn {
    display: inline-block;
    display: inline;
    zoom: 1;
    font-size: 14px;
    line-height: 200%;
    background-color: #008eff;
    color: #fff;
    border-radius: 3px;
    box-sizing: content-box;
    border: none;
    cursor: pointer;
}

.kefu__layer-small {
    background-color:#fff;width:320px;height:350px;position:absolute;bottom:50px;left:0;cursor:default;
}

.kefu__layer-gray-title {
    background-color:#f3f3f3;font-size:14px;padding:8px 18px;font-weight:bold;color:#333;border-bottom:solid 1px #ddd;border-top:solid 1px #ddd;
}

.kefu__chatting_item:first-child {
    border-top:1px solid transparent;
}

.kf__flex-wrap {
    flex-wrap: wrap;
}


.kefu__lh120 {
    line-height:120% !important;
}

.kefu__pd12 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.kefu__black-text {
    color: #333;
}

.kefu__ellipsis {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kefu__gray-text {
    color: #aaa;
}

.kefu__state {
    position: absolute;right:-4px;bottom:-4px;height:16px;width:16px;
}

.kefu__state-item {
    border-radius:16px;height: 16px;width:16px;font-size: 16px !important;
}

.kefu_bggreen {
    background:#00b63d;
}

.kefu_bg9 {
    background:#999;
}

.kefu_bgf {
    background:#fff;
}

.kefu__bge {
    background:#eee;
}

.kefu__bgd {
    background:#f3f3f3;
}

.kefu__bd1f {
    border: 1px solid #fff;
}

.kefu__bd1t {
    border: 1px solid transparent;
}

.kefu__state-box {
    position: absolute;left:60px;top:33px;width:80px;z-index:2;background:#fff;border-radius:2px;line-height: 180%;padding:8px 0;
}

.kefu__state-box li {
    padding-left: 8px;
}

.kefu__box-state-item {
    background:#00b63d;border-radius:16px;height: 16px;width:16px;display:inline-block;border:1px solid #fff;
}

.kefu__goods-template-title {
    max-width: 320px;
    font-weight: 500;
    line-height: 200%;
}

.kefu__goods-template-content img {
    max-width: 100px;
    margin-left: 8px;
}

.kefu__goods-template-content {
    align-items: flex-start;
}

/* 订单模版样式 */
.kefu__order-template {
    padding: 0;
    overflow: hidden;
    max-width: 400px !important;
}

.kefu__order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 8px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 12px;
    color: #666;
}

.kefu__order-id {
    font-weight: 500;
    color: #686868;
}

.kefu__order-id span {
    color: #848484;
}

.kefu__order-time {
    color: #686868;
}

.kefu__order-content-link {
    text-decoration: none;
    color: inherit;
    display: block;
    min-width: 0;
}

.kefu__order-content {
    display: flex;
    padding: 12px;
    transition: background-color 0.2s ease;
    min-width: 0;
}

.kefu__order-content-link:hover .kefu__order-content {
    background-color: #f0f1f2;
}

.kefu__order-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.kefu__order-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 60px;
    min-width: 0;
    overflow: hidden;
}

.kefu__order-float-title {
    font-size: 14px;
    color: #222;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.kefu__order-description {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.kefu__order-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kefu__order-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--kefu-theme-color);
}

.kefu__order-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
}

.kefu__status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.kefu__status-paid {
    background-color: #d1ecf1;
    color: #0c5460;
}

.kefu__status-shipped {
    background-color: #d4edda;
    color: #155724;
}

.kefu__status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.kefu__status-completed {
    background-color: #d4edda;
    color: #155724;
}

.kefu__status-cancelled,
.kefu__status-refunded {
    background-color: #f8d7da;
    color: #721c24;
}


.kefu__li-cell {
    font-size: 13px;
    border-bottom: 1px solid #eceff1;
    color: #445a64;
    padding: 16px 16px !important;
    font-weight: 400;
    opacity: .87;
    line-height: 24px;
}

.kefu__reply-box a {
    color: #777;
    font-size: 12px;
    cursor: pointer;
}

.kefu__reply-box .kefu__font-icon-gray {
    margin: 0;
}

.kefu__reply-box-left {
    width: 180px;
}

.kefu__reply-box-left li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kefu__reply-box-left .kefu__ellipsis {
    width:110px;
    max-width:110px;
}

.kefu__reply-box-right {
    margin-left: 16px !important;
    width: 760px;
}

.kefu__reply-box-right li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kefu__reply-box-right .kefu__ellipsis {
    width:680px;
    max-width:680px;
}

.kefu__cursor-pointer {
    cursor: pointer;
}

a{
    cursor: pointer;
}

.kefu__hover:hover {
    background-color: rgb(240, 240, 240, 0.8);
    cursor: default;
}

.kefu__reply-tip-box {
    position: absolute;left:0;bottom:1px;right:0;background:rgb(250, 250, 250, 0.8);border-top:1px solid #ddd;max-height:300px;overflow-y:scroll;
}

.kefu__reply-tip-box li {
    max-width:100%;line-height:160%;padding-left:18px;font-size:14px;
}

.kefu__tip {
    position:absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    background: rgba(0,0,0,.6);
    padding: 8px 18px;
    color: #fff;
    display: none;
}


/** topbar **/
.kefu__topbar-box {
    position: fixed;
    right: 0;
    top: 0;
    -webkit-app-region: no-drag;
    display: flex;
    align-items: center;
    height: 30px;
    z-index: 9999;
}
.kefu__topbar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

.kefu__topbar-item:hover {
    background: #e5e5e5;
}

.kefu__topbar-min {
    width: 10px;
    height: 1px;
    background-color: #666;
}

.kefu__topbar-item-min:hover .kefu__topbar-min {
    background-color: #333;
}

.kefu__topbar-max {
    width: 10px;
    height: 10px;
    border: 1.5px solid #666;
    box-sizing: border-box;
}

.kefu__topbar-item-max:hover .kefu__topbar-max {
    border-color: #333;
}

.kefu__topbar-max-restore {
    position: relative;
    width: 12px;
    height: 12px;
}

.kefu__topbar-max-restore::before {
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    z-index: 0;
    width: 7px;
    height: 7px;
    border: 1.5px solid #666;
    background: #fff;
    box-sizing: border-box;
}

.kefu__topbar-max-restore::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    z-index: 1;
    width: 7px;
    height: 7px;
    border: 1.5px solid #666;
    background: #fff;
    box-sizing: border-box;
}

.kefu__topbar-item-max:hover .kefu__topbar-max-restore::before,
.kefu__topbar-item-max:hover .kefu__topbar-max-restore::after {
    border-color: #333;
}

.kefu__topbar-item-close:hover {
    background: var(--kefu-theme-color-hover);
}

.kefu__topbar-close {
    position: relative;
    width: 12px;
    height: 12px;
    background: transparent;
    box-sizing: border-box;
}

.kefu__topbar-item-close:hover .kefu__topbar-close::before,
.kefu__topbar-item-close:hover .kefu__topbar-close::after {
    background: #fff;
}

.kefu__topbar-close:before {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    margin-left: -0.5px;
    width: 1px;
    height: 12px;
    background: #666;
    transform: rotate(45deg);
}
.kefu__topbar-close:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -0.5px;
    width: 1px;
    height: 12px;
    background: #666;
    transform: rotate(-45deg);
}

/* 翻译消息样式 */
.kefu__chat-msg-translated {
    margin-top: 6px;
    border-radius: 4px;
    background-color: #f5f5f5;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    position: relative;
}

.kefu__chat-msg-translated-title {
    font-size: 12px;
    color: #2fa0f9;
    margin-bottom: 4px;
    margin-top: 12px;
    font-family: icon !important;
}

.kefu__chat-msg-translated-content {
    word-break: break-word;
    color: #2fa0f9;
}

.kefu__chat-msg-translating {
    margin-top: 6px;
    border-radius: 4px;
    background-color: #f5f5f5;
    padding: 8px 12px;
    font-size: 14px;
    color: #999;
}

.kefu__language-flag {
    width: 20px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid #eee;
}

.kefu__form-select ul li {
    display: flex;
    align-items: center;
}

.kefu__form-select ul li.kefu__selected {
    background-color: #f2f2f2;
    font-weight: bold;
}

.kefu__form-select .kefu__input-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Cpath fill='%23666' d='M6 6L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 25px;
}

.kefu__language-flag {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid #eee;
}

/* ===================== 登录/注册页面美化 ===================== */
.kefu__auth-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f0ff 0%, #f0f2f5 50%, #e8eeff 100%);
    z-index: 110;
}
.kefu__auth-loading-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}
.kefu__auth-loading-inner .kefu__loading {
    display: inline-block;
}

.login-page {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f0ff 0%, #f0f2f5 50%, #e8eeff 100%);
    z-index: 100;
    -webkit-app-region: drag;
    -webkit-user-select: none;
    user-select: none;
}

.login-card {
    display: flex;
    width: 860px;
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(22, 119, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
    -webkit-app-region: no-drag;
    user-select: text;
}

.login-card-brand {
    flex: 1;
    background: linear-gradient(145deg, #1677ff 0%, #0958d9 60%, #003eb3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-card-brand::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -130px;
    right: -130px;
}

.login-card-brand::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -90px;
    left: -70px;
}

.login-brand-content {
    text-align: center;
    z-index: 1;
    padding: 40px;
}

.login-brand-icon {
    width: 76px;
    height: 76px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    line-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-brand-icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.login-brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 1px;
}

.login-brand-slogan {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    line-height: 1.8;
}

.login-card-form {
    width: 380px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-inner {
    width: 100%;
    padding: 0 44px;
}

.login-form-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.login-form-subtext {
    font-size: 13px;
    color: #8c8c8c;
    margin: 0 0 28px;
}

.login-field {
    margin-bottom: 16px;
}

.login-field-label {
    display: block;
    font-size: 13px;
    color: #595959;
    margin-bottom: 6px;
    font-weight: 500;
}

.login-field-input {
    width: 100%;
    height: 40px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #262626;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
    box-sizing: border-box;
    font-family: inherit;
}

.login-field-input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
    background: #fff;
}

.login-captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-captcha-row .login-field-input {
    flex: 1;
}

.login-captcha-img {
    height: 40px;
    width: 110px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid #d9d9d9;
    display: block;
    transition: border-color 0.2s, opacity 0.2s;
}

.login-captcha-img:hover {
    border-color: #1677ff;
    opacity: 0.88;
}

.login-btn-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
}

.login-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 40px;
    background: #1677ff;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 3px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    border: none;
    outline: none;
    font-family: inherit;
}

.login-submit-btn:hover {
    background: #4096ff;
}

.login-submit-btn:active {
    background: #0958d9;
    transform: translateY(1px);
    box-shadow: none;
}

.login-alt-link {
    font-size: 13px;
    color: #1677ff;
    text-decoration: none;
    transition: color 0.2s;
}

.login-alt-link:hover {
    color: #4096ff;
}

.login-sms-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-sms-row .login-field-input {
    flex: 1;
    width: auto;
}

.login-sms-btn {
    height: 40px;
    padding: 0 14px;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: inherit;
    flex-shrink: 0;
}

.login-sms-btn:hover {
    background: #4096ff;
}

.login-sms-btn:disabled {
    background: #bfbfbf;
    cursor: not-allowed;
}

.login-card-join .login-card-form {
    padding: 40px 0;
    align-items: flex-start;
}

/* 知识库嵌入：无顶栏，iframe 垂直铺满右侧面板（flex 避免沿用 kefu__right-body 的 calc(100% - 60px)） */
.kefu__right-main-panel.kefu__embed-studio {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.kefu__embed-studio .kefu__iframe-body {
    flex: 1;
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.kefu__embed-studio .kefu__studio-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #f2f2f2;
    vertical-align: top;
}

/* AI 设置：知识库绑定 */
.kefu-kb-bind {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.kefu-kb-bind__head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}
.kefu-kb-bind__title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}
.kefu-kb-bind__sub {
    font-size: 12px;
    color: #8c8c8c;
}
.kefu-kb-bind__desc {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.55;
    color: #595959;
    max-width: 520px;
}
.kefu-kb-bind__modes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.kefu-kb-bind__mode {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.kefu-kb-bind__mode:hover {
    border-color: #d0d0d0;
    background: #fff;
}
.kefu-kb-bind__mode--on {
    border-color: var(--kefu-theme-color, #007bff);
    background: rgba(0, 123, 255, 0.06);
    box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.12);
}
.kefu-kb-bind__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.kefu-kb-bind__mode-text {
    font-size: 14px;
    color: #262626;
    user-select: none;
}
.kefu-kb-bind__panel {
    max-width: 440px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.kefu-kb-bind__state {
    padding: 16px 18px;
    font-size: 13px;
    color: #595959;
}
.kefu-kb-bind__state--muted {
    color: #8c8c8c;
}
.kefu-kb-bind__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 220px;
    overflow-y: auto;
}
.kefu-kb-bind__item {
    margin: 0;
}
.kefu-kb-bind__check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
}
.kefu-kb-bind__check:hover {
    background: #f7f9fc;
}
.kefu-kb-bind__check input {
    width: 16px;
    height: 16px;
    accent-color: var(--kefu-theme-color, #007bff);
    cursor: pointer;
    flex-shrink: 0;
}
.kefu-kb-bind__item-name {
    font-size: 14px;
    color: #262626;
    user-select: none;
}

/* ===================== 快捷回复管理 ===================== */
/* 仅保留修饰类用于 overflow，宽度由 .kefu__section-max-width 与坐席/FAQ 一致 */
#reply_manage .kefu__big-section--reply-manage {
    overflow: hidden;
}

#reply_manage .kefu__section-head--with-actions .kefu__section-head__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#reply_manage .kefu__reply-import-export-icon {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

#reply_manage .kefu__reply-manage-body {
    margin: 0;
}

#reply_manage .kefu__reply-manage {
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 440px;
    padding: 0;
    box-sizing: border-box;
}

#reply_manage .kefu__reply-manage-sidebar {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-height: 560px;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-right: 1px solid #f0f0f0;
    overflow: hidden;
}

/* 分组 / 内容 两侧标题条：同一背景、字重与分隔线 */
#reply_manage .kefu__reply-manage-sidebar__label,
#reply_manage .kefu__reply-manage-panel__head {
    flex-shrink: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 600;
    color: #595959;
    line-height: 1.4;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

#reply_manage .kefu__reply-manage-sidebar__label {
    padding: 0 16px;
}

#reply_manage .kefu__reply-manage-panel__head {
    padding: 0 20px;
}

#reply_manage .kefu__reply-manage-nav {
    list-style: none;
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

#reply_manage .kefu__reply-manage-nav-item {
    margin: 0 0 4px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #595959;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    outline: none;
}

#reply_manage .kefu__reply-manage-nav-item:hover {
    background: #fafafa;
    color: #262626;
}

#reply_manage .kefu__reply-manage-nav-item:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#reply_manage .kefu__reply-manage-nav-item--active {
    background: #e2f2ff;
    color: var(--kefu-theme-color, #007bff);
}

#reply_manage .kefu__reply-manage-nav-item--active:hover {
    color: var(--kefu-theme-color, #007bff);
}

#reply_manage .kefu__reply-manage-nav-item .kefu__ellipsis {
    display: block;
    width: auto;
    max-width: 100%;
}

#reply_manage .kefu__reply-manage-panel {
    flex: 1;
    min-width: 0;
    max-height: 560px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

#reply_manage .kefu__reply-manage-scroll {
    flex: 1;
    min-height: 120px;
    min-width: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#reply_manage .kefu__reply-manage-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

#reply_manage .kefu__reply-manage-empty {
    margin: 0;
    padding: 28px 20px 20px;
    font-size: 13px;
    color: #8c8c8c;
    line-height: 1.6;
    text-align: center;
    flex: 1;
}

#reply_manage .kefu__reply-manage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #262626;
    line-height: 1.5;
    transition: background 0.15s ease;
}

#reply_manage .kefu__reply-manage-row:hover {
    background: #fafafa;
}

#reply_manage .kefu__reply-manage-row:last-child {
    border-bottom: none;
}

#reply_manage .kefu__reply-manage-row__text {
    flex: 1;
    min-width: 0;
}

#reply_manage .kefu__reply-manage-row__text.kefu__ellipsis {
    width: auto;
    max-width: 100%;
}

#reply_manage .kefu__reply-manage-row__actions {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

#reply_manage .kefu__reply-manage-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-family: icon !important;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    color: #8c8c8c;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-font-smoothing: antialiased;
}

#reply_manage .kefu__reply-manage-iconbtn:hover {
    background: #e6f4ff;
    color: var(--kefu-theme-color, #007bff);
}

#reply_manage .kefu__reply-manage-iconbtn--danger:hover {
    background: #fff1f0;
    color: #ff4d4f;
}

#reply_manage .kefu__reply-manage-iconbtn:focus {
    outline: none;
}

#reply_manage .kefu__reply-manage-iconbtn:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

#reply_manage .kefu__reply-manage-toolbar {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

#reply_manage .kefu__reply-manage-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 6px;
    background: var(--kefu-theme-color, #007bff);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

#reply_manage .kefu__reply-manage-primary:hover {
    background: var(--kefu-theme-color-hover, #0069d9);
}

#reply_manage .kefu__reply-manage-primary:focus {
    outline: none;
}

#reply_manage .kefu__reply-manage-primary:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#reply_manage .kefu__reply-manage-primary__icon {
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
}

/* ===================== END 登录/注册页面美化 ===================== */
