html {
  font-size: 10px;
  overflow-x: auto;
}

body {
  overflow-x: auto;
}

/* ::-webkit-scrollbar {
	display: none;
	width: 0.5rem;
	height: 0.5rem;
}

.scroll::-webkit-scrollbar {
	display: block;
}

::-webkit-scrollbar-thumb {
	border-radius: 1rem;
	background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-track {
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.8);
} */

.container {
  height: 100%;
  overflow-x: hidden;
  padding-left: 0;
  transition: all 0.2s;
}

.container.openHistory {
  padding-left: 28rem;
}

/* 下拉按钮 */

.dropdown-btn {
  display: flex;
  align-items: center;
  column-gap: 0.4rem;
  cursor: pointer;
}

.dropdown-btn img {
  height: 1.4rem;
  overflow: hidden;
}

/* 下拉项基础样式 */

.dropdown-menu-ai {
  display: none;
  position: fixed;
  top: 3rem;
  z-index: 99;
  padding: 0.8rem;
  box-sizing: border-box;
  border: 0.1rem solid #eee;
  border-radius: 0.8rem;
  box-shadow: 0 0 0.8rem 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  /* margin: 0rem 0.4rem; */
  overflow: hidden;
  max-width: calc(100% - 1rem);
}

.dropdown-menu-ai ul {
  max-height: 29rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.dropdown-menu-ai li {
  line-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0.8rem;
  column-gap: 1rem;
  cursor: pointer;
}

.dropdown-menu-ai li:hover {
  background: #f9f9fb;
  border-radius: 0.4rem;
}

.dropdown-menu-ai li img {
  width: 2.2rem;
}

.dropdown-menu-ai li i {
  color: #999;
}

.knowledge_base_dropdown>.line {
  height: 0.1rem;
  width: 100%;
  background: #f0f0f0;
  margin: 0.6rem 0;
}

.knowledge_base_dropdown>.knowledge_list_title {
  display: flex;
  align-items: center;
  line-height: 2.4rem;
  font-size: 1.4rem;
  color: var(--theme-dark-text-color);
  font-weight: bold;
  margin: 0.4rem 0;
  cursor: pointer;
}

.knowledge_base_dropdown>.knowledge_list_title>em {
  margin-right: 0.8rem;
}

/* 展开历史记录 */

.open-history-btn {
  /* width: 2.2rem; */
  height: 2.2rem;
  border: none;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #666;
  background: #fff;
  position: fixed;
  top: 1.5rem;
  left: 1rem;
  z-index: 1;
}

.open-history-btn i {
  font-size: 1.6rem;
  font-weight: normal;
}

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

.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: 28rem;
  transition: background 0.2s ease;
}

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

.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: 2rem;
  margin-bottom: 2rem;
}

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

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

.left-content .content-title i {
  cursor: pointer;
  font-size: 2rem;
}

.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 2rem;
}

.left-content .content-option button {
  background: var(--theme-light-color);
  border: 0.1rem solid var(--theme-light-border-color);
  box-shadow: none;
  box-sizing: border-box;
  color: var(--theme-dark-text-color);
  cursor: pointer;
  outline: none;
  padding: 0.4rem 1.5rem;
  position: relative;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  white-space: nowrap;
  align-items: center;
  border-radius: 0.8rem;
  display: flex;
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  height: 3.6rem;
  justify-content: center;
  line-height: 2.4rem;
  /* margin-right: 0.8rem; */
  opacity: 1;
  transition: all .3s;
  width: 20.2rem;
  margin-right: 0.8rem;
}

.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: 0.1rem solid #e8eaf2;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: row;
  height: 3.6rem;
  justify-content: center;
  position: relative;
  transition: all .3s;
  width: 3.6rem;
  cursor: pointer;
}

.left-content .history_search.active {
  padding: 0.8rem;
  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: 0.4rem 1.1rem;
  color: rgba(0, 0, 0, 0.88);
  font-size: 1.4rem;
  line-height: 1.5714285714285714;
  list-style: none;
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 0;
  border-radius: 0.6rem;
  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: 1.4rem;
  height: 2.4rem;
  line-height: 2.4rem;
  margin: 0 1.2rem;
  padding: 0;
  width: 14rem;
}

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

.left-content .history_search.active>i {
  font-size: 1.4rem;
  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: 0.1rem;
  width: 100%;
  background: #eee;
  margin-bottom: 2rem;
}

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

/* 历史数据 tab */

.hisdata-tabs {
  width: 100%;
  display: flex;
  justify-content: space-around;
  border-radius: 0.4rem;
  background: #f5f5f5;
  padding: 0.4rem;
  column-gap: 0;
  position: relative;
  height: 4rem;
}

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

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

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

.hisdata-tabitem {
  width: 50%;
  text-align: center;
  background: transparent;
  height: 3.2rem;
  line-height: 2.4rem;
  padding: 0.3rem 0;
  border-radius: 0.4rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: var(--theme-dark-text-color);
  white-space: nowrap;
}

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

/* 历史数据 */

.hisdata-list {
  position: relative;
  height: calc(100vh - 21rem);
  margin-top: 1.6rem;
}

/* 历史记录 操作 */

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

.hismuticheck .hisdataopt-box {
  display: flex;
  margin-bottom: 1.6rem;
}

.hisdataopt-checkbox_group {
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
}

.hisdataopt-checkbox_group span {
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 0.2rem;
  box-sizing: border-box;
  width: 1.4rem;
  height: 1.4rem;
  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: 0.7rem;
  left: 0.4rem;
  position: absolute;
  top: 0.1rem;
  transform: rotate(45deg) scaleY(0);
  width: 0.3rem;
  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: 0.2rem;
  transform: scale(.5);
  left: 0;
  right: 0;
  top: 0.5rem
}

.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: 1rem;
}

.hisdataopt-muticheck_option button {
  padding: 0;
  border: 0.1rem solid transparent;
  background: transparent;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 2.2rem;
  width: 2.4rem;
  height: 2.4rem;
  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;
}

.hisdata-list-inner::-webkit-scrollbar {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
}

.hisdata-list-inner .his_nodata {
  text-align: center;
  color: #999;
  padding: 4rem 0
}

.hisdata-list-inner .time_sort {
  display: block;
  color: #999;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.hisdata-list-inner .history_item,
.hisdata-list-inner .collect_item {
  color: var(--theme-dark-text-color);
  margin-bottom: 0.8rem;
  /* padding: 0.8rem; */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  column-gap: 0.8rem;
  /* row-gap: 0.8rem; */
  border-radius: 0.4rem;
  cursor: pointer;
  position: relative;
  width: 100%;
}

.history_item .hisitem_inner,
.collect_item .colitem_inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  column-gap: 0.8rem;
  padding: 0.8rem;
  width: 100%;
}

.history_item.active .hisitem_inner,
.history_item .hisitem_inner:hover,
.history_item.hover .hisitem_inner,
.collect_item.active .colitem_inner,
.collect_item .colitem_inner:hover,
.collect_item.hover .colitem_inner {
  background: var(--theme-hover-bg-color);
  color: var(--theme-medium-text-color);
}

.history_item .hisitem_inner>b,
.collect_item .colitem_inner>b {
  min-width: 1.4rem;
  color: #999;
  justify-content: center;
  align-items: center;
}

.history_item .hisitem_inner:hover>b,
.collect_item .colitem_inner:hover>b {
  color: var(--theme-primary-color);
}

.history_item .hisitem_inner>b.point,
.collect_item .colitem_inner>b.point {
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  font-weight: 600;
}

.history_item .hisitem_inner>b.point::before,
.collect_item .colitem_inner>b.point::before {
  content: '';
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 1rem;
  background: #999
}

.history_item .hisitem_inner:hover>b.point::before,
.collect_item .colitem_inner:hover>b.point::before {
  background-color: var(--theme-primary-color);
}

.history_item .hisitem_inner>b.collapse,
.collect_item .colitem_inner>b.collapse {
  font-family: 'iconfont';
  font-weight: 400;
  font-size: 1.4rem;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
}

.history_item .hisitem_inner>b.collapse::before,
.collect_item .colitem_inner>b.collapse::before {
  content: '\e60d';
  transition: all 0.3s;
}

.history_item.active .hisitem_inner>b.collapse::before,
.collect_item.active .colitem_inner>b.collapse::before {
  transform: rotate(180deg);
  color: var(--theme-primary-color)
}

.history_item .hisitem_inner .hisitem_label,
.collect_item .colitem_inner .colitem_label {
  display: block;
  background: var(--theme-label-default-bg-color);
  padding: 0 0.8rem;
  line-height: 2.4rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  font-size: 1.2rem;
  color: var(--theme-medium-text-color);
}

.history_item .hisitem_inner p.item_title,
.collect_item .colitem_inner p.item_title {
  flex-grow: 1;
  border: 0;
  line-height: 2.4rem;
  background: transparent;
  cursor: pointer;
  text-overflow: ellipsis;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 7.2rem);
}

.history_item .hisitem_inner .item_option,
.collect_item .colitem_inner .item_option {
  display: none;
  min-width: 4rem;
  height: 2rem;
  text-align: right;
  position: absolute;
  right: 1.2rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, var(--theme-hover-bg-color) 50%, var(--theme-hover-bg-color) 100%);
}

.history_item .hisitem_inner:hover .item_option,
.history_item .hisitem_inner.hover .item_option,
.collect_item .colitem_inner:hover .item_option,
.collect_item .colitem_inner.hover .item_option {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--theme-primary-color);
}

.history_item .hisitem_inner .item_check,
.collect_item .colitem_inner .item_check {
  display: none;
}

.hismuticheck .history_item .hisitem_inner:hover .item_option,
.hismuticheck .history_item .hisitem_inner.hover .item_option,
.hismuticheck .collect_item .colitem_inner:hover .item_option,
.hismuticheck .collect_item .colitem_inner.hover .item_option {
  display: none !important;
}

.hismuticheck .history_item .hisitem_inner .item_check,
.hismuticheck .collect_item .colitem_inner .item_check {
  position: absolute;
  right: 0;
  min-width: 7rem;
  height: 2rem;
  padding-right: 1.3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #fff 50%, #fff 100%);
}

.hismuticheck .history_item .hisitem_inner:hover .item_check,
.hismuticheck .collect_item .colitem_inner:hover .item_check,
.hismuticheck .history_item.active .hisitem_inner .item_check,
.hismuticheck .collect_item.active .colitem_inner .item_check {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, var(--theme-hover-bg-color) 50%, var(--theme-hover-bg-color) 100%);
}

.hismuticheck .history_item .hisitem_inner .item_check i,
.hismuticheck .collect_item .colitem_inner .item_check i {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  border: 0.1rem solid #ccc;
  border-radius: 0.2rem;
  transition: border-color 0.3s;
  position: relative;
}

.hismuticheck .history_item .hisitem_inner .item_check i:hover,
.hismuticheck .collect_item .colitem_inner .item_check i:hover {
  border-color: var(--theme-primary-color);
}

.hismuticheck .history_item.checked .hisitem_inner .item_check i,
.hismuticheck .collect_item.checked .colitem_inner .item_check i {
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
}

.hismuticheck .history_item .hisitem_inner .item_check i::before,
.hismuticheck .collect_item .colitem_inner .item_check i::before {
  box-sizing: content-box;
  content: "";
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 0.7rem;
  left: 0.4rem;
  position: absolute;
  top: 0.1rem;
  transform: rotate(45deg) scaleY(0);
  width: 0.3rem;
  transition: transform .15s ease-in .05s;
  transform-origin: center
}

.hismuticheck .history_item.checked .hisitem_inner .item_check i::before,
.hismuticheck .collect_item.checked .colitem_inner .item_check i::before {
  transform: rotate(45deg) scaleY(1);
}

.history_item .hisitem_collapse {
  display: none;
  width: 100%;
  padding-left: 2.2rem;
}

.history_item .hisitem_childitem {
  padding: 0.8rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  position: relative;
}

.history_item .hisitem_childitem:hover {
  color: var(--theme-primary-color);
}

.history_item .hisitem_childitem.active {
  color: var(--theme-primary-color);
}

.history_item .hisitem_childitem p {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2.4rem;
}

.history_item .hisitem_childitem span {
  position: absolute;
  right: 0;
  min-width: 7rem;
  height: 2rem;
  padding-right: 1.3rem;
  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 .hisitem_childitem span {
  display: flex;
}

.history_item .hisitem_childitem span i {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  border: 0.1rem solid #ccc;
  border-radius: 0.2rem;
  transition: border-color 0.3s;
}

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

/* 历史记录弹框 */

.hisdataDel_wrap {
  position: relative;
}

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

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

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

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

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

/* 右侧 */

.hasSession {
  padding: 0 0 1rem;
  height: 100vh;
  background: #fff;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  row-gap: 1.2rem;
}

.hasSession.checkCollect {
  padding-bottom: 6rem;
}

.main-content-head {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-top: 1.8rem;
  column-gap: 1.4rem;
}

.main-content-head p {
  display: none;
  justify-content: space-between;
  align-items: center;
  column-gap: 0.4rem;
  color: #666;
  line-height: 2rem;
}

.hasSession .main-content-head p {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  padding-left: 7.4rem;
}

.main-content-head p span {
  color: var(--theme-primary-color);
}

.session_opt {
  display: none;
  justify-content: space-between;
  column-gap: 1rem;
}

.hasSession .session_opt {
  display: flex;
}

.session_opt button {
  border: 0.1rem solid transparent;
  background: transparent;
  font-size: 1.2rem;
}

.session_opt button i {
  color: #666
}

.session_opt button:hover i {
  color: var(--theme-primary-color)
}

.que-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 0.4rem;
  padding: 0 0 1.2rem;
  width: 100%;
}

.main-actions.selectedType .que-tabs {
  width: calc(100% - 16px);
  margin: 0px 0 0 16px;
  background: transparent;
  /* border-radius: 1.6rem 1.6rem 0 0; */
  border-bottom: 1px solid #eee;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}

.hasSession .main-actions .que-tabs {
  display: none;
}

.que-tabitem {
  box-sizing: border-box;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.4rem;
  font-size: 1.4rem;
  cursor: pointer;
  width: 8rem;
  white-space: nowrap;
  margin-right: 1.2rem;
  padding: 6px 0;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.main-actions.selectedType .que-tabitem.active {
  border-bottom-color: var(--color-primary-product);
  color: var(--color-primary-product);
  font-weight: 600;
}

.main-actions.selectedType .que-tabitem:first-of-type {
  border-left: 0;
}

.que-tabitem i {
  font-size: 1.6rem;
  line-height: 2rem;
}

.que-tabitem span {
  display: block;
  font-size: 1.2rem;
  font-weight: inherit;
  line-height: 2rem;
  letter-spacing: 0;
  text-align: left;
}

.que-tabitem b {
  display: none;
  font-size: 1rem;
  line-height: 2rem;
  color: #b25f0e;
  cursor: pointer;
}

.main-actions.selectedType .que-tabitem.active b {
  display: block;
}

.que-tabs .que-mode-select {
  border: 0.1rem solid #ffefdd;
  background: #ffefdd;
  border-radius: 1.4rem;
  justify-content: center;
  align-items: center;
  height: 2.8rem;
  padding: 0 2.6rem 0 1.2rem;
  font-size: 1.2rem;
  color: #b25f0e;
  column-gap: 0.4rem;
  cursor: pointer;
  transition: color 0.1s ease-in, background 0.2s ease-in-out;
  position: absolute;
  right: 0;
  display: none;
}

.main-actions.selectedType .que-tabs .que-mode-select {
  display: flex;
  right: 1rem;
}

.que-tabs .que-mode-select::after {
  content: '\e77f';
  position: absolute;
  right: 1rem;
  font-family: 'iconfont';
}

/* 提问框 */

.que-content {
  cursor: text;
  box-sizing: border-box;
  width: 100%;
  font-size: 1.4rem;
  line-height: 2.4rem;
  box-shadow: none;
  background-color: #fff;
  border-radius: 2.4rem;
  flex-direction: column;
  display: flex;
}

.main-actions.full_screen .que-content {
  flex: 1;
}

.que-inner {
  position: relative;
  border: 0.1rem solid #ededed;
  border-radius: 1.6rem;
  box-shadow: 0rem 0rem 1.6rem 0rem rgba(188, 188, 188, 0.25);
  background: #fff;
  z-index: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 3rem 1rem 1rem;
  display: flex;
  /* overflow: hidden; */
}

.main-actions.selectedType.full_screen .que-inner {
  flex: 1;
  padding-top: 3rem;
}

.main-actions.selectedType .que-inner {
  border: none;
  box-shadow: none;
  padding: 1rem 1.6rem;
}

.main-actions.handling .que-inner,
.main-actions.finish .que-inner {
  padding: 1rem;
}

.que-inner-head {
  position: absolute;
  top: 1rem;
  right: 0;
  width: 100%;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  pointer-events: none;
}

.main-actions.selectedType .que-inner-head {
  width: 7rem;
}

.main-actions.full_screen .que-inner-head {
  pointer-events: all;
  top: 0;
  right: 0;
}

.main-actions.handling .que-inner-head,
.main-actions.finish .que-inner-head {
  display: none;
}

.que-inner-headlabel {
  background-image: linear-gradient(270deg, #ffebe4, #fff3df);
  border: 0.1rem solid #ffe5cc;
  border-radius: 1.4rem 0 0.8rem 0;
  position: absolute;
  height: 2.6rem;
  font-size: 1.3rem;
  line-height: 2.6rem;
  padding: 0 0.8rem 0 1.2rem;
  color: #b25f0e;
  z-index: 3;
  border-top: 0;
  border-left: 0;
  display: flex;
  align-items: center;
}

.main-actions.selectedType .que-inner-headlabel {
  display: none;
}

.que-inner-headlabel span {
  position: relative;
  padding: 0 2rem 0 0;
}

.que-inner-headlabel span::after {
  content: '\e77f';
  position: absolute;
  right: 0;
  font-family: 'iconfont';
}

.que-inner-btns {
  display: flex;
  justify-content: flex-end;
  column-gap: 0.8rem;
  position: absolute;
  top: 0.3rem;
  right: 0.6rem;
}

.main-actions.full_screen .que-inner-btns {
  display: flex;
}

.que-inner-btns.active {
  display: flex;
}

.que-inner-btns button {
  min-width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #666;
  background: transparent;
}

.que-inner-btns button:hover,
.que-inner-btns button:active {
  background: #f5f5f5;
}

.que-inner-btns button i {
  color: inherit;
}

.que-inner-btns button.minimizeBtn i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.que-inner-btns button.fullScreenBtn {
  display: none;
}

.main-actions.full_screen .que-inner-btns button.fullScreenBtn.active i::before {
  content: '\e63b'
}

.main-actions.full_screen .que-inner-btns button.fullScreenBtn {
  display: flex;
}

.que-inner-btns button.minimizeBtn {
  display: none;
}

.hasSession .que-inner-btns button.minimizeBtn {
  display: block;
  pointer-events: all;
}

.que-input-outer {
  width: 100%;
  /* max-height: 36.6rem; */
  position: relative;
}

.main-actions.full_screen .que-input-outer {
  max-height: unset;
  height: 100%;
  max-height: 37.8rem;
  overflow-y: auto;
}

.main-actions.handling .que-input-outer,
.main-actions.finish .que-input-outer {
  display: none;
}

.que-input-outer .text-chat-input,
.que-input-outer .que-input-place {
  font-size: inherit;
  line-height: inherit;
  word-break: break-word;
  white-space: pre-wrap;
  border: none;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: inherit;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
}

.que-input-outer .text-chat-input {
  resize: none;
  color: #404040;
  caret-color: #404040;
  background-color: transparent;
  position: absolute;
  padding-right: 2rem;
  height: 100%;
}

.que-input-outer .text-chat-input::placeholder {
  color: #999;
  opacity: 1;
}

.que-input-outer .que-input-place {
  visibility: hidden;
  pointer-events: none;
  min-height: 60px;
}

.que-input-outer .que-input-section {
  display: none;
  margin-bottom: 1rem;
}

.que-input-outer .que-input-section.active {
  display: block;
  min-height: 60px;
  height: 100%;
}

.que-input-outer .que-input-section.active .section_item_wrap {
  display: none;
  height: 100%;
}

.que-input-outer .que-input-section.active .section_item_wrap.active {
  display: block;
}

.placeholder-content {
  position: absolute;
  top: 0;
  left: 0;
  color: #999;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1;
}

.placeholder-button {
  /* 允许按钮接收点击 */
  font-size: 12px;
  cursor: pointer;
  color: var(--ms-color-theme);
  padding: 0;
  border: 0;
  background: transparent;
}

.que-input-btns-outer {
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.4rem;
  display: flex;
  width: 100%;
}

.main-actions .gen_location {
  display: none;
}

.main-actions[data-t="文书生成"] .gen_location {
  display: block;
}

.main-actions #onlineSearchBtn {
  display: none;
}

.main-actions[data-t="法律问答"] #onlineSearchBtn {
  display: flex;
}

.main-actions #ProfessionalFormatShow {
  display: none;
}

.main-actions[data-t="法律问答"] #ProfessionalFormatShow {
  display: flex;
}

.main-actions .knowledge_base {
  display: none;
}

.main-actions[data-t="文书生成"] .knowledge_base,
.main-actions[data-t="法律问答"] .knowledge_base {
  display: block;
}

.main-actions.handling .que-input-btns-outer,
.main-actions.finish .que-input-btns-outer {
  margin: 0.2rem 0;
  transition: margin 0.3s ease-in;
}

.que-func-btns-outer {
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  display: flex;
  flex-basis: 0%;
  flex-grow: 1;
  flex-shrink: 1;
}

.main-actions.handling .que-func-btns-outer,
.main-actions.finish .que-func-btns-outer {
  justify-content: flex-end;
}

.main-actions.handling .que-input-btns-outer .que-input-btn:not(#createContentBtn),
.main-actions.finish .que-input-btns-outer .que-input-btn:not(#createContentBtn) {
  display: none;
}

.que-func-btns-outer .que-handling-tips {
  display: none;
  color: var(--theme-primary-color);
  cursor: not-allowed;
}

.main-actions.handling .que-func-btns-outer .que-handling-tips {
  display: block;
  flex-grow: 1;
}

.main-actions.handling .que-func-btns-outer .que-ishandling-tips__txt {
  position: relative;
  padding-left: 3rem;
  display: flex;
  align-items: center;
}

.main-actions.handling .que-func-btns-outer .que-ishandling-tips__txt::before {
  content: '';
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-image: url(/static/img/client/handling_icon.png);
  background-size: 100% 100%;
  left: 0;
  animation: rotating 2s linear infinite;
}

.que-input-btn {
  border: 0.1rem solid #9dbef5;
  background: #fff;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  height: 3.2rem;
  margin-right: 1rem;
  padding: 0 0.7rem;
  display: flex;
  column-gap: 0.4rem;
  align-items: center;
  cursor: pointer;
  transition: color 0.1s ease-in, background 0.2s ease-in-out;
}

.hasSession #queModeSelect {
  display: none;
}

.que-input-btns-outer .que-input-btn {
  /* color: #666; */
  font-size: 1.2rem;
  font-weight: normal;
}

.que-input-btns-outer .que-input-btn[data-sign="gen_location"] {
  color: var(--theme-primary-color);
  background: var(--theme-light-color);
  border: 0.1rem solid var(--theme-light-color);
}

.que-input-btns-outer .que-input-btn[data-sign="modelTypes"] {
  /* color: var(--theme-primary-color); */
  /* background: var(--theme-light-color); */
  /* border: 0.1rem solid var(--theme-light-color); */
}

.que-input-btns-outer .que-input-btn b {
  font-weight: normal;
}

.que-input-btns-outer .que-input-btn.active[data-sign="knowledge_base"] em {
  display: block;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  text-align: center;
  line-height: 2rem;
  border-radius: 50%;
  /* background: #F5F8FF; */
  color: var(--color-primary-product);
}

.que-func-btns-outer .que-input-btn {
  color: #666;
  font-size: 1.6rem;
  height: 2.4rem;
  padding: 0 0.3rem;
  margin-left: 1.3rem;
}

.que-input-btns-outer .que-input-btn .iconfont {
  font-size: inherit;
}

.que-input-btns-outer .que-input-btn.active {
  /* color: var(--theme-primary-color); */
  /* background: var(--theme-light-color); */
  /* border-color: var(--theme-light-color); */
}

.que-mode-val {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  row-gap: 0.2rem;
}

#queModeSelect .que-input-btn__icon {
  height: 14px;
  display: flex;
  justify-content: center;
  /* margin-right: 0.4rem; */
}

#queModeSelect .que-input-btn__icon img {
  width: 100%;
  height: 100%;
}

.que-mode-val .que-input-btn__type {
  font-size: 1.2rem;
  line-height: 1;
  color: var(--theme-dark-text-color);
}

.que-mode-val .que-input-btn__txt {
  font-size: 1.6rem;
  line-height: 0.8rem;
  display: block;
  transform: scale(0.5);
  transform-origin: left;
}

.que-input-btn__switch {
  display: block;
  width: 1.6rem;
  height: 0.8rem;
  background: #eee;
  border-radius: 5rem;
  margin-left: 0.5rem;
  position: relative;
  transition: 0.3s ease-in-out;
}

.que-input-btn.active .que-input-btn__switch {
  background: var(--theme-primary-color);
}

.que-input-btn__switch::after {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 0.1rem;
  width: 0.6rem;
  height: 0.6rem;
  cursor: pointer;
  background: #fff;
  border-radius: 5rem;
  transition: 0.3s ease-in-out;
}

.que-input-btn.active .que-input-btn__switch::after {
  left: 0.9rem;
}

.que-mode-val i {
  display: block;
  width: 100%;
  height: 1.2rem;
  background-size: 100% auto;
  background-repeat: no-repeat;
  pointer-events: none;
}

.que-mode-val .iconfont[data-t="aldsChat"] {
  background-image: url(/static/img/client/model_deepseek.png);
}

.que-mode-val .iconfont[data-t="chat"] {
  background-image: url(/static/img/client/model_wxyy.png);
}

.que-mode-val .iconfont[data-t="tyqwChat"] {
  background-image: url(/static/img/client/model_tyqw.png);
}

.que-mode-val .iconfont[data-t="kimi"] {
  background-image: url(/static/img/client/model_kimi.png);
}

.que-mode-val .iconfont[data-t="xfChat"] {
  background-image: url(/static/img/client/model_xfxh.png);
}

.que-mode-val .iconfont[data-t="dbChat"] {
  background-image: url(/static/img/client/model_db.png);
}

.que-input-btn.que-input-btn--icon {
  border-radius: 0.8rem;
  border: 0.1rem solid transparent;
  background: transparent;
  margin-right: 0;
}

.que-input-btn.que-input-btn--icon .que-input-btn__icon {
  white-space: nowrap;
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
}

.que-input-btn.que-input-btn--icon .que-input-btn__icon img {
  width: 100%;
  height: 100%;
}

.main-actions.full_screen #fullScreenBtn {
  display: none;
}

.que-input-btn.que-input-btn--icon:not(#createContentBtn):hover,
.que-input-btn.que-input-btn--icon:active {
  border: 0.1rem solid #f5f5f5;
  background: #f5f5f5;
}

.que-input-btn.que-input-btn--primary {
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
  width: 3rem;
  height: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0rem 1.2rem;
  background: linear-gradient(135.00deg, var(--color-primary-product) 0%, var(--theme-primary-color) 100%);
  transition: 0.1s ease;
}

.que-input-btn.que-input-btn--primary:active {
  background: linear-gradient(135.00deg, var(--theme-secondary-color) 0%, var(--theme-primary-color) 100%);
}

.que-input-btn.que-input-btn--primary:hover {
  opacity: 0.85;
}

.que-input-btn.que-input-btn--icon.que-input-btn--primary {
  margin-left: 1.6rem;
}

.que-input-btn.que-input-btn--icon.que-input-btn--primary.is-disabled {
  filter: grayscale(1);
  opacity: 0.5;
  cursor: not-allowed;
}

.que-input-btn--disabled,
.que-input-btn--disabled:hover {
  cursor: not-allowed;
  box-shadow: none;
  color: #999;
  opacity: 0.5;
  pointer-events: none;
}

/* 文件列表容器 */

.que-input-foot {
  position: relative;
  margin-top: 1rem;
  width: 100%;
  display: none;
}

.que-input-foot--devider {
  height: 0.1rem;
  width: 100%;
  background: #eee;
}

.que-input-foot--filelist {
  display: flex;
  flex-direction: column;
  margin-top: 1.2rem;
  width: 100%;
  /* overflow-x: auto;
    overflow-y: hidden; */
}

.que-input-foot--filelist__inner {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  column-gap: 1.6rem;
  row-gap: 0.8rem;
  /* overflow-x: auto; */
  /* overflow-y: hidden; */
}

.que-input-foot--filelist__inner.active {
  display: flex;
}

/* 文件项容器 */

.attachment-file__item {
  height: 5.6rem;
  background: #f8f8f8;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
  position: relative;
  animation-name: upbit;
  animation-duration: 0.3s;
  animation-fill-mode: both;
}

.attachment-file__item[data-type="file"] {
  padding: 0.2rem 1.4rem 0.2rem 0.8rem;
  flex: 1 1 calc(33.333% - 1.2rem);
  /* max-width: calc(50% - 0.8rem); */
  max-width: 25%;
}

.attachment-file__item[data-type="img"] {
  /* width: 5rem; */
  padding: 0.2rem 1.4rem 0.2rem 0.8rem;
  flex: 1 1 calc(33.333% - 1.2rem);
  /* max-width: calc(50% - 0.8rem); */
  max-width: 25%;
}

.attachment-file__item .file_del {
  position: absolute;
  right: -0.3rem;
  top: 0.2rem;
  display: flex;
  align-items: center;
  line-height: 1;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: #414141;
}

.attachment-file__item .file_del:hover {
  color: #666
}

.attachment-file__item .file_del i {
  font-size: 1.6rem;
  color: #666;
}

/* 文件图标 */

.attachment-file__item .file_icon {
  width: 2.8rem;
  min-width: 2.8rem;
  height: 2.8rem;
  background-size: 100% 100%;
}

.attachment-file__item.is-handling .file_icon,
.attachment-file__item.is-failed .file_icon {
  filter: grayscale(1);
}

.attachment-file__item[data-ft="pdf"] .file_icon {
  background-image: url(/static/Public/images/jufaai/file_pdf.png);
}

.attachment-file__item[data-ft="doc"] .file_icon,
.attachment-file__item[data-ft="docx"] .file_icon {
  background-image: url(/static/Public/images/jufaai/file_doc.png);
}

.attachment-file__item[data-ft="xls"] .file_icon,
.attachment-file__item[data-ft="xlsx"] .file_icon {
  background-image: url(/static/Public/images/jufaai/file_xls.png);
}

.attachment-file__item[data-ft="txt"] .file_icon {
  background-image: url(/static/Public/images/jufaai/file_txt.png);
}

/* 文件信息 */

.attachment-file__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  max-width: calc(100% - 2.8rem);
}

.attachment-file__info p {
  margin: 0;
  font-size: 1.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.attachment-file__info em {
  font-size: 1.2rem;
  color: #888;
}

.attachment-file__title {
  font-size: 1.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.is-failed .attachment-file__title {
  cursor: pointer;
}

.attachment-file__desc {
  font-size: 1.2rem;
  color: var(--theme-light-text-color);
  display: flex;
  column-gap: 0.6rem;
  align-items: center;
}

.attachment-file__status {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  column-gap: 0.2rem;
}

.is-failed .attachment-file__status {
  color: var(--theme-label-fifth-bg-color);
  cursor: pointer;
}

.attachment-file__status i {
  color: inherit;
  font-size: 1.3rem;
  line-height: 1;
}

/* 图片项 */

.attachment-file__item .file_img {
  /* width: 100%;
  height: 100%; */
  width: 5rem;
  height: 5rem;
  border-radius: 0.8rem;
  overflow: hidden;
}

.attachment-file__item .file_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* logo区域 */

.branding-container {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.2rem;
  padding-top: max(calc(50vh - 32rem), 10rem);
}

.branding-container img {
  width: 100%;
  height: 100%;
}

.brand-logo {
  /* width: 3.5rem; */
  width: 4rem;
  height: 4rem;
  transition: 0.3s;
}

@media (max-width: 520px) {
  .brand-logo {
    /* width: 2.625rem; */
    width: 3rem;
    height: 3rem;
    min-width: 2.625rem;
  }
}

.branding-divider {
  width: 0.1rem;
  height: 1em;
  font-size: 2rem;
  background: #999;
}

.partner-logo {
  width: 4.35rem;
  height: 3.2rem;
  transition: 0.3s;
}

@media (max-width: 520px) {
  .partner-logo {
    width: 3.3rem;
    height: 2.4rem;
    min-width: 3.3rem;
  }
}

.brand-slogan {
  color: var(--theme-dark-text-color);
  font-size: 2.6rem;
  font-weight: 400;
  height: 2.6rem;
  line-height: 2.6rem;
  letter-spacing: 0.6rem;
  text-align: left;
  padding-left: 0.4rem;
  white-space: nowrap;
  position: relative;
  /* 光泽效果实现 */
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, var(--theme-dark-text-color) 0%, var(--theme-secondary-color) 10%, var(--theme-primary-color) 20%, var(--theme-secondary-color) 30%, var(--theme-dark-text-color) 40%);
  background-size: 300% 105%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gloss 3s cubic-bezier(0.4, 0, 1, 1) infinite;
}

@keyframes gloss {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* 主功能区域 */
.hasSession .main-actions {
  margin-top: 0;
}

.hasSession.checkCollect .main-actions {
  display: none !important;
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  overflow: hidden;
}

.main-actions.selectedType {
  position: relative;
  /* border: 0.1rem solid #ededed; */
  border-radius: 8px;
  box-shadow: 0rem 0rem 1.6rem 0rem rgba(188, 188, 188, 0.25);
  background: #fff;
  z-index: 99;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  display: flex;
  width: 82.8rem;
  transition: opacity 0.2s;
}

.main-actions.selectedType[data-t="文书生成"] .que-file-btn {
  display: none;
}

.main-actions.selectedType[data-t="法律问答"] #showExampleBtn,
.main-actions.selectedType[data-t="文书生成"] #showExampleBtn {
  display: none;
}

.main-actions.handling .que-func-btns-outer .que-input-btn {
  filter: grayscale(100%);
  opacity: 0.5;
  cursor: not-allowed;
}

.main-actions.handling .que-func-btns-outer #createContentBtn {
  filter: grayscale(0%);
  opacity: 1;
  cursor: pointer;
}

.main-actions.handling .que-func-btns-outer #createContentBtn i::before {
  content: '\e652'
}

.main-actions.full_screen {
  /* position: fixed; */
  /* width: min(84rem, 100%);
	height: calc(100vh - 5.4rem); */
  width: 82.8rem;
  height: 50rem;
  background: white;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  z-index: 2;
  /* margin-top: 4.4rem; */
}

.hasSession .main-actions.full_screen {
  margin-top: 4.4rem;
}

/* 提问 */

.intelligent_analysis_wrap {
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  flex-grow: 1;
  position: relative;
}

.intelligent_analysis_scroll {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
}

.intelligent_analysis {
  display: none;
  padding: 1.2rem 0;
}

.intelligent_analysis .analysis_item {
  padding-bottom: 3rem;
  margin-top: 2rem;
  position: relative;
  transition: padding 0.15s;
}

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

.checkCollect .intelligent_analysis .analysis_item {
  padding: 1.2rem 1.2rem 1.2rem 1.6rem;
  /* background: #f5f5f5; */
  border-radius: 1rem;
  transition: 0.15s;
}

.checkCollect .intelligent_analysis .analysis_item:hover,
.checkCollect .intelligent_analysis .analysis_item.active {
  background: #f5f5f5;
}

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

.analysis_item__question em {
  display: none !important;
}

.analysis_item__answer {
  position: relative;
}

.intelligent_analysis .analysis_tooltip__block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* position: absolute; */
  /* right: 0; */
  /* bottom: -0.7rem; */
  column-gap: 1.6rem;
  width: 100%;
  padding-left: 2.4rem;
  height: 2.8rem;
  margin-top: 1rem;
}

.hasSession.checkCollect .intelligent_analysis .analysis_tooltip__block {
  display: none;
}

.intelligent_analysis .analysis_tooltip__block i {
  font-size: 1.6rem;
  font-weight: 400;
  cursor: pointer;
  color: var(--theme-primary-color);
}

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

.intelligent_analysis .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: 0.4rem;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  line-height: 2rem;
  opacity: 1;
  transition: opacity 0.2s;
}

.intelligent_analysis .analysis_tooltip__block button:hover {
  opacity: 0.8;
}

.intelligent_analysis .analysis_tooltip__block>div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 1.6rem;
  flex-grow: 1;
  padding: 0 0.5rem;
}

.intelligent_analysis .analysis_item__collapse {
  display: flex;
  justify-content: flex-start;
  /* padding-top: 4rem; */
  /* padding-left: 2.4rem; */
}

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

.analysis_item__collapse .answer_collapse_open {
  width: 10rem;
  line-height: 2.4rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  column-gap: 0.2rem;
  white-space: nowrap;
  color: var(--theme-primary-color);
  padding: 0.8rem 1.2rem 0.8rem 1.2rem;
  border-radius: 1.2rem 1.2rem 1.2rem 0rem;
  background: #f5f5f5;
  cursor: pointer;
}

/* 问题 文件 */

.intelligent_analysis .question_file {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1.6rem;
  row-gap: 0.8rem;
  margin-bottom: 1.6rem;
  width: 100%;
}


.intelligent_analysis .question_file_item {
  height: 5rem;
  background: #f8f8f8;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
  position: relative;
  animation-name: upbit;
  animation-duration: 0.3s;
  animation-fill-mode: both;
}

.intelligent_analysis .question_file_item[data-type="file"] {
  padding: 0.2rem 1.4rem 0.2rem 0.8rem;
  flex: 1 1 calc(33.333% - 1.2rem);
  max-width: calc(50% - 0.8rem);
}

.intelligent_analysis .question_file_item[data-type="img"] {
  width: 5rem;
}

/* 文件图标 */

.intelligent_analysis .question_file_item .file_icon {
  width: 2.8rem;
  min-width: 2.8rem;
  height: 2.8rem;
  background-size: 100% 100%;
}

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

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

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

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

/* 文件信息 */

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

.intelligent_analysis .question_file_item .file_info p {
  margin: 0;
  font-size: 1.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.intelligent_analysis .question_file_item .file_info em {
  font-size: 1.2rem;
  color: #888;
}

/* 图片项 */

.intelligent_analysis .question_file_item .file_img {
  width: 100%;
  height: 100%;
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
}

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

.intelligent_analysis .question_quote {
  position: relative;
  max-width: 100%;
  margin-bottom: 1.6rem;
}

.intelligent_analysis .question_quote_item {
  max-width: 100%;
  width: fit-content;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #f5f5f5;
  padding: 0 0.8rem;
  font-size: 1.2rem;
  line-height: 2.4rem;
  color: #666;
  cursor: pointer;
  border-radius: 0.4rem;
  column-gap: 0.6rem;
}

.intelligent_analysis .question_quote_item em {}

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

.intelligent_analysis .question_quote_item span {
  display: inline-flex;
  padding-right: 0.5rem;
  min-width: 4rem;
}

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

.intelligent_analysis .question_toolbar {
  display: flex;
  height: 2.8rem;
  line-height: 2rem;
  justify-content: space-around;
  padding: 0.4rem;
  border-radius: 0.4rem;
  column-gap: 1rem;
  z-index: 1;
  opacity: 0;
  transition: 0.1s;
  pointer-events: none;
}

.intelligent_analysis .question_toolbar--human {
  display: flex;
  column-gap: 0.8rem;
}

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

.intelligent_analysis:not(.handling) .analysis_item__question.hover .question_toolbar {
  display: flex;
}

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

.intelligent_analysis .question_toolbar span {
  text-align: center;
  width: 2rem;
  display: inline-flex;
  justify-content: center;
  column-gap: 0.3rem;
  padding: 0 0.3rem;
  cursor: pointer;
}

.intelligent_analysis .question_toolbar i {
  font-size: 1.5rem;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
}

.intelligent_analysis .question_toolbar span:hover {
  background: #f3f3f3;
  border-radius: 0.4rem;
}

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

  to {
    transform: rotate(1turn)
  }
}

/* 对话列表 收藏多选 */

.analysis_item__collectcheck {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  display: none;
}

.checkCollect .analysis_item__collectcheck {
  display: block;
}

.analysis_item__collectcheck i {
  border: 0.1rem solid #999;
  border-radius: 0.3rem;
  width: 1.6rem;
  height: 1.6rem;
  min-width: 1.6rem;
  min-height: 1.6rem;
  background-color: #fff;
  position: relative;
  cursor: pointer;
  display: flex;
  box-sizing: border-box;
  transition: 0.3s ease;
}

.analysis_item__collectcheck i:hover {
  border-color: var(--theme-primary-color);
}

.analysis_item.active .analysis_item__collectcheck i {
  border-color: var(--theme-primary-color);
  background: var(--theme-primary-color);
}

.analysis_item__collectcheck i::before {
  content: '';
  box-sizing: content-box;
  border: 0.1rem solid #fff;
  border-left: 0;
  border-top: 0;
  height: 0.8rem;
  left: 0.55rem;
  position: absolute;
  top: 0.2rem;
  transform: rotate(45deg) scaleY(0);
  width: 0.3rem;
  transition: transform 0.15s ease-in 0.05s;
  transform-origin: center;
}

.analysis_item.active .analysis_item__collectcheck i::before {
  transform: rotate(45deg) scaleY(1);
}

/* 项目信息 */

.analysis_step {
  /* padding-top: 0.4rem; */
  position: relative;
}

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

.analysis_step_title span {
  color: rgb(51, 51, 51);
  font-size: 1.4rem;
  line-height: 2.4rem;
  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: 1.4rem;
  width: 100%;
  height: 0.6rem;
  background: var(--theme-light-color);
  z-index: -1;
}

.analysis_step_status__icon {
  min-width: 1.9rem;
  display: flex;
  justify-content: center;
}

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

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

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

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

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

.analysis_step_title em {
  display: none;
  font-size: 1.2rem;
  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: 1.6rem 0 1.6rem 2.4rem;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  position: relative;
}

.analysis_step_content::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  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); */
}

.analysis_result__block .analysis_step_content {
  padding-bottom: 0;
}

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

.analysis_step_content .analysis_firststep_cus b,
.analysis_step_content .analysis_firststep_neg b {
  font-weight: normal;
  line-height: 2.6rem;
  padding-right: 1rem;
  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: 0.8rem;
  row-gap: 0.8rem;
}

.analysis_step_content .analysis_firststep_cusdetail>span,
.analysis_step_content .analysis_firststep_negdetail>span {
  display: inline-flex;
  line-height: 2.6rem;
  padding: 0 0.8rem;
  background: #eee;
  border-radius: 0.4rem;
  color: #666;
}

.analysis_step_content .analysis_firststep_cusdetail a,
.analysis_step_content .analysis_firststep_negdetail a {
  display: inline-flex;
  line-height: 2.6rem;
  padding: 0 0.8rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  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: 0.1rem solid #f9f9fb;
  background: #f9f9fb;
  padding: 0.8rem;
  border-radius: 0.4rem;
  color: rgb(102, 102, 102);
  font-size: 1.4rem;
  font-weight: 350;
  line-height: 2.4rem;
  letter-spacing: 0;
  text-align: left;
}

.analysis_detail_content.is_fold {
  max-height: 18rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 1rem;
  padding-bottom: 3.2rem;
}

.analysis_detail_content.is_fold::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: 2.4rem;
  width: calc(100% - 2.4rem);
  height: 3rem;
  background: linear-gradient(180deg, #f9f9fb 0%, #f9f9fb 30%, transparent 100%);
}

.analysis_detail_content--collapse {
  width: calc(100% - 2.4rem);
  position: absolute;
  bottom: 1.6rem;
  left: 2.4rem;
  height: 4.4rem;
  padding: 1.8rem 0 0.8rem;
  border-radius: 0 0 0.4rem 0.4rem;
  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: 3rem;
  left: 0;
  background: #f9f9fb;
  bottom: 0;
  margin-top: -1rem;
  padding: 0.8rem 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: 1.8rem;
  column-gap: 0.4rem;
  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: 1.4rem;
  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);
}

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

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

.analysis_detail_content .match_info_detail .match_num {
  background: #c7c7c7;
  color: var(--theme-dark-text-color);
  display: inline-block;
  min-width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  vertical-align: text-top;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

/* 法律问答 */

.answer_geninner {
  background: #f5f5f5;
  border-radius: 0.8rem;
  box-shadow: 0 1.6rem 2rem 0 rgba(174, 167, 223, .06);
  display: flex;
  flex-direction: column;
  min-height: 6.4rem;
  padding: 1.2rem 1.6rem;
  position: relative;
  line-height: 2.4rem;
  /* margin-top: 1.2rem; */
  word-break: break-all;
}

.answer_geninner .answer_geninner_think {
  position: relative;
  display: none;
  margin-bottom: 1.2rem;
}

.answer_geninner .answer_geninner_think .reasoning_loading {
  padding: 0 1.4rem;
  box-sizing: border-box;
  background-color: #e1e1e1;
  height: 3.2rem;
  line-height: 3.2rem;
  border-radius: 1rem;
  color: rgb(38, 38, 38);
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  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: 1rem;
  line-height: 1rem;
  display: inline-block;
  margin-left: 0.6rem;
  vertical-align: middle;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

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

.answer_geninner .reasoning_open .reasoning_line {
  height: calc(100% - 5.6rem);
  border-left: 0.1rem solid #e5e5e5;
}

.answer_geninner .answer_geninner_think .reasoning_html {
  color: #8b8b8b;
  padding-left: 1.3rem;
  box-sizing: border-box;
  display: inline-block;
  font-size: 1.4rem;
  line-height: 2.6rem;
  display: none;
  margin-top: 1.2rem;
}

.answer_geninner .answer_geninner_think .reasoning_img {
  width: 2rem;
  height: 2rem;
  animation: .6s linear infinite ds-loading;
  margin-left: 1.3rem;
}

.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: 3rem !important;
}

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

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

/* 文字滚动条幅 */

.text_banner_section {
  width: 100%;
  height: 3rem;
  margin-top: 3.2rem;
}

.text_banner_container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  column-gap: 1rem;
}

.text_banner_container .swiper-container {
  height: 100%;
  /* width: fit-content; */
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.text_banner_container .swiper-slide {
  display: inline-flex;
  flex-wrap: nowrap;
  line-height: 2rem;
  align-items: center;
  justify-content: center;
}

.text_banner_container .swiper-slide p {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.text_banner_container .swiper-slide p em {
  color: var(--theme-primary-color);
}

.text_banner__before_line {
  width: 4rem;
  height: 0.1rem;
  background: linear-gradient(270deg, #d1d1d1 0%, transparent 100%);
}

.text_banner__after_line {
  width: 4rem;
  height: 0.1rem;
  background: linear-gradient(90deg, #d1d1d1 0%, transparent 100%);
}

/* 效率工具区域 */

.toolkit-section {
  padding-top: 3.2rem;
  padding-bottom: 3rem;
}

.toolkit-section .section-heading {
  width: fit-content;
  color: var(--theme-primary-color);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
  letter-spacing: 0rem;
  text-align: left;
  position: relative;
}

.toolkit-section .section-heading::after {
  content: '';
  position: absolute;
  right: 0;
  top: 1.4rem;
  width: calc(100% - 0.9em);
  height: 0.6rem;
  background: var(--theme-light-color);
  z-index: -1;
}

.toolkit-section .section-subhead {
  color: #999;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 2rem;
  letter-spacing: 0rem;
  text-align: left;
}

.toolkit-section .tool-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 1.2rem;
  column-gap: 1.6rem;
  width: 100%;
  margin-top: 1.2rem;
}

.toolkit-section .tool-grid .tool-card {
  /* width:calc(33.33% - 1.07rem);*/
  padding: 1rem 1.2rem;
  box-sizing: border-box;
  border: 0.1rem solid #e6e5e5;
  border-radius: 0.8rem;
  background: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 1.2rem;
  cursor: pointer;
  transition: border-color 0.2s ease-in, background 0.2s ease;
  flex: 1 1 calc(33.333% - 1.2rem);
  min-width: 18.6rem;
}

.toolkit-section .tool-grid .tool-card:hover {
  border-color: #ffa81b;
  background: #fdfaf7;
}

.tool-card__icon {
  width: 4rem;
  height: 4rem;
  overflow: hidden;
}

.tool-card__icon img {
  width: 100%;
  height: 100%;
}

.tool-card__content {
  display: inline-flex;
  flex-direction: column;
  row-gap: 0.2rem;
}

.tool-card__content .tool-title {
  color: var(--theme-dark-text-color);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2.4rem;
  letter-spacing: 0rem;
  text-align: left;
}

.tool-card__content .tool-description {
  color: #999;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 2.4rem;
  letter-spacing: 0rem;
  text-align: left;
}

/* 收藏多选操作区域*/

.collectopt-section {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  background-color: #fff;
  width: 100%;
  border-top: 0.1rem solid #eee;
  z-index: 99;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.hasSession.checkCollect .collectopt-section {
  width: 100%;
  opacity: 1;
  transform: translateY(0%);
  pointer-events: all;
}

.openHistory .hasSession.checkCollect .collectopt-section {
  width: calc(100% - 28rem);
}

@media (max-width: 800px) {
  .openHistory .hasSession.checkCollect .collectopt-section {
    width: 100%;
    z-index: 10;
  }
}

.collect-checkbox_group {
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
}

.collect-checkbox_group span {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  min-width: 1.6rem;
  min-height: 1.6rem;
  border: 0.1rem solid #eee;
  border-radius: 0.2rem;
  transition: 0.3s ease;
  cursor: pointer;
  position: relative;
}

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

.collect-checkbox_group span::before {
  content: '';
  box-sizing: content-box;
  border: 0.1rem solid #fff;
  border-left: 0;
  border-top: 0;
  height: 0.8rem;
  left: 0.5rem;
  position: absolute;
  top: 0.2rem;
  transform: rotate(45deg) scaleY(0);
  width: 0.3rem;
  transition: transform 0.15s ease-in 0.05s;
  transform-origin: center;
}

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

.collect-checkbox_group.half span::before {
  top: 0.65rem;
  left: 0.25rem;
  height: 0;
  width: 0.8rem;
  transform: rotate(0deg) scaleY(1);
}

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

.collect-muticheck_option {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 1rem;
}

.collect-muticheck_option button {
  padding: 0.5rem 1.2rem;
  border: 0.1rem solid #eee;
  background: #f9f9fb;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 2rem;
  width: 8.2rem;
}

.collect-muticheck_option button:last-child {
  background-color: var(--theme-primary-color);
  color: white;
  border-color: var(--theme-primary-color);
}

.collect-muticheck_option button:hover {
  opacity: 0.8;
}


/* 文书生成 提问框 */

.section_item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0.6rem 0;
  line-height: 2.4rem;
  column-gap: 0.8rem;
}

.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: 7.3rem;
}

.generate_section_wrap.finish .section_item.padding-top {
  padding-top: 0.6rem;
}

.generate_section_wrap.fixed #createBlockWrap {
  position: absolute;
  bottom: 0.8rem;
  width: calc(100% - 2.4rem);
}

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

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

.section_item .section-content.wrap {
  flex-basis: 100%;
  margin-top: 0.8rem;
  height: 100%;
}

.doc-type-container {
  box-sizing: border-box;
  border: 0.1rem solid #fff7f0;
  background: #f5f5f5;
  border-radius: 0.4rem;
  position: static;
  /* width: 22rem; */
  height: 2.4rem;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0rem 0.8rem 0rem 0.8rem;
  flex-grow: 0;
  column-gap: 0.8rem;
  /* margin: 0rem 0.4rem; */
}

.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: 16.8rem;
  width: 10rem;
}

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

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

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

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

.section_item .section-content .select_btn {
  line-height: 2.2rem;
  border: 0.1rem solid #f5f5f5;
  border-radius: 0.4rem;
  background: #f5f5f5;
  padding: 0 0.8rem;
  color: #666;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  /* 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: 1.4rem;
}

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

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

.section_item .section-content_value_item {
  padding: 0 0.8rem;
  background: var(--theme-light-color);
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
}

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

.section_item .section-content_value_item i {
  font-size: 11.0.5rem;
  color: #999;
}

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

/* 请帮我生成一份 类型 选择 */

.template_select_dropdown {
  display: none;
  position: fixed;
  top: 3rem;
  width: 22rem;
  max-height: 31rem;
  z-index: 1;
  padding: 0.8rem;
  box-sizing: border-box;
  border: 0.1rem solid #eee;
  border-radius: 0.8rem;
  box-shadow: 0 0 0.8rem 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  /* margin: 0rem 0.4rem; */
  overflow: hidden;
  z-index: 3;
}

.template_select_dropdown ul {
  max-height: 29rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.template_select_dropdown li {
  line-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0.8rem;
  column-gap: 0.4rem;
}

.template_select_dropdown li:hover {
  background: #f9f9fb;
  border-radius: 0.4rem;
}

.template_select_dropdown .doctype-item .item-tag {
  display: block;
  font-weight: normal;
  background: var(--theme-light-color);
  color: var(--theme-primary-color);
  border-radius: 0.3rem;
  padding: 0 0.6rem;
  font-size: 1.2rem;
  height: 2rem;
  line-height: 2rem;
}


/* 模型切换下拉 */

.model_type_dropdown {
  display: none;
  min-width: 28rem !important;
}


/* 项目选择弹框 */

.project_pop {
  display: none;
  position: fixed;
  width: min(40rem, calc(90% - 1rem));
  z-index: 99;
}

.project_pop .pop_dialog {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 30rem;
}

.project_pop .pop_content {
  position: relative;
  outline: 0;
  width: 100%;
  border-radius: 0.4rem;
}

.project_pop .pop_content .pop_head .project_search {
  padding: 0;
}

.project_pop .pop_content .pop_head .project_search_inner {
  display: flex;
  align-items: center;
  column-gap: 1.2rem;
  width: 100%;
  position: relative;
}

.project_pop .pop_content .pop_head .project_search i {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--theme-primary-color);
  font-size: 1.7rem;
  transform: translateY(-50%);
}

.project_pop .pop_content .pop_head .project_search input {
  font-size: 1.4rem;
  line-height: 3rem;
  background: #fff;
  border-radius: 0.4rem;
  border: 0.1rem solid #eee;
  padding: 0 3rem 0 1rem;
  flex-grow: 1;
  transition: 0.2s ease-in-out;
}

.project_pop .pop_content .pop_head .project_search input:focus {
  border-color: var(--theme-primary-color);
}

.project_pop .pop_content .pop_head .project_search input::placeholder {
  font-size: 1.3rem;
  color: #999;
}

.project_pop .pop_content .pop_head .project_search button {
  display: inline-block;
  background: var(--theme-primary-color);
  border: 0.1rem solid var(--theme-primary-color);
  color: #fff;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 3rem;
  padding: 0 1.5rem;
  vertical-align: middle;
}

.project_pop .pop_content .pop_body {
  margin: 0.4rem 0 0;
  padding: 0.6rem 0;
  color: #666;
  line-height: 2.2rem;
  max-height: 27rem;
  overflow-x: hidden;
  overflow-y: auto;
}

@media (max-height: 700px) {
  .project_pop .pop_content .pop_body {
    max-height: 20rem;
  }
}

.project_pop .pop_content .pop_body .project_list {
  height: 100%;
  /* overflow:auto;*/
}

.project_pop .pop_content .pop_body .project_list div {
  /* border-top:0.1rem solid #e6e6e6;*/
  padding: 0.8rem;
  position: relative;
  display: none;
}

.project_pop .pop_content .pop_body .project_list div.project_list_item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  cursor: pointer;
  border-radius: 0.4rem;
  column-gap: 0.8rem;
  row-gap: 0.8rem;
  width: 100%;
}

.project_pop .pop_content .pop_body .project_list div.project_list_item:hover {
  background: #f9f9fb;
}

.project_pop .pop_content .pop_body .project_list em {
  display: inline-block;
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  color: var(--theme-primary-color);
  background: var(--theme-light-color);
  text-align: center;
  line-height: 2rem;
  border-radius: 0.2rem;
  font-size: 1.2rem;
}

.project_pop .pop_content .pop_body .project_list article {
  /* padding-bottom:0.6rem;*/
  white-space: nowrap;
  line-height: 2rem;
  color: var(--theme-dark-text-color);
  width: 100%;
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.project_pop .pop_content .pop_body .project_list p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.3rem;
}

.project_pop .pop_content .pop_body .project_list b {
  display: block;
  font-weight: normal;
  background: #edffed;
  color: #038a24;
  border-radius: 0.3rem;
  padding: 0 0.6rem;
  font-size: 1.2rem;
  /* margin-right: 1rem; */
  height: 2rem;
  line-height: 2rem;
}

.project_pop .pop_content .pop_body .project_list b[data-t="进行中"] {
  background: #eef9f9;
  color: #49a1a8;
}

.project_pop .pop_content .pop_body .project_list b[data-t="已结项"] {
  background: #e9f1ff;
  color: #d1a677;
}

.project_pop .pop_content .pop_body .project_list b[data-t="已删除"],
.project_pop .pop_content .pop_body .project_list b[data-t="已撤回"] {
  background: #f6f6f6;
  color: #999;
}

.project_pop .pop_content .pop_body .project_list b[data-t="审批中"] {
  background: #fdf6ec;
  color: #e6a23c;
}

.project_pop .pop_content .pop_body .project_list b[data-t="被驳回"] {
  background: #fef0f0;
  color: #f56c6c;
}

.project_pop .pop_content .pop_body .project_list span {
  margin-right: 3rem;
  font-size: 1.2rem;
  color: var(--theme-dark-text-color);
}

.project_pop .pop_content .pop_body .project_list font {
  color: #999;
}

.project_pop .pop_content .pop_body .project_nodata {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}

.project_pop .pop_content .pop_body .project_nodata img {
  width: 12rem;
}

.project_pop .pop_content .pop_body .project_nodata p {
  color: #999;
}

/* 模板选择弹框 */

.template_pop {
  position: fixed;
  width: min(40rem, calc(90% - 1rem));
  z-index: 99;
}

.template_pop .pop_dialog {
  position: relative;
  width: 100%;
  /* height: 33.6rem; */
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 30rem;
}

.template_pop .pop_content {
  position: relative;
  outline: 0;
  width: 100%;
  border-radius: 0.4rem;
}

.template_pop .pop_content .pop_head .template_search {
  padding: 0;
}

.template_pop .pop_content .pop_head .template_search_inner {
  display: flex;
  align-items: center;
  column-gap: 1.2rem;
  width: 100%;
  position: relative;
}

.template_pop .pop_content .pop_head .template_search i {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--theme-primary-color);
  font-size: 1.7rem;
  transform: translateY(-50%);
}

.template_pop .pop_content .pop_head .template_search input {
  font-size: 1.4rem;
  line-height: 3rem;
  background: #fff;
  border-radius: 0.4rem;
  border: 0.1rem solid #dcdcdc;
  padding: 0 3rem 0 1rem;
  flex-grow: 1;
  transition: 0.2s ease-in-out;
}

.template_pop .pop_content .pop_head .template_search input:focus {
  border-color: var(--theme-primary-color);
}

.template_pop .pop_content .pop_head .template_search input::placeholder {
  font-size: 1.3rem;
  color: #999;
}

.template_pop .pop_content .pop_head .template_search button {
  display: inline-block;
  background: var(--theme-primary-color);
  border: 0.1rem solid var(--theme-primary-color);
  color: #fff;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 3rem;
  padding: 0 1.5rem;
  vertical-align: middle;
}

.template_pop .pop_content .pop_head .template_upload {
  margin-top: 0.8rem;
}

.template_pop .pop_content .pop_head .template_upload_btn {
  border: 0.1rem solid var(--theme-light-color);
  border-radius: 0.4rem;
  padding: 0.4rem 0.8rem;
  color: var(--theme-primary-color);
  background-color: var(--theme-light-color);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 2.6rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.template_pop .pop_content .pop_head .template_upload_btn:hover {
  border-color: var(--theme-primary-color);
}

.template_pop .pop_content .pop_head .template_upload input[type="file"] {
  display: none;
}

.template_pop .pop_content .pop_body {
  margin: 0.4rem 0 0;
  padding: 0.6rem 0;
  color: #666;
  line-height: 2.2rem;
  max-height: 27rem;
  overflow-x: hidden;
  overflow-y: auto;
}

@media (max-height: 700px) {
  .template_pop .pop_content .pop_body {
    max-height: 15rem;
  }
}

.template_pop .pop_content .pop_body .template_list {
  height: 100%;
  /* overflow:auto;*/
}

.template_pop .pop_content .pop_body .template_list div {
  /* border-top:0.1rem solid #e6e6e6;*/
  padding: 0.8rem;
  position: relative;
  display: none;
}

.template_pop .pop_content .pop_body .template_list div.template_list_item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  cursor: pointer;
  border-radius: 0.4rem;
  column-gap: 0.8rem;
  row-gap: 0.8rem;
}

.template_pop .pop_content .pop_body .template_list div.template_list_item:hover {
  background: #f9f9fb;
}

.template_pop .pop_content .pop_body .template_list div.template_list_item article {
  /* padding-bottom:0.6rem;*/
  white-space: nowrap;
  line-height: 2rem;
  color: var(--theme-dark-text-color);
  width: 100%;
  display: inline-flex;
  align-items: center;
}

.template_pop .pop_content .pop_body .template_list div.template_list_item article b {
  display: block;
  font-weight: normal;
  background: var(--theme-light-color);
  color: var(--theme-primary-color);
  border-radius: 0.3rem;
  padding: 0 0.6rem;
  font-size: 1.2rem;
  margin-right: 1rem;
  height: 2rem;
  line-height: 2rem;
}

.template_pop .pop_content .pop_body .template_list div.template_list_item article p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.3rem;
}

.template_pop .pop_content .pop_body .template_nodata {
  display: none;
}

/* 回到底部按钮 */

.intelligent_gotoBtm {
  transform: translateX(-50%);
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 100%;
  border: 0;
  box-shadow: 0 0.8rem 3rem rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: 0.2s;
  overflow: hidden;
  z-index: 11;
  cursor: pointer;
  pointer-events: none;
}

.intelligent_gotoBtm.show {
  opacity: 1;
  pointer-events: auto;
}


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

.hisdataEdit_pop,
.coldataEdit_pop {
  z-index: 101;
  width: 13rem;
}

/* 编辑名称 弹窗 */

.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;
}

.hisNameEdit_modal .modal_dialog {
  width: 90%;
  min-width: 30rem;
  max-width: 40rem;
  height: auto;
  margin-top: 5rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -80%);
}

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

.hisNameEdit_modal .modal_content .modal_head {
  position: relative;
  line-height: 4rem;
  padding: 0 1.6rem;
  border-bottom: 0.1rem solid #EDEDED;
}

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

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

.hisNameEdit_modal .modal_content .modal_body {
  margin: 1.2rem 0 0;
  padding: 1.6rem 0 1.6rem 1.6rem;
  color: #666;
  line-height: 2.2rem;
  max-height: calc(100vh - 22rem);
  overflow-x: hidden;
  overflow-y: auto;
}

.hisNameEdit_modal .modal_content .modal_body .hisNameEdit_input {
  padding: 0 1.6rem 1.6rem 0;
}

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

.hisNameEdit_modal .modal_content .modal_body .hisNameEdit_input input {
  font-size: 1.4rem;
  line-height: 3rem;
  background: #fff;
  border-radius: 0.4rem;
  border: 0.1rem solid #dcdcdc;
  padding: 0 1rem;
  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: 1.3rem;
  color: #999;
}

.hisNameEdit_modal .modal_content .modal_foot {
  padding: 1.2rem 1.6rem;
  text-align: right;
  font-size: 0;
  border-top: 0.1rem solid #eee;
}

.hisNameEdit_modal .modal_content .modal_foot button {
  background: var(--theme-primary-color);
  border: 0.1rem solid var(--theme-primary-color);
  color: #fff;
  border-radius: 0.3rem;
  line-height: 2.4rem;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.4rem 1.2rem;
  margin-left: 1.2rem;
}

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

/* 最近提问 */

.showHistoryList_head {
  padding: 0 1rem 0.4rem;
  display: flex;
  justify-content: space-between;
}

.showHistoryList_head b {
  font-size: 1.4rem;
}

.showHistoryList_head span {
  color: var(--theme-medium-text-color);
  cursor: pointer;
}

.showHistoryList_list {
  width: 100%;
  max-width: 50rem;
  outline: 0;
}

.showHistoryList_list .showHistoryList_list_item {
  display: block;
  line-height: 2.4rem;
  /* column-gap: 0.5rem; */
  cursor: pointer;
  padding: 0.6rem 0.8rem;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 0.8rem;
  text-align: left;
}

.showHistoryList_list .showHistoryList_list_item:hover {
  background: #f9f9fb;
}

.showHistoryList_list .showHistoryList_list_item span {
  display: inline-flex;
  background: var(--theme-label-default-bg-color);
  padding: 0 0.8rem;
  line-height: 2.4rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  font-size: 1.2rem;
  color: var(--theme-medium-text-color);
}

.showHistoryList_list .showHistoryList_list_item p {
  flex-grow: 1;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 聚法专业格式 */
.Professional_format_list .Professional_format_list_item {
  display: flex;
  justify-content: flex-start;
  padding: 0.4rem;
  text-align: left;
  width: 350px;
}

.Professional_format_list .Professional_format_list_item:hover {
  background: #f9f9fb;
}

.Professional_format_list .Professional_format_list_item>div {
  display: inline-flex;
  flex-direction: column;
  row-gap: 0.2rem;
  flex: 1;
}

.Professional_format_list .Professional_format_list_item>div>span {
  display: block;
  line-height: 2rem;
}

.Professional_format_list .Professional_format_list_item>div>p {
  display: block;
  line-height: 2rem;
  font-size: 1.2rem;
  color: #999;
}

.Professional_format_list .Professional_format_list_item em {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid #eee;
  border-radius: 1rem;
  position: relative;
  transition: border-color 0.2s ease-in-out;
}

.Professional_format_list .Professional_format_list_item:hover em {
  border-color: var(--theme-primary-color);
}

.Professional_format_list .Professional_format_list_item em::before {
  content: '';
  box-sizing: content-box;
  border: 0.1rem solid #fff;
  border-left: 0;
  border-top: 0;
  height: 0.6rem;
  left: 0.4rem;
  position: absolute;
  top: 0.2rem;
  transform: rotate(45deg) scaleY(0);
  width: 0.25rem;
  transition: transform 0.15s ease-in 0.05s;
  transform-origin: center;
}

.Professional_format_list .Professional_format_list_item.checked em {
  border-color: var(--theme-primary-color);
  background: var(--theme-primary-color);
}

.Professional_format_list .Professional_format_list_item.checked em::before {
  transform: rotate(45deg) scale(1);
}

/* 示例 */

.exampleList_pop .generate_opt_examplelist {
  width: 38rem;
  outline: 0;
}

.exampleList_pop .generate_opt_examplelist li {
  display: flex;
  line-height: 2.4rem;
  column-gap: 0.5rem;
  cursor: pointer;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.exampleList_pop .generate_opt_examplelist li:hover {
  background: #f9f9fb;
}

.exampleList_pop .generate_opt_examplelist li textarea {
  display: none !important;
}

.exampleList_pop .generate_opt_examplelist li b {
  padding: 0 0.8rem;
  background: #efefef;
  font-weight: 400;
  border-radius: 0.4rem;
  white-space: nowrap;
}

.exampleList_pop .generate_opt_examplelist li b[data-t="问题"] {
  color: #ef8924;
  background: #fdf4eb;
}

.exampleList_pop .generate_opt_examplelist li b[data-t="案情"] {
  color: #499af6;
  background: #e9f3ff;
}

.exampleList_pop .generate_opt_examplelist li span {
  flex-grow: 1;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exampleList_pop .generate_opt_examplelist li i {
  font-size: 1.2rem;
}

/* 新建对话 */

.sessNewSessionBtn {
  position: absolute;
  left: 0;
  top: -3rem;
  font-size: 1.2rem;
  color: #666;
  display: none;
  align-items: center;
  padding: 0.4rem 1rem;
  border: 1px solid #eee;
  border-radius: 12rem;
  background: #ffffff;
  cursor: pointer;
}

.sessNewSessionBtn i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.hasSession .main-actions:not(.handling) .sessNewSessionBtn {
  display: flex;
}

/* 返回上个问题 */

.sessAnswerGotoPrev {
  position: absolute;
  right: 0;
  top: -3rem;
  font-size: 1.2rem;
  color: #666;
  display: none;
  align-items: center;
  padding: 0.4rem 1rem;
  border: 1px solid #eee;
  border-radius: 12rem;
  background: #ffffff;
  cursor: pointer;
}

.sessAnswerGotoPrev i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.hasSession .main-actions:not(.handling) .sessAnswerGotoPrev.show {
  display: flex;
}

@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;
  }
}

/* 编辑基本信息 */

.modal.editbase_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;
}

.editbase_modal .modal_dialog {
  margin: 3rem auto;
}

.editbase_modal .modal_dialog {
  width: 90%;
  min-width: 30rem;
  height: auto;
  margin-top: 5rem;
}

.editbase_modal .modal_content {
  position: relative;
  background-color: #fff;
  background-clip: padding-box;
  border: 0.1rem solid rgba(0, 0, 0, .1);
  border-radius: 0.6rem;
  outline: 0;
  -webkit-box-shadow: 0 0.3rem 0.9rem rgba(0, 0, 0, .5);
  box-shadow: 0 0.3rem 0.9rem rgba(0, 0, 0, .3);
  width: 100%;
  border-radius: 0.3rem;
}

.editbase_modal .modal_content .modal_head {
  position: relative;
  line-height: 4rem;
  padding: 0 1.6rem;
  border-bottom: 0.1rem solid #EDEDED;
  background: #efefef;
}

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

.editbase_modal .modal_content .modal_head>i {
  float: right;
  font-size: 1.4rem;
  cursor: pointer;
}

.editbase_modal .modal_content .modal_body {
  margin: 1.2rem 0 0;
  padding: 0.6rem 0.6rem 0.6rem 1.6rem;
  color: #666;
  line-height: 2.2rem;
  max-height: calc(100vh - 22rem);
  overflow-x: hidden;
  overflow-y: auto;
}

.editbase_modal .modal_content .modal_foot {
  padding: 1.2rem 1.6rem;
  text-align: right;
  font-size: 0;
  border-top: 0.1rem solid #eee;
}

.editbase_modal .modal_content .modal_foot button {
  background: var(--theme-primary-color);
  border: 0.1rem solid var(--theme-primary-color);
  color: #fff;
  border-radius: 0.3rem;
  line-height: 2.4rem;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.4rem 1.2rem;
  margin-left: 1.2rem;
}

.editbase_modal .modal_content .modal_foot button.plain {
  background: #fff;
  color: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
}

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

/* 知识库 */

.knowledge_base_list {
  position: relative;
}

.knowledge_base_list li {
  display: flex;
  justify-content: flex-start;
  padding: 0.4rem;
  text-align: left;
}

.knowledge_base_list li>i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  background: #f5f5f5;
  border-radius: 0.4rem;
  font-family: 'iconfont';
  font-size: 1.6rem;
}

.knowledge_base_list li>div {
  display: inline-flex;
  flex-direction: column;
  row-gap: 0.2rem;
  flex: 1;
}

.knowledge_base_list li>div>span {
  display: block;
  line-height: 2rem;
}

.knowledge_base_list li>div>p {
  display: block;
  line-height: 2rem;
  font-size: 1.2rem;
  color: #999
}

.knowledge_base_list li em {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid #eee;
  border-radius: 1rem;
  position: relative;
  transition: border-color 0.2s ease-in-out;
}

.knowledge_base_list li:hover em {
  border-color: var(--theme-primary-color);
}

.knowledge_base_list li em::before {
  content: '';
  box-sizing: content-box;
  border: 0.1rem solid #fff;
  border-left: 0;
  border-top: 0;
  height: 0.6rem;
  left: 0.4rem;
  position: absolute;
  top: 0.2rem;
  transform: rotate(45deg) scaleY(0);
  width: 0.25rem;
  transition: transform 0.15s ease-in 0.05s;
  transform-origin: center;
}

.knowledge_base_list li.checked em {
  border-color: var(--theme-primary-color);
  background: var(--theme-primary-color);
}

.knowledge_base_list li.checked em::before {
  transform: rotate(45deg) scale(1);
}

/* 知识库 参考依据 */

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

.intelligent_analysis.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: 0.4rem;
  margin-top: 1rem;
  padding: 0.8rem;
}

.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: 0.8rem;
  line-height: 2.8rem;
}

.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: 1.2rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem;
  margin-right: 0.4rem;
  height: 2.2rem;
  line-height: 2.2rem;
  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: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.4rem;
  padding: 0.2rem 0.4rem;
  font-size: 1.2rem;
  /* margin-left: 0.4rem; */
  color: #666;
  height: 2.2rem;
  line-height: 2.2rem;
  background: #f5f5f5;
  vertical-align: middle;
}

.intelligent_analysis.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: 1.6rem;
  row-gap: 0.8rem;
}

.knowledgebase__list--item__remarklabel span {
  display: block;
  line-height: 2rem;
  position: relative;
}

.knowledgebase__list--item__remarklabel span::after {
  content: '';
  position: absolute;
  right: -0.8rem;
  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: 1.2rem;
  color: #999;
}

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

.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(52.8rem, calc(100% - 3.2rem));
  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: 0.4rem 0;
}

.analysis_knowledgebase__drawer--head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  padding: 0.8rem 0 1.6rem;
}

.analysis_knowledgebase__drawer--head i {
  position: absolute;
  left: 1.6rem;
  cursor: pointer;
  font-size: 1.4rem;
}

.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 0.8rem 0 1.6rem
}

.analysis_knowledgebase__drawer--list {
  max-height: calc(100vh - 5rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0.8rem;
  padding-bottom: 1.6rem;
}

/* 知识库引入 */

.que-import-box {
  position: relative;
  padding: 0.3rem 2.4rem 1.3rem 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% - 6rem);
}

.generate_import__inner {
  position: relative;
  display: flex;
  justify-content: flex-start;
  background: #f5f5f5;
  padding: 0 0.8rem;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  border-radius: 0.4rem;
  column-gap: 0.6rem;
}

.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: 0.5rem;
  min-width: 10rem;
  flex-grow: 1;
  flex-basis: fit-content;
}

.generate_import__inner i {
  font-size: 1.2rem;
}

.generate_chat__box {
  position: relative;
  height: 100%;
}

.generate_import__dropdown {
  display: none;
  box-shadow: 0 0 0.8rem 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: 0.8rem;
}

.generate_import--item {
  position: relative;
  display: flex;
  justify-content: flex-start;
  background: #f5f5f5;
  padding: 0 0.8rem;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  border-radius: 0.4rem;
  column-gap: 0.6rem;
  max-width: 80rem;
}

.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: 0.5rem;
  min-width: 10rem;
  flex-grow: 1;
}

.generate_import--item i {
  font-size: 1.2rem;
}

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

.analysis_info__popup {
  padding: 0.8rem 1.2rem;
  background: linear-gradient(to bottom, #688ff5, #688ff5);
  border-radius: 0.8rem;
  position: fixed;
  z-index: 100;
  max-width: 36rem;
}

.analysis_info__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 1rem;
}

.analysis_info__header h2 {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.analysis_info__header p {
  color: #fff;
  font-size: 1.2rem;
}

.analysis_info__header_btn {
  min-width: 6rem;
}

.analysis_info__header_btn .analysis_info__import {
  border: 1px solid #fff;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.4rem;
  padding: 0.2rem 0.4rem;
  font-size: 1.2rem;
  color: var(--theme-primary-color);
  height: 2.2rem;
  line-height: 2.2rem;
  background: var(--theme-light-color);
  cursor: pointer;
}

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

.analysis_info__content {
  padding: 1.2rem;
  background: #fff;
  border-radius: 0.8rem;
  margin-top: 0.8rem;
}

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

.analysis_info__tab button:last-of-type {
  margin-right: 0;
}

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

.analysis_info__tab button.active:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 0.2rem;
  background-color: var(--theme-primary-color);
}

.analysis_info__tabcontent {
  margin-top: 1.2rem;
  max-height: 12rem;
  overflow-y: auto;
  font-size: 1.4rem;
  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: 0.8rem;
}

/* 历史沿革 */

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

.law_history_tab td {
  vertical-align: top;
  text-align: left;
  padding: 0.2rem 0.8rem;
  position: relative;
  color: var(--theme-medium-text-color);
}

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

.law_history_tab i {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--theme-primary-color);
  border-radius: 50%;
  position: absolute;
  top: 1rem;
  left: -0.3rem;
  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: 1.4rem;
  color: var(--theme-dark-text-color);
  margin-left: 1.5rem;
}

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

.law_item_content .no_content img {
  width: 13rem;
  height: 13rem;
}

.law_item_content .no_content p {
  width: 28rem;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.law_item_content .no_content button {
  color: #fff;
  padding: 0.6rem 1.5rem;
  border: 0;
  border-radius: 0.4rem;
  background: linear-gradient(90.00deg, var(--theme-secondary-color) 4.612%, var(--theme-primary-color) 100%);
}

/* 文本选择操作框 */

.text-selection-menu {
  position: absolute;
  background: #fff;
  padding: 0.4rem;
  display: none;
  z-index: 99;
  align-items: center;
  box-sizing: border-box;
  border: 1px solid rgb(237, 237, 237);
  border-radius: 0.8rem;
  box-shadow: 0rem 0.4rem 1.6rem 0 rgba(0, 0, 0, 0.12);
}

/* 按钮样式*/

.text-action-btn {
  background: none;
  border: none;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  border-radius: 0.6rem;
  gap: 0.6rem;
  color: var(--theme-medium-text-color);
}

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

/* 分割线*/

.divider {
  width: 0.1rem;
  height: 1em;
  background: #ddd;
  margin: 0 0.4rem;
}

.tool_download_ai {
  position: absolute;
  top: 0;
  right: 0px;
  background-image: url("/static/Public/images/new_home/31.png");
  background-position-x: 0px;
  background-position-y: 0px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 208px;
  height: 37px;
  line-height: 34px;
  text-align: center;
  font-size: 12px;
  padding-left: 20px;
}

.tool_download_ai:hover>span {
  display: none;
}

.tool_download_ai:hover button {
  display: inline-block;
}

.tool_download_ai>span {
  font-weight: 500;
  font-size: 12px;
  /* background: linear-gradient(90.00deg, rgb(65, 111, 255), rgb(144, 87, 253)); */
  /* -webkit-background-clip: text; */
  /* background-clip: text; */
  color: var(--color-primary-product);
  vertical-align: middle;
}

.tool_download_ai button {
  background: var(--ms-color-theme);
  display: none;
  border: 0;
  color: #fff;
  border-radius: 16px;
  padding: 2px 8px;
  line-height: 20px;
}

.tool_download_ai button i {
  font-size: 12px;
  color: var(--ms-color-theme);
  background: #fff;
  border-radius: 50%;
  margin-left: 4px;
}

/* 联想词 */

.doc-type-dropdown {
  display: none;
  position: fixed;
  top: 3rem;
  width: 22rem;
  max-height: 31rem;
  z-index: 1;
  padding: 0.8rem;
  box-sizing: border-box;
  border: 0.1rem solid #eee;
  border-radius: 0.8rem;
  box-shadow: 0 0 0.8rem 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  /* margin: 0rem 0.4rem; */
  overflow: hidden;
  z-index: 3;
}

.doc-type-dropdown ul {
  max-height: 29rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.doc-type-dropdown li {
  line-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0.8rem;
  column-gap: 0.4rem;
}

.doc-type-dropdown li:hover {
  background: #f9f9fb;
  border-radius: 0.4rem;
}

.doc-type-dropdown .item-text--hilight {
  font-weight: 400;
  color: var(--theme-primary-color);
}

/* 弹窗 */

.doctype-select-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;
}

.doctype-select-modal .modal-dialog {
  margin: 0 auto 5rem;
}

.doctype-select-modal .modal-dialog {
  width: 92%;
  min-width: 36rem;
  max-width: 55rem;
  height: auto;
}

.doctype-select-modal .modal-content {
  position: relative;
  background-color: #fff;
  background-clip: padding-box;
  border: 0.1rem solid rgba(0, 0, 0, .1);
  border-radius: 0.6rem;
  outline: 0;
  -webkit-box-shadow: 0 0.3rem 0.9rem rgba(0, 0, 0, .5);
  box-shadow: 0 0.3rem 0.9rem rgba(0, 0, 0, .3);
  width: 100%;
  border-radius: 0.3rem;
}

.doctype-select-modal .modal-head {
  position: relative;
  line-height: 4rem;
  padding: 0 1.6rem;
  border-bottom: 0.1rem solid #EDEDED;
  display: flex;
  align-items: center;
  background: #efefef;
}

.doctype-select-modal .modal-head>b {
  text-align: left;
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.9);
  flex-grow: 1;
}

.doctype-select-modal .modal-head>i {
  float: right;
  font-size: 1.4rem;
  cursor: pointer;
}

.doctype-select-modal .modal-body {
  color: #666;
  line-height: 2.2rem;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  max-height: 30rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.doctype-select-modal .modal-foot {
  padding: 1.6rem;
  text-align: center;
  font-size: 0;
  box-shadow: 0 -0.4rem 1.2rem 0 rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-end;
}

.doctype-select-modal .modal-btns-container {
  display: flex;
  /* flex: 1; */
  justify-content: flex-end;
  column-gap: 1.2rem;
}

.doctype-select-modal .modal-btns-container .btn {
  flex: 1;
  background: var(--theme-primary-color);
  color: #fff;
  border-radius: 0.3rem;
  line-height: 3rem;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 1.2rem;
  width: 8rem;
  border: 0.1rem solid var(--theme-primary-color);
}

.doctype-select-modal .modal-btns-container .btn.btn-plain {
  background: #FFF;
  border-color: var(--theme-primary-color);
  color: var(--theme-primary-color);
}

.doctype-select-modal .modal-btns-container .btn:first-child {
  margin-left: 0;
}

.doctype-select-modal .modal-btns-container .btn.btn-disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.5;
}

/* 级联 */

.ai-cascader-panel {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.ai-cascader-menu {
  display: none;
  position: relative;
  min-height: 100%;
  /* min-width: 33.33%; */
  margin: 0;
  padding: 0.6rem 0;
  list-style: none;
  box-sizing: border-box;
}

.ai-cascader-menu.menu--active {
  display: block;
  flex-basis: 33.33%;
  flex-grow: 1;
  border-left: 0.1rem solid #eee;
}

.ai-cascader-menu.menu--active:first-of-type {
  border-left: 0;
}

.ai-cascader-menu__wrap {
  height: 100%;
  overflow-x: hidden;
}

.ai-cascader-menu__list {
  padding: 0 1rem;
}

.ai-cascader-node {
  position: relative;
  display: flex;
  align-items: center;
  height: 3.4rem;
  line-height: 3.4rem;
  outline: none;
  background: transparent;
  transition: background 0.3s;
}

.ai-cascader-node:not(.is-disabled) {
  cursor: pointer;
}

.ai-cascader-node:not(.is-disabled):hover {
  background: var(--theme-label-default-bg-color);
  border-radius: 0.4rem;
}

.ai-cascader-node.in-active-path {
  color: var(--theme-primary-color);
}

.ai-cascader-node.in-active-path.is-final-checked {
  color: var(--theme-primary-color);
  background: var(--theme-label-default-bg-color);
}

.ai-cascader-node__label {
  flex: 1;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.3rem;
}

.ai-cascader-node__postfix {
  font-size: 1.4rem;
}

/* image preview*/

.image-viewer__wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1056;
  touch-action: none;
  /* 禁用浏览器默认的触摸行为 */
  user-select: none;
  /* 防止图片拖动时选中文本 */
  -webkit-user-select: none;
  /* 防止图片拖动时选中文本 */
}

.image-viewer__mask {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.5;
  background: #000;
}

.image-viewer__btn {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0.8;
  cursor: pointer;
  box-sizing: border-box;
  user-select: none;
}

.image-viewer__actions {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  width: 9.2rem;
  height: 4.4rem;
  padding: 0 2.3rem;
  background-color: #606266;
  border-color: #fff;
  border-radius: 2.2rem;
  z-index: 1;
}

.image-viewer__actions__inner {
  width: 100%;
  height: 100%;
  text-align: justify;
  cursor: default;
  font-size: 2.3rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.image-viewer__actions i {
  cursor: pointer;
}

.image-viewer__actions i.icon-refresh-left {
  transform: scaleX(-1);
}

.image-viewer__close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 4rem;
  right: 4rem;
  width: 4rem;
  height: 4rem;
  font-size: 2.4rem;
  color: #fff;
  background-color: #606266;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.8;
  z-index: 1;
}

.image-viewer__canvas {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-viewer__canvas img {
  cursor: grab;
}

.image-viewer__canvas img:active {
  cursor: grabbing;
}

.image-viewer__canvas img.transition {
  transition: 0.3s;
}

/* 禁用滚动时的样式 */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

@keyframes loading-rotate {
  to {
    transform: rotate(1turn);
  }
}

@keyframes loading-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -4rem;
  }

  to {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -12rem;
  }
}