/*
 * Keep the production drawer self-contained. The public release can update this
 * overlay independently from the shared theme, so its structural rows and
 * vertical navigation must not depend on theme rules arriving in the same cut.
 */
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台 {
  grid-template-rows: minmax(0, 1fr);
}

/* 2026-09-01 知识库顶部摘要、类型列表与右侧详情抽屉 */
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体工作面 {
  position: relative;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容主面板 {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要区 {
  min-width: 0;
  border-bottom: 1px solid var(--workbench-border-subtle);
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要区 > header,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 > header {
  min-height: 50px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要区 h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 p {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要区 h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 h3 {
  color: var(--workbench-text-primary);
  font-size: 12px;
  line-height: 18px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要区 > header button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--accent, #3978f6);
  border-radius: 6px;
  background: transparent;
  color: var(--accent, #3978f6);
  font-size: 10px;
  cursor: pointer;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要区 > header button:disabled {
  border-color: var(--workbench-border-subtle);
  color: var(--workbench-text-muted);
  cursor: not-allowed;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 {
  margin: 0;
  padding: 0 18px;
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(120px, .72fr) minmax(84px, .48fr) minmax(78px, .42fr) minmax(310px, 1.7fr);
  align-items: stretch;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 > div {
  min-width: 0;
  min-height: 72px;
  padding: 11px 16px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-right: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 > div:first-child {
  padding-left: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 > div:last-child {
  padding-right: 0;
  border-right: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 dt,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 dd {
  min-width: 0;
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 dt {
  color: var(--workbench-text-muted);
  font-size: 9px;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 dd {
  overflow: hidden;
  color: var(--workbench-text-primary);
  font-size: 10px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 dd.完成 {
  color: var(--workbench-success-text, #2f9e44);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库摘要处理记录 dd {
  display: flex;
  align-items: center;
  gap: 13px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库摘要处理记录 dd > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--workbench-text-secondary);
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库摘要处理记录 i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--workbench-text-muted);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库摘要处理记录 .完成 i {
  background: var(--workbench-success-text, #2f9e44);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库摘要处理记录 em {
  color: var(--workbench-text-muted);
  font-size: 8px;
  font-style: normal;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 > header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 > header > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 > header p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 > header > span {
  color: var(--workbench-text-muted);
  font-size: 9px;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型层级 {
  position: sticky;
  z-index: 2;
  top: 50px;
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 {
  min-height: 40px;
  padding: 0 18px;
  display: flex;
  align-items: stretch;
  gap: 22px;
  overflow-x: auto;
  border-bottom: 1px solid var(--workbench-border-subtle);
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 button {
  position: relative;
  min-width: max-content;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--workbench-text-secondary);
  font-size: 10px;
  cursor: pointer;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 button::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--accent, #3978f6);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 button:hover,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 button:focus-visible,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 button.当前 {
  color: var(--accent, #3978f6);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 button:hover::after,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 button:focus-visible::after,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 button.当前::after {
  transform: scaleX(1);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 small {
  color: inherit;
  font-size: 8px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉层 {
  display: flex;
  justify-content: flex-end;
  animation: none;
  transition: none;
  transform: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉遮罩 {
  padding: 0;
  border: 0;
  background: rgba(13, 18, 28, .34);
  cursor: pointer;
  animation: none;
  transition: none;
  transform: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉 {
  z-index: 1;
  min-width: 0;
  overflow: auto;
  background: var(--workbench-surface-panel, #fff);
  overscroll-behavior: contain;
  animation: none;
  transition: none;
  transform: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉 .知识库解析内容详情 {
  min-height: 100%;
  padding: 18px 22px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉 .知识库详情横向内容 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉 .知识库详情横向内容 > section,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉 .知识库详情横向内容 > section:first-child,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉 .知识库详情横向内容 > section:last-child {
  padding: 15px 0;
  border-right: 0;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情抽屉 .知识库详情横向内容 > section:last-child {
  border-bottom: 0;
}

@media (max-width: 1180px) {
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 {
    grid-template-columns: minmax(160px, 1.15fr) minmax(110px, .7fr) 78px 72px minmax(230px, 1.4fr);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库摘要处理记录 dd {
    gap: 8px;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库摘要处理记录 em {
    display: none;
  }
}

@media (max-width: 760px) {
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容主面板 {
    min-height: 620px;
    overflow: visible;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 {
    padding: 0 14px;
    display: flex;
    overflow-x: auto;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源摘要行 > div {
    min-width: 132px;
    min-height: 68px;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库摘要处理记录 {
    min-width: 300px !important;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 {
    overflow: visible;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容板块 > header,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库内容类型列表 {
    position: static;
  }

  

  
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产抽屉 {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--workbench-border-subtle);
  border-radius: var(--feishu-border-radius-medium);
  background: var(--workbench-surface-panel);
  box-shadow: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产抽屉 > header {
  min-width: 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产抽屉 > header strong {
  color: var(--workbench-text-primary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 {
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 10px 8px;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉分组 {
  display: grid;
  gap: 2px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉分组 > small {
  padding: 7px 8px 3px;
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 15px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 button {
  position: relative;
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 38px;
  margin: 0;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: var(--feishu-border-radius-small);
  background: transparent;
  color: var(--workbench-text-secondary);
  text-align: left;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 2px;
  height: auto;
  display: block;
  border-radius: 0 2px 2px 0;
  background: var(--feishu-color-primary);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform .16s ease;
}



body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 button.当前 {
  border: 0;
  
  
  
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 .课程抽屉主项.已展开 {
  background: transparent;
  color: var(--workbench-text-primary);
  font-weight: 600;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 button.当前::before {
  transform: scaleY(1);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 button > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 button strong {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: none;
  color: currentColor;
  font-size: 13px;
  font-weight: inherit;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 button :is(em, i) {
  color: var(--workbench-text-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}



body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉子项 {
  padding: 0 0 4px 10px;
  display: grid;
  gap: 1px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉子项 button {
  min-height: 32px;
  padding-block: 5px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉子项 button strong {
  font-size: 12px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉关系说明 {
  margin: 8px 8px 2px;
  padding-top: 8px;
  border-top: 1px solid var(--workbench-border-subtle);
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 16px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产主区 {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr);
  overflow: hidden;
  background: var(--workbench-surface-canvas, var(--feishu-color-bg-1));
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产模块页头 {
  min-width: 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--workbench-border-subtle);
  background: var(--workbench-surface-panel, var(--feishu-color-bg-0));
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产模块页头 > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产模块页头 :is(h2, p) {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产模块页头 h2 {
  color: var(--workbench-text-primary);
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产模块页头 p {
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作区 {
  min-width: 0;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
  background: var(--workbench-surface-canvas, var(--feishu-color-bg-1));
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作区 > * {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

/* The existing course header/nav rules set explicit grid rows. Keep the drawer rows stable. */
body[data-workbench="xhs"][data-current-page="xiaohongshu"][data-xhs-canvas="course-production"] #环节轨道 {
  width: 100%;
  height: 100%;
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"][data-xhs-canvas="course-production"] .环节画布 {
  padding: var(--site-navigation-height) 0 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"][data-xhs-canvas="course-production"] .课程生产工作台 {
  width: 100%;
  height: calc(100dvh - var(--site-navigation-height));
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产抽屉 > header {
  grid-row: 1;
  height: auto;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 {
  grid-row: 2;
}

/* 2026-08-31 生产模块：整栏滑出，仅保留页面左侧中部拉手。 */
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台 {
  --课程抽屉展开宽度: 190px;
  --课程抽屉宽度: var(--课程抽屉展开宽度);
  --课程抽屉间距: 0px;
  position: relative;
  grid-template-columns: var(--课程抽屉宽度) minmax(0, 1fr);
  gap: var(--课程抽屉间距);
  transition: grid-template-columns 180ms ease, gap 180ms ease;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 {
  --课程抽屉宽度: 0px;
  --课程抽屉间距: 0px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产抽屉 {
  width: var(--课程抽屉展开宽度);
  border: 0;
  border-right: 1px solid var(--workbench-border-subtle);
  border-radius: 0;
  transform: translateX(0);
  transform-origin: left center;
  opacity: 1;
  transition: transform 180ms ease, opacity 140ms ease;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 .课程生产抽屉 {
  grid-template-rows: 54px minmax(0, 1fr);
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 .课程生产抽屉 > header {
  padding: 0 12px;
  justify-content: flex-start;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 .课程生产抽屉 > header strong {
  display: inline;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 .课程生产步骤 {
  display: block;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉边缘开关 {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: calc(var(--课程抽屉宽度) - 1px);
  width: 26px;
  height: 64px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--workbench-border-subtle);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: var(--workbench-surface-panel);
  color: var(--workbench-text-muted);
  box-shadow: 4px 0 12px rgba(31, 35, 41, 0.08);
  transition: left 180ms ease, color 160ms ease, background 160ms ease;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉边缘开关:is(:hover, :focus-visible) {
  color: var(--feishu-color-primary);
  background: var(--feishu-color-primary-light-default);
  outline: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉边缘开关 svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 .课程抽屉边缘开关 svg {
  transform: rotate(180deg);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 .课程抽屉边缘开关 {
  left: 0;
}

/* 2026-08-31 知识库导入：标题动作并入内容来源，工作面连续铺满。 */

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 .课程抽屉主项 > i {
  width: auto;
  height: auto;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  transform: none;
  transition: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 .课程抽屉主项[data-course-stage="course"] > i,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 .课程抽屉主项[data-course-stage="template"] > i {
  color: var(--workbench-text-muted);
  font-weight: 400;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产步骤 .课程抽屉主项 > span > em {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库导入页面 {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  color: var(--workbench-text-primary);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 h2,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板标题 h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板标题 p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 p {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源标题动作 {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源标题动作 button {
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--feishu-color-control-border);
  border-radius: var(--feishu-border-radius-small);
  background: var(--workbench-surface-panel);
  color: var(--workbench-text-secondary);
  font-size: 11px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源标题动作 button:is(:hover, :focus-visible) {
  border-color: var(--feishu-color-primary);
  color: var(--feishu-color-primary);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库导入工作面 {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(260px, 22%, 320px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--workbench-border-subtle);
  border-radius: var(--feishu-border-radius-medium);
  background: var(--workbench-surface-panel);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--workbench-border-subtle);
  background: var(--workbench-surface-panel);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 > header {
  min-height: 58px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 > header > div {
  min-width: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 > header h2,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板标题 h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 > header h3 {
  font-size: 13px;
  font-weight: 650;
  line-height: 19px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 > header p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板标题 p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 > header p {
  margin-top: 2px;
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 > header > span {
  flex: 0 0 auto;
  color: var(--workbench-text-muted);
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 > .课程生产消息 {
  margin: 8px 12px 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库紧凑导入 {
  padding: 10px 12px 9px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库紧凑导入 .课程链接字段 {
  min-width: 0;
  display: block;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库紧凑导入 input {
  height: 34px;
  padding: 0 10px;
  border-color: var(--feishu-color-control-border);
  border-radius: var(--feishu-border-radius-small);
  background: var(--workbench-surface-inset);
  color: var(--workbench-text-primary);
  font-size: 11px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库紧凑导入 input:focus {
  border-color: var(--feishu-color-primary);
  background: var(--workbench-surface-panel);
  box-shadow: 0 0 0 3px var(--feishu-color-focus-shadow);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库紧凑导入 .课程主按钮 {
  min-width: 58px;
  min-height: 34px;
  height: 34px;
  padding: 0 11px;
  border-radius: var(--feishu-border-radius-small);
  box-shadow: none;
  font-size: 11px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库紧凑导入 > small {
  grid-column: 1 / -1;
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 > .课程来源列表 {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: auto;
  scrollbar-width: thin;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 > .课程生产空状态 {
  flex: 1 1 auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 .课程来源项 {
  min-height: 72px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--workbench-border-subtle);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 .课程来源项:has(.课程来源整卡选择:hover),
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 .课程来源项.当前 {
  border-color: var(--workbench-border-subtle);
  background: var(--workbench-surface-selected);
  box-shadow: inset 3px 0 0 var(--feishu-color-primary);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源行主体,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源行状态 {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
  pointer-events: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源行主体 strong {
  color: var(--workbench-text-primary);
  font-size: 12px;
  line-height: 18px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源行主体 small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源行状态 small {
  color: var(--workbench-text-muted);
  font-size: 9px;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源行状态 {
  justify-items: end;
  text-align: right;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源行状态 em {
  color: var(--workbench-status-success-text);
  font-size: 9px;
  font-style: normal;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 .课程独立入口 {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  flex: 0 0 auto;
  border: 0;
  border-top: 1px solid var(--workbench-border-subtle);
  border-radius: 0;
  background: transparent;
  color: var(--workbench-text-secondary);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 .课程独立入口:is(:hover, :focus-visible) {
  border-color: var(--workbench-border-subtle);
  background: var(--workbench-surface-interactive);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 .课程独立入口 strong {
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 .课程独立入口 small {
  display: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板 {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: var(--workbench-surface-panel);
  scrollbar-width: thin;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板标题 {
  min-height: 58px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板标题 > div {
  min-width: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--workbench-border-subtle);
  background: var(--workbench-surface-panel);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 > header {
  min-height: 58px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 > header > div {
  min-width: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理滚动区 {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  scrollbar-width: thin;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库入口路由 {
  padding: 10px 14px;
  display: grid;
  gap: 7px;
  border-bottom: 1px solid var(--workbench-border-subtle);
  background: var(--workbench-surface-raised);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库入口路由 > span {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库入口路由 strong {
  color: var(--workbench-text-secondary);
  font-size: 10px;
  line-height: 15px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库入口路由 small {
  color: var(--feishu-color-primary);
  font-size: 10px;
  line-height: 15px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源列表标题 {
  padding: 10px 14px 6px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源列表标题 strong {
  color: var(--workbench-text-primary);
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源列表标题 small {
  color: var(--workbench-text-muted);
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库去向总览 {
  padding: 12px;
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--workbench-border-subtle);
  background: var(--workbench-surface-raised);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库去向总览 article {
  min-width: 0;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--workbench-border-subtle);
  border-radius: var(--feishu-border-radius-small);
  background: var(--workbench-surface-panel);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库去向总览 article.当前路线 {
  border-color: color-mix(in srgb, var(--feishu-color-primary) 28%, var(--workbench-border-subtle));
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库去向总览 article > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库去向总览 article > header span {
  color: var(--workbench-text-secondary);
  font-size: 10px;
  font-weight: 600;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库去向总览 article > header em {
  color: var(--workbench-text-muted);
  font-size: 10px;
  font-style: normal;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库去向总览 article > strong {
  color: var(--workbench-text-primary);
  font-size: 13px;
  line-height: 18px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库去向总览 article > p {
  margin: 0;
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 15px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库平铺分区,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 {
  min-width: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--workbench-border-subtle);
  border-radius: 0;
  background: transparent;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库平铺分区 > header,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 > header {
  min-height: 62px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库平铺分区 > header > div,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 > header > div {
  min-width: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库平铺分区 > header h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 > header h3 {
  margin: 0;
  font-size: 11px;
  line-height: 17px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库平铺分区 > header p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 > header p {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 15px;
  text-overflow: ellipsis;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库分区计数 {
  flex: 0 0 auto;
  color: var(--workbench-text-muted);
  font-size: 10px;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库编辑表单 {
  padding: 10px 12px 12px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库字段组 {
  display: grid;
  gap: 8px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库字段组 fieldset {
  min-width: 0;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--workbench-border-subtle);
  border-radius: var(--feishu-border-radius-small);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库字段组 fieldset.当前业务路线 {
  border-color: color-mix(in srgb, var(--feishu-color-primary) 24%, var(--workbench-border-subtle));
  background: var(--feishu-color-primary-light-default);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库字段组 legend {
  padding: 0 4px;
  color: var(--workbench-text-secondary);
  font-size: 11px;
  font-weight: 600;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库字段组 label {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: var(--workbench-text-secondary);
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库用途 {
  display: grid;
  gap: 2px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库用途 strong {
  color: var(--workbench-text-primary);
  font-size: 11px;
  line-height: 15px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库用途 small {
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 15px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库字段组 input {
  width: 100%;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--feishu-color-control-border);
  border-radius: var(--feishu-border-radius-small);
  background: var(--workbench-surface-panel);
  color: var(--workbench-text-primary);
  font-size: 11px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库字段组 small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库字段组 p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .IM内容数据库编辑状态 {
  margin: 0;
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 15px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库编辑表单 > footer {
  position: sticky;
  z-index: 2;
  bottom: -12px;
  margin: 10px -12px -12px;
  padding: 10px 12px 12px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--workbench-border-subtle);
  background: var(--workbench-surface-panel);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库数据库编辑表单 > footer .课程主按钮 {
  min-height: 30px;
  padding: 0 10px;
  font-size: 9px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库同行校对列表 > .配置提示,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库平铺分区 > .课程生产空状态 {
  margin: 0;
  padding: 18px 14px;
  color: var(--workbench-text-muted);
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库同行校对列表 > .课程工作台表单 {
  margin: 0;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid var(--workbench-border-subtle);
  border-radius: 0;
  background: transparent;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 {
  border-top: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 > header {
  padding-inline: 22px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 .课程高级数据归属 {
  margin: 12px 22px 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 {
  min-height: 246px;
  padding: 20px 22px 22px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前来源标记 {
  width: max-content;
  margin-bottom: 7px;
  display: block;
  color: var(--feishu-color-primary);
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header {
  min-width: 0;
  padding: 0 0 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header > div {
  min-width: 0;
  flex: 1 1 auto;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情标题 {
  min-width: 0;
  display: grid;
  gap: 3px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情标题 > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情标题 strong {
  min-width: 0;
  overflow: hidden;
  color: var(--workbench-text-primary);
  font-size: 15px;
  font-weight: 650;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情标题 small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header p {
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 16px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header p {
  margin: 7px 0 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header > button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--feishu-color-primary);
  border-radius: var(--feishu-border-radius-small);
  background: var(--workbench-surface-panel);
  color: var(--feishu-color-primary);
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header > button:is(:hover, :focus-visible) {
  background: var(--feishu-color-primary-light-default);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header > button:disabled {
  border-color: var(--feishu-color-control-border);
  background: var(--feishu-color-disabled-bg);
  color: var(--feishu-color-disabled-text);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 .课程来源改名 {
  flex: 0 0 24px;
  border: 0;
  background: transparent;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情标题编辑 {
  padding: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析摘要 {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 {
  padding: 14px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 > div {
  min-width: 0;
  padding: 0 14px;
  border-right: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 > div:first-child {
  padding-left: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 > div:last-child {
  padding-right: 0;
  border-right: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 dt,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析摘要 dt {
  color: var(--workbench-text-muted);
  font-size: 9px;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 dd,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析摘要 dd {
  min-width: 0;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--workbench-text-primary);
  font-size: 12px;
  line-height: 18px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析摘要 > div {
  min-height: 54px;
  padding: 11px 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析摘要 > div:last-child {
  border-bottom: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析摘要 dd {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 {
  margin: 0 22px 18px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--feishu-color-primary) 24%, var(--workbench-border-subtle));
  border-radius: var(--feishu-border-radius-medium);
  background: var(--feishu-color-primary-light-default);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 > header h4,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 > header p {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 > header h4 {
  color: var(--workbench-text-primary);
  font-size: 12px;
  line-height: 18px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 > header p {
  margin-top: 2px;
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 15px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 > header > span {
  flex: 0 0 auto;
  color: var(--feishu-color-primary);
  font-size: 10px;
  font-weight: 600;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 ol {
  margin: 13px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li {
  min-width: 0;
  padding: 0 10px;
  display: grid;
  align-content: start;
  gap: 3px;
  border-right: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li:first-child {
  padding-left: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li:last-child {
  padding-right: 0;
  border-right: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li em {
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 10px;
  font-style: normal;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li strong {
  overflow: hidden;
  color: var(--workbench-text-primary);
  font-size: 11px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li.完成 em {
  color: var(--feishu-color-success);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li button {
  width: max-content;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--feishu-color-primary);
  font-size: 10px;
  font-weight: 600;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库当前路线 li button:disabled {
  color: var(--workbench-text-muted);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程凭证阶段 {
  margin: 12px 22px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程凭证阶段 > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程凭证阶段 strong {
  color: var(--workbench-text-secondary);
  font-size: 9px;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程凭证阶段 small {
  color: var(--workbench-text-muted);
  font-size: 8px;
  line-height: 13px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程凭证阶段 > span.完成 small {
  color: var(--feishu-color-success);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 .课程结果摘要 {
  margin: 12px 22px 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  background: transparent;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 .课程结果摘要 > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 .课程结果摘要 dt {
  color: var(--workbench-text-muted);
  font-size: 8px;
  line-height: 13px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 .课程结果摘要 dd {
  min-width: 0;
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库高级信息 .课程结果摘要 code {
  display: block;
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 8px;
  line-height: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库导入工作面 {
  grid-template-columns: clamp(260px, 22%, 320px) minmax(0, 1fr);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 > header {
  justify-content: space-between;
  gap: 12px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 {
  min-height: 0;
  padding: 18px 20px 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库信息列表 {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库信息列表 > div {
  min-height: 50px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库信息列表 dt {
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 16px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库信息列表 dd {
  min-width: 0;
  margin: 0;
  color: var(--workbench-text-primary);
  font-size: 11px;
  line-height: 18px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库信息列表 dd.完成,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库相关内容列表 em.完成,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 em.完成 {
  color: var(--workbench-status-success-text);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库信息列表 dd button {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--feishu-color-primary);
  font-size: 11px;
  font-weight: 600;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 {
  margin: 0 -20px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 > header {
  min-height: 46px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 h4 {
  margin: 0;
  color: var(--workbench-text-primary);
  font-size: 11px;
  line-height: 17px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 > header span {
  color: var(--workbench-text-muted);
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 ul,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库相关内容列表 {
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 li,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库相关内容列表 li {
  min-width: 0;
  min-height: 48px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 li span,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库相关内容列表 strong {
  min-width: 0;
  overflow: hidden;
  color: var(--workbench-text-secondary);
  font-size: 11px;
  font-weight: 500;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 em,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库相关内容列表 em {
  flex: 0 0 auto;
  color: var(--workbench-text-muted);
  font-size: 10px;
  font-style: normal;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库相关内容列表 li {
  min-height: 62px;
  padding-inline: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库相关内容列表 li > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库相关内容列表 small {
  color: var(--workbench-text-muted);
  font-size: 9px;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表空态 {
  margin: 0;
  padding: 18px 14px;
  color: var(--workbench-text-muted);
  font-size: 10px;
}

@media (max-width: 1240px) and (min-width: 761px) {
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库导入工作面 {
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 {
    grid-row: 1;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板 {
    grid-column: 2;
    grid-row: 1;
  }

}

@media (max-width: 940px) and (min-width: 761px) {
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台 {
    --课程抽屉展开宽度: 190px;
    --课程抽屉宽度: var(--课程抽屉展开宽度);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 {
    --课程抽屉宽度: 0px;
  }
}

@media (max-width: 760px) {
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台 {
    --课程抽屉展开宽度: 190px;
    --课程抽屉宽度: var(--课程抽屉展开宽度);
    --课程抽屉间距: 0px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 {
    --课程抽屉宽度: 0px;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产抽屉 {
    position: absolute;
    z-index: 5;
    inset: 0 auto 0 0;
    width: var(--课程抽屉展开宽度);
    box-shadow: var(--workbench-shadow-floating, var(--feishu-shadow-elevated, 0 12px 32px rgba(0, 0, 0, .24)));
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台.抽屉已收起 .课程生产抽屉 {
    transform: translateX(-100%);
    box-shadow: none;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产主区 {
    grid-column: 1;
    grid-template-rows: 48px minmax(0, 1fr);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产模块页头 {
    padding-inline: 14px;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产模块页头 p {
    display: none;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作区 {
    padding: 8px;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库导入页面 {
    height: auto;
    min-height: calc(100dvh - var(--site-navigation-height) - 18px);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库导入工作面 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    overflow: visible;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源面板 {
    min-height: 300px;
    max-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--workbench-border-subtle);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析面板 {
    overflow: visible;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理面板 {
    overflow: visible;
    border-top: 1px solid var(--workbench-border-subtle);
    border-left: 0;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库管理滚动区 {
    overflow: visible;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 {
    min-height: 0;
    padding: 16px 14px;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析详情 > header > button {
    width: 100%;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 {
    grid-template-columns: 1fr;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 > div,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 > div:first-child,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 > div:last-child {
    padding: 7px 0;
    border-right: 0;
    border-bottom: 1px solid var(--workbench-border-subtle);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析统计 > div:last-child {
    border-bottom: 0;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析摘要 > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库信息列表 > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 {
    margin-inline: -14px;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 > header,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库处理记录 li {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产工作台,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程生产抽屉,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉边缘开关,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程抽屉边缘开关 svg {
    transition: none;
  }
}

/* 知识库：中间单列管理来源与解析数据，右侧固定展示详情。 */
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体页面 {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体工作面 {
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(280px, 22%, 320px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--workbench-border-subtle);
  border-radius: 8px;
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表面板,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情固定面板 {
  min-width: 0;
  min-height: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表面板 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体页头 {
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体页头 h2,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体页头 p {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体页头 h2 {
  color: var(--workbench-text-primary);
  font-size: 13px;
  line-height: 20px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体页头 p {
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 16px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源标题动作 {
  display: flex;
  gap: 6px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源标题动作 button,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析动作,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 > header button,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容详情 > header button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--workbench-text-secondary);
  font-size: 10px;
  cursor: pointer;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体导入 {
  margin: 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体导入 label,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体导入 input {
  min-width: 0;
  width: 100%;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体导入 input,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体导入 .课程主按钮 {
  height: 32px;
  min-height: 32px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体导入 small {
  grid-column: 1 / -1;
  color: var(--workbench-text-muted);
  font-size: 9px;
  line-height: 14px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体列表 {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源整体项 {
  border-bottom: 1px solid var(--workbench-border-subtle);
}



body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源整体项.当前 .知识库来源主信息 strong,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源整体项.当前 .知识库来源主信息 small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源整体项.当前 .课程来源改名 {
  color: var(--feishu-color-primary);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源横行 {
  position: relative;
  min-height: 68px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源横行选择,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .课程子内容摘要选择 {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源主信息 {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源主信息 > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源主信息 strong {
  min-width: 0;
  overflow: hidden;
  color: var(--workbench-text-primary);
  font-size: 11px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源主信息 small {
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 9px;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源主信息 .课程来源改名,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析动作,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表标题编辑 {
  position: relative;
  z-index: 2;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源主信息 .课程来源改名 {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--workbench-text-muted);
  cursor: pointer;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源主信息 .课程来源改名 svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表标题编辑 {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 5px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表标题编辑 label,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表标题编辑 input {
  min-width: 0;
  width: 100%;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表标题编辑 small {
  grid-column: 1 / -1;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 {
  border-top: 1px solid var(--workbench-border-subtle);
  background: color-mix(in srgb, var(--workbench-surface-canvas, #f5f7fa) 68%, transparent);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库右侧数据面板 {
  min-height: 100%;
  border-top: 0;
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header {
  min-height: 48px;
  padding: 8px 14px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库右侧数据面板 > header {
  min-height: 94px;
  padding: 16px 20px;
  align-items: flex-start;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header strong,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header em,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header p {
  margin: 0;
  font-style: normal;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header strong {
  color: var(--workbench-text-secondary);
  font-size: 10px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库右侧数据面板 > header strong {
  color: var(--workbench-text-primary);
  font-size: 15px;
  line-height: 22px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header em,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据区 > header p {
  color: var(--workbench-text-muted);
  font-size: 9px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 {
  position: relative;
  min-width: 0;
  min-height: 86px;
  padding: 10px 14px 10px 20px;
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(180px, .9fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--workbench-border-subtle);
  border-radius: 0;
  background: transparent;
}



body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 header,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 > strong,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 > p {
  position: relative;
  z-index: 0;
  min-width: 0;
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 header {
  grid-column: 1;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 > strong {
  grid-column: 2;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 > p {
  grid-column: 3;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 > strong {
  overflow: hidden;
  color: var(--workbench-text-primary);
  font-size: 11px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 > p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 9px;
  line-height: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程同行内容摘要卡 > section {
  display: none;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情固定面板 {
  overflow: auto;
  background: var(--workbench-surface-panel, #fff);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容详情 {
  min-height: 100%;
  padding: 18px 20px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 > header,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容详情 > header {
  min-height: 82px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 > header span,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容详情 > header span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容详情 h3 {
  margin: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 h3,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容详情 h3 {
  color: var(--workbench-text-primary);
  font-size: 15px;
  line-height: 22px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 header small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析内容详情 header small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 header p {
  color: var(--workbench-text-muted);
  font-size: 10px;
  line-height: 16px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 .知识库信息列表 {
  margin-top: 12px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库来源详情面板 .知识库处理记录 {
  margin-top: 18px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 {
  padding-top: 18px;
  display: grid;
  grid-template-columns: minmax(150px, .75fr) minmax(220px, 1.15fr) minmax(240px, 1.35fr);
  gap: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 > section {
  min-width: 0;
  padding: 4px 20px;
  border-right: 1px solid var(--workbench-border-subtle);
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 > section:first-child {
  padding-left: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 > section:last-child {
  padding-right: 0;
  border-right: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 small,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 strong,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 h4,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 ul,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 ol {
  margin-top: 0;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 small {
  display: block;
  margin-bottom: 8px;
  color: var(--workbench-text-muted);
  font-size: 9px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 strong,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 h4 {
  color: var(--workbench-text-primary);
  font-size: 11px;
  line-height: 18px;
}

body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 p,
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 li {
  color: var(--workbench-text-secondary);
  font-size: 10px;
  line-height: 18px;
}

@media (max-width: 1100px) {
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体工作面 {
    grid-template-columns: minmax(280px, 30%) minmax(0, 1fr);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 > section,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 > section:first-child,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 > section:last-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--workbench-border-subtle);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情横向内容 > section:last-child {
    border-bottom: 0;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 {
    grid-template-columns: minmax(120px, .72fr) minmax(150px, .9fr) minmax(0, 1.35fr);
    gap: 12px;
  }
}

@media (max-width: 760px) {
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体页面 {
    height: auto;
    min-height: calc(100dvh - var(--site-navigation-height) - 18px);
    overflow: visible;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库整体工作面 {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库列表面板 {
    min-height: 520px;
    max-height: 68dvh;
    border-right: 0;
    border-bottom: 1px solid var(--workbench-border-subtle);
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库详情固定面板 {
    min-height: 420px;
    overflow: visible;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 header,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 > strong,
  body[data-workbench="xhs"][data-current-page="xiaohongshu"] .知识库解析数据列表 .课程子内容摘要卡 > p {
    grid-column: 1;
  }
}

/* Keep the selected template page visible in the thumbnail strip. */
body[data-workbench="xhs"][data-current-page="xiaohongshu"] .模板子页面按钮.当前 {
  border-color: #1664ff;
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px #1664ff;
}
