/*********************************************
 * index CSS
 *
 * @author huayu
 * @date 2025-12-08
 *********************************************/

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  background-color: #f5f7fa;
}

.app-container {
  display: flex;
  height: 100%;
  width: 100%;
}

.sidebar {
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  border-right: none;
  flex-shrink: 0;
  padding: 22px 14px 31px 14px;
  transition: width 0.3s;
  overflow: visible;
}

.sidebar.collapsed {
  padding: 23px 7px 34px 7px;
  align-items: center;
}

.logo-wrapper {
  position: relative;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar.collapsed .logo-wrapper {
  justify-content: center;
}

.logo-area {
  display: flex;
  align-items: center;
  flex: 1;
}

.logo-area-collapsed {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo-collapse-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-collapse-btn:hover {
  padding: 6px;
  background: #ECEEF0;
  border-radius: 6px;
}

.collapse-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.logo-placeholder {
  width: 100%;
  height: 100%;
  background-color: #2d8cf0;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.app-title {
  font-family: MicrosoftYaHei, MicrosoftYaHei;
  font-weight: bold;
  font-size: 16px;
  color: #2f2f2f;
  line-height: 30px;
  text-align: left;
  font-style: normal;
  margin-left: 4px;
}

.app-subtitle {
  font-family: MicrosoftYaHei;
  font-size: 12px;
  color: #2f2f2f;
  line-height: 16px;
  letter-spacing: 1px;
  text-align: left;
  font-style: normal;
  margin-left: 5px;
}

.create-btn {
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #165dff;
  padding: 8px 47px;
  margin-bottom: 16px;
  cursor: pointer;
}

.create-btn-collapsed {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 16px;
  cursor: pointer;
  position: relative;
}

.create-btn:hover,
.create-btn-collapsed:hover {
  background-color: #f5f7fa;
}

.nav-menu {
  flex: 1;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-item {
  padding: 7px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #333;
  font-size: 14px;
  position: relative; /* 为tooltip提供定位基准 */
}

.sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 12px 2px;
  margin: 2px 0;
}

.nav-item:hover {
  background: #F4F4F4;
  border-radius: 8px;
}

.nav-item.active {
  background: #dbe6ff;
  border-radius: 8px;
}

.nav-item.active .span-item {
  color: #165dff;
  font-weight: 500;
}

.nav-icon {
  margin: 0 10px;
  font-size: 16px;
  width: 16px;
  text-align: center;
}

.sidebar.collapsed .nav-icon {
  margin: 0;
}

.nav-group-title {
  margin: 10px 0 4px 12px;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #94a4b8;
  line-height: 19px;
  text-align: justify;
  font-style: normal;
}

.nav-group-line {
  margin: 9px auto;
  width: 55px;
  border-top: 1px dashed #cccccc;
}

.vip-img-placeholder {
  width: 100%;
  height: 40px;
  background-color: #fff7e6;
  border: 1px dashed #ffd591;
  color: #fa8c16;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 4px;
}

.footer-actions {
  display: flex;
  justify-content: center;
  gap: 21px;
}

.footer-actions .user-info {
  width: 100%;
  justify-content: space-between;
}

.footer-actions.collapsed {
  justify-content: center;
  gap: 0;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: #666;
  font-size: 12px;
  position: relative; /* 为tooltip提供定位基准 */
}

.action-item i {
  font-size: 16px;
  margin-bottom: 4px;
}

.action-item:hover {
  color: #165dff;
}

.action-item:hover .aty-icon-azcj {
  background: url("/IntelligentEditor/icons/v3/azcj-active-9b8db826a1bfcb5c19e1fdfd51e83f32.png") no-repeat;
  background-size: 100% 100%;
}

.action-item:hover .aty-icon-bzsc {
  background: url("/IntelligentEditor/icons/v3/bzsc-active-413b921d34b108fa840e058f74d2e187.png") no-repeat;
  background-size: 100% 100%;
}

.action-item:hover .aty-icon-zd {
  background: url("/IntelligentEditor/icons/v3/zd-active-16fd0274a533535111c519264f5d0c44.png") no-repeat;
  background-size: 100% 100%;
}

/* Main Container Styles */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #f5f7fa;
}

.top-header {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
}

.header-right {
  display: flex;
  align-items: center;
  margin: 10px 0 11px 0;
}

.user-profile {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: 37px;
  position: relative; /* For absolute positioning of dropdown */
}

.avatar-placeholder {
  height: 32px;
  width: 32px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/photo-96fddcf70ddb9fd3635fdc8955c0d5d2.png") no-repeat;
  background-size: 100% 100%;
  margin-right: 9px;
}

.username {
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: bold;
  font-size: 16px;
  color: #323335;
  line-height: 24px;
  text-align: left;
  font-style: normal;
  margin-right: 9px;
}

/* User Dropdown Menu */
.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  padding: 5px 0;
  z-index: 2000;
  width: 120px;
}

.dropdown-item {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  color: #606266;
  text-align: center;
}

.dropdown-item:hover {
  background-color: #ecf5ff;
  color: #409eff;
}

.content-body {
  flex: 1;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

/* iframe 样式 */
.iframe-content {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}
.newDoc-span {
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 14px;
  color: #165dff;
  line-height: 24px;
  text-align: left;
  font-style: normal;
  margin-left: 6px;
}
.aty-icon-item {
  margin-right: 8px;
}
.span-item {
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 14px;
  color: #000000;
  line-height: 24px;
  text-align: left;
  font-style: normal;
}

.aty-icon-sytj {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/sytj-edda6f340548dcc8800eca9196deb667.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-sytj {
  background: url("/IntelligentEditor/icons/v3/sytj-active-8c41e0d142f01ed886aecb58578d6713.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-znxz {
  height:24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/znxz-2edc16f6dde99c4e0a4ae127112e3004.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-znxz {
  background: url("/IntelligentEditor/icons/v3/znxz-active-cea92d1300d4999c990eb67e95b6a9b9.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-znxz2 {
  height:24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/znxz2-fa0ca0bea3e8accaea3b223fad812a97.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-znxz2 {
  background: url("/IntelligentEditor/icons/v3/znxz2-active-624feb129d027757befb7266ad526f94.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-zlsc {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/zlsc-7edb7ec81ecd113b2ad247aca4d73a17.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-zlsc {
  background: url("/IntelligentEditor/icons/v3/zlsc-active-f3db87fc7e4a023b683a1c124c96ae78.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-hyzj {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/hyzj-adb4a5e1b3055e13744be90657a5e9dd.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-hyzj {
  background: url("/IntelligentEditor/icons/v3/hyzj-active-3b6c1fbe332f8451235b55b1dafc5cf0.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-doc {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/doc-fbaeeff40cd0a5b97002db502face045.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-doc {
  background: url("/IntelligentEditor/icons/v3/doc-active-fdbe8bcb2595e3826aafa2edb6524990.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-wenku {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/wenku-1618543c49da676b4cabfb8d968e72f7.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-wenku {
  background: url("/IntelligentEditor/icons/v3/wenku-active-4bc1e6a73922492b30684225e6766084.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-fanwen {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/fanwen-d4493e6a56b852d35381e9cb8a3f6ade.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-fanwen {
  background: url("/IntelligentEditor/icons/v3/fanwen-active-8475524c52793bd698960c0055a78132.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-xzsc {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/xzsc-75a9e13770d7927b2180d2237ca4d0aa.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-xzsc {
  background: url("/IntelligentEditor/icons/v3/xzsc-active-e20a8d803b098ec4e0d2f471d425bdd5.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-learninghub {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/wdzsk-98aa0662137b824b8a84beb56609d8d7.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-learninghub {
  background: url("/IntelligentEditor/icons/v3/wdzsk-active-a35a6723d92efac06c122728400732fd.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-wdgj {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/wdgj-a9d4302ebbb37d4370795514b1d57825.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-wdgj {
  background: url("/IntelligentEditor/icons/v3/wdgj-active-b050a83be25acfc7e07de524fa58507d.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-wdwg {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/wdwg-3a1d50f03217e99cf31412447007bbfb.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-wdwg {
  background: url("/IntelligentEditor/icons/v3/wdwg-active-c1a1285a1d36dc20e45832da455dce07.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-wdzsk {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/wdzsk-98aa0662137b824b8a84beb56609d8d7.png") no-repeat;
  background-size: 100% 100%;
}
.nav-item.active .aty-icon-wdzsk {
  background: url("/IntelligentEditor/icons/v3/wdzsk-active-a35a6723d92efac06c122728400732fd.png") no-repeat;
  background-size: 100% 100%;
}

.aty-icon-zd {
  height: 24px;
  width: 24px;
  cursor: pointer;
  background: url("/IntelligentEditor/icons/v3/zd-f9a56c7aee0f1f1cb4a65c686e6b1a3e.png") no-repeat;
  background-size: 100% 100%;
}
.vip-card {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 167px;
  height: 55px;
  background: url("/IntelligentEditor/images/user/hyth@2x-f2152e0b844024dd1d8ea2bfcae9d7bb.png") no-repeat;
  background-size: 100% 100%;
  padding: 9px 9px 0px;
  cursor: pointer;
}
.vip-card-desc {
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #000000;
  letter-spacing: 0;
  font-weight: 400;
  background: url(/IntelligentEditor/images/user/point-1d33e1b69ee8ffbc30720486082b0778.png) no-repeat;
  background-size: 22px 23px;
  padding-left: 25px;
  /* background-position: left center; */
}
.vip-card-dy {
  font-family: MicrosoftYaHei;
  font-size: 10px;
  color: #FFFFFF;
  letter-spacing: 0;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}
.vip-card-dy .icon {
  background: url(/IntelligentEditor/images/user/subscribe-8bc8a49b6de29d361a048a61e05b2327.png) no-repeat;
  background-size: 14px 14px;
  padding-left: 15px;
  /* background-position-y: center; */
}

.user-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding-left: 12px; */
  padding-top: 4px;
  border-radius: 8px;
  cursor: pointer;
}

.user-info-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.user-info .avatar-placeholder {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 8px;
  background-size: 100% 100% !important;
}

.user-info .username {
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 14px;
  color: #323335;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}

.user-info-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
  cursor: pointer;
  position: relative;
}

.collapsed-menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  cursor: pointer;
  margin-left: 0;
}

.user-menu-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.user-menu-icon-hover {
  display: none;
}

.user-info-right:hover .user-menu-icon-default {
  display: none;
}

.user-info-right:hover .user-menu-icon-hover {
  display: block;
}

.sidebar-footer {
  position: relative;
}

/* 用户菜单弹窗 */
.user-menu-popup {
  position: absolute;
  left: 100%;
  bottom: 0;
  margin-left: 10px;
  width: 369px;
  /*height: 330px;*/
  background: #FFFFFF;
  box-shadow: 0px 2px 14px 0px rgba(142, 142, 142, 0.5);
  border-radius: 8px;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
}


/* 用户菜单头部 */
.user-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #F0F0F0;
  margin-bottom: 16px;
}

.user-menu-header-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.user-menu-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}

.user-menu-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.user-menu-username {
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 16px;
  color: #323335;
  line-height: 22px;
  margin-bottom: 4px;
}

.user-menu-vip-info {
  display: flex;
  flex-direction: column;
}

.user-menu-vip-level {
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: 600;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu-vip-level-points {
  font-family: MicrosoftYaHei;
  font-size: 14px;
}

.user-menu-vip-expired {
  margin-top: 5px;
  font-family: MicrosoftYaHei;
  font-weight: 600;
  font-size: 12px;
  padding: 0px 10px;
  width: fit-content;
  height: 21px;
  border-radius: 6px;
  line-height: 21px;
}

.user-menu-vip-expired-points {
  font-family: MicrosoftYaHei;
  font-size: 10px;
}

.user-menu-vip-expired-vip {
  color: #7C4E00;
  background: linear-gradient( 298deg, #FEE6AC 0%, #FFF0CF 100%);
  border: 1px solid #F2D48B;
}

.user-menu-vip-expired-svip {
  color: #CE3A9A;
  background: linear-gradient( 298deg, #FFECE1 0%, #FEEBF8 100%);
  border: 1px solid #FABFE7;
  line-height: 17px;
}

.user-menu-vip-btn {
  height: 40px;
  width: 116px;
  background: url("/IntelligentEditor/images/user/hyth@2x-f2152e0b844024dd1d8ea2bfcae9d7bb.png") no-repeat;
  background-size: 100% 100%;
  /* font-family: MicrosoftYaHei;
  font-weight: bold;
  color: #52340B;
  line-height: 21px; */
  cursor: pointer;
  /* padding-left: 40px;
  padding-top: 5px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 9px 0px;
  text-align: left;
}

.vip-btn-icon {
  display: none;
}

.vip-btn-text {
  font-family: MicrosoftYaHei;
  font-size: 11.2px;
  color: #000000;
  letter-spacing: 0;
  font-weight: 400;
  background: url(/IntelligentEditor/images/user/point-1d33e1b69ee8ffbc30720486082b0778.png) no-repeat;
  background-size: 17.6px 18.4px;
  padding-left: 15px;
  background-position: -3px center;
}

.vip-btn-text-dy {
  font-family: MicrosoftYaHei;
  font-size: 8px;
  color: #FFFFFF;
  letter-spacing: 0;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}
.vip-btn-text-dy .icon {
  background: url(/IntelligentEditor/images/user/subscribe-8bc8a49b6de29d361a048a61e05b2327.png) no-repeat;
  background-size: 10px 10px;
  padding-left: 10px;
  background-position-y: center;
}

/* 角色设置模态框样式 */
.role-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.security-modal {
  background-color: #fff;
  border-radius: 23px;
  width: 534px;
  height: 235px;
  overflow: hidden;
  box-shadow: 0 2px 14px 0px rgba(142, 142, 142, 0.5);
  background-image: url("/IntelligentEditor/icons/v3/home/security-bg-d674c9ec8168280f3f070e8d78d4c7ce.png");
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.role-modal-content {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.role-modal-png{
  display: inline-block;
}

.security-title{
  font-family: MicrosoftYaHei, MicrosoftYaHei;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  line-height: 24px;
  text-align: justify;
  font-style: normal;
  display: inline-block;
}

.security-header{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 8px;
  margin-bottom: 24px;
}

.role-title {
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #505A68;
  line-height: 19px;
  text-align: justify;
  font-style: normal;
  margin-bottom: 24px;
}

/* 我的知识库模态框样式 */
.wdzsk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

/* #app 为横向 flex 时，遮罩仍须相对视口铺满居中，避免被当作侧栏旁的一列 */
#app.app-container > .wdzsk-modal-overlay {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    max-width: none;
    flex: none;
    margin: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10060;
}

#app.app-container > .wdzsk-modal-overlay .wdzsk-modal {
    flex: 0 0 auto;
    width: min(1306px, calc(100vw - 80px));
    height: min(759px, calc(100vh - 80px));
    min-width: 960px;
    min-height: 560px;
}

.wdzsk-modal {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 1306px;
    height: 759px;
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.wdzsk-modal-header {
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid #E5E7EB;
    flex-shrink: 0;
    background: linear-gradient(180.00deg, rgba(216, 229, 255, 1) -10.582%,rgba(255, 255, 255, 1) 150.641%);
}

.wdzsk-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    line-height: 21px;
}

.wdzsk-modal-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: #666666;
    line-height: 1;
    transition: color 0.2s ease;
}

.wdzsk-modal-close:hover {
    color: #165DFF;
}

/* 中间内容区域 */
.wdzsk-modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.wdzsk-modal-content-wrapper {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 0;
}

/* 底部按钮区域 */
.wdzsk-modal-footer {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px;
    border-top: 1px solid #E5E7EB;
    flex-shrink: 0;
}
/* 角色设置模态框 */
.role-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  flex-shrink: 0;
}

/* 修改密码弹窗（Vue） */
.change-password-overlay {
  z-index: 2000;
}
.change-password-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.change-password-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}
.change-password-close {
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.change-password-close:hover {
  color: #333;
}
.change-password-body {
  padding: 24px 20px;
}
.change-password-row {
  margin-top: 20px;
}
.change-password-row:first-child {
  margin-top: 0;
}
.change-password-label {
  display: block;
  width: 80px;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}
.change-password-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
.change-password-input:focus {
  outline: none;
  border-color: #409EFF;
}
.change-password-input:disabled {
  background: #F5F7FA;
  color: #909399;
  cursor: not-allowed;
}
.change-password-msg {
  margin-top: 12px;
  font-size: 13px;
  min-height: 20px;
}
.change-password-msg-warning {
  color: #E6A23C;
}
.change-password-forget {
  margin-top: 12px;
  text-align: right;
}
.change-password-forget-link {
  font-size: 13px;
  color: #409EFF;
  cursor: pointer;
}
.change-password-forget-link:hover {
  text-decoration: underline;
}
.change-password-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

/* 用户菜单列表 */
.user-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.user-menu-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.user-menu-item:hover {
  background-color: #F5F7FA;
  border-radius: 4px;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
}

.menu-item-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex-shrink: 0;
}

.menu-item-text {
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #333333;
  line-height: 19px;
  text-align: left;
  font-style: normal;
  flex: 1;
}

.menu-item-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.arrow-down {
  margin-top: 2px;
  transition: transform 0.3s;
}
.rotate-180 {
  transform: rotate(180deg);
}

.aty-modal-body {
  padding: 0;
}

.ywzx-button {
  margin-left: 10px;
}

.ywzx-button-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 20px;
  padding: 20px;
}
.ywzx-text-container {
  margin: 20px;
  font-size: 16px;
}

/* 公文比对弹框样式 */
.gwbd-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.gwbd-modal {
  width: 960px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: linear-gradient( 180deg, #EDF4FF 0%, #EDF4FF 29.31%, #FEFFFF 100%);
}

.gwbd-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.gwbd-modal-title {
  font-family: MicrosoftYaHei;
  font-size: 16px;
  color: #050505;
  line-height: 21px;
  text-align: left;
  font-style: normal;
}

.gwbd-modal-close {
  font-size: 20px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.gwbd-modal-close:hover {
  color: #666;
}

/* 范文弹框样式 */
.fw-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fw-modal {
  background-color: #fff;
  border-radius: 15px;
  width: 900px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.fw-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
}

.fw-modal-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.fw-modal-close {
  font-size: 20px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.fw-modal-close:hover {
  color: #666;
}

/* 词库管理弹框样式 */
.ckgl-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.ckgl-modal {
  background-color: #fff;
  border-radius: 15px;
  width: 988px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ckgl-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.ckgl-modal-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.ckgl-modal-close {
  font-size: 20px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.ckgl-modal-close:hover {
  color: #666;
}

/* 校对设置弹框样式 */
.xdsz-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.xdsz-modal {
  background-color: #fff;
  border-radius: 12px;
  width: 796px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: xdsz-modal-fade-in 0.3s ease-out;
}

.xdsz-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient( 180deg, #D8E5FF 0%, #FFFFFF 100%);
}

.xdsz-modal-title {
  font-family: MicrosoftYaHei, MicrosoftYaHei;
  font-weight: bold;
  font-size: 18px;
  color: #000000;
  line-height: 24px;
  text-align: left;
  font-style: normal;
}

.xdsz-modal-close {
  font-size: 24px;
  color: #86909C;
  cursor: pointer;
  line-height: 1;
}

.xdsz-modal-content {
  height: 520px;
  background: #FFFFFF;
  overflow: auto;
}

/* 公文排版弹框样式 */
.gwpb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.gwpb-modal {
  background: linear-gradient(180deg, #EBF1FF 0%, #F6FAFF 100%);
  border-radius: 12px;
  width: 1178px;
  height: 617px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: gwpb-modal-fade-in 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

.gwpb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  flex-shrink: 0;
}

.gwpb-modal-title {
  font-family: MicrosoftYaHei, MicrosoftYaHei;
  font-weight: bold;
  font-size: 18px;
  color: #000000;
  line-height: 24px;
  text-align: left;
  font-style: normal;
}

.gwpb-modal-close {
  font-size: 24px;
  color: #86909C;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.gwpb-modal-close:hover {
  color: #4E5969;
}

.gwpb-modal-content {
  flex: 1;
  overflow: hidden;
  padding: 0;
}

@keyframes gwpb-modal-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.login-btn{
  font-family: MicrosoftYaHei;
  background: #165DFF;
  border-radius: 6px;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 21px;
  text-align: right;
  font-style: normal;
  margin-left: 37px;
  padding: 10px 20px;
}

/* 智能写作刷新遮罩层 */
.znxz-reload-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.reload-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #165dff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.reload-text {
  margin-top: 16px;
  font-size: 14px;
  color: #666;
}
/* 会员权益开始 */
.hyqyModal iframe {
  border-radius: 16px;
}

.hyqyModal .aty-modal-content, .aty-modal-header {
  border-radius: 16px;
}

.flex-row-aligncenter {
  display: flex;
  align-items: center;
}

.custom-modal-mask{
  position: fixed;
  overflow: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(55, 55, 55, .6);
  height: 100%;
  z-index: 1000;
}

.dhm-box{
  width: 960px;
  height: 580px;
  margin: 0 auto;
  position: relative;
  outline: none;
  top: 100px;
}

iframe[name='dhm-iframe']{
  border-radius: 10px;
}

.notice-list-modal-mask {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(55, 55, 55, .6);
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-list-box {
  width: 600px;
  height: 638px;
  background: #FFFFFF;
  border-radius: 12px;
  position: relative;
}

.notice-list-iframe {
  border-radius: 8px;
}

.unread-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  background: #F31818;
  border-radius: 50%;
}

.menu-item-notice-count {
  width: 18px;
  height: 18px;
  background: #F31818;
  border-radius: 50%;
  font-family: MicrosoftYaHei;
  font-size: 12px;
  color: #FFFFFF;
  text-align: center;
  margin-right: 10px;
}

.menu-item-mcp-status {
  flex-shrink: 0;
  margin-right: 8px;
  padding: 0 6px;
  height: 18px;
  line-height: 18px;
  border-radius: 9px;
  font-family: MicrosoftYaHei;
  font-size: 12px;
}

.menu-item-mcp-status.is-pending {
  color: #AD6800;
  background: #FFF7E8;
}

.menu-item-mcp-status.is-applied {
  color: #08979C;
  background: #E6FFFB;
}

.agent-auth-modal {
  width: 560px;
  max-width: calc(100vw - 32px);
  margin: 80px auto 0;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.agent-auth-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 12px;
  border-bottom: 1px solid #F0F0F0;
}

.agent-auth-modal-title {
  font-family: MicrosoftYaHei, MicrosoftYaHei;
  font-weight: bold;
  font-size: 18px;
  color: #222222;
  line-height: 24px;
}

.agent-auth-modal-close {
  width: 28px;
  height: 28px;
  line-height: 26px;
  text-align: center;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  border-radius: 4px;
}

.agent-auth-modal-close:hover {
  color: #666;
  background: #F5F5F5;
}

.agent-auth-modal-body {
  padding: 12px 20px 4px;
}

.agent-auth-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 20px 20px;
}

.agent-auth-notice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.agent-auth-notice {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  margin-bottom: 0;
  background: #F7F8FA;
  border-radius: 6px;
  font-size: 12px;
  color: #666;
  line-height: 18px;
}

.agent-auth-notice-warn {
  background: #FFF7E8;
  color: #AD6800;
}

.agent-auth-help-link {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #165DFF;
  font-size: 12px;
  line-height: 28px;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
}

.agent-auth-help-link:hover {
  background: #E8F3FF;
}

.agent-auth-help-panel {
  margin-bottom: 10px;
  padding: 10px 12px;
  background: #F7F9FC;
  border: 1px solid #E8EEF7;
  border-radius: 6px;
}

.agent-auth-help-title {
  font-size: 13px;
  font-weight: bold;
  color: #222;
  line-height: 20px;
  margin-bottom: 8px;
}

.agent-auth-help-item {
  margin-bottom: 8px;
}

.agent-auth-help-item:last-of-type {
  margin-bottom: 8px;
}

.agent-auth-help-item-name {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  line-height: 18px;
  margin-bottom: 2px;
}

.agent-auth-help-item-desc {
  font-size: 12px;
  color: #666;
  line-height: 20px;
  word-break: break-word;
}

.agent-auth-help-tip {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed #D9E2EF;
  font-size: 12px;
  color: #165DFF;
  line-height: 20px;
  word-break: break-word;
}

.agent-auth-input {
  margin-top: 0;
}

.agent-auth-input input {
  height: 44px;
  background: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E0E0E0;
  font-size: 14px;
}

.agent-auth-input .aty-form-item-label {
  height: 44px;
  line-height: 44px;
  font-size: 14px;
  color: #333;
}

.agent-auth-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #F7F8FA;
  border-radius: 6px;
  overflow: hidden;
}

.agent-auth-info-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  line-height: 20px;
  border-bottom: 1px solid #ECEFF3;
}

.agent-auth-info-item:last-child {
  border-bottom: none;
}

.agent-auth-info-label {
  flex: 0 0 64px;
  font-size: 12px;
  color: #888;
}

.agent-auth-info-value {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-auth-info-mono {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 12px;
}

.agent-auth-modal-footer-single {
  justify-content: flex-end;
}

.agent-auth-mcp-block {
  margin-top: 10px;
  padding: 10px 12px;
  background: #F7F9FC;
  border: 1px solid #E8EEF7;
  border-radius: 6px;
}

.agent-auth-mcp-title {
  font-size: 13px;
  font-weight: bold;
  color: #222;
  line-height: 20px;
  margin-bottom: 2px;
}

.agent-auth-mcp-desc {
  font-size: 12px;
  color: #666;
  line-height: 18px;
  margin-bottom: 8px;
}

.agent-auth-mcp-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agent-auth-mcp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1px solid #E6EBF2;
  border-radius: 6px;
}

.agent-auth-mcp-item-main {
  flex: 1;
  min-width: 0;
}

.agent-auth-mcp-item-name {
  font-size: 12px;
  font-weight: bold;
  color: #222;
  line-height: 18px;
  margin-bottom: 2px;
}

.agent-auth-mcp-item-url {
  font-size: 12px;
  color: #666;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Consolas, 'Courier New', monospace;
}

.agent-auth-mcp-copy-btn {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #165DFF;
  border-radius: 6px;
  background: #165DFF;
  color: #FFF;
  font-size: 12px;
  line-height: 26px;
  cursor: pointer;
  outline: none;
}

.agent-auth-mcp-copy-btn:hover {
  background: #4080FF;
  border-color: #4080FF;
}

.agent-auth-mcp-copy-btn:active {
  background: #0E42D2;
  border-color: #0E42D2;
}

.agent-auth-btn-cancel {
  display: inline-block;
  min-width: 88px;
  padding: 9px 16px;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  text-align: center;
  cursor: pointer;
  background: #FFF;
}

.agent-auth-btn-primary {
  display: inline-block;
  min-width: 88px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #FFF;
  text-align: center;
  cursor: pointer;
  background: #165DFF;
  border: 1px solid #165DFF;
}

.agent-auth-btn-primary:hover {
  background: #4080FF;
  border-color: #4080FF;
}

.agent-auth-btn-disabled {
  opacity: 0.6;
  pointer-events: none;
}

/**弹出通知样式：开始*/
.noticePopup .aty-modal-content, .noticePopup iframe {
  border-radius: 10px;
}
/**弹出通知样式：结束*/
.user-activitie .aty-modal-content{
  background: transparent;
}
.user-activitie{
  position: fixed;
  z-index: 900;
}
.user-hyqy{
  position: fixed;
  z-index: 1000;
}

/* 引用收藏/摘录：复用「我的知识库」wdzsk-modal 壳，单独控制尺寸（居中，非右侧抽屉） */
.wdzsk-modal.reference-select-modal {
  width: 560px !important;
  max-width: calc(100vw - 40px);
  height: min(560px, 86vh) !important;
}

.reference-select-modal .wdzsk-modal-body.reference-modal-body {
  padding: 20px 24px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.reference-select-modal .reference-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.reference-select-modal .reference-search-input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  background: #FFFFFF;
}

.reference-select-modal .reference-search-input:focus {
  border-color: #165DFF;
}

.reference-select-modal .reference-search-btn {
  width: 36px;
  height: 36px;
  background: #165DFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s;
}

.reference-select-modal .reference-search-btn:hover {
  background: #0E42D2;
}

.reference-select-modal .reference-search-btn .search-icon {
  width: 18px;
  height: 18px;
  color: #FFFFFF;
}

.reference-select-modal .reference-divider {
  height: 1px;
  background: #E5E7EB;
  margin-bottom: 12px;
}

.reference-select-modal .reference-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: none;
}

.reference-select-modal .reference-list .reference-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.reference-select-modal .reference-list .reference-item:hover {
  background: #F9FAFB;
}

.reference-select-modal .reference-list .reference-item.selected {
  background: #FFFFFF;
}

.reference-select-modal .reference-checkbox {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  flex-shrink: 0;
  border: 1.5px solid #D1D5DB;
  border-radius: 3px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.reference-select-modal .reference-checkbox.checked {
  background: #165DFF;
  border-color: #165DFF;
}

.reference-select-modal .reference-checkbox .checkbox-icon {
  width: 10px;
  height: 10px;
}

.reference-select-modal .reference-title {
  flex: 1;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #1F2937;
  line-height: 20px;
  word-break: break-word;
}

.reference-select-modal .reference-empty {
  text-align: center;
  padding: 40px 20px;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #9CA3AF;
}

.reference-select-modal .reference-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #6B7280;
}

.reference-select-modal .reference-loading .loading-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  animation: reference-modal-rotate 1s linear infinite;
}

.reference-select-modal .reference-loading span {
  color: #6B7280;
}

.reference-select-modal .reference-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0 0 0;
  border-top: 1px solid #E5E7EB;
  margin-top: 12px;
}

.reference-select-modal .reference-page-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.reference-select-modal .reference-page-btn svg {
  width: 16px;
  height: 16px;
  color: #6B7280;
}

.reference-select-modal .reference-page-btn:hover:not(:disabled) {
  border-color: #165DFF;
}

.reference-select-modal .reference-page-btn:hover:not(:disabled) svg {
  color: #165DFF;
}

.reference-select-modal .reference-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.reference-select-modal .reference-page-info {
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #6B7280;
}

@keyframes reference-modal-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.new-tag {
  background-image: linear-gradient(90deg, #D2E5FF 0%, #EEE8FF 100%);
  border-radius: 7px;
  font-family: MicrosoftYaHei;
  font-size: 8px;
  color: #000000;
  padding: 3px 5px;
  margin-left: 5px;
}
.new-tag-icon {
  display: inline-block;
  width: 6px;
  height: 8px;
  background: url("/IntelligentEditor/images/user/new-tag-f43dad55334b6658c258d84fd40f19ab.png") no-repeat;
  background-size: 100% 100%;
}

.tcdy-confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 0 16px;
  box-sizing: border-box;
}

.tcdy-confirm-modal {
  width: 100%;
  max-width: 448px;
  height: auto;
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #E4F3FF 0%, #FFFFFF 28%);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 38px 30px 34px;
  box-sizing: border-box;
}

.tcdy-confirm-modal-title {
  margin: 0;
  font-family: MicrosoftYaHei;
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  line-height: 25px;
}

.tcdy-confirm-modal-body {
  margin-top: 23px;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #505A68;
  line-height: 24px;
  white-space: pre-line;
}

.tcdy-confirm-modal-body p {
  margin: 0 0 12px;
}

.tcdy-confirm-modal-body p:last-child {
  margin-bottom: 0;
}

.tcdy-confirm-modal-footer {
  margin-top: 37px;
  display: flex;
  justify-content: flex-end;
}

.tcdy-confirm-modal-cancel {
  width: 90px;
  height: 38px;
  padding: 0;
  background: #E5E7EA;
  border: none;
  border-radius: 4px;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #333333;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  outline: none;
  margin-right: 10px;
}

.tcdy-confirm-modal-confirm {
  width: 90px;
  height: 38px;
  padding: 0;
  background: #1a66ff;
  border: none;
  border-radius: 4px;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  outline: none;
}

.tcdy-confirm-modal-confirm:hover {
  background: #1452cc;
}

/* 右上角安全警示 */
.security-warning-banner {
  position: fixed;
  top: 18px;
  right: 36px;
  z-index: 10001;
  color: #ff0000;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  white-space: nowrap;
}