

    
.cs-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1890ff;
  color: white;
  padding: 12px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
}

.cs-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 400px;
  height: 600px;
  transition: width .5s ease;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  background: #f7f9fc;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .3);
  border-radius: 16px;
}

.cs-header {
    align-items: center;
    box-sizing: border-box;
    color: #151b26;
    display: flex;
    height: 56px;
    justify-content: space-between;
    max-width: 1295px;
    padding: 16px 24px;
    width: 100%;
}

.cs-title {
    display: -webkit-box;
    position: relative;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
    color: #151b26;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.cs-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: inherit;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  background-color: transparent;
}

.markdown-body .cs-time {
    color: #84868c;
    font-size: 12px;
    line-height: 20px;
    margin: 0 8px;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.markdown-body .cs-time::before{
  content: "";
  display: block;
  border-radius: 100px;
  height: 1px;
  width: 16px;
  background: linear-gradient(90deg, hsla(223, 5%, 74%, 0), #b8babf);
  margin-right: 8px;
}
.markdown-body .cs-time::after{
  content: "";
  display: block;
  border-radius: 100px;
  height: 1px;
  width: 16px;
  background: linear-gradient(90deg, #b8babf, hsla(223, 5%, 74%, 0));
  margin-left: 8px;
}
.cs-message {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.cs-bubble {
  padding: 16px;
  border-radius: 18px;
  max-width: 100%;
  word-break: break-word;
  line-height: 1.4;
}

.cs-user {
    background-color: rgb(36, 104, 242);
    border-radius: 12px;
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
    line-height: 26px;
    overflow-wrap: anywhere;
    padding: 12px 16px;
    align-self: flex-end;
    width: fit-content;
}
.cs-user.cs-bubble p{
  color: #fff;
  margin: 0;
}
.cs-ai {
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    display: inline-flex;
    min-height: 48px;
    overflow: hidden;
    padding: 16px;
    position: relative;
    transition: width .3s;
    flex-direction: column;
}

.cs-loading {
  display: flex;
  padding: 10px 0;
  align-self: flex-start;
}

.dot {
  width: 8px;
  height: 8px;
  background: #1890ff;
  border-radius: 50%;
  margin: 0 4px;
  animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.cs-input-area {
  box-sizing: border-box;
    padding: 0 24px;
    width: 100%;
    margin-bottom: 24px;
}

.cs-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}

.cs-send {
  margin-left: 8px;
  padding: 8px 16px;
      background: linear-gradient(136deg, #286aff, #4e6ef2, #7274f9, #9f66ff);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  width: 86px;
}
.cs-send:hover{
      background-image: linear-gradient(rgba(0, 0, 0, 0.09), rgba(0, 0, 0, 0.09)), linear-gradient(136deg, #286aff, #4e6ef2, #7274f9, #9f66ff);
}
.cs-send:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.cs-file-label {
  margin-left: 8px;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  display: flex;
  align-items: center;
}

.cs-bubble ul {
  padding-left: 20px;
  margin: 8px 0;
}

.cs-bubble li {
  margin: 4px 0;
  line-height: 1.5;
}

  [v-cloak]{display:none;}



 .bgImage_integration_B1aRg, .bgMask_integration_szQTy {
    height: 50%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    border-radius: 16px;
}

.content_integration {
    box-sizing: border-box;
    display: flex;
    height: 100%;
    overflow: hidden;
    width: 100%;
    z-index: 1;
    flex-direction: column;
}

.bottomActions_integration{
  align-items: flex-end;
    display: flex;
}
.input_integration_VsrXB{
      flex: 1;
}
.wrapper_integration_uRB2d{
    background: #fff;
    border: 1px solid #e8e9eb;
    border-radius: 12px;
    box-sizing: border-box;
    min-height: 46px;
    padding: 11px 12px;
    position: relative;
    box-shadow: 0 1px 0 0 rgba(9, 18, 33, .02), 0 1px 1px 0 rgba(9, 18, 33, .02), 0 3px 3px 0 rgba(9, 18, 33, .01), 0 9px 9px 0 rgba(9, 18, 33, .01);
}

.sendIconPositionWrap_integration_PWxMs{
  align-items: stretch;
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    width: 100%;
    align-items: center;
    flex-direction: row;
}

.textarea_integration_Wo7aj{
  border: none;
    box-sizing: border-box;
    color: #192338;
    font-size: 14px;
    line-height: 26px !important;
    margin: 0;
    outline: none;
    padding: 0;
    resize: none;
    width: 100%;
    word-break: break-all;
    background-color: transparent;
}

.cs-file-label .ai-file-icon{
  width: 20px;
    height: 20px;
        fill: #151b26;;opacity: 0.85;
}

.cs-file-label .ai-file-icon:hover{
      fill:#4E6EF2;
}

.markdown-body *{
  font-size: 14px;
  color: #000000;
}
.markdown-body pre code, .markdown-body pre tt{
  white-space: pre-wrap;  
  word-break: break-word;
}
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6{
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.file-preview {
    display: flex;
    align-items: center;
    padding: 6px 18px;
    background: #f0f5ff;
    border-radius: 8px;
    font-size: 13px;
    color: #1890ff;
    margin: 0 24px;
    margin-bottom: 8px;
}

.file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove {
  background: none;
  border: none;
  color: #ff4d4f;
  font-size: 16px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

.cp-more-btn{
    padding: 0 24px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
}
.cs-icp-service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fc;
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid rgba(6, 10, 38, .03);
  padding: 6px 0px;
  width: 82px;
}
.cs-icp-service-btn svg{
  width: 17px;
  height: 17px;
  margin-right: 3px;
  color: rgba(6, 10, 38, .7);
  background-color: transparent;
}
.cs-icp-service-btn span{
  color:rgba(6, 10, 38, .7)
}
.cs-icp-service-btn:hover {
  background: rgba(240, 241, 242, 1);
}

.cs-ai > p:only-child {
  margin-bottom: 0 !important;
}


/* 首次使用指引 */
.guide-tooltip {
  position: relative;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-width: 200px;
  font-size: 13px;
  color: #333;
  animation: fadeInUp 0.3s ease-out;
}

.guide-arrow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.05));
}

.guide-close {
    position: absolute;
    top: 4px;
    right: 0px;
    background: none;
    border: none;
    font-size: 21px;
    color: #999;
    cursor: pointer;
    padding: 2px;
}

.guide-close:hover {
  color: #666;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 全局遮罩：默认隐藏 */
#guide-overlay {
  background: rgba(0, 0, 0, 0.6);
  display: none;
}

/* 使用 clip-path 镂空出两个区域：指引弹窗 + cp-more-btn */
#guide-overlay.guide-active {
  display: block;
  pointer-events: auto; /* 允许点击关闭 */
}

/* 动态生成 clip-path 的 JS 会设置这个属性 */
#guide-overlay[style*="clip-path"] {
  display: block;
}

#cs-container {
  filter: grayscale(100%);
  /* 可选：如果希望保留交互（比如 hover、点击等），不需要额外设置 */
}

#ai-customer-service{
  position: relative;
}