
/* ============================================================
   「工作」tab 视觉覆盖（script26.js v5 配套）
   ------------------------------------------------------------
   - slider：把顶部白色药丸强制停在「工作」，位置由 JS 写入变量。
   - 工作模式下隐藏不需要的入口：AI速记 / 产物广场。
     （新建任务 / 定时任务 / 日历 / 技能 / 历史对话 均保持原生。）
   ============================================================ */

body.lingee-work-as-chat .sidebar-tab-switcher__slider {
  transform: translateX(var(--work-slider-x, 0)) !important;
  width: var(--work-slider-w, auto) !important;
}

/* ------------------------------------------------------------
   去掉顶部「对话」tab：整个应用只保留「工作 / 开发」两个 tab。
   （对话 tab 仍留在 DOM 中，仅视觉隐藏；工作模式仍复用其原生侧栏与页面，
     启动时由 lingee-default-new-task 自动进入工作模式。）
   ------------------------------------------------------------ */
.sidebar-tab-switcher__tab[aria-label="对话"],
.sidebar-tab-switcher__tab[aria-label="Chat"] {
  display: none !important;
}

/* ------------------------------------------------------------
   工作 tab 专属问候语：灵基一动，工作轻松（英文模式由 LingeeI18n 译为 Lingee Acts, Work Flows）
   仅在 body.lingee-work-as-chat 下生效；对话 tab 问候语不受影响。
   隐藏原生 .chat-greeting 的内容，展示我们注入的 #wk-greeting。
   ------------------------------------------------------------ */
.wk-greeting { display: none; }

body.lingee-work-as-chat .chat-greeting > *:not(#wk-greeting) {
  display: none !important;
}
body.lingee-work-as-chat .chat-greeting > #wk-greeting {
  display: inline;
  color: #000000d1;
  font-weight: 600;
  font-family: inherit;
}
/* 「工作轻松」用与原生高亮一致的蓝色渐变字 */
body.lingee-work-as-chat #wk-greeting .wk-greeting__hl {
  background: linear-gradient(270deg, #025bff, #3082f5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ============================================================
   开发 Tab：问候语位置 + 输入框高度，与「对话 / 工作」统一
   ------------------------------------------------------------
   原生「对话/工作」首页：
     - .chat-welcome{padding-top:calc(30vh - 56px)}  → 问候语 top
     - .chat-greeting{font-size:32px;line-height:48px}
     - .chat-composer-wrap{margin-top:24px}          → 问候语↔输入框间距
     - .planb-composer__input{min-height:88px}       → 输入框较高
   开发页原本更靠下、问候语更小、输入框更矮。此处对齐：
     - 竖向位置：margin-top 与对话一致
     - 问候语字号/行高/下边距与对话一致
     - 输入框整体高度与对话一致（加大 textarea 最小高度）
     - 内容最大宽度对齐，使输入框左右边缘也与对话重合
   （style20.css 最后加载，覆盖 bundle 内联样式；仅作用于开发页。）
   ============================================================ */
.develop-page__center {
  /* 上移内容，减少顶部空白，使整体位置与工作首页观感一致 */
  margin-top: calc(16vh) !important;
  max-width: 758px !important;
}
.develop-page__greeting {
  font-size: 32px !important;
  line-height: 48px !important;
  margin: 0 0 24px !important;
}
.develop-composer__input {
  min-height: 110px !important;
}
