@charset "UTF-8";

::-webkit-scrollbar {
  display: none;
  width: 5px;
  height: 5px;
}

.ai-scrollbar::-webkit-scrollbar {
  display: block;
  background: transparent;
}


::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgb(0 0 0 / 0.2);
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background: transparent;
}

.container {
  display: none;
  height: 100%;
  overflow-x: hidden;
  padding-left: 0;
  transition: all 0.2s;
  /* padding-bottom: 30px */
}

.container.openHistory {
  padding-left: 280px;
}

/* 展开历史记录 */

.open-history-btn {
  /* width: 22px; */
  height: 22px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #666;
  background: #fff;
  position: fixed;
  top: 15px;
  left: 10px;
  z-index: 1;
}

.open-history-btn i {
  font-size: 16px;
  font-weight: normal;
}

.open-history-btn>span {
  color: #999;
  display: flex;
  align-items: center;
  column-gap: 4px;
}

.container.openHistory .open-history-btn {
  display: none
}

/* 左侧 */

.left-content {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  z-index: 99;
}

.container.openHistory .left-content {
  width: 280px;
  transition: background 0.2s ease;
}

.left-content-inner {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-right: 1px solid #eee;
  padding: 16px 0;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.3s;
  background: #f9fafb;
  z-index: 1;
  width: 280px;
}

.container.openHistory .left-content-inner {
  transform: translateX(0);
  opacity: 1;
}

.left-content .content-title {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  line-height: 20px;
  margin-bottom: 20px;
  padding: 0 16px;
}

.left-content .content-title>span {
  color: #999;
  display: flex;
  align-items: center;
  column-gap: 4px;
}

.left-content .content-title>span:first-child {
  color: var(--theme-dark-text-color);
}

.left-content .content-title i {
  cursor: pointer;
  font-size: 20px;
}

.left-content .content-title i:hover {
  color: var(--theme-primary-color);
}

.left-content .content-option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin: 0 0 20px;
  padding: 0 16px;
}

.left-content .content-option button {
  background: var(--theme-light-color);
  border: 1px solid var(--theme-light-border-color);
  box-shadow: none;
  box-sizing: border-box;
  color: var(--theme-dark-text-color);
  cursor: pointer;
  outline: none;
  padding: 4px 15px;
  position: relative;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  white-space: nowrap;
  align-items: center;
  border-radius: 8px;
  display: flex;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 400;
  height: 36px;
  justify-content: center;
  line-height: 24px;
  /* margin-right: 8px; */
  opacity: 1;
  transition: all .3s;
  width: 202px;
  margin-right: 8px;
}

.left-content .content-option button:hover {
  color: var(--theme-primary-color);
}

.left-content .content-option button.hide_active {
  margin: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  width: 0;
}

.left-content .history_search {
  align-items: center;
  border: 1px solid #e8eaf2;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  height: 36px;
  justify-content: center;
  position: relative;
  transition: all .3s;
  width: 36px;
  cursor: pointer;
}

.left-content .history_search.active {
  padding: 8px;
  width: 100%;
  cursor: auto;
}

.left-content .history_search:hover {
  border-color: var(--theme-primary-color);
}

.left-content .history_search:focus-within {
  border-color: var(--theme-primary-color);
}

.left-content .history_search input {
  box-sizing: border-box;
  margin: 0;
  padding: 4px 11px;
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  line-height: 1.5714285714285714;
  list-style: none;
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 0;
  border-radius: 6px;
  transition: all 0.2s;
}

.left-content .history_search.active input {
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  color: #3f3f3f;
  flex: 1;
  font-size: 14px;
  height: 24px;
  line-height: 24px;
  margin: 0 12px;
  padding: 0;
  width: 140px;
}

.left-content .history_search>i {
  font-size: 0;
  opacity: 0;
}

.left-content .history_search.active>i {
  font-size: 14px;
  color: #cdcdcd;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 1;
}

.left-content .history_search.active>i:hover {
  color: #999;
}

.left-content_divider {
  display: block;
  height: 1px;
  width: calc(100% - 32px);
  background: #eee;
  margin: 0 auto 20px;
}

.left-content .history-data {
  position: relative;
}

/* 历史数据 tab */

.hisdata-tabs {
  width: calc(100% - 32px);
  display: flex;
  justify-content: space-around;
  border-radius: 8px;
  background: #ededf6;
  padding: 4px;
  margin: 0 auto;
  column-gap: 0;
  position: relative;
  height: 40px;
}

.hisdata-tabs::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 32px;
  line-height: 32px;
  padding: 0;
  border-radius: 8px;
  background: #fff;
  display: block;
  box-sizing: border-box;
  z-index: 0;
  transition: 0.15s ease-in-out;
}

.hisdata-tabs[data-ati="1"]::after {
  left: 4px
}

.hisdata-tabs[data-ati="2"]::after {
  left: calc(50% - 4px);
}

.hisdata-tabitem {
  width: 50%;
  text-align: center;
  background: transparent;
  height: 32px;
  line-height: 24px;
  padding: 3px 0;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: var(--theme-dark-text-color);
  white-space: nowrap;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.hisdata-tabitem.active {
  transition: 0.15s ease-in-out;
}

/* 历史数据 */

.hisdata-list {
  position: relative;
  height: calc(100vh - 210px);
  margin-top: 16px;
  padding: 0 2px 0 16px;
}

/* 历史记录 操作 */

.hisdataopt-box {
  display: none;
  align-items: center;
  justify-content: space-between;
}

.hismuticheck .hisdataopt-box {
  display: flex;
  margin-bottom: 16px;
  padding-right: 16px;
}

.hisdataopt-checkbox_group {
  display: flex;
  align-items: center;
  column-gap: 6px;
}

.hisdataopt-checkbox_group span {
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  background-color: #fff;
  z-index: 1;
  transition: border-color .25s cubic-bezier(.71, -.46, .29, 1.46), background-color .25s cubic-bezier(.71, -.46, .29, 1.46)
}

.hisdataopt-checkbox_group span:hover {
  border-color: var(--theme-primary-color)
}

.hisdataopt-checkbox_group span:after {
  box-sizing: content-box;
  content: "";
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 1px;
  transform: rotate(45deg) scaleY(0);
  width: 3px;
  transition: transform .15s ease-in .05s;
  transform-origin: center
}

.hisdataopt-checkbox_group.active span:after {
  transform: rotate(45deg) scaleY(1)
}

.hisdataopt-checkbox_group.half span:before {
  content: "";
  position: absolute;
  display: block;
  background-color: #fff;
  height: 2px;
  transform: scale(.5);
  left: 0;
  right: 0;
  top: 5px
}

.hisdataopt-checkbox_group.half span:after {
  display: none
}

.hisdataopt-checkbox_group.half span,
.hisdataopt-checkbox_group.active span {
  border-color: var(--theme-primary-color);
  background: var(--theme-primary-color);
}

.hisdataopt-checkbox_group.active span::before {
  transform: rotate(45deg) scaleY(1);
}

.hisdataopt-muticheck_option {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 10px;
}

.hisdataopt-muticheck_option button {
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
  width: 24px;
  height: 24px;
  color: #999;
}

.hisdataopt-muticheck_option button:last-child {
  color: var(--theme-dark-text-color);
}

.hisdataopt-muticheck_option button:hover {
  background: #f9f9fb;
}

/* 历史数据 列表 */

.hisdata-list-inner {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 185, 193, .6) transparent;
}

.hisdata-list-inner::-webkit-scrollbar {
  display: block;
  width: 5px;
  height: 5px;
}

/* 历史记录弹框 */

.hisdataDel_wrap {
  position: relative;
}

.hisdataDel_wrap.active .hisdataDelBtn {
  display: none;
}

.hisdataDel_wrap .hisdataDelConfirmBtn {
  color: #fff;
  background: var(--theme-primary-color);
  border-radius: 6px;
  overflow: hidden;
  pointer-events: none;
  transition: 0.3s;
  display: none;
}

.hisdataDel_wrap.active .hisdataDelConfirmBtn {
  display: flex;
  opacity: 1;
  overflow: visible;
  pointer-events: all;
  white-space: nowrap;
}

.hisdataDel_wrap.active .hisdataDelConfirmBtn:hover {
  color: #fff;
  background: var(--theme-primary-color);
  opacity: 0.8
}

.hisdataDel_wrap.active .hisdataDelConfirmBtn i {
  color: #fff;
}

/* 右侧 */

.chat-content {
  flex-direction: row;
  flex-grow: 1;
  min-width: 0;
  display: flex;
}

.chat-content__inner {
  width: 840px;
  max-height: 100vh;
  flex-direction: column;
  flex: 1;
  max-width: 100%;
  display: flex;
  position: relative;
}

.chat-content__header {
  box-sizing: border-box;
  height: 52px;
  color: var(--theme-dark-text-color);
  flex-grow: 0;
  flex-shrink: 0;
  justify-content: center;
  display: flex;
  position: relative;
}

.chat-content__history-btn {
  height: 22px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #666;
  background: #fff;
  position: absolute;
  top: 15px;
  left: 10px;
  z-index: 1;
}

.chat-content__history-btn i {
  font-size: 16px;
  font-weight: normal;
}

.chat-content__history-btn>span {
  color: #999;
  display: flex;
  align-items: center;
  column-gap: 4px;
}

.container.openHistory .chat-content__history-btn {
  display: none
}

.chat-content__title {
  display: none;
  justify-content: space-between;
  align-items: center;
  column-gap: 4px;
  color: #666;
  line-height: 20px;
}

.chat-content.hasSession .chat-content__title {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  padding-left: 124px;
}

.chat-content__title span {
  color: var(--theme-primary-color);
}

.chat-content__home-opt {
  height: 22px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #666;
  background: #fff;
  position: absolute;
  top: 15px;
  right: 10px;
  z-index: 1;
}

.chat-content.hasSession .chat-content__home-opt {
  display: none;
}

.chat-content__home-opt .home-opt__video-btn {
  white-space: nowrap;
  outline: none;
  color: var(--theme-light-text-color);
  font-size: 14px;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
}

.chat-content__session-opt {
  display: none;
  justify-content: space-between;
  align-items: center;
  column-gap: 10px;
  padding-right: 20px;
}

.chat-content.hasSession .chat-content__session-opt {
  display: flex;
}

.chat-content__session-opt button {
  border: 1px solid transparent;
  background: transparent;
  font-size: 12px;
  height: fit-content;
}

.chat-content__session-opt button i {
  color: #666
}

.chat-content__session-opt .session-opt__btn--collect.active i {
  color: #e4c219
}

.chat-content__session-opt button:hover i {
  color: var(--theme-primary-color)
}

/* 提问 */
.chat-content__body {
  width: 100%;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  flex-grow: 1;
  position: relative;
  height: 100%;
  /* padding: 0 max(calc((100% - 840px) / 2), 16px); */
  flex-direction: column;
  display: flex;
}

.chat-content__analysis {
  display: none;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  flex-grow: 1;
  position: relative;
}

.chat-content__analysis.is-active {
  display: flex;
}

.chat-content__bottom-section {
  padding: 0 max(calc((100% - 840px) / 2), 16px);
  position: relative;
  z-index: 12;
}

.analysis-content {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 0 calc(50% - 420px);
  padding: 0 max(calc(50% - 420px), 16px);
}

.analysis-content.ai-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 185, 193, .6) transparent;
}

.analysis-content .analysis_item {
  padding-bottom: 30px;
  margin-top: 20px;
  position: relative;
  transition: padding 0.15s;
}

.analysis-content .analysis_item:first-of-type {
  margin-top: 0
}

.analysis_item__question {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-wrap: wrap;
  flex-direction: column;
  position: relative;
  /* padding-bottom: 10px; */
  /* margin-bottom: 10px; */
}

.analysis_item__question em {
  display: none !important;
}

.analysis_item__answer {
  position: relative;
}

.analysis-content .analysis_tooltip__block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* position: absolute; */
  /* right: 0; */
  /* bottom: -7px; */
  column-gap: 16px;
  width: 100%;
  padding-left: 24px;
  height: 28px;
  margin-top: 10px;
}

.chat-content.hasSession.checkCollect .analysis-content .analysis_tooltip__block {
  display: none;
}

.analysis-content .analysis_tooltip__block i,
.analysis-content .analysis_tooltip__block svg {
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  color: var(--theme-primary-color);
  margin-left: 16px;
}

.analysis-content .analysis_tooltip__block i:hover {
  color: var(--theme-primary-color);
}

.analysis-content .analysis_tooltip__block i.active {
  color: #e4c219;
}

.analysis-content .analysis_tooltip__block button {
  background: linear-gradient(90.00deg, var(--theme-secondary-color) 4.612%, var(--theme-primary-color) 100%);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 20px;
  opacity: 1;
  transition: opacity 0.2s;
}

.analysis-content .analysis_tooltip__block button:hover {
  opacity: 0.8;
}

.analysis-content .analysis_tooltip__block>div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
  padding: 0 5px;
}

.analysis-content .analysis_item__collapse {
  display: flex;
  justify-content: flex-start;
  /* padding-top: 40px; */
  /* padding-left: 24px; */
}

.analysis_item__collapse .answer_collapse_close {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  line-height: 24px;
  color: #999;
  padding-top: 14px;
  padding-left: 24px;
  /* width: 100%; */
  margin: 0 auto;
}

.analysis_item__collapse .answer_collapse_open {
  width: 100px;
  line-height: 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  column-gap: 2px;
  white-space: nowrap;
  color: var(--theme-primary-color);
  padding: 8px 12px 8px 12px;
  border-radius: 12px 12px 12px 0px;
  background: #f5f5f5;
  cursor: pointer;
}

/* 问题 文件 */

.analysis-content .question_file {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 8px;
  margin-bottom: 16px;
  width: 100%;
}


.analysis-content .question_file_item {
  height: 50px;
  background: #f8f8f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  column-gap: 6px;
  position: relative;
  animation-name: upbit;
  animation-duration: 0.3s;
  animation-fill-mode: both;
}

.analysis-content .question_file_item[data-type="file"] {
  padding: 2px 14px 2px 8px;
  flex: 1 1 calc(33.333% - 12px);
  max-width: calc(33.333% - 12px);
}

.analysis-content .question_file_item[data-type="img"] {
  width: 50px;
}

/* 文件图标 */
.analysis-content .question_file_item .file_icon {
  width: 28px;
  min-width: 28px;
  height: 28px;
  background-size: 100% 100%;
}

.analysis-content .question_file_item[data-ft="pdf"] .file_icon {
  background-image: url(/static/Public/images/jufaAIimg/file_pdf.png);
}

.analysis-content .question_file_item[data-ft="doc"] .file_icon,
.analysis-content .question_file_item[data-ft="docx"] .file_icon {
  background-image: url(/static/Public/images/jufaAIimg/file_doc.png);
}

.analysis-content .question_file_item[data-ft="xls"] .file_icon,
.analysis-content .question_file_item[data-ft="xlsx"] .file_icon {
  background-image: url(/static/Public/images/jufaAIimg/file_xls.png);
}

.analysis-content .question_file_item[data-ft="txt"] .file_icon {
  background-image: url(/static/Public/images/jufaAIimg/file_txt.png);
}

/* 文件信息 */

.analysis-content .question_file_item .file_info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  max-width: calc(100% - 28px);
}

.analysis-content .question_file_item .file_info p {
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.analysis-content .question_file_item .file_info em {
  font-size: 12px;
  color: #888;
}

/* 图片项 */

.analysis-content .question_file_item .file_img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.analysis-content .question_file_item .file_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.analysis-content .question_quote {
  position: relative;
  max-width: 100%;
  margin-bottom: 16px;
}

.analysis-content .question_quote_item {
  max-width: 100%;
  width: fit-content;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #f5f5f5;
  padding: 0 8px;
  font-size: 12px;
  line-height: 24px;
  color: #666;
  cursor: pointer;
  border-radius: 4px;
  column-gap: 6px;
}

.analysis-content .question_quote_item em {}

.analysis-content .question_quote_item p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.analysis-content .question_quote_item span {
  display: inline-flex;
  padding-right: 5px;
  min-width: 40px;
}

.analysis-content .question_cont {
  width: fit-content;
  max-width: calc(98% - 44px);
  line-height: 24px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  color: var(--theme-dark-text-color);
  padding: 8px 12px 8px 12px;
  border-radius: 12px 12px 0px 12px;
  background: linear-gradient(90.00deg, #e7f3ff 4.612%, #dbedff 100%);
  word-break: break-all;
}

.analysis-content .question_toolbar {
  display: flex;
  height: 28px;
  line-height: 20px;
  justify-content: space-around;
  padding: 4px;
  border-radius: 4px;
  column-gap: 10px;
  z-index: 1;
  opacity: 0;
  transition: 0.1s;
  pointer-events: none;
}

.analysis-content .question_toolbar--human {
  display: flex;
  column-gap: 8px;
}

.analysis-content:not(.handling) .analysis_item__question:hover .question_toolbar,
.analysis-content:not(.handling) .question_toolbar:hover {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.analysis-content:not(.handling) .analysis_item__question.hover .question_toolbar {
  display: flex;
}

.chat-content.hasSession.checkCollect .analysis_item__question .question_toolbar {
  opacity: 0;
  pointer-events: none;
}

.analysis-content .question_toolbar span {
  text-align: center;
  width: 20px;
  display: inline-flex;
  justify-content: center;
  column-gap: 3px;
  padding: 0 3px;
  cursor: pointer;
}

.analysis-content .question_toolbar i {
  font-size: 15px;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
}

.analysis-content .question_toolbar span:hover {
  background: #f3f3f3;
  border-radius: 4px;
}

@keyframes rotating {
  0% {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(1turn)
  }
}


/* 项目信息 */

.analysis_step {
  /* padding-top: 4px; */
  position: relative;
}

.analysis_step_title {
  display: flex;
  justify-content: flex-start;
  column-gap: 6px;
  align-items: center;
}

.analysis_step_title span {
  color: rgb(51, 51, 51);
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: justify;
  position: relative;
  z-index: 1;
}

.finish .analysis_step_title span {
  font-weight: 600;
}

.finish .analysis_step_title span::after {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 100%;
  height: 6px;
  background: var(--theme-light-color);
  z-index: -1;
}

.analysis_step_status__icon {
  min-width: 19px;
  display: flex;
  justify-content: center;
}

.loading .analysis_step_status__icon {
  font-size: 15px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  color: var(--theme-primary-color);
  position: relative;
  font-weight: 400;
  animation: unset;
  width: 17px;
  display: flex;
  justify-content: center;
}

.loading .analysis_step_status__icon::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #5a5a68;
  font-size: 13px;
  animation: rotate-radius 2s linear infinite;
}

.loading .analysis_step_status__icon::after {
  content: '';
  display: block;
  box-sizing: content-box;
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 6px;
  left: 7.5px;
  position: absolute;
  top: 7.5px;
  transform: rotate(0deg) scaleY(0);
  width: 3px;
  transition: transform 0.15s ease-in 0.05s;
  transform-origin: center;
}

.finish .analysis_step_status__icon::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--theme-primary-color);
  font-size: 13px;
  transition: all 0.3s;
}

.finish .analysis_step_status__icon::after {
  content: '';
  display: block;
  box-sizing: content-box;
  border: 1px solid var(--theme-primary-color);
  border-left: 0;
  border-top: 0;
  height: 6px;
  left: 7.5px;
  position: absolute;
  top: 7.5px;
  transform: rotate(45deg) scaleY(1);
  width: 3px;
  transition: transform 0.15s ease-in 0.05s;
  transform-origin: center;
}

.analysis_step_title em {
  display: none;
  font-size: 12px;
  transition: 0.2s ease;
  cursor: pointer;
  color: #999;
}

.finish .analysis_step_title em {
  display: block;
}

.finish .analysis_step_title em.active {
  transform: rotate(180deg);
}

.analysis_step_content {
  padding: 16px 0 16px 24px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  position: relative;
}

.analysis_step_content::before {
  content: '';
  position: absolute;
  left: 9px;
  bottom: 0;
  width: 0;
  height: 100%;
  border-left: 1px dashed #dedede;
  z-index: 0;
}

.finish .analysis_step_content::before {
  /* border-color: var(--theme-primary-color); */
  border-left-style: solid;
}

.analysis_project__block .analysis_step_content {
  padding-top: 8px;
  padding-bottom: 8px;
}

.analysis_desensitized__block .analysis_step_content {
  font-size: 12px;
  color: var(--theme-medium-text-color);
}

.analysis_result__block .analysis_step_content {
  /* padding-bottom: 0; */
  background: transparent;
}

.analysis_step_content .analysis_firststep_cus,
.analysis_step_content .analysis_firststep_neg {
  display: flex;
  align-items: flex-start;
}

.analysis_step_content .analysis_firststep_neg {
  margin-top: 12px
}

.analysis_step_content .analysis_firststep_cus b,
.analysis_step_content .analysis_firststep_neg b {
  font-weight: normal;
  line-height: 26px;
  padding-right: 10px;
  white-space: nowrap;
  color: #666;
}

.analysis_step_content .analysis_firststep_cusdetail,
.analysis_step_content .analysis_firststep_negdetail {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 8px;
}

.analysis_step_content .analysis_firststep_cusdetail>span,
.analysis_step_content .analysis_firststep_negdetail>span {
  display: inline-flex;
  line-height: 26px;
  padding: 0 8px;
  background: #eee;
  border-radius: 4px;
  color: #666;
}

.analysis_step_content .analysis_firststep_cusdetail a,
.analysis_step_content .analysis_firststep_negdetail a {
  display: inline-flex;
  line-height: 26px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--theme-primary-color);
  text-decoration: underline;
}

.analysis_step_content .analysis_firststep_cusdetail a>textarea,
.analysis_step_content .analysis_firststep_negdetail a>textarea {
  display: none !important;
  opacity: 0 !important;
}

/* 分析内容 */
.analysis_step_content .analysis_detail_content {
  border: 1px solid #f9f9fb;
  background: #f9f9fb;
  padding: 8px;
  border-radius: 4px;
  color: rgb(102, 102, 102);
  font-size: 14px;
  font-weight: 350;
  line-height: 24px;
  letter-spacing: 0;
  text-align: left;
}

.analysis_process__block .analysis_detail_content {
  font-size: 12px;
}

.analysis_knowledgebase__block .analysis_detail_content,
.analysis_project__block .analysis_detail_content {
  background: transparent;
  border: 0;
  padding: 0;
}

.analysis_detail_content.is_fold {
  max-height: 180px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 10px;
  padding-bottom: 32px;
  scrollbar-width: none;
}

.analysis_detail_content.is_fold::before {
  /* content: ''; */
  position: absolute;
  top: 16px;
  left: 24px;
  width: calc(100% - 24px);
  height: 30px;
  background: linear-gradient(180deg, #f9f9fb 0%, #f9f9fb 30%, transparent 100%);
}

.analysis_detail_content--collapse {
  width: calc(100% - 24px);
  position: absolute;
  bottom: 16px;
  left: 24px;
  height: 44px;
  padding: 18px 0 8px;
  border-radius: 0 0 4px 4px;
  color: var(--theme-dark-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, #f9f9fb 0%, #f9f9fb 75%, transparent 100%);
  overflow: hidden;
}

.analysis_detail_content--collapse.is_active {
  position: relative;
  width: 100%;
  height: 30px;
  left: 0;
  background: #f9f9fb;
  bottom: 0;
  margin-top: -10px;
  padding: 8px 0;
}

.analysis_detail_content--collapse.is_hide {
  display: none
}

.analysis_detail_content--collapse span {
  position: relative;
  font-family: 'iconfont' !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 18px;
  column-gap: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.analysis_detail_content--collapse span:hover {
  color: var(--theme-primary-color);
}

.analysis_detail_content--collapse span::after {
  content: '\e612';
  font-size: 14px;
  color: #999;
  position: relative;
  transform: rotate(180deg);
  transition: 0.2s;
}

.analysis_detail_content--collapse span:hover::after {
  color: var(--theme-primary-color);
}

.analysis_detail_content--collapse.is_active span::after {
  transform: rotate(0deg);
}

/* 生成内容 */

.finish.analysis_result__block .analysis_detail_content {
  color: var(--theme-dark-text-color);
  background: transparent;
  border-color: transparent;
}

.analysis_process__block .analysis_detail_content .match_info_detail,
.analysis_result__block .analysis_detail_content .match_info_detail,
.analysis_report__block .analysis_detail_content .match_info_detail {
  color: var(--theme-dark-text-color);
  border-radius: 4px;
  margin: 0 2px;
  display: inline;
  cursor: pointer;
}

.analysis_detail_content .match_info_detail:hover {
  color: var(--theme-primary-color);
}

.analysis_detail_content .match_info_detail.match-type-case_qw {
  border-color: #de0000;
}

.analysis_detail_content .match_info_detail.match-type-case_qw:hover {
  color: #de0000;
  border-color: #de0000;
  /* background: #ffe8e8; */
}

.analysis_detail_content .match_info_detail.match-type-case_pt {
  border-color: #42c4bc;
}

.analysis_detail_content .match_info_detail.match-type-case_pt:hover {
  color: #42c4bc;
  border-color: #42c4bc;
  /* background: #effffe; */
}

.analysis_detail_content .match_info_detail.match-type-law {
  border-color: #38aef6;
}

.analysis_detail_content .match_info_detail.match-type-law:hover {
  color: #38aef6;
  border-color: #38aef6;
  /* background: #d1edff; */
}

.analysis_detail_content .match_info_detail.match-type-journal {
  border-color: #6469ff;
}

.analysis_detail_content .match_info_detail.match-type-journal:hover {
  color: #6469ff;
  border-color: #6469ff;
  /* background: #e7e7ff; */
}

.analysis_detail_content .match_info_detail.match-type-pkb {
  border-color: #ff6c00;
}

.analysis_detail_content .match_info_detail.match-type-pkb:hover {
  color: #ff6c00;
  border-color: #ff6c00;
  /* background: #ffe8e8; */
}

.analysis_detail_content .match_info_detail.match-type-case_rk {
  border-color: #56C036;
}

.analysis_detail_content .match_info_detail.match-type-case_rk:hover {
  color: #56C036;
  border-color: #56C036;
  /* background: #ffe8e8; */
}

.analysis_detail_content .match_info_detail .match-text {
  /* text-decoration: underline; */
  border-bottom: 1.5px dashed transparent;
  border-color: inherit;
}

.analysis_detail_content .match_info_detail .match-info {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  text-decoration: none;
  padding: 0 4px;
  border-radius: 4px;
}

.analysis_detail_content .match_info_detail.match-type-case_qw .match-info {
  color: #de0000;
  background: #ffe8e8;
}

.analysis_detail_content .match_info_detail.match-type-case_pt .match-info {
  color: #42c4bc;
  background: #effffe;
}

.analysis_detail_content .match_info_detail.match-type-law .match-info {
  color: #38aef6;
  background: #d1edff;
}

.analysis_detail_content .match_info_detail.match-type-journal .match-info {
  color: #6469ff;
  background: #e7e7ff;
}

.analysis_detail_content .match_info_detail.match-type-pkb .match-info {
  color: #ff6c00;
  background: #ffe9d9;
}

.analysis_detail_content .match_info_detail.match-type-case_rk .match-info {
  color: #56C036;
  background: #E5F2E1;
}

.analysis_detail_content .match_info_detail .match-type {
  display: inline-flex;
  line-height: 1.4;
  text-indent: 0;
}

.analysis_detail_content .match_info_detail.match-type-case_qw .match-type {
  color: #de0000;
  border-color: #de0000;
}

.analysis_detail_content .match_info_detail.match-type-case_pt .match-type {
  color: #42c4bc;
  border-color: #42c4bc;
}

.analysis_detail_content .match_info_detail.match-type-law .match-type {
  color: #38aef6;
  border-color: #38aef6;
}

.analysis_detail_content .match_info_detail.match-type-journal .match-type {
  color: #6469ff;
  border-color: #6469ff;
}

.analysis_detail_content .match_info_detail.match-type-pkb .match-type {
  color: #ff6c00;
  border-color: #ff6c00;
}

.analysis_detail_content .match_info_detail.match-type-case_rk .match-type {
  color: #56C036;
  border-color: #E5F2E1;
}

.analysis_detail_content .match_info_detail .match-num {
  background: transparent;
  color: inherit;
  border: 1px solid transparent;
  border-color: inherit;
  display: inline-flex;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  text-align: center;
  font-size: 10px;
  justify-content: center;
  align-items: center;
  text-indent: 0;
}

/* 法律问答 */

.answer_geninner {
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 16px 20px 0 rgba(174, 167, 223, .06);
  display: flex;
  flex-direction: column;
  min-height: 64px;
  padding: 12px 16px;
  position: relative;
  line-height: 24px;
  /* margin-top: 12px; */
  word-break: break-all;
}

.answer_geninner .answer_geninner_think {
  position: relative;
  display: none;
  margin-bottom: 12px;
}

.answer_geninner .answer_geninner_think .reasoning_loading {
  padding: 0 14px;
  box-sizing: border-box;
  background-color: #e1e1e1;
  height: 32px;
  line-height: 32px;
  border-radius: 10px;
  color: rgb(38, 38, 38);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  /* Chrome, Safari, Opera */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* 标准语法 */
}

.answer_geninner .answer_geninner_think .reasoning_loading i {
  font-size: 10px;
  line-height: 10px;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.answer_geninner .answer_geninner_think .reasoning_line {
  height: 0;
  margin-top: 5px;
  position: absolute;
  top: 46px;
  left: 0;
  overflow: hidden;
  border-color: #e5e5e5;
  transition: 0.3s ease-in-out;
}

.answer_geninner .reasoning_open .reasoning_line {
  height: calc(100% - 56px);
  border-left: 1px solid #e5e5e5;
}

.answer_geninner .answer_geninner_think .reasoning_html {
  color: #8b8b8b;
  padding-left: 13px;
  box-sizing: border-box;
  display: inline-block;
  font-size: 14px;
  line-height: 26px;
  display: none;
  margin-top: 12px;
}

.answer_geninner .answer_geninner_think .reasoning_img {
  width: 20px;
  height: 20px;
  animation: .6s linear infinite ds-loading;
  margin-left: 13px;
}

.answer_geninner .reasoning_open .reasoning_html {
  display: block;
}

.answer_geninner .reasoning_open .reasoning_loading i {
  transform: rotate(180deg);
  position: relative;
}

.answer_geninner .regeneration i {
  display: none;
}

.answer_geninner>span {
  color: #444;
  line-height: 30px !important;
}

@keyframes ds-loading {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 文书生成 提问框 */

.section_item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 6px 0;
  line-height: 24px;
  column-gap: 8px;
}

.section_item.default_hide {
  display: none !important;
}

.section_item.space_between {
  justify-content: space-between;
  align-items: center;
}

.section_item.flex_end {
  justify-content: flex-end;
}

.section_item.padding-top {
  padding-top: 73px;
}

.generate_section_wrap.finish .section_item.padding-top {
  padding-top: 6px;
}

.generate_section_wrap.fixed #createBlockWrap {
  position: absolute;
  bottom: 8px;
  width: calc(100% - 24px);
}

.section_item .section-title {
  font-size: 14px;
  color: var(--theme-dark-text-color);
  font-weight: 500;
  /* min-width: 42px; */
  white-space: nowrap;
}

.section_item .section-content {
  border-radius: 4px;
  font-size: 14px;
  color: var(--theme-dark-text-color);
  cursor: pointer;
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 8px;
  position: relative;
}

.section_item .section-content.wrap {
  flex-basis: 100%;
  margin-top: 8px;
}

.doc-type-container {
  box-sizing: border-box;
  border: 1px solid #fff7f0;
  background: #f5f5f5;
  border-radius: 4px;
  position: static;
  /* width: 220px; */
  height: 24px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0px 8px 0px 8px;
  flex-grow: 0;
  column-gap: 8px;
  /* margin: 0px 4px; */
}

.doc-type-container:focus-within {
  border-color: var(--theme-primary-color);
  background: #fff;
}

.doc-type-container input {
  background: transparent;
  border: 0;
  outline: none;
  max-width: 168px;
  width: 100px;
}

.doc-type-container input:focus {
  border: 0;
}

.doc-type-container button {
  white-space: nowrap;
  outline: none;
  color: var(--theme-secondary-color);
  font-size: 12px;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  column-gap: 3px;
}

.section_item .section-content textarea {
  box-sizing: border-box;
  border: 1px solid #fff7f0;
  background: #fff7f0;
  border-radius: 4px;
  position: static;
  width: 100%;
  height: 120px;
  line-height: 22px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 4px;
  flex-grow: 1;
  font-family: auto;
}

.section_item .section-content textarea:focus {
  border: 1px solid var(--theme-primary-color);
  background: #fff;
  transition: 0.3s ease;
}

.section_item .section-content .select_btn {
  line-height: 22px;
  border: 1px solid #f5f5f5;
  border-radius: 4px;
  background: #f5f5f5;
  padding: 0 8px;
  color: #666;
  display: flex;
  align-items: center;
  column-gap: 5px;
  /* display:none;*/
}

.section_item .section-content .select_btn:focus-within {
  background: #fff;
  border-color: var(--theme-primary-color);
}

.section_item .section-content .select_btn i {
  font-size: 14px;
}

.section_item .section-content_value {
  display: none;
}

.section_item .section-content_value.active {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  column-gap: 8px;
  /* width: 100%; */
}

.section_item .section-content_value_item {
  padding: 0 8px;
  background: var(--theme-label-default-bg-color);
  display: inline-flex;
  align-items: center;
  column-gap: 5px;
  border-radius: 4px;
}

.section_item .section-content_value_item .file-name {
  color: var(--theme-primary-color);
  text-decoration: underline;
}

.section_item .section-content_value_item i {
  font-size: 12px;
  color: #999;
}

.section_item .generate-btn {
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 12px 0px 12px;
  background: linear-gradient(135.00deg, var(--theme-primary-color) 0%, var(--theme-primary-color) 100%);
}

/* 模型切换下拉 */

.model_type_dropdown {
  display: none;
  min-width: 280px !important;
}

/* 回到底部按钮 */

.analysis__scroll-btn {
  transform: translateX(-50%);
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 100%;
  border: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0);
  transform-origin: bottom;
  transition: 0.2s;
  overflow: hidden;
  z-index: 11;
  cursor: pointer;
  pointer-events: none;
}

.analysis__scroll-btn.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}


/* 历史记录操作弹框 */

.hisdataEdit_pop,
.coldataEdit_pop {
  z-index: 101;
  width: 130px;
}

/* 编辑名称 弹窗 */

.modal.hisNameEdit_modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
  opacity: 1;
  transition: opacity 0.15s ease-in-out;
}

.modal.hisNameEdit_modal:not(:visible) {
  opacity: 0;
}

.hisNameEdit_modal .modal_dialog {
  width: 90%;
  min-width: 300px;
  max-width: 400px;
  height: auto;
  margin-top: 50px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -80%);
}

.hisNameEdit_modal .modal_content {
  position: relative;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .3);
  width: 100%;
  border-radius: 3px;
}

.hisNameEdit_modal .modal_content .modal_head {
  position: relative;
  line-height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid #EDEDED;
}

.hisNameEdit_modal .modal_content .modal_head>b {
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.9);
}

.hisNameEdit_modal .modal_content .modal_head>i {
  float: right;
  font-size: 14px;
  cursor: pointer;
}

.hisNameEdit_modal .modal_content .modal_body {
  margin: 12px 0 0;
  padding: 16px 0 16px 16px;
  color: #666;
  line-height: 22px;
  max-height: calc(100vh - 220px);
  overflow-x: hidden;
  overflow-y: auto;
}

.hisNameEdit_modal .modal_content .modal_body .hisNameEdit_input {
  padding: 0 16px 16px 0;
}

.hisNameEdit_modal .modal_content .modal_body .hisNameEdit_input_inner {
  display: flex;
  align-items: center;
  column-gap: 12px;
}

.hisNameEdit_modal .modal_content .modal_body .hisNameEdit_input input {
  font-size: 14px;
  line-height: 30px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #dcdcdc;
  padding: 0 10px;
  flex-grow: 1;
  transition: 0.2s ease-in-out;
}

.hisNameEdit_modal .modal_content .modal_body .hisNameEdit_input input:focus {
  border-color: var(--theme-primary-color);
}

.hisNameEdit_modal .modal_content .modal_body .hisNameEdit_input input::placeholder {
  font-size: 13px;
  color: #999;
}

.hisNameEdit_modal .modal_content .modal_foot {
  padding: 12px 16px;
  text-align: right;
  font-size: 0;
  border-top: 1px solid #eee;
}

.hisNameEdit_modal .modal_content .modal_foot button {
  background: var(--theme-primary-color);
  border: 1px solid var(--theme-primary-color);
  color: #fff;
  border-radius: 3px;
  line-height: 24px;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 12px;
  margin-left: 12px;
}

.hisNameEdit_modal .modal_content .modal_foot button.plain {
  background: #f5f5f5;
  color: var(--theme-dark-text-color);
  border-color: #ededed;
}

@media (max-width: 520px) {

  .info-query-section .query-buttons {
    justify-content: space-between;
  }

  .info-query-section .query-buttons button {
    flex-basis: 30%;
  }

  .que-tabitem i {
    display: none;
  }

  .main-actions.selectedType .que-tabitem:last-of-type {
    border-right: 0;
  }
}

@media (max-width: 800px) {
  .container.openHistory {
    padding-left: 0;
  }

  .container.openHistory .left-content {
    width: 100%;
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
    z-index: 101;
  }
}

/* 知识库 参考依据 */

.knowledgebase__showmore {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #666;
  column-gap: 1px;
  line-height: 1;
  cursor: pointer;
}

.analysis-content.handling .knowledgebase__showmore {
  display: none;
}

.knowledgebase__showmore b {
  font-weight: 400;
  color: var(--theme-primary-color);
}

.knowledgebase__showmore i {
  font-weight: 400;
  color: #666 !important;
}

.knowledgebase__showmore--before {
  content: '';
  position: relative;
  flex-grow: 1;
  height: 1em;
}

.knowledgebase__list--item {
  border: 1px solid #eee;
  border-radius: 4px;
  margin-top: 10px;
  padding: 8px;
}

.knowledgebase__list--item:hover {
  color: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  cursor: pointer;
}

.knowledgebase__list--item:first-of-type {
  margin-top: 0;
}

.knowledgebase__list--item__title {
  display: block;
  margin-bottom: 8px;
  line-height: 28px;
}

.knowledgebase__list--item__title .knowledgebase__list--label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-label-second-bg-color);
  color: #fff;
  font-size: 12px;
  padding: 2px 4px;
  border-radius: 4px;
  margin-right: 4px;
  height: 22px;
  line-height: 22px;
  vertical-align: middle;
}

.knowledgebase__list--item__title .knowledgebase__list--label[data-label="1"] {
  background: var(--theme-label-fifth-bg-color);
}

.knowledgebase__list--item__title .knowledgebase__list--label[data-label="2"] {
  background: var(--theme-label-fourth-bg-color);
}

.knowledgebase__list--item__title .knowledgebase__list--label[data-label="3"] {
  background: var(--theme-label-third-bg-color);
}

.knowledgebase__list--item__title .knowledgebase__list--import {
  border: 1px solid #f5f5f5;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 4px;
  padding: 2px 4px;
  font-size: 12px;
  /* margin-left: 4px; */
  color: #666;
  height: 22px;
  line-height: 22px;
  background: #f5f5f5;
  vertical-align: middle;
}

.analysis-content.handling .knowledgebase__list--item__title .knowledgebase__list--import {
  display: none;
}

.knowledgebase__list--item__title .knowledgebase__list--import:hover {
  color: var(--theme-secondary-color);
  cursor: pointer;
}

.knowledgebase__list--item.checked .knowledgebase__list--import {
  color: var(--theme-secondary-color);
  background: var(--theme-question-bg-color);
  border-color: var(--theme-question-bg-color);
}

.knowledgebase__list--item__remarklabel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
}

.knowledgebase__list--item__remarklabel span {
  display: block;
  line-height: 20px;
  position: relative;
}

.knowledgebase__list--item__remarklabel span::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1em;
  background: #ddd;
}

.knowledgebase__list--item__remarklabel span:last-child::after {
  display: none;
}

.knowledgebase__list--label {
  font-size: 12px;
  color: #999;
}

/* 知识库 参考依据 分类 */
.knowledgebase_category__list--item {
  display: block;
}

.knowledgebase_category__list--item__head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 10px;
  padding-bottom: 8px;
  cursor: pointer;
}

.knowledgebase_category__list--item__head--collapse {
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 4px;
  padding: 0 8.6px;
  font-size: 12px;
  height: 22px;
  line-height: 22px;
  background: var(--theme-primary-color);
  cursor: pointer;
}

.knowledgebase_category__list--item__head--collapse[data-type] {
  background: #ff6c00;
}

.knowledgebase_category__list--item__head--collapse[data-type="权威案例"] {
  background: var(--theme-label-fifth-bg-color);
}

.knowledgebase_category__list--item__head--collapse[data-type="普通案例"] {
  background: var(--theme-label-fourth-bg-color);
}

.knowledgebase_category__list--item__head--collapse[data-type="法学期刊"] {
  background: var(--theme-label-third-bg-color);
}

.knowledgebase_category__list--item__head--collapse[data-type="法律法规"] {
  background: var(--theme-label-second-bg-color);
}

.knowledgebase_category__list--item__head--collapse[data-type="入库案例"] {
  background: #56C036;
}

.knowledgebase_category__list--item__head--collapse b {
  font-weight: normal;
  display: block;
  white-space: nowrap;
}

.knowledgebase_category__list--item__head i {
  font-weight: normal;
  font-size: 8px;
  transform: rotate(180deg);
  transition: 0.3s;
}

.knowledgebase_category__list--item__head.collapsed i {
  transform: rotate(0deg);
}

.knowledgebase_category__list--item__head span {
  color: #999;
  font-size: 12px;
}

.knowledgebase_category__list--item__head em {
  color: var(--theme-primary-color);
  margin: 0 4px;
}

.knowledgebase_category__list--item__body {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  padding-bottom: 16px;
}

.knowledgebase__list--childitem {
  padding: 8px 10px;
  background: var(--theme-hover-bg-color);
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  border-radius: 4px;
  align-items: baseline;
  row-gap: 4px;
  column-gap: 10px;
  cursor: pointer;
}

.knowledgebase__list--childitem:hover {
  color: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  cursor: pointer;
}

.knowledgebase__list--childitem__no {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 20px;
  text-align: center;
  color: var(--theme-primary-color);
  background: var(--theme-light-color);
  border-radius: 50%;
  font-size: 12px;
}

.knowledgebase__list--childitem[data-type] .knowledgebase__list--childitem__no {
  color: #ff6c00;
  background: #ffe9d9;
}

.knowledgebase__list--childitem[data-type="1"] .knowledgebase__list--childitem__no {
  color: #de0000;
  background: #ffe8e8;
}

.knowledgebase__list--childitem[data-type="2"] .knowledgebase__list--childitem__no {
  color: #42c4bc;
  background: #effffe;
}

.knowledgebase__list--childitem[data-type="3"] .knowledgebase__list--childitem__no {
  color: #6469ff;
  background: #e7e7ff;
}

.knowledgebase__list--childitem[data-type="4"] .knowledgebase__list--childitem__no {
  color: #38aef6;
  background: #d1edff;
}

.knowledgebase__list--childitem[data-type="5"] .knowledgebase__list--childitem__no {
  color: #56C036;
  background: #E5F2E1;
}

.knowledgebase__list--childitem__title {
  display: block;
  flex-wrap: wrap;
  /* align-items: center; */
  line-height: 24px;
}

.knowledgebase__list--childitem__title>div {
  display: inline-flex;
  /* float: left; */
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background-color: #eee;
  text-align: center;
  margin-left: 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--theme-medium-text-color);
}

.knowledgebase__list--childitem .knowledgebase__list--import,
.knowledgebase__list--childitem .knowledgebase__list--download {
  background: #e9e9e9;
  display: inline-flex;
  column-gap: 4px;
  align-items: center;
  vertical-align: middle;
  cursor: pointer;
  height: 24px;
  line-height: 24px;
}

.knowledgebase__list--childitem.checked .knowledgebase__list--import {
  background: var(--theme-light-color);
  color: var(--theme-primary-color);
}

.analysis-content.handling .knowledgebase__list--childitem__title .knowledgebase__list--import {
  display: none;
}

/* 知识库 参考依据 全部  */

.analysis_knowledgebase__drawer {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  padding: 0;
  margin: 0;
  z-index: 100;
  overflow: hidden;
  transition: background 0.2s;
}

.analysis_knowledgebase__drawer.in {
  width: 100%;
  opacity: 1;
  background: rgba(51, 51, 51, 0.8);
}

.analysis_knowledgebase__drawer--dialog {
  width: min(528px, calc(100% - 32px));
  background: #fff;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  transform: translateX(100%);
  transition: transform 0.2s ease-out;
}

.analysis_knowledgebase__drawer.in .analysis_knowledgebase__drawer--dialog {
  transform: translateX(0);
}

.analysis_knowledgebase__drawer--content {
  padding: 4px 0;
}

.analysis_knowledgebase__drawer--head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 8px 0 16px;
}

.analysis_knowledgebase__drawer--head i {
  position: absolute;
  left: 16px;
  cursor: pointer;
  font-size: 14px;
}

.analysis_knowledgebase__drawer--head i:hover {
  opacity: 0.7;
}

.analysis_knowledgebase__drawer--title {
  flex-grow: 1;
  text-align: center;
}

.analysis_knowledgebase__drawer--body {
  padding: 0 8px 0 16px
}

.analysis_knowledgebase__drawer--list {
  max-height: calc(100vh - 50px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 8px;
  padding-bottom: 16px;
}

/* 知识库引入 */

.que-import-box {
  position: relative;
  padding: 3px 24px 13px 0;
  display: none;
  width: 100%;
}

.que-import-box.is_active {
  display: block;
}

.main-actions.finish .que-import-box.is_active {
  position: absolute;
  width: calc(100% - 60px);
}

.generate_import__inner {
  position: relative;
  display: flex;
  justify-content: flex-start;
  background: #f5f5f5;
  padding: 0 8px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  border-radius: 4px;
  column-gap: 6px;
}

.generate_import__inner textarea {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.generate_import__inner p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.que-import-box.is_multiple .generate_import__inner p {
  flex-grow: unset;
}

.generate_import__inner span {
  display: inline-flex;
  padding-right: 5px;
  min-width: 100px;
  flex-grow: 1;
  flex-basis: fit-content;
}

.generate_import__inner i {
  font-size: 12px;
}

.generate_chat__box {
  /* position: relative; */
}

.generate_import__dropdown {
  display: none;
  box-shadow: 0 0 8px rgb(from var(--theme-secondary-color) r g b / 20%);
  border-color: var(--theme-secondary-color);
}

.generate_import__dropdown--list {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.generate_import--item {
  position: relative;
  display: flex;
  justify-content: flex-start;
  background: #f5f5f5;
  padding: 0 8px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  border-radius: 4px;
  column-gap: 6px;
  max-width: 800px;
}

.generate_import--item textarea {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.generate_import--item p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.generate_import--item span {
  display: inline-flex;
  padding-right: 5px;
  min-width: 100px;
  flex-grow: 1;
}

.generate_import--item i {
  font-size: 12px;
}

/* 对话高亮法规、案例弹窗 */

/* 弹窗显示在下方时的动画 */
@keyframes popupSlideInUp {
  from {
    opacity: 0;
    transform: translateY(-8px) scaleY(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes popupSlideOutDown {
  from {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }

  to {
    opacity: 0;
    transform: translateY(-8px) scaleY(0.8);
  }
}

/* 弹窗显示在上方时的动画 */
@keyframes popupSlideInDown {
  from {
    opacity: 0;
    transform: translateY(88px) scaleY(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes popupSlideOutUp {
  from {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }

  to {
    opacity: 0;
    transform: translateY(88px) scaleY(0.8);
  }
}

.analysis_info__popup {
  padding: 8px 8px;
  background: linear-gradient(135deg, var(--theme-question-bg-color), var(--theme-light-color));
  border: 1px solid var(--theme-lighter-color);
  border-radius: 8px;
  position: fixed;
  z-index: 100;
  max-width: 360px;
  min-width: 360px !important;
  display: none !important;
  /* 动画配置 */
  transform-origin: top center;
  will-change: opacity, transform;
}

/* 弹窗显示在下方时的动画 */
.analysis_info__popup.active.position-below {
  display: block !important;
  animation: popupSlideInUp 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.analysis_info__popup.hide-popup.position-below {
  animation: popupSlideOutDown 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 弹窗显示在上方时的动画 */
.analysis_info__popup.active.position-above {
  display: block !important;
  animation: popupSlideInDown 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.analysis_info__popup.hide-popup.position-above {
  animation: popupSlideOutUp 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 默认动画（兼容没有位置类的情况） */
.analysis_info__popup.active {
  display: block !important;
  animation: popupSlideInUp 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.analysis_info__popup.hide-popup {
  animation: popupSlideOutDown 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.analysis_info__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  row-gap: 6px;
  padding: 0 6px;
}

.analysis_info__header h2 {
  font-size: 14px;
  color: var(--theme-dark-text-color);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 5px;
  cursor: pointer;
}

.analysis_info__header p {
  color: var(--theme-light-text-color);
  font-size: 12px;
}

.analysis_info__header p>span {
  position: relative;
  padding-left: 20px;
}

.analysis_info__header p>span:first-of-type {
  padding-left: 0;
}

.analysis_info__header p>span::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 10px;
  height: 1em;
  width: 1px;
  background: var(--theme-light-text-color);
}

.analysis_info__header p>span:first-of-type::before {
  content: unset;
}

.analysis_info__header_btn {
  min-width: 24px;
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: wrap;
  row-gap: 0;
  column-gap: 2px;
  margin-right: 8px;
}

.analysis_info__header_btn .analysis_info__import,
.analysis_info__header_btn .analysis_info__download {
  border: 1px solid var(--theme-primary-color);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 3px;
  padding: 0 3px;
  font-size: 12px;
  color: var(--theme-primary-color);
  height: 22px;
  line-height: 22px;
  background: #fff;
  cursor: pointer;
}

.knowledgebase__list--item__title .knowledgebase__list--import:hover {
  color: var(--theme-secondary-color);
  cursor: pointer;
}

.analysis_info__content {
  padding: 12px;
  background: #fefeff;
  border-radius: 8px;
  margin-top: 8px;
}

.analysis_info__tab {
  padding-bottom: 16px;
}

.analysis_info__tab button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--theme-dark-text-color);
  position: relative;
}

.analysis_info__tab button+button {
  margin-left: 20px
}

.analysis_info__tab button.active {
  color: var(--theme-primary-color);
}

.analysis_info__tab button.active:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 60%;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 40px;
  background-image: linear-gradient(45deg, var(--theme-primary-color), var(--theme-secondary-color));
}

.analysis_info__tabcontent {
  max-height: 120px;
  line-height: 20px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--theme-dark-text-color);
  display: none;
}

.analysis_info__tabcontent.active {
  display: block;
}

.analysis_info__tabcontent .law_item_content_title {
  font-weight: 500;
}

.analysis_info__tabcontent .law_item_content_text {
  /* margin-top: 8px; */
  line-height: 20px;
}

.analysis_info__tabcontent--empty {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}

.analysis_info__tabcontent--empty>div {
  flex: 1 1 50%;
  display: inline-flex;
  column-gap: 4px;
}

.analysis_info__tabcontent--empty>div span:first-child {
  color: var(--theme-light-text-color);
}

/* 历史沿革 */

.law_history_tab {
  border-collapse: collapse;
  border-spacing: 0;
}

.law_history_tab td {
  vertical-align: top;
  text-align: left;
  padding: 2px 8px;
  position: relative;
  color: var(--theme-medium-text-color);
}

.law_history_tab tr td:first-child {
  white-space: nowrap;
  border-right: 1px solid #DDDFE5;
}

.law_history_tab i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--theme-primary-color);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: -3px;
  margin: 0;
}

.law_history_tab td a:nth-child(2) {
  color: var(--theme-dark-text-color);
}

.law_history_tab td a:nth-child(2):hover {
  color: var(--theme-primary-color);
}

.law_history_tab span {
  font-size: 14px;
  color: var(--theme-dark-text-color);
  margin-left: 15px;
}

.law_item_content .no_content {
  text-align: center;
  color: var(--theme-dark-text-color);
}

.law_item_content .no_content img {
  width: 130px;
  height: 130px;
}

.law_item_content .no_content p {
  width: 280px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.law_item_content .no_content button {
  color: #fff;
  padding: 6px 15px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90.00deg, var(--theme-secondary-color) 4.612%, var(--theme-primary-color) 100%);
}

/* 文本选择操作框 */

.text-selection-menu {
  position: absolute;
  background: #fff;
  padding: 4px;
  display: none;
  z-index: 99;
  align-items: center;
  box-sizing: border-box;
  border: 1px solid rgb(237, 237, 237);
  border-radius: 8px;
  box-shadow: 0px 4px 16px 0 rgba(0, 0, 0, 0.12);
  flex-wrap: wrap;
  /* width: 260px; */
  align-items: flex-start;
  justify-content: flex-start;
}

.text-selection-menu.visible {
  display: block;
}

/* 按钮样式*/
.text-action-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  gap: 6px;
  white-space: nowrap;
  color: var(--theme-medium-text-color);
  flex-direction: column;
  align-items: center;
  width: 55px;
}

.text-action-btn:hover {
  background: #f5f5f5;
}

.text-action-btn i {
  font-size: 18px;
}

/* 分割线*/

.divider {
  width: 1px;
  height: 1em;
  background: #ddd;
  margin: 0 4px;
}

/* 动画 */
.page-load-animation {
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease-out;
  /* 设置过渡效果 */
  opacity: 1;
  /* 初始透明度 */
  z-index: 100;
}

.page-load-animation img {
  width: 300px;
}

/* 文书生成 结果下载文件新样式 */
.analysis_result_file {
  margin: 0 24px;
  padding: 18px 110px 18px 16px;
  border: 1px solid #efefef;
  border-radius: 8px;
  width: fit-content;
  max-width: calc(100% - 48px);
  position: relative;
  background-color: #f9f9fb;
  background-image: url(/static/Public/images/jufaAIimg/doc-download_bgicon.png);
  background-repeat: no-repeat;
  background-size: 100px 80px;
  background-position: right bottom;
  transition: 0.3s ease;
}

.analysis_result_file:hover {
  background-position: right 10px bottom;
}

.analysis_detail_content_title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
  line-height: 1;
}

.analysis_detail_content_title img {
  height: 18px;
  margin-right: 4px;
}

.analysis_detail_content_title p {
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
}

.analysis_detail_content_text {
  font-size: 12px;
  color: var(--theme-light-text-color);
}

.analysis_result_file_download {
  position: absolute;
  right: 18px;
  top: 20px;
  font-size: 18px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
}

.analysis_result_file_download:hover {
  color: var(--theme-primary-color);
  scale: 1.2;
  transition: all 0.15s;
}

.analysis_result_file_download i {
  font-size: inherit;
}

/* 历史记录加载中状态 */
.his_loading,
.history-list__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.loading-spinner,
.history-list__loading-spinner {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border: 3px solid #f0f0f0;
  border-top: 3px solid #1890ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.his_loading p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* 历史记录空状态 */
.history-list__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.history-list__empty-icon {
  font-size: 48px;
  color: #bfbfbf;
  margin-bottom: 16px;
}

.history-list__empty-icon i {
  display: inline-block;
}

.history-list__empty-text {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 500;
  color: #262626;
}

.history-list__empty-tip {
  margin: 0;
  font-size: 14px;
  color: #8c8c8c;
}

/* 历史记录错误状态 */
.history-list__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.history-list__error-icon {
  font-size: 48px;
  color: #ff4d4f;
  margin-bottom: 16px;
}

.history-list__error-icon i {
  display: inline-block;
}

.history-list__error-text {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 500;
  color: #262626;
}

.history-list__error-tip {
  margin: 0;
  font-size: 14px;
  color: #8c8c8c;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .his_loading {
    padding: 40px 20px;
  }

  .history-list__empty {
    padding: 60px 20px;
  }

  .history-list__error {
    padding: 60px 20px;
  }

  .history-list__empty-icon,
  .history-list__error-icon {
    font-size: 40px;
  }

  .history-list__empty-text,
  .history-list__error-text {
    font-size: 14px;
  }

  .history-list__empty-tip,
  .history-list__error-tip {
    font-size: 12px;
  }
}

/*  弹窗动画优化 */
.hisdataEdit_pop,
.coldataEdit_pop {
  z-index: 101;
  width: 130px;
  animation: popupSlideIn 0.2s ease-out;
  transform-origin: top left;
}

.hisdataEdit_pop.tool-dropdown-menu,
.coldataEdit_pop.tool-dropdown-menu {
  z-index: 101
}

.hisdataEdit_pop.hide,
.coldataEdit_pop.hide {
  animation: popupSlideOut 0.15s ease-in forwards;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popupSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
}


/* 删除确认动画 */
.hisdataDel_wrap {
  /* max-height: 0; */
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.hisdataDel_wrap.active {
  max-height: 72px;
}

.hisdataDel_wrap li {
  animation: toDown 0.3s ease-out;
}

@keyframes toDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 多选模式切换动画 */
.hismuticheck .history-item .history-item__check,
.hismuticheck .collect-item .collect-item__check {
  animation: slideInRight 0.2s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 复选框动画 */
.hismuticheck .history-item .history-item__check i,
.hismuticheck .collect-item .collect-item__check i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  transition: all 0.2s ease-in-out;
  position: relative;
  cursor: pointer;
}

.hismuticheck .history-item .history-item__check i:hover,
.hismuticheck .collect-item .collect-item__check i:hover {
  border-color: var(--theme-primary-color);
  transform: scale(1.05);
}

.hismuticheck .history-item.checked .history-item__check i,
.hismuticheck .collect-item.checked .collect-item__check i {
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  animation: checkboxCheck 0.3s ease-out;
}

@keyframes checkboxCheck {
  0% {
    transform: scale(0.8);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* 编辑模态框动画 */
.modal.hisNameEdit_modal {
  animation: fadeIn 0.2s ease-out;
}

.modal.hisNameEdit_modal.hide {
  animation: fadeOut 0.15s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* 按钮交互优化 */
.hisdataEditBtn,
.hisdataCollBtn,
.hisdataMutiCheckBtn,
.hisdataDelBtn,
.hisdataDelConfirmBtn,
.coldataEditBtn,
.coldataCancelBtn {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.hisdataEditBtn:active,
.hisdataCollBtn:active,
.hisdataMutiCheckBtn:active,
.hisdataDelBtn:active,
.hisdataDelConfirmBtn:active,
.coldataEditBtn:active,
.coldataCancelBtn:active {
  transform: scale(0.98);
}

/* 响应式优化 */
@media (max-width: 768px) {

  .hisdataEdit_pop,
  .coldataEdit_pop {
    width: 128px;
    z-index: 101;
  }

  .history-item .hisitem_inner .item_option,
  .collect-item .colitem_inner .item_option {
    min-width: 30px;
  }
}

/* 禁用多选模式时的过渡 */
#hisdataList.hismuticheck {
  transition: all 0.2s ease-in-out;
}

#hisdataList {
  transition: all 0.2s ease-in-out;
}

/* 平滑的显示/隐藏 */
.dropdown-menu {
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.dropdown-menu:not(:visible) {
  opacity: 0;
  visibility: hidden;
}

.dropdown-menu:visible {
  opacity: 1;
  visibility: visible;
}

/* 历史记录 */
.history-list {
  padding-right: 0;
}

.history-period {
  margin-top: 16px;
  position: relative;
}

.history-period:first-child {
  margin-top: 0;
}

.history-period__title {
  display: block;
  color: #999;
  margin-bottom: 8px;
  font-size: 12px;
}

.history-item {
  color: var(--theme-dark-text-color);
  margin-bottom: 4px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  column-gap: 8px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  width: 100%;
  transition: background-color 0.2s ease;
}

.history-item:hover {
  background-color: #f1f3f5;
}

.history-item.hover,
.history-item.active {
  background-color: #f1f3f5;
}

.history-item.is-active {
  background-color: var(--theme-light-color);
  color: var(--theme-primary-color);
}

.history-item.active.is-active {
  background-color: var(--theme-light-color);
}

.history-item__link {
  box-sizing: border-box;
  max-height: 60px;
  color: var(--theme-dark-text-color);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  padding: 9px 0 9px 0;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  position: relative;
  width: 100%;
  display: flex;
}

.history-item__link>b {}

.history-item__content {
  position: relative;
  padding-left: 15px;
  flex-grow: 1;
}

.history-item__indicator.history-item__indicator--point {
  min-width: 14px;
  color: #999;
  justify-content: center;
  align-items: center;
  width: 14px;
  height: 14px;
  display: inline-flex;
  font-weight: 600;
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 4px;
}

.history-item__indicator.history-item__indicator--point::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 10px;
  background: rgb(153, 153, 153);
}

.history-item__indicator.history-item__indicator--collapse {
  font-family: iconfont;
  color: #999;
  font-weight: 400;
  font-size: 12px;
  width: 14px;
  height: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 4px;
}

.history-item__indicator.history-item__indicator--collapse::before {
  content: '\e60d';
  transition: 0.3s all;
}

.history-item.is-active .history-item__indicator.history-item__indicator--collapse {
  color: var(--theme-primary-color);
}

.history-item__info {
  align-items: center;
  width: 100%;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding: 0;
  overflow: hidden;
  padding-right: 4px;
}

.history-item.is-active .history-item__info {
  color: var(--theme-secondary-color);
  padding-right: 8px;
}

.history-item__type {
  display: inline-flex;
  line-height: 22px;
  font-size: 12px;
  color: var(--theme-medium-text-color);
  background: rgb(237, 237, 246);
  padding: 0 4px;
  margin-right: 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.history-item.is-active .history-item__type {
  color: var(--theme-primary-color);
  background-color: var(--theme-light-border-color);
}

.history-item__actions {
  --mask-base-color: 241, 243, 245;
  background: linear-gradient(90deg, #f1f3f53d 0%, #f1f3f5e6 20.23%, #f1f3f5 40.62%);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 56px;
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}

.history-item:hover .history-item__actions,
.history-item.hover .history-item__actions {
  display: flex;
}

.history-item.is-active .history-item__actions,
.history-item.is-active:hover .history-item__actions {
  background: linear-gradient(90deg, rgb(232 239 255 / 15%) 0%, rgb(232 239 255 / 83%) 20.23%, rgb(232 239 255) 40.62%);
}

.history-icon-button.history-item__more-button {
  cursor: pointer;
  --hover-size: 28px;
  border-radius: 50%;
  outline: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  overflow: visible;
  pointer-events: auto;
  z-index: 10;
  position: absolute;
  right: 12px;
}

.history-icon-button__hover-bg {
  content: "";
  width: 28px;
  height: 28px;
  z-index: 0;
  background-color: transparent;
  border-radius: 50%;
  transition: background-color .2s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.history-icon-button:active .history-icon-button__hover-bg,
.history-icon-button:hover .history-icon-button__hover-bg {
  background-color: rgba(38, 49, 72, .06);
}

.history-icon {
  line-height: 0;
  display: inline-flex;
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.history-icon>svg {
  width: inherit;
  height: inherit;
}

.hismuticheck .history-item .history-item__actions {
  display: block;
  background: linear-gradient(90deg, #f9fafb3d 0%, #f9fafbe6 20.23%, #f9fafb 40.62%);
}

.hismuticheck .history-item.hover .history-item__actions,
.hismuticheck .history-item:hover .history-item__actions {
  background: linear-gradient(90deg, #f1f3f53d 0%, #f1f3f5e6 20.23%, #f1f3f5 40.62%)
}

.hismuticheck .history-item .history-item__more-button {
  display: none !important;
}

.hismuticheck .history-item .history-item__check {
  position: absolute;
  right: 0;
  min-width: 70px;
  height: 100%;
  padding-right: 13px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  top: 50%;
  transform: translateY(-50%);
}

.hismuticheck .history-item .history-item__check i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  transition: border-color 0.3s;
  position: relative;
}

.hismuticheck .history-item .history-item__check i:hover {
  border-color: var(--theme-primary-color);
}

.hismuticheck .history-item.checked .history-item__check i {
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
}

.hismuticheck .history-item .history-item__check i::before {
  box-sizing: content-box;
  content: "";
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 1px;
  transform: rotate(45deg) scaleY(0);
  width: 3px;
  transition: transform .15s ease-in .05s;
  transform-origin: center
}

.hismuticheck .history-item.checked .history-item__check i::before {
  transform: rotate(45deg) scaleY(1);
}

.hismuticheck .history-item .history-item__check i:hover {
  border-color: var(--theme-primary-color);
  transform: scale(1.05);
}

.hismuticheck .history-item.checked .history-item__check i {
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  animation: checkboxCheck 0.3s ease-out;
}

.history-item__collapse {
  display: none;
  width: 100%;
  padding: 0 12px 12px 12px;
}

.history-item__childitem {
  padding: 4px 8px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  position: relative;
}

.history-item__childitem:hover {
  color: var(--theme-primary-color);
  background: var(--theme-lighter-color);
  border-radius: 16px;
}

.history-item__childitem.active {
  color: var(--theme-primary-color);
}

.history-item__childitem p {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 24px;
}

.history-item__childitem span {
  position: absolute;
  right: 0;
  min-width: 70px;
  height: 20px;
  padding-right: 13px;
  display: none;
  justify-content: flex-end;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #ffffff 50%, #ffffff 100%);
}

.hismuticheck .history-item__childitem span {
  display: flex;
}

.history-item__childitem span i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.history-item__childitem span i:hover {
  border-color: var(--theme-primary-color);
}

.collect-item {
  color: var(--theme-dark-text-color);
  margin-bottom: 4px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  column-gap: 8px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  width: 100%;
  transition: background-color 0.2s ease;
}

.collect-item:hover,
.collect-item.hover {
  background-color: #f1f3f5;
}

.collect-item.is-active {
  background-color: var(--theme-light-color);
  color: var(--theme-primary-color);
}

.collect-item.active {
  background-color: #f1f3f5;
}

.collect-item.active.is-active {
  background-color: var(--theme-light-color);
}

.collect-item__link {
  box-sizing: border-box;
  max-height: 60px;
  color: var(--theme-dark-text-color);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  padding: 9px 0 9px 0;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  position: relative;
  width: 100%;
  display: flex;
}

.collect-item__content {
  position: relative;
  padding-left: 15px;
  flex-grow: 1;
}

.collect-item__indicator.collect-item__indicator--point {
  min-width: 14px;
  color: #999;
  justify-content: center;
  align-items: center;
  width: 14px;
  height: 14px;
  display: inline-flex;
  font-weight: 600;
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 4px;
}

.collect-item__indicator.collect-item__indicator--point::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 10px;
  background: rgb(153, 153, 153);
}

.collect-item__indicator.collect-item__indicator--collapse {
  font-family: iconfont;
  color: #999;
  font-weight: 400;
  font-size: 12px;
  width: 14px;
  height: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 4px;
}

.collect-item__indicator.collect-item__indicator--collapse::before {
  content: '\e60d';
  transition: 0.3s all;
}

.collect-item.active .collect-item__indicator.collect-item__indicator--collapse::before {
  transform: rotate(90deg);
}

.collect-item__info {
  align-items: center;
  width: 100%;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding: 0;
  overflow: hidden;
  padding-right: 4px;
}

.collect-item.is-active .collect-item__info {
  color: var(--theme-secondary-color);
  padding-right: 8px;
}

.collect-item__type {
  display: inline-flex;
  line-height: 22px;
  font-size: 12px;
  color: var(--theme-medium-text-color);
  background: rgb(237, 237, 246);
  padding: 0 4px;
  margin-right: 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.collect-item.is-active .collect-item__type {
  color: var(--theme-primary-color);
  background-color: var(--theme-light-border-color);
}

.collect-item__actions {
  --mask-base-color: 241, 243, 245;
  background: linear-gradient(90deg, #f1f3f53d 0%, #f1f3f5e6 20.23%, #f1f3f5 40.62%);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 56px;
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}

.collect-item:hover .collect-item__actions,
.collect-item.hover .collect-item__actions {
  display: flex;
}

.collect-item.is-active:hover .collect-item__actions {
  background: linear-gradient(90deg, rgb(232 239 255 / 15%) 0%, rgb(232 239 255 / 83%) 20.23%, rgb(232 239 255) 40.62%);
}

.collect-icon-button.collect-item__more-button {
  cursor: pointer;
  --hover-size: 28px;
  border-radius: 50%;
  outline: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  overflow: visible;
  pointer-events: auto;
  z-index: 10;
  position: absolute;
  right: 12px;
}

.collect-icon-button__hover-bg {
  content: "";
  width: 28px;
  height: 28px;
  z-index: 0;
  background-color: transparent;
  border-radius: 50%;
  transition: background-color .2s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.collect-icon-button:active .collect-icon-button__hover-bg,
.collect-icon-button:hover .collect-icon-button__hover-bg {
  background-color: rgba(38, 49, 72, .06);
}

.collect-icon {
  line-height: 0;
  display: inline-flex;
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.collect-icon>svg {
  width: inherit;
  height: inherit;
}

.hismuticheck .collect-item .collect-item__actions {
  display: block;
  background: linear-gradient(90deg, #f9fafb3d 0%, #f9fafbe6 20.23%, #f9fafb 40.62%);
}

.hismuticheck .collect-item.hover .collect-item__actions,
.hismuticheck .collect-item:hover .collect-item__actions {
  background: linear-gradient(90deg, #f1f3f53d 0%, #f1f3f5e6 20.23%, #f1f3f5 40.62%)
}

.hismuticheck .collect-item .collect-item__more-button {
  display: none !important;
}

.hismuticheck .collect-item .collect-item__check {
  position: absolute;
  right: 0;
  min-width: 70px;
  height: 100%;
  padding-right: 13px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  top: 50%;
  transform: translateY(-50%);
}

.hismuticheck .collect-item .collect-item__check i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  transition: border-color 0.3s;
  position: relative;
}

.hismuticheck .collect-item .collect-item__check i:hover {
  border-color: var(--theme-primary-color);
}

.hismuticheck .collect-item.checked .collect-item__check i {
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
}

.hismuticheck .collect-item .collect-item__check i::before {
  box-sizing: content-box;
  content: "";
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 1px;
  transform: rotate(45deg) scaleY(0);
  width: 3px;
  transition: transform .15s ease-in .05s;
  transform-origin: center
}

.hismuticheck .collect-item.checked .collect-item__check i::before {
  transform: rotate(45deg) scaleY(1);
}

.hismuticheck .collect-item .collect-item__check i:hover {
  border-color: var(--theme-primary-color);
  transform: scale(1.05);
}

.hismuticheck .collect-item.checked .collect-item__check i {
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  animation: checkboxCheck 0.3s ease-out;
}

/* 收藏列表子项样式 */
.collect-item__collapse {
  display: none;
  width: 100%;
  padding-left: 12px;
}

.collect-item__childitem {
  padding: 8px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  position: relative;
}

.collect-item__childitem:hover {
  color: var(--theme-primary-color);
}

.collect-item__childitem.active {
  color: var(--theme-primary-color);
}

.collect-item__childitem p {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 24px;
}

.collect-item__childitem span {
  position: absolute;
  right: 0;
  min-width: 70px;
  height: 20px;
  padding-right: 13px;
  display: none;
  justify-content: flex-end;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #ffffff 50%, #ffffff 100%);
}

.hismuticheck .collect-item__childitem span {
  display: flex;
}

.collect-item__childitem span i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.collect-item__childitem span i:hover {
  border-color: var(--theme-primary-color);
}