/* Content surfaces follow the Ark dataset reference: one white workspace,
   whitespace between sections, quiet table rules, bounded form controls.
   Scope explicit UI containers; generated artwork and document content retain
   their own borders, geometry, colors and selection handles. */
:root {
  --content-surface: #fff;
  --content-muted-surface: #f6f6fc;
  --content-rule: #ededf3;
  --content-selection: #ebebf5;
}

/* knowledge-parse-panel-v1: source actions live beside the selected source. */
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析操作区 {
  min-width: 0;
  margin: 16px 14px 20px;
  padding: 16px 0 0;
  border: 0;
  background: transparent;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析操作区 h3 {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析操作区 .知识库解析工作流 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-width: 100%;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析操作区 :is(label, select, button) {
  min-width: 0;
  max-width: 100%;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析操作区 .工作流场景选择 {
  font-size: 12px;
  font-weight: 400;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析操作区 button {
  min-height: 32px;
  border-radius: 6px;
  font-size: 12px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析操作区 p {
  margin: 0;
  color: #77778b;
  font-size: 12px;
  line-height: 1.6;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析操作区 .知识库解析说明 {
  margin-top: 10px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要区 > header {
  min-height: 32px;
  padding-block: 0 12px;
}
body[data-lg-navigation-ready][data-workbench="xhs"] #应用 #IM页面 #IM表单[data-xhs-form="generation"] {
  border: 0 !important;
  box-shadow: none !important;
}

/* Remove the old frame inside the existing console workspace. */
body[data-lg-navigation-ready] #应用 #环节轨道 :where(
  .知识库整体工作面, .知识库列表面板, .知识库内容主面板,
  .知识库整体页头, .知识库整体导入, .知识库来源摘要区,
  .知识库来源摘要区 > header, .知识库来源摘要行 > div,
  .知识库解析内容板块 > header, .内容架构卡片页面,
  .内容架构库页头, .技能中心导航行, .技能卡片标题区,
  .技能功能卡 > footer, .内容架构卡片正文 > footer,
  .API资源说明, .内容配置预览, .网站后端衔接条,
  .平台接入截图操作栏, .模板工作台, .模板左栏, .模板右栏,
  .课程操作标题, .课程主对象标题, .课程右栏工具,
  .素材采集库搜索栏, .素材采集库卡互动
) {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body[data-lg-navigation-ready] #应用 #环节轨道 :is(
  .内容架构卡片滚动区, .素材采集库列表, .模板库内容区,
  .知识库整体页面, .知识库解析内容板块
) { background: transparent !important; }

/* Knowledge sources are a quiet inset column, not a bordered spreadsheet. */
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库整体工作面 {
  gap: 24px;
  border-radius: 0 !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库列表面板 {
  background: var(--content-muted-surface) !important;
  border-radius: 8px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库整体导入 {
  padding-bottom: 20px;
  gap: 10px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要区 {
  padding-bottom: 16px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要区 > header,
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析内容板块 > header {
  padding-inline: 0;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要行 {
  padding: 8px 16px;
  gap: 16px;
  background: var(--content-muted-surface);
  border-radius: 8px;
  grid-template-columns: minmax(150px, 1.2fr) minmax(90px, .7fr) minmax(72px, .5fr) minmax(72px, .5fr) minmax(180px, 1.5fr);
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要行 > div {
  padding: 8px 0;
  min-height: 56px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要行 dd {
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库摘要处理记录 dd {
  flex-wrap: wrap;
  gap: 8px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 :is(.知识库来源整体项, .课程子内容摘要卡) {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源整体项 {
  margin: 4px 8px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .课程子内容摘要卡 {
  margin-block: 6px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 :is(.知识库来源整体项, .课程子内容摘要卡):hover {
  background: var(--content-muted-surface) !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 :is(.知识库来源整体项, .课程子内容摘要卡).当前 {
  background: var(--content-selection) !important;
}

/* Nested content categories are filters, not four stacked tab underlines. */
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库内容类型列表 {
  border: 0 !important;
  gap: 8px !important;
  padding-block: 4px !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库内容类型列表 > button {
  min-height: 32px !important;
  height: 32px !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库内容类型列表 > button:is(.当前, [aria-selected="true"], [aria-pressed="true"]) {
  background: transparent !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .知识库内容类型列表 > button::after {
  content: none !important;
}

/* Cards are grouped by spacing; controls retain their own boundaries. */
body[data-lg-navigation-ready] #应用 #环节轨道 :is(.技能功能卡, .内容架构内容卡, .全部模板卡) {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .技能卡片标题区 {
  padding-top: 18px;
  padding-bottom: 4px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .技能卡片标题区 h2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .技能功能卡 > footer {
  padding-bottom: 16px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .技能中心搜索 {
  border: 0 !important;
  box-shadow: none !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .技能中心分类 {
  border-bottom: 0 !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构库页头 {
  min-height: 48px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片滚动区 {
  padding-top: 20px !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构内容卡 :is(figure img, .内容架构原图占位) {
  border: 0;
}


/* Architecture cards: compact source preview and one metadata row. */
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片滚动区 { padding-top: 16px !important; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片网格 { grid-template-columns: repeat(auto-fill,minmax(min(100%,380px),1fr)); gap: 16px 24px; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构内容卡 { grid-template-columns: 104px minmax(0,1fr); align-items: start; gap: 16px; min-height: 0; padding: 12px; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构内容卡 figure { display: block; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构内容卡 :is(figure img,.内容架构原图占位) { width: 104px; height: 140px; max-height: 140px; object-fit: contain; font-size: 11px; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 { display: flex; flex-direction: column; gap: 8px; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 > span { justify-content: flex-start; gap: 10px; flex-wrap: wrap; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 :is(em,small) { font-size: 11px; line-height: 18px; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 em { padding: 1px 6px; font-weight: 500; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 > strong { font-size: 14px; line-height: 21px; font-weight: 600; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 12px; line-height: 20px; color: var(--feishu-color-text-1); }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 > footer { padding-top: 2px; gap: 12px; justify-content: space-between; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 > footer :is(span,i) { font-size: 11px; line-height: 18px; font-weight: 400; }
body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构卡片正文 > footer i { margin-left: auto; }
@media(max-width:620px) {
  body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构内容卡 { grid-template-columns: 76px minmax(0,1fr); gap: 12px; padding: 8px 0; }
  body[data-lg-navigation-ready] #应用 #环节轨道 .内容架构内容卡 :is(figure img,.内容架构原图占位) { width: 76px; height: 102px; max-height: 102px; }
}

/* Explanations and previews use quiet tone; form inputs keep their boundaries. */
body[data-lg-navigation-ready] #应用 #环节轨道 .API资源说明 {
  padding: 0 0 16px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .内容模板配置布局 {
  padding: 8px 0;
  gap: 32px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .API配置主区:has(.内容模板配置布局) > .控制台页面操作 {
  top: -40px !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .内容配置预览 {
  background: var(--content-muted-surface) !important;
  padding: 24px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .内容配置预览 dl > div {
  margin-block: 16px;
}

/* Management pages share the same surface language; data tables stay legible. */
body:has(.operator-shell) {
  background: var(--content-muted-surface) !important;
  background-image: none !important;
}
.operator-app .operator-content,
.users-app .operator-content {
  border-color: var(--content-rule) !important;
  box-shadow: none !important;
  background: var(--content-surface) !important;
}
body .operator-content :where(.operator-page-heading, .section-heading,
  .operator-section, .platform-operation-free-note, .workflow-config-card,
  .workflow-source-readback, .workflow-scene-list-heading,
  .workflow-config-list-meta, .shortcut-summary-card) {
  border: 0 !important;
  box-shadow: none !important;
}
body .operator-content .operator-section {
  background: transparent !important;
  margin-block: 8px;
  border-radius: 0 !important;
}
body .operator-content .operator-page-heading {
  padding: 24px 28px 12px !important;
  height: auto !important;
}
body .operator-content :is(.tenant-table-row, .miniapp-user-row, .billing-record-row) {
  border-color: var(--content-rule) !important;
}
body .operator-content :is(.tenant-table-header, .miniapp-user-header) {
  background: var(--content-muted-surface) !important;
}
body .operator-content :is(.shortcut-summary-card, .workflow-source-readback) {
  background: var(--content-muted-surface);
}
body .operator-content :is(.tenant-table, .miniapp-user-table, .billing-records) {
  border-color: var(--content-rule);
  box-shadow: none;
}

@media (max-width: 1100px) {
  body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要区 > header {
    flex-wrap: wrap;
  }
  body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要区 > header h3 {
    flex: 0 0 100%;
  }
  body[data-lg-navigation-ready] #应用 #环节轨道 .知识库解析工作流 {
    max-width: 100%;
  }
  body[data-lg-navigation-ready] #应用 #环节轨道 .知识库来源摘要行 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-lg-navigation-ready] #应用 #环节轨道 .知识库摘要处理记录 {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  /* The expanded navigation overlays the workspace instead of squeezing it. */
  body[data-lg-navigation-ready] #功能页面 {
    left: var(--lg-console-sidebar-closed, 64px) !important;
  }
  body[data-lg-navigation-ready] #应用 #环节轨道 .知识库整体页头 {
    flex-wrap: wrap;
  }
  body[data-lg-navigation-ready] #应用 #环节轨道 .知识库整体工作面 {
    gap: 20px;
  }
  body[data-lg-navigation-ready] #应用 #环节轨道 .内容模板配置布局 {
    gap: 24px;
  }
}

/* template-empty-state-v1: show the editor only when a template exists. */
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库空页面 {
  width: 100%;
  min-width: 0;
  padding: 0 8px 24px;
  box-sizing: border-box;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库空页工具 {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库空页工具 button {
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid #e4e4ed;
  border-radius: 6px;
  background: #fff;
  color: #555568;
  font-size: 13px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库空页提示 {
  min-height: clamp(280px, 50vh, 440px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  box-sizing: border-box;
  text-align: center;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库空页提示 svg {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  fill: none;
  stroke: #aaaaba;
  stroke-width: 1.5;
  stroke-linecap: round;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库空页提示 h2 {
  margin: 0;
  color: #30303d;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库空页提示 p {
  max-width: 420px;
  margin: 0;
  color: #77778b;
  font-size: 14px;
  line-height: 24px;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库上传入口 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 8px;
  padding: 6px 16px;
  box-sizing: border-box;
  border-radius: 6px;
  background: #3370ff;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
}
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库上传入口:hover { background: #245bdb; }
body[data-lg-navigation-ready] #应用 #环节轨道 .模板库空页面 :is(a, button):focus-visible {
  outline: 2px solid #3370ff;
  outline-offset: 3px;
}

/* site-surfaces-flat-v1: explicit interface containers, never artwork or inputs. */
body[data-lg-navigation-ready] :is(#IM页面, #功能页面, .控制台侧栏底部) {
  border: 0 !important;
  box-shadow: none !important;
}
body[data-lg-navigation-ready] #应用 #环节轨道 :is(
  .内容架构分类, .技能资源横向分类, .接入数据归属, .接入辅助说明,
  .内容生成预览库
) { border: 0 !important; box-shadow: none !important; }
body[data-lg-navigation-ready] #应用 #环节轨道 :is( .接入数据归属行
) { border-color: var(--content-rule) !important; }
body :is(.详情区块.工作流使用说明, .素材采集库模板转换, .素材架构转换卡, .素材架构转换状态, .素材采集库编辑区) {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
body .素材架构转换卡 { padding-inline: 0; border-radius: 0 !important; }
body .素材采集库模板转换 { gap: 24px; }

/* Original images, source text and page explanations share one reading surface. */
body .cg-root :is(.cg-heading, .cg-page-navigation, .cg-original-images,
  .cg-source, .cg-page-block, .cg-page-block-heading, .cg-note-logic,
  .cg-cross-page, .cg-footer, .cg-extraction, .cg-empty-structure) {
  border: 0 !important;
  box-shadow: none !important;
}
body .cg-root :is(.cg-drawer, .cg-pages-scroll, .cg-footer) { background: #fff !important; }
body .cg-root .cg-page-columns > :is(.cg-original-images,.cg-source,.cg-page-architecture,.cg-before) { background: transparent !important; }
body .cg-root .cg-pages-scroll { padding: 8px 20px 20px; }
body .cg-root .cg-page-block { padding: 16px; border-radius: 8px; margin-bottom: 16px; background: #f6f7f9 !important; }
body .cg-root .cg-page-block-heading { padding: 0 0 14px; }
body .cg-root .cg-page-columns { grid-template-columns: 152px minmax(0,1fr) minmax(0,1fr); gap: 20px; align-items: start; }
body .cg-root .cg-page-columns > :is(.cg-original-images,.cg-source,.cg-page-architecture,.cg-before) { padding: 0; overflow: visible; }
body .cg-root .cg-page-columns h3 { font-size: 12px; line-height: 20px; font-weight: 500; color: var(--feishu-color-text-1); margin: 0 0 8px; }
body .cg-root .cg-source-image img { max-height: 220px; }
body .cg-root .cg-source-image .内容架构原图占位 { height: 112px; aspect-ratio: auto; font-size: 11px; background: #eceef1 !important; }
body .cg-root .cg-before > p { margin-top: 0; font-size: 13px; line-height: 1.8; }
body .cg-root .cg-page-architecture > .cg-empty { margin-top: 0; }
body .cg-root .cg-page-architecture h4 { margin: 10px 0 4px; }
body .cg-root .cg-page-architecture > header + h4 { margin-top: 0; }
body .cg-root .cg-page-navigation { padding: 8px 20px 12px; }
body .cg-root .cg-note-logic { padding: 8px 0 16px; margin-bottom: 12px; }
@media(max-width:620px) {
  body .cg-root .cg-pages-scroll { padding: 8px 14px 16px; }
  body .cg-root .cg-page-navigation { padding-inline: 14px; }
  body .cg-root .cg-page-columns { grid-template-columns: 84px minmax(0,1fr); gap: 12px; }
  body .cg-root .cg-page-columns > :is(.cg-before,.cg-page-architecture) { grid-column: 1/-1; }
  body .cg-root .cg-source-image .内容架构原图占位 { height: 84px; padding: 8px; }
}

/* Administration: keep faint data rows, remove surrounding frames and nested cards. */
body :is(.site-workbench-nav, .operator-sidebar, .sidebar-summary, .sidebar-footer,
  .operator-content, .tenant-table, .miniapp-user-table, .billing-records,
  .employee-table, .miniapp-consultation-preview, .invite-qr-frame,
  .enterprise-information-admins, #refund-preview) {
  border: 0 !important;
  box-shadow: none !important;
}
body :is(.tenant-table, .miniapp-user-table, .billing-records, .employee-table) {
  border-radius: 0 !important;
}
body .employee-table :is(th, td) { border-color: var(--content-rule) !important; }
body :is(.model-dialog, .workflow-independent-dialog, .workflow-scene-manager-dialog,
  .workflow-config-dialog, .enterprise-information-dialog) :is(
  .dialog-heading, .dialog-actions, .workflow-presentation-scope-tabs,
  .workflow-config-actions, .workflow-detail-block, .workflow-presentation-section,
  .workflow-scene-form, .workflow-scene-summary, .workflow-scene-attribute,
  .workflow-scene-actions, .workflow-source-readback,
  .skill-import-form, .skill-adaptation-track, .skill-adaptation-track li,
  .skill-import-review, .skill-adaptation-plan, .skill-resource-stage,
  .skill-import-record, .empty-note
) { border: 0 !important; box-shadow: none !important; }
body :is(.model-dialog, .workflow-independent-dialog, .workflow-config-dialog) :is(
  .workflow-detail-block, .skill-import-form, .skill-import-review,
  .skill-adaptation-plan, .skill-resource-stage, .skill-import-record
) { background: transparent !important; padding-inline: 0; }
body .model-dialog .workflow-detail-editor { gap: 24px; }
body .model-dialog .skill-adaptation-track li::after { display: none; }
body .model-dialog .skill-adaptation-track { gap: 12px; }
body #workbench-orders-layer :is(.order-card, .shortcut-summary-card) {
  background: transparent; border-radius: 0; padding-inline: 0;
}

/* Public information is open editorial content rather than a stack of cards. */
body:has(.首页内容区), body:has(.联系标题), body[data-content-page="legal"],
body:has(.login-shell) {
  background-color: #fff !important;
  background-image: none !important;
}
body :is(.首页内容区, .产品展示卡, .产品界面面板, .产品界面顶栏,
  .产品模块卡, .能力卡, .场景卡, .信息卡, .首页底栏,
  .联系卡, .联系说明) {
  border: 0 !important; box-shadow: none !important;
  background: transparent !important;
}
body :is(.能力卡, .场景卡, .信息卡, .联系卡, .联系说明) {
  border-radius: 0; padding-inline: 0;
}
body :is(.能力网格, .场景网格, .联系内容) { gap: 32px; }
body .产品界面示意 { background: var(--content-muted-surface); }
body:has(.联系标题) > footer { border: 0; }
body[data-content-page="legal"] > main {
  border: 0 !important; box-shadow: none !important; border-radius: 0;
}
body :is(.login-card, .qr-frame-wrap) {
  border: 0 !important; box-shadow: none !important; background: #fff !important;
}
body:has(.trial-app) :is(.topbar, .function-list, .chat-panel, .chat-heading, .composer) {
  border: 0 !important; box-shadow: none !important;
}
body:has(.trial-app) :is(.account-summary > div, .account-empty) {
  border: 0 !important; box-shadow: none !important; background: transparent !important;
}

/* Narrow screens need a readable dialog even while the navigation is expanded. */
@media (max-width: 600px) {
  html:root[data-workbench-layer-frame] body:has(.operator-shell) :is([role="dialog"][aria-modal="true"], [data-workbench-layer]):not(#灵光充值弹窗) {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  html:root[data-workbench-layer-frame] body:has(.operator-shell) .workbench-layer-scrim:not(#灵光充值遮罩) {
    left: 0 !important;
    width: 100vw !important;
  }
}

/* Platform summaries and disclosure text are part of the same configuration page. */
body[data-lg-navigation-ready] #应用 #环节轨道 :is(
  .接入当前配置, .接入当前配置 dl > div, .接入数据流, .接入数据流 > section,
  .接入验收内容, .接入辅助说明 > details
) { border: 0 !important; box-shadow: none !important; background: transparent !important; }
body[data-lg-navigation-ready] #应用 #环节轨道 .API配置主区 > .控制台页面操作 {
  top: -40px !important;
  right: 0 !important;
}

/* Recharge choices need one active state; the custom input needs only its own edge. */
body #灵光充值弹窗 .灵光充值金额选项 > button[aria-pressed="false"]:not(:focus-visible) {
  border-color: transparent !important;
  box-shadow: none !important;
  background: transparent !important;
}
body #灵光充值弹窗 .灵光自定义金额 {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Keep the connected task homepage on the same unframed workspace surface. */
body[data-lg-navigation-ready][data-workbench="xhs"] #应用 #IM页面:not([hidden]),
body[data-lg-navigation-ready][data-workbench="xhs"] #应用 #IM页面 > #IM任务面板 {
  border: 0 !important;
  box-shadow: none !important;
}

/* Upload templates: one source choice and a shared destination note. */
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM表单[data-xhs-form="template"] :is(.IM模板双库说明,.IM模板上传费用){display:block;grid-column:1/-1;margin:0;padding:0;border:0;background:transparent;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM表单[data-xhs-form="template"] .IM模板双库说明{font-size:13px;color:#667085}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM表单[data-xhs-form="template"] .IM模板上传费用{font-size:12px;color:#667085}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM表单[data-xhs-form="template"] #IM小红书选项{grid-template-columns:minmax(0,1fr)!important}

/* Template upload: consistent source, input, notes, and action spacing. */
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"]:not([hidden]){display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:24px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] > .IM任务配置板块,body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] #IM小红书选项:not([hidden]){display:contents!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] :is(.IM发起任务标题,.IM栏目切换栏,.IM模板来源选择,.IM采集库来源选择,.IM需求字段,.IM模板双库说明,.IM模板上传费用,.IM模板源页面选择){width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;padding:0!important;flex:none!important;grid-area:auto!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] .IM发起任务标题{order:0!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] .IM栏目切换栏{order:1!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] .IM模板来源选择{order:2!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] :is(.IM采集库来源选择,.IM需求字段){order:3!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] :is(.IM栏目切换栏,.IM模板来源选择,.IM采集库来源选择,.IM需求字段){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;height:auto!important;min-height:0!important;max-height:none!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"]:not([data-template-source="link"]) > .IM需求字段{display:none!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] :is([data-im-feishu-select-trigger],.IM飞书选择器按钮,#IM输入){width:100%!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] #IM输入{padding:9px 12px!important;line-height:20px!important;resize:none!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] .IM模板双库说明{order:4!important;font-size:13px!important;line-height:22px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] .IM模板上传费用{order:5!important;margin-top:-16px!important;font-size:12px!important;line-height:20px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] #IM提交按钮{order:6!important;flex:none!important;width:100%!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;grid-area:auto!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] .IM模板源状态{order:7!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] .IM模板源页面选择{order:8!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form="template"] :is(.IM工作流生成条件,.IM飞书选择器,.IM栏目选择){height:40px!important;min-height:40px!important;max-height:none!important;flex:none!important;grid-template-rows:40px!important}

/* Task launch: common field rhythm with meaningful groups and one workflow choice. */
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]):not([hidden]){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:24px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) :is(.IM发起任务标题,.IM任务配置板块,.IM栏目切换栏,.IM配置分区,.IM需求字段,#IM小红书选项){margin:0!important;padding:0!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;flex:none!important;grid-area:auto!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM任务配置板块,body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) #IM小红书选项:not([hidden]){display:flex!important;flex-direction:column!important;gap:24px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"])[data-xhs-form="generation"] #IM小红书选项:not([hidden]){gap:32px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM配置分区{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:start!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM配置分区 > :is(h3,.IM任务计费提示,.IM分批预览,.IM分批安排){grid-column:1/-1!important;margin:0!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM配置分区 > h3{font-size:14px!important;line-height:22px!important;padding:0!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM配置分区 > h3 small,body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM栏目切换栏:before,body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM发起任务标题 > span{display:none!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) :is(.IM表单字段,.IM栏目切换栏,.IM需求字段){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;min-width:0!important;grid-area:auto!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM需求字段:has(#IM输入[hidden]){display:none!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) :is(.IM工作流生成条件,.IM飞书选择器,.IM栏目选择){height:40px!important;min-height:40px!important;max-height:none!important;flex:none!important;grid-template-rows:40px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) :is([data-im-feishu-select-trigger],.IM飞书选择器按钮,input[type="number"],#IM输入){width:100%!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) #IM输入{padding:9px 12px!important;line-height:20px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"])[data-xhs-form="official-account"] #IM输入{height:180px!important;min-height:180px!important;max-height:480px!important;resize:vertical!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) :is(.工作流灵光说明,.IM任务计费提示){display:block!important;font-size:12px!important;line-height:20px!important;color:#667085!important;padding:0!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM任务计费提示{order:10!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM配置分区 > .IM任务计费提示{order:0!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM分批安排{margin-top:0!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) #IM提交按钮{flex:none!important;width:100%!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;grid-area:auto!important}
@media(max-width:1100px){body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM配置分区{grid-template-columns:minmax(0,1fr)!important}}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) :is(.IM表单字段,.IM工作流生成条件,.IM飞书选择器){width:100%!important;max-width:none!important;box-sizing:border-box!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM任务配置板块,body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) #IM小红书选项:not([hidden]){align-items:stretch!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-xhs-form]:not([data-xhs-form="template"]) .IM栏目标题行:before{display:none!important}

/* Shared hover feedback for selectable content across console pages. */
body[data-lg-navigation-ready] #应用 #环节轨道 :is(.全部模板卡,.技能功能卡[data-workflow-guide],.内容架构内容卡,.知识库来源整体项,.课程子内容摘要卡,.课程模板侧栏卡):hover:not(.当前):not(.已选中) {
  background: var(--content-muted-surface) !important;
  border-color: var(--content-rule) !important;
  box-shadow: none !important;
  transform: none !important;
}
body[data-lg-navigation-ready] #应用 :is(.技能中心分类,.内容架构分类,.模板类型筛选,.知识库内容类型列表,.课程内容分类卡组,.课程数据库分类标签组,.课程来源分类卡组) > :is(button,a):hover:not(:disabled):not(.当前):not(.已选中):not([aria-selected="true"]):not([aria-pressed="true"]) {
  background: transparent !important;
  color: var(--workbench-text-primary,#0b0b0f) !important;
}
body[data-lg-navigation-ready] #应用 :is(.API配置单一标签,.工作日志栏目标签,.IM检查器标签,.模板规则标签栏) > :is(button,a):hover:not(:disabled):not(.当前):not(.已选中):not([aria-selected="true"]):not([aria-pressed="true"]),
body[data-lg-navigation-ready] #应用 [role="tab"]:hover:not(.当前):not(.已选中):not([aria-selected="true"]) {
  background: var(--content-muted-surface) !important;
  color: var(--workbench-text-primary,#0b0b0f) !important;
}
