/**
 * AI 助理页：仅作用于 .lh-ai-redesign.lh-ai-page-root 子树（与工具子页 CSS 隔离）
 * 由 ai_chat.php head 引入；最终覆盖以页内 #lh-ai-visual-lock 为准。
 */

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root {
  --as-label: #0f172a !important;
  --as-secondary: #334155 !important;
  --as-tab-muted: #475569 !important;
  --as-blue: #1A1A2E !important;
  --text-primary: #0f172a !important;
  --text-secondary: #334155 !important;
  --text-muted: #475569 !important;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root *:not(svg):not(path):not(pre):not(code) {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .app-container,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .chat-container {
  background: transparent !important;
}

/* Grid 壳层（与 ai_chat.php #lh-ai-final-lock 一致；不用 fixed 以免中间区高度塌陷） */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100dvh;
  height: 100dvh;
  max-width: var(--h5-app-max-width, 430px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  box-sizing: border-box;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root > .app-container.lh-ai-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root #chatContainer {
  min-height: 0;
  overflow-y: auto;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root #lhInputArea,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .input-area {
  position: static;
  transform: none;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar {
  position: static;
  transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 顶栏 */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .nav-header,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: none !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .nav-title,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-title {
  color: #0f172a !important;
  font-weight: 800 !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-chat-nav-heading {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .nav-brand-mark,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-tag {
  background: #f4f4f5 !important;
  color: #27272a !important;
  border: 1px solid #e4e4e7 !important;
  -webkit-text-fill-color: #27272a !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .nav-back svg,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-back svg {
  stroke: #0f172a !important;
  color: #0f172a !important;
  opacity: 1 !important;
}

/* 顶栏：标题绝对居中，避免 flex 居中标题与左侧返回区叠字 */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root #lhNavHeader {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 48px;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root #lhNavBack {
  grid-column: 1;
  justify-self: start;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root #lhNavTitle {
  position: static;
  grid-column: 2;
  left: auto;
  top: auto;
  transform: none;
  margin: 0 auto;
  max-width: min(72vw, 280px);
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 1;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root #lhNavBack {
  position: relative;
  z-index: 2;
}

/* 聊天气泡头像（与页内脚本 lhAiAvatarMarkup 配套） */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .message .avatar.avatar--img {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .message .avatar.avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .message.ai .avatar.avatar--img.avatar--ai {
  background: #ffffff;
}

/* 欢迎态：顶部对齐并可滚动，避免内容变高时头像顶部被裁掉（不依赖 :has，兼容旧 WebView） */
html.lh-ai-chat-html body.page-tab-assistant.ai-chat-welcome-mode .lh-ai-redesign.lh-ai-page-root #chatContainer {
  justify-content: flex-start !important;
}

html.lh-ai-chat-html body.page-tab-assistant.ai-chat-welcome-mode .lh-ai-redesign.lh-ai-page-root #lhAiWelcomeCluster {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

html.lh-ai-chat-html body.page-tab-assistant.ai-chat-welcome-mode .lh-ai-redesign.lh-ai-page-root #chatContainer:not(:has(.message)):not(:has(.lh-welcome-hidden)) {
  justify-content: flex-start !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-welcome-cluster--mast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 6px;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-masthead {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 8px 20px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-masthead__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(26, 26, 46, 0.14) 0%, rgba(26, 26, 46, 0.07) 42%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-masthead__portrait {
  position: relative;
  z-index: 1;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(165deg, #1A1A2E 0%, #2A2A3A 48%, #3A3A4A 100%);
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 6px rgba(26, 26, 46, 0.18),
    0 16px 34px rgba(26, 26, 46, 0.20);
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-masthead__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% 26%;
  transform: none;
  transform-origin: center center;
  border-radius: 50%;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-masthead__img--native {
  object-position: 50% 34%;
  transform: scale(1);
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-card--mast {
  position: relative;
  z-index: 2;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-card--mast .welcome-title {
  font-size: 21px !important;
  letter-spacing: -0.02em !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-card--mast .welcome-desc {
  margin-bottom: 12px !important;
}

/* ===== 多模型能力徽标 ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-caps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-caps__label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .02em;
  margin-right: 2px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #3A3A4A;
  background: linear-gradient(135deg, #f4f4f5 0%, #ececf0 100%);
  border: 1px solid rgba(26, 26, 46, .1);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(30, 41, 59, .05);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-cap-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A1A2E, #3A3A4A);
  box-shadow: 0 0 0 3px rgba(26, 26, 46, .1);
}

/* ===== 场景快捷入口（自媒体 / 电商） ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-scenes {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-scene__hd {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px 2px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  letter-spacing: .02em;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-scene__dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-scene__dot--rose {
  background: linear-gradient(135deg, #1A1A2E, #2A2A3A);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-scene__dot--blue {
  background: linear-gradient(135deg, #2A2A3A, #3A3A4A);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-scene__dot--amber {
  background: linear-gradient(135deg, #3A3A4A, #4A4A5A);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-more-hint {
  margin-top: 2px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: .01em;
}

/* 游客柔和提示条（仅游客可见，不阻断任何操作） */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-guest-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 12px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-guest-hint svg {
  flex-shrink: 0;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-guest-hint__txt {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-guest-hint__login {
  flex-shrink: 0;
  margin-left: 4px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  background: #1A1A2E;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-guest-hint__login:active {
  transform: scale(.96);
}

/* ===== AI 回复操作条（复制 / 重新生成） ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(15, 23, 42, .07);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-act {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569 !important;
  -webkit-text-fill-color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, color .14s ease, border-color .14s ease;
  -webkit-tap-highlight-color: transparent;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-act i {
  font-size: 12px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-act:hover {
  color: #1A1A2E !important;
  -webkit-text-fill-color: #1A1A2E;
  border-color: rgba(26, 26, 46, .2);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-act:active {
  transform: scale(.96);
  background: #eef2ff;
}

/* ===== 顶栏工具（历史 / 新对话） ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-tools {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 4px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-tool {
  -webkit-appearance: none;
  appearance: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  color: #334155;
  transition: background .16s ease, transform .12s ease;
  -webkit-tap-highlight-color: transparent;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-tool:active {
  background: #f1f5f9;
  transform: scale(.94);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-tool .lh-sfx-ico--off {
  display: none;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-tool.is-muted .lh-sfx-ico--on {
  display: none;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-header-tool.is-muted .lh-sfx-ico--off {
  display: block;
}

/* 流式打字光标 */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-tw-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.12em;
  background: #1A1A2E;
  border-radius: 1px;
  animation: lh-ai-tw-blink 0.9s steps(1, end) infinite;
}
@keyframes lh-ai-tw-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-tw-cursor {
    animation: none;
    opacity: 0.85;
  }
}

/* ===== 停止生成条 ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-stopbar {
  display: flex;
  justify-content: center;
  padding: 6px 12px 2px;
  background: transparent;
  flex-shrink: 0;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-stopbar[hidden] {
  display: none;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-stopbar button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-stopbar button:active {
  transform: scale(.97);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-stopbar__ico {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: #ef4444;
}

/* ===== 历史对话抽屉 ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-history {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: block;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-history[hidden] {
  display: none;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-history__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .42);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-history__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(84vw, 340px);
  background: #f8fafc;
  box-shadow: -12px 0 40px rgba(15, 23, 42, .22);
  display: flex;
  flex-direction: column;
  animation: lhHistoryIn .26s cubic-bezier(.22, 1, .36, 1);
}
@keyframes lhHistoryIn {
  from { transform: translateX(24px); opacity: .4; }
  to { transform: translateX(0); opacity: 1; }
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-history__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-history__close {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: #f1f5f9;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 20px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-history__list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 9px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-hist-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 40px 13px 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
  cursor: pointer;
  transition: transform .14s ease, border-color .14s ease;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-hist-item:active {
  transform: scale(.985);
  border-color: rgba(26, 26, 46, .22);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-hist-item__title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-hist-item__time {
  font-size: 12px;
  color: #94a3b8;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-hist-item__del {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-hist-item__del:active {
  background: #fee2e2;
  color: #ef4444;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-hist-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  padding: 40px 0;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-scene__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-chip {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 20px -14px rgba(15, 23, 42, .18);
  cursor: pointer;
  transition: transform .16s cubic-bezier(.22, 1, .36, 1), box-shadow .16s ease, border-color .16s ease;
  -webkit-tap-highlight-color: transparent;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-chip:hover {
  border-color: rgba(26, 26, 46, .18);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-chip:active {
  transform: scale(.97);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06) !important;
  border-radius: 28px !important;
  padding: 24px 22px 22px !important;
  opacity: 1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-card .lh-ai-scenes {
  width: 100%;
  box-sizing: border-box;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-card .lh-ai-grid {
  width: 100%;
  box-sizing: border-box;
}

/* 机器人头像：蓝黑渐变 */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-icon,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-robot-avatar,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .robot-icon-wrap {
  background-color: #1A1A2E !important;
  background-image: linear-gradient(135deg, #1A1A2E 0%, #2A2A3A 55%, #3A3A4A 100%) !important;
  box-shadow: 0 12px 28px rgba(26, 26, 46, 0.28) !important;
  opacity: 1 !important;
  filter: none !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-icon svg,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .ai-robot-avatar svg,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .robot-icon-wrap svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-title {
  color: #0f172a !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-desc,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .welcome-subtitle {
  color: #475569 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  -webkit-text-fill-color: #475569 !important;
  opacity: 1 !important;
}

/* 快捷按钮 */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-quick-btn,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .quick-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(26, 26, 46, 0.12) !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  -webkit-text-fill-color: #0f172a !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04) !important;
  opacity: 1 !important;
}

/* 输入区：实色底，禁止 backdrop blur（Windows/WebKit 下易致整页发虚） */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .input-area {
  background: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .input-wrapper {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .chat-input {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: #ffffff !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .chat-input::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  opacity: 1 !important;
}

/* 发送按钮：蓝黑渐变 */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .send-btn,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .send-button,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .chat-send-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #1A1A2E !important;
  background-image: linear-gradient(135deg, #1A1A2E 0%, #2A2A3A 55%, #3A3A4A 100%) !important;
  box-shadow: 0 10px 24px rgba(26, 26, 46, 0.18) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .send-btn svg,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .send-button svg,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .chat-send-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .send-btn:disabled,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .send-button:disabled,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .chat-send-btn:disabled {
  opacity: 0.85 !important;
  cursor: not-allowed !important;
  background: linear-gradient(135deg, #1A1A2E 0%, #2A2A3A 55%, #3A3A4A 100%) !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .message.ai .bubble {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
}

/* 底栏（在 page-root 内）：实色 + 无磨砂 */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar {
  background: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar a.tab-item,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar a.tab-item {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar a.tab-item .tab-icon,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar a.tab-item .tab-icon,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar a.tab-item svg,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar a.tab-item svg {
  color: #64748b !important;
  stroke: #64748b !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar a.tab-item.active,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar a.tab-item.active,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar a.tab-item.active .tab-label,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar a.tab-item.active .tab-label,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar a.tab-item.active svg,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar a.tab-item.active svg {
  color: #1A1A2E !important;
  stroke: #1A1A2E !important;
  -webkit-text-fill-color: #1A1A2E !important;
  opacity: 1 !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar a.tab-item.active svg *,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar a.tab-item.active svg * {
  stroke: #1A1A2E !important;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root nav.tab-bar a.tab-item:not(.active) svg *,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .tab-bar a.tab-item:not(.active) svg * {
  stroke: #64748b !important;
}

@media (max-width: 374px) {
  html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-masthead__portrait {
    width: 138px;
    height: 162px;
    border-radius: 24px;
  }

  html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-masthead__img {
    object-position: 86% 28%;
    transform: scale(1.12);
  }
}

/* 键盘弹起：压缩可视高度、隐藏底栏，消除输入框与键盘间大白块 */
html.lh-ai-chat-html body.page-tab-assistant.ai-kb-open .lh-ai-redesign.lh-ai-page-root,
html.lh-ai-chat-html body.page-tab-assistant.ai-input-focus .lh-ai-redesign.lh-ai-page-root {
  height: var(--ai-vv-h, 100dvh) !important;
  min-height: var(--ai-vv-h, 100dvh) !important;
  max-height: var(--ai-vv-h, 100dvh) !important;
}

html.lh-ai-chat-html body.page-tab-assistant.ai-kb-open .lh-ai-redesign.lh-ai-page-root nav.tab-bar,
html.lh-ai-chat-html body.page-tab-assistant.ai-kb-open .lh-ai-redesign.lh-ai-page-root .tab-bar,
html.lh-ai-chat-html body.page-tab-assistant.ai-input-focus .lh-ai-redesign.lh-ai-page-root nav.tab-bar,
html.lh-ai-chat-html body.page-tab-assistant.ai-input-focus .lh-ai-redesign.lh-ai-page-root .tab-bar {
  display: none !important;
}

html.lh-ai-chat-html body.page-tab-assistant.ai-kb-open.ai-chat-welcome-mode .lh-ai-redesign.lh-ai-page-root #chatContainer,
html.lh-ai-chat-html body.page-tab-assistant.ai-input-focus.ai-chat-welcome-mode .lh-ai-redesign.lh-ai-page-root #chatContainer {
  justify-content: flex-start !important;
}

html.lh-ai-chat-html body.page-tab-assistant.ai-kb-open.ai-chat-welcome-mode .lh-ai-redesign.lh-ai-page-root #lhAiWelcomeCluster,
html.lh-ai-chat-html body.page-tab-assistant.ai-input-focus.ai-chat-welcome-mode .lh-ai-redesign.lh-ai-page-root #lhAiWelcomeCluster {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

html.lh-ai-chat-html body.page-tab-assistant.ai-kb-open .lh-ai-redesign.lh-ai-page-root #chatContainer,
html.lh-ai-chat-html body.page-tab-assistant.ai-input-focus .lh-ai-redesign.lh-ai-page-root #chatContainer {
  padding-bottom: 4px !important;
}

/* Agent 视频生成中占位 */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-video-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  padding: 4px 0;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-video-spin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(26, 26, 46, .18);
  border-top-color: #1A1A2E;
  animation: lhVideoSpin .8s linear infinite;
  flex: 0 0 auto;
}
@keyframes lhVideoSpin {
  to { transform: rotate(360deg); }
}

/* ===== Agnes 风格：建议问题网格（2列，带箭头） ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-q {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  color: #374151 !important;
  -webkit-text-fill-color: #374151;
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.22, 1, .36, 1), background .16s ease, border-color .16s ease;
  -webkit-tap-highlight-color: transparent;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-q span {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-q i {
  flex-shrink: 0;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: #7c4dff;
  -webkit-text-fill-color: #7c4dff;
  transition: transform .16s ease;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-q:hover {
  background: #ede9fe;
  border-color: rgba(124, 77, 255, .25);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-q:hover i {
  transform: translateX(3px);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-q:active {
  transform: scale(.97);
}

/* ===== Agnes 风格：底部横向操作胶囊 ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  margin-top: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-actions::-webkit-scrollbar {
  display: none;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-action {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 500;
  color: #374151 !important;
  -webkit-text-fill-color: #374151;
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
  -webkit-tap-highlight-color: transparent;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-action svg {
  flex-shrink: 0;
  color: #7c4dff;
}

html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-action:hover {
  background: #f1f2f5;
  border-color: rgba(26, 26, 46, .14);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-action:active {
  transform: scale(.96);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-more-hint {
  margin-top: 12px;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-q span {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 操作胶囊条（贴输入框上方，仅欢迎模式；位于 input-area 内首行） ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-actions-bar {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 2px 12px 2px;
  background: #ffffff;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-actions::-webkit-scrollbar {
  display: none;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-action {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a;
  background: #f7f8fa;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 999px;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
  -webkit-tap-highlight-color: transparent;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-action svg {
  flex-shrink: 0;
  color: #1A1A2E;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-action:hover {
  background: #f1f2f5;
  border-color: rgba(26, 26, 46, .14);
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-action:active {
  transform: scale(.96);
}
/* 进入对话后隐藏操作胶囊条 */
html.lh-ai-chat-html body.page-tab-assistant:not(.ai-chat-welcome-mode) .lh-ai-redesign.lh-ai-page-root .lh-ai-actions-bar {
  display: none;
}
/* 电脑端：胶囊条与输入框对齐 */
@media (min-width: 768px) {
  html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-actions-bar {
    padding: 8px 12px 2px;
  }
}

/* ===== 电脑端（宽屏）适配：加宽居中 + 美化背景 ===== */
@media (min-width: 768px) {
  html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root {
    max-width: 560px !important;
    box-shadow: 0 0 60px rgba(26, 26, 46, .08);
    border-left: 1px solid rgba(15, 23, 42, .05);
    border-right: 1px solid rgba(15, 23, 42, .05);
  }
  html.lh-ai-chat-html body.page-tab-assistant {
    background: linear-gradient(180deg, #eef1f7 0%, #e8ecf4 100%) !important;
  }
}

/* ===== 输入区两行布局：胶囊条换行独占第一行，输入组件第二行横向 ===== */
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .input-area {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 8px !important;
  padding: 8px 12px 10px !important;
  box-sizing: border-box !important;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .lh-ai-actions-bar {
  order: 1 !important;
  flex-basis: 100% !important;
  flex-grow: 1 !important;
  width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  background: transparent !important;
}
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .input-area .lh-upload-btn,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .input-area .input-wrapper,
html.lh-ai-chat-html body.page-tab-assistant .lh-ai-redesign.lh-ai-page-root .input-area .chat-send-btn {
  order: 2 !important;
}
/* 仅在欢迎模式显示胶囊条，进入对话后隐藏 */
html.lh-ai-chat-html body.page-tab-assistant:not(.ai-chat-welcome-mode) .lh-ai-redesign.lh-ai-page-root .lh-ai-actions-bar {
  display: none !important;
}
