/* Workbench control material. Keep layout, navigation, animation and fixed ancestors intact. */
body[data-workbench] {
  --lg-frost-blur: blur(20px) saturate(118%);
  --lg-frost-base: rgba(242, 244, 249, .34);
  --lg-frost-edge: rgba(114, 134, 169, .24);
  --lg-frost-sheen: rgba(255, 255, 255, .24);
  --lg-frost-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), 0 2px 8px rgba(25, 48, 86, .035);
}

/* Match the important task/mobile layer, including styles loaded by feature modules later. */
@layer mobile-task {
  body[data-workbench] :is(.主操作, .次操作, .危险操作, .课程主按钮, .课程次按钮,
    .API配置主按钮, .API配置按钮, .模板库主按钮, .模板库工具按钮,
    .快捷入口 button, .控制台页面操作 button,
    .任务停止删除操作 button, .模板页面删除操作, .模板元素删除操作,
    .全局客服联系页:not(:where(.全局客服面板 > *)), #IM提交按钮,
    [data-save-im-template-display], [data-delete-selected-templates], [data-delete-template],
    .xhs-integration button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button)),
    .discovery-page button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button))) {
    background: var(--lg-frost-fill, var(--lg-frost-base)) !important;
    border-color: var(--lg-frost-edge) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: var(--lg-frost-blur) !important;
    backdrop-filter: var(--lg-frost-blur) !important;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  body[data-workbench] :is(.主操作, .课程主按钮, .API配置主按钮, .模板库主按钮, #IM提交按钮, .xhs-primary, .discovery-page button.primary, [data-save-im-template-display], [data-rerun-im-task]):not(:disabled) {
    --lg-frost-fill: rgba(28, 93, 225, .91);
    --lg-frost-sheen: rgba(174, 209, 255, .22);
    --lg-frost-edge: rgba(168, 202, 255, .45);
    color: #fff !important;
  }
  body[data-workbench] :is(.主操作, .次操作, .危险操作, .课程主按钮, .课程次按钮,
    .API配置主按钮, .API配置按钮, .模板库主按钮, .模板库工具按钮,
    .快捷入口 button, .控制台页面操作 button,
    .任务停止删除操作 button, .模板页面删除操作, .模板元素删除操作,
    .全局客服联系页:not(:where(.全局客服面板 > *)), #IM提交按钮,
    [data-save-im-template-display], [data-delete-selected-templates], [data-delete-template],
    .xhs-integration button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button)),
    .discovery-page button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button))):not(:disabled):hover {
    box-shadow: none !important;
    border-color: rgba(111, 157, 236, .55) !important;
  }
  body[data-workbench] :is(.主操作, .次操作, .危险操作, .课程主按钮, .课程次按钮,
    .API配置主按钮, .API配置按钮, .模板库主按钮, .模板库工具按钮,
    .快捷入口 button, .控制台页面操作 button,
    .任务停止删除操作 button, .模板页面删除操作, .模板元素删除操作,
    .全局客服联系页:not(:where(.全局客服面板 > *)), #IM提交按钮,
    [data-save-im-template-display], [data-delete-selected-templates], [data-delete-template],
    .xhs-integration button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button)),
    .discovery-page button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button))):focus-visible {
    outline: 2px solid #6b9fff !important;
    outline-offset: 3px;
  }
  body[data-workbench] :is(.主操作, .次操作, .危险操作, .课程主按钮, .课程次按钮,
    .API配置主按钮, .API配置按钮, .模板库主按钮, .模板库工具按钮,
    .快捷入口 button, .控制台页面操作 button,
    .任务停止删除操作 button, .模板页面删除操作, .模板元素删除操作,
    .全局客服联系页:not(:where(.全局客服面板 > *)), #IM提交按钮,
    [data-save-im-template-display], [data-delete-selected-templates], [data-delete-template],
    .xhs-integration button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button)),
    .discovery-page button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button))):disabled {
    --lg-frost-fill: rgba(229, 234, 242, .86);
    --lg-frost-sheen: rgba(255, 255, 255, .48);
    color: #596273 !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
  }

  body[data-workbench] .xhs-batch-footer,
  body[data-workbench] .xhs-collector :is(form, .xhs-review, .xhs-acquisition-result) footer,
  body[data-workbench] .discovery-configuration-form footer,
  body[data-workbench] form#IM表单.IM输入区[data-task-form-layout] .task-form-footer,
  body[data-workbench] #IM消息区[data-task-detail-layout] > .任务停止删除操作 {
    background: linear-gradient(145deg, var(--lg-frost-sheen), transparent 76%), var(--lg-frost-base) !important;
    border-color: var(--lg-frost-edge) !important;
    box-shadow: var(--lg-frost-shadow) !important;
    -webkit-backdrop-filter: var(--lg-frost-blur) !important;
    backdrop-filter: var(--lg-frost-blur) !important;
  }
  body[data-workbench] :is(.状态胶囊, .仅只读, .模型网关配置状态, .课程表单状态, .模板编辑状态, .环节状态, .任务状态标记, .task-process-current, .task-process-notice, .task-status-read-error, .task-status-availability) {
    background: linear-gradient(145deg, rgba(255, 255, 255, .64), transparent), color-mix(in srgb, currentColor 9%, rgba(249, 252, 255, .86)) !important;
    border-color: color-mix(in srgb, currentColor 18%, transparent) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important;
    -webkit-backdrop-filter: var(--lg-frost-blur) !important;
    backdrop-filter: var(--lg-frost-blur) !important;
  }
}


/* Task forms use ID-scoped important declarations in the same layer. Match that scope
   without changing their fixed-footer geometry or applying blur to an ancestor. */
@layer mobile-task {
  html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] > .任务停止删除操作,
  html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-task-form-layout]:is([data-task-form-layout]) :is(.task-form-footer) {
    background: linear-gradient(145deg, var(--lg-frost-sheen), transparent 72%), var(--lg-frost-fill, var(--lg-frost-base)) !important;
    border-color: var(--lg-frost-edge) !important;
    box-shadow: var(--lg-frost-shadow) !important;
    -webkit-backdrop-filter: var(--lg-frost-blur) !important;
    backdrop-filter: var(--lg-frost-blur) !important;
  }
  html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-task-form-layout]:is([data-task-form-layout]) #IM提交按钮:disabled {
    color: #596273 !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
  }
}

/* A readable matte surface remains available without browser blur support. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body[data-workbench] { --lg-frost-base: #f4f7fc; }
  body[data-workbench] :is(.主操作, .课程主按钮, .API配置主按钮, .模板库主按钮, #IM提交按钮, .xhs-primary, .discovery-page button.primary, [data-save-im-template-display], [data-rerun-im-task]):not(:disabled) { --lg-frost-fill: #1c5de1; }
}
@media (prefers-reduced-transparency: reduce) {
  body[data-workbench] { --lg-frost-base: #f4f7fc; --lg-frost-blur: none; }
  body[data-workbench] :is(.主操作, .课程主按钮, .API配置主按钮, .模板库主按钮, #IM提交按钮, .xhs-primary, .discovery-page button.primary, [data-save-im-template-display], [data-rerun-im-task]):not(:disabled) { --lg-frost-fill: #1c5de1; }
}
@media (prefers-reduced-motion: reduce) {
  @layer mobile-task { body[data-workbench] :is(button, a) { transition: none !important; } }
}
@media (forced-colors: active) {
  @layer mobile-task {
    html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] > .任务停止删除操作,
      html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 form#IM表单.IM输入区[data-task-form-layout]:is([data-task-form-layout]) :is(.task-form-footer),
    body[data-workbench] :is(.主操作, .次操作, .危险操作, .课程主按钮, .课程次按钮,
    .API配置主按钮, .API配置按钮, .模板库主按钮, .模板库工具按钮,
    .快捷入口 button, .控制台页面操作 button,
    .任务停止删除操作 button, .模板页面删除操作, .模板元素删除操作,
    .全局客服联系页:not(:where(.全局客服面板 > *)), #IM提交按钮,
    [data-save-im-template-display], [data-delete-selected-templates], [data-delete-template],
    .xhs-integration button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button)),
    .discovery-page button:not(:is([role="tab"], .discovery-card, .discovery-row, .xhs-record-title, .discovery-nav-link, .discovery-section-tabs button, .discovery-plot-legend button, .discovery-donut-legend button, .discovery-ranking-list button, .discovery-overview-table > button, .xhs-batch-tabs button, .xhs-integration-tabs button, .xhs-dataset-nav > button, .discovery-insight-list > button, .discovery-source-options button, .xhs-object-choices > button)), .状态胶囊, .仅只读, .模型网关配置状态, .课程表单状态, .模板编辑状态, .环节状态, .任务状态标记, .task-process-current, .task-process-notice, .task-status-read-error, .task-status-availability, .task-form-footer) {
      background: Canvas !important;
      color: CanvasText !important;
      border-color: ButtonText !important;
      box-shadow: none !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
    }
  }
}

/* Continuous neutral frost: retain the existing palette, layout, frames and type. */
@layer mobile-task {
html:root body[data-lg-navigation-ready][data-workbench] {
  background-color:var(--lg-shell-canvas,#f5f6f8)!important;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22160%22%20height%3D%22160%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22/%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22table%22%20tableValues%3D%220%20.045%22/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"),radial-gradient(ellipse at 10% 12%,rgba(255,255,255,.68),transparent 58%),radial-gradient(ellipse at 88% 82%,rgba(166,174,190,.23),transparent 55%),linear-gradient(120deg,rgba(208,214,226,.28),rgba(255,255,255,.08) 52%,rgba(189,197,210,.22))!important;
  background-attachment:fixed!important;
}
}
body[data-workbench] #应用 {background:transparent!important}
/* Separate navigation glass keeps fixed menus attached to the viewport. */
html:root body[data-lg-navigation-ready][data-workbench] :is(.控制台侧栏,.网站导航栏,.控制台品牌栏) {background:transparent!important}
html:root body[data-lg-navigation-ready][data-workbench] :is(.控制台侧栏,.网站导航栏)::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:rgba(247,248,252,.38);
  -webkit-backdrop-filter:blur(28px) saturate(115%);backdrop-filter:blur(28px) saturate(115%);
}
html:root body[data-lg-navigation-ready][data-workbench] :is(#功能页面,.控制台频道占位>.discovery-page) {
  background:rgba(255,255,255,.52)!important;
  -webkit-backdrop-filter:blur(28px) saturate(115%)!important;backdrop-filter:blur(28px) saturate(115%)!important;
}
html:root body[data-lg-navigation-ready][data-workbench] #功能页面 :is(.课程生产工作台,.课程生产主区,.课程生产工作区,.课程面板,.课程操作标题) {background:transparent!important}
@layer mobile-task {
  html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 {background:transparent!important}
  html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > #IM窗口导航 {background:rgba(232,235,242,.32)!important}
  html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task {
    background:rgba(255,255,255,.52)!important;
    -webkit-backdrop-filter:blur(28px) saturate(115%)!important;backdrop-filter:blur(28px) saturate(115%)!important;
  }
  html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 :is(#IM消息区,#IM任务面板,#IM表单,.task-form-footer,.IM右侧内容预览,.任务停止删除操作) {background:transparent!important}
}
@media(prefers-reduced-transparency:reduce) {
  html:root body[data-lg-navigation-ready][data-workbench] :is(#功能页面,.控制台频道占位>.discovery-page),
  html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面>.task-home-current-task {
    background:var(--lg-shell-panel,#fff)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
}

/* White task workspace with a gray current-task inset; preserve existing geometry. */
@layer mobile-task {
  @media (min-width: 761px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 {
      /* The list is the outer white surface. */
      background: #fff !important;
      border-radius: 8px !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > #IM窗口导航 {
      background: transparent !important;
      border-color: transparent !important;
      box-shadow: none !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task {
      background: #eef0f4 !important;
      /* Preserve the rounded surface and its outer white inset without changing geometry. */
      border: 0 !important;
      border-radius: 8px !important;
      box-shadow: inset 0 6px 0 #fff, inset -6px 0 0 #fff, inset 0 -6px 0 #fff !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行,
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口项 {
      background: transparent !important;
      border-color: transparent !important;
      box-shadow: none !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行.已选中 {
      background: #eef0f4 !important;
      border-radius: 8px 0 0 8px !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行::before,
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行::after {
      background: transparent !important;
      box-shadow: none !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行.已选中 .IM聊天窗口项 strong {
      color: var(--workbench-brand-primary, #1664ff) !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行:hover:not(.已选中) {
      background: var(--feishu-color-fill-0, #f5f6f7) !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口项:focus-visible {
      outline: 2px solid var(--workbench-brand-primary, #1664ff) !important;
      outline-offset: -2px !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM窗口任务删除 {
      background: transparent !important;
      border-color: transparent !important;
      border-radius: 8px !important;
      box-shadow: none !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
      color: var(--lg-shell-muted, #8b8ba3) !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM窗口任务删除:hover {
      background: var(--feishu-color-danger-light-default, #fff1f0) !important;
      color: var(--feishu-color-danger, #d92d20) !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #一键清空IM窗口 {
      background: transparent !important;
      border-color: transparent !important;
      box-shadow: none !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
      color: var(--feishu-color-text-2, #646a73) !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #新建IM窗口:not(:disabled) {
      background: var(--workbench-brand-primary, #1664ff) !important;
      border-color: transparent !important;
      color: #fff !important;
      box-shadow: none !important;
    }
  }
}

/* Preserve the original inset-tab connection: selected task opens into the gray current-task inset. */
@layer mobile-task {
  @media (min-width:761px) {
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行.已选中 .IM聊天窗口项 {
  background:#eef0f4!important;
  border-radius:8px 0 0 8px!important;
}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行.已选中::before {
  width:8px!important;height:8px!important;top:-8px!important;
  background:radial-gradient(circle at 0 0,transparent 7.5px,#eef0f4 8px)!important;
}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM聊天窗口列表 .IM聊天窗口行.已选中::after {
  width:8px!important;height:8px!important;bottom:-8px!important;
  background:radial-gradient(circle at 0 100%,transparent 7.5px,#eef0f4 8px)!important;
}
  }
}

@layer mobile-task {
  @media (min-width:761px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task > #IM任务面板 {
      background:#fff!important;
    }
  }
}

/* Preserve the content geometry while separating progress from the gray task surface. */
@layer mobile-task {
  @media (min-width: 761px) and (max-width: 1100px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息 > .IM任务消息组.已选中 > .task-process-details {
      position: relative !important;
      isolation: isolate !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息 > .IM任务消息组.已选中 > .task-process-details::before {
      content: "";
      position: absolute;
      inset: -12px;
      z-index: -1;
      border-radius: 8px;
      background: #fff;
      pointer-events: none;
    }
  }
}

/* Keep task actions on the same surface as the current task at desktop widths. */
@layer mobile-task {
  @media (min-width: 761px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] > .任务停止删除操作 {
      background: transparent !important;
      border-top-color: transparent !important;
      box-shadow: none !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
    }
  }
}

/* Keep failure explanation and support with the task actions on narrower desktops. */
@layer mobile-task {
  @media (min-width: 761px) and (max-width: 1100px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task:has(#IM消息区[data-task-detail-layout] .task-process-feedback) {
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-areas: "heading heading" "progress progress" "feedback actions";
      grid-template-rows: auto minmax(0, 1fr) auto;
      gap: 20px 12px;
      padding: 24px 22px 20px;
      box-sizing: border-box;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task:has(#IM消息区[data-task-detail-layout] .task-process-feedback) > .IM窗口,
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]:has(.task-process-feedback),
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]:has(.task-process-feedback) > .task-detail-scroll,
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] #IM任务消息:has(.task-process-feedback),
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] #IM任务消息 > .IM任务消息组.已选中:has(.task-process-feedback),
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-view:has(.task-process-feedback),
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-view:has(.task-process-feedback) > .任务进度主体 { display: contents !important; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-view:has(.task-process-feedback) > header { grid-area: heading; margin: 0 !important; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息 > .IM任务消息组.已选中:has(.task-process-feedback) > .task-process-details { grid-area: progress; min-height: 0; margin: 0 !important; padding: 16px !important; box-sizing: border-box; background: #fff !important; border-radius: 8px !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; justify-content: flex-start !important; gap: 12px; overflow: auto !important; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息 > .IM任务消息组.已选中:has(.task-process-feedback) > .task-process-details > * { flex: none !important; min-width: 0 !important; width: 100% !important; box-sizing: border-box !important; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息 > .IM任务消息组.已选中:has(.task-process-feedback) > .task-process-details::before { content: none; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback { grid-area: feedback; position: relative; display: flex !important; align-items: center; gap: 12px; min-width: 0; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback > .任务执行错误 { display: none !important; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback .task-failure-info { display: block !important; position: relative; flex: none; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-failure-info > summary { display: inline-flex; align-items: center; gap: 5px; color: #68758a; font-size: 13px; line-height: 20px; list-style: none; cursor: pointer; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-failure-info > summary::-webkit-details-marker { display: none; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-failure-info > summary span { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-failure-info-popover { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 30; box-sizing: border-box; width: min(440px, calc(100vw - 48px)); max-height: min(260px, 45vh); overflow: auto; padding: 12px 14px; border: 1px solid #dce3ec; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(31,41,55,.12); color: #657286; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback .任务售后入口 { margin: 0 !important; white-space: nowrap; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback [data-task-after-sales] { font-size: 12px; }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]:has(.task-process-feedback) > .任务停止删除操作 { grid-area: actions; position: relative !important; inset: auto !important; max-height: none !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
  }
  @media (min-width: 761px) and (max-width: 900px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task:has(#IM消息区[data-task-detail-layout] .task-process-feedback) { grid-template-areas: "heading heading" "progress progress" "feedback feedback" "actions actions"; gap: 12px; }
  }
}

/* Current task content: one feedback area and two consistent white panels. */
@layer mobile-task {
@media(min-width:1101px) {
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] > .任务停止删除操作{background:transparent!important;background-image:none!important;box-shadow:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息 > .IM任务消息组.已选中 > .task-process-view > header small{display:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback{display:flex!important;align-items:center!important;gap:16px!important;margin:20px 0 0!important;padding:14px 16px!important;background:#fff!important;border:1px solid #efdfe0!important;border-radius:8px!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback .任务执行错误{flex:1!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;color:#b65c55!important;font-size:13px!important;line-height:22px!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback .任务售后入口{flex:none!important;margin:0!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-feedback [data-task-after-sales]{margin:0!important;padding:6px 10px!important;border:0!important;border-radius:8px!important;background:#f7f8fb!important;box-shadow:none!important;backdrop-filter:none!important;color:#667a9e!important;font-size:12px!important;line-height:20px!important;min-height:32px!important;text-decoration:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息 > .IM任务消息组.已选中 > .task-process-details{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;box-sizing:border-box!important;padding:20px!important;border:0!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;overflow:auto!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details > [data-task-readback-notice]:empty{display:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details > *{flex:none!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-image-progress{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-image-progress > header{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;margin:0 0 16px!important;padding:0!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details h3{margin:0!important;font-size:14px!important;line-height:22px!important;font-weight:600!important;color:#344154!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-unit-follow{margin-left:auto!important;padding:0!important;min-height:24px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#7f91b3!important;font-size:11px!important;line-height:20px!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-process-summary{flex-basis:100%!important;width:100%!important;margin:8px 0 0!important;padding:0!important;border:0!important;background:transparent!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .任务完成数量{margin:0!important;color:#929aa8!important;font-size:12px!important;line-height:22px!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-image-progress-row::before,html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-image-progress-row::after{display:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-image-progress-list{margin:0!important;padding:0!important;background:#fff!important;border-radius:0!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-image-progress-row{margin:0!important;padding:14px 0!important;background:#fff!important;border:0!important;border-top:1px solid #eef0f4!important;border-radius:0!important;box-shadow:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-unit-progress-summary{gap:10px 12px!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-unit-preview-select{background:transparent!important;border:0!important;box-shadow:none!important;color:#50688f!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .image-opt-card-activity{color:#8994a4!important;font-size:12px!important;line-height:21px!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-attention{margin:0 0 14px!important;padding:0!important;background:transparent!important;border:0!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-attention h3{margin:0 0 8px!important;font-size:12px!important;font-weight:500!important;color:#a27d43!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-attention ul{list-style:none!important;margin:0!important;padding:0!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-attention li{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;justify-content:space-between!important;gap:6px 12px!important;margin:4px 0!important;color:#657286!important;font-size:12px!important;line-height:21px!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-attention p{flex-basis:100%!important;margin:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-saving{margin-top:auto!important;padding:22px 0 0!important;font-size:12px!important;line-height:21px!important;color:#8893a4!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-saving dl{margin:0!important;padding-top:14px!important;border-top:1px solid #eef0f4!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-saving dl > div{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:12px!important;padding:5px 0!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-saving dt{margin:0!important;font-weight:400!important;color:#8994a4!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-saving dd{margin:0!important;font-weight:500!important;color:#5b687b!important;text-align:right!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-saving p{margin:9px 0 0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task:has(#IM消息区[data-task-detail-layout]) > #IM任务面板{padding:20px!important;background:#fff!important;border:0!important;border-radius:8px!important;box-shadow:none!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务面板 > header{padding:0 0 16px!important;border:0!important;background:transparent!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务面板 #IM任务标题{font-size:14px!important;font-weight:600!important;line-height:22px!important;color:#344154!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览 .任务原文预览{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#5c687b!important;font-size:13px!important;line-height:1.95!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览 .task-unit-preview-context{margin:0 0 12px!important;color:#9aa2ae!important;font-size:11px!important;line-height:20px!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览 .task-unit-preview-modes{margin:0 0 16px!important;padding:0 0 10px!important;border:0!important;border-bottom:1px solid #eef0f4!important;background:transparent!important;}
html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-process-details .task-home-storage{margin:16px 0 0!important;padding:14px 0 0!important;border:0!important;border-top:1px solid #eef0f4!important;background:transparent!important;box-shadow:none!important;}
}
}

/* Keep the task-frame paint above the footer, and the sidebar glass beside it. */
@layer mobile-task {
  @media (min-width: 761px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] .控制台侧栏::before {
      right: 8px !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 20;
      border-radius: inherit;
      box-shadow: inherit;
      pointer-events: none;
    }
  }
}

/* User request 2026-10-28: every visible rectangular corner is 8px. */
@layer mobile-task {
  @media (min-width: 761px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 > .task-home-current-task::before {
      content: "";
      position: absolute;
      inset: 6px 6px 6px 0;
      z-index: 21;
      border-radius: 8px;
      box-shadow: inset 0 0 0 5px #eef0f4, 0 0 0 6px #fff;
      pointer-events: none;
    }
  }
}

/* Normal note preview: contained images, then the note's own title/copy and actions. */
@layer mobile-task {
  body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览.image-opt-preview {
    overflow: auto !important;
  }
  body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览.image-opt-preview > .image-opt-results {
    display: block !important;
    height: auto !important;
    min-height: 100%;
    overflow: visible !important;
  }
  body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览.image-opt-preview .image-opt-content {
    flex: none !important;
    overflow: visible !important;
  }
  body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览.image-opt-preview .task-reading-note > h3 {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--feishu-color-border, #dee0e3);
  }
  body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览.image-opt-preview .task-reading-task-actions {
    max-height: none !important;
    overflow: visible !important;
  }
}

@layer mobile-task {
  @media (min-width: 1101px) {
    body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览.image-opt-preview {
      container-type: size;
      --task-reading-image-height: min(360px, max(32px, calc(100cqh - 100px)));
    }
  }
}

/* Upload-source preview: one metadata row, no second inset around the image. */
@layer mobile-task {
  @media (min-width: 761px) {
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览:has(> .task-unit-preview-context):has(> .template-source-view) {
      display: grid !important;
      grid-template-columns: auto minmax(0, 1fr);
      grid-template-rows: max-content !important;
      grid-auto-rows: max-content;
      align-content: start !important;
      align-items: center;
      gap: 8px 12px !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览:has(> .template-source-view) > .task-unit-preview-context {
      grid-area: 1 / 1;
      margin: 0 !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览:has(> .task-unit-preview-context) > .template-source-view {
      display: contents !important;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览:has(> .task-unit-preview-context) > .template-source-view > header {
      grid-area: 1 / 2;
      justify-content: flex-end;
      margin: 0 !important;
      padding: 0 !important;
      font-size: 11px;
      line-height: 20px;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览:has(> .task-unit-preview-context):has(> .template-source-view) > .task-unit-preview-modes,
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览:has(> .task-unit-preview-context) > .template-source-view > :not(header) {
      grid-column: 1 / -1;
    }
    html:root:not([data-client-mode="im-lite"]) body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM右侧内容预览:has(> .task-unit-preview-context) > .template-source-view > nav:empty {
      display: none !important;
    }
  }
}
