/* 首页产品演示：脚本化的「跟着一条工单走」。左：场景，中：对话，右：AI 执行过程（每一步链到对应能力页）。 */

.home-demo { padding: 104px 0 96px; background: linear-gradient(180deg, #ffffff 0%, #f3f6fd 100%); }
.home-demo-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.home-demo > .home-demo-wrap > header { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.hd-kicker { display: inline-flex; align-items: center; margin-bottom: 14px; padding: 5px 12px; border-radius: 99px; border: 1px solid #d6e0ff; background: #eef3ff; color: #3157ff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.home-demo h2 { margin: 0 0 14px; color: #111827; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.035em; font-weight: 700; }

/* ---------- 控制台 ---------- */
.hd-console { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; min-height: 560px; overflow: hidden; border: 1px solid #dbe4fb; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgba(28,45,78,.14); }
.hd-console > * { min-width: 0; }

/* 左：场景 */
.hd-scenes { display: flex; flex-direction: column; border-right: 1px solid #e6ebf4; background: #f7f9fe; }
.hd-scenes > h4 { margin: 0; padding: 20px 22px 12px; color: #667085; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.hd-scene { position: relative; display: block; width: 100%; padding: 18px 22px 18px 26px; border: 0; border-top: 1px solid #e6ebf4; background: transparent; text-align: left; cursor: pointer; transition: background .2s; }
.hd-scene:hover { background: #eef3ff; }
.hd-scene.is-active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #3157ff; }
.hd-scene small { display: block; margin-bottom: 4px; color: #3157ff; font-size: 12px; font-weight: 700; }
.hd-scene b { display: block; color: #111827; font-size: 14px; line-height: 1.45; font-weight: 600; }
.hd-scene span { display: block; margin-top: 6px; color: #667085; font-size: 12px; }
.hd-scene.is-done span { color: #1a6b48; }
.hd-scene.is-active span { color: #3157ff; }

/* 中：对话 */
.hd-chat { display: grid; grid-template-rows: auto 1fr auto; }
.hd-chat > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid #e6ebf4; }
.hd-chat > header b { display: block; color: #111827; font-size: 14px; }
.hd-chat > header small { display: block; margin-top: 2px; color: #667085; font-size: 12px; }
.hd-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: #111a2b; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.hd-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34c77b; }
.hd-status.is-human { background: #fff3dc; color: #8a5a00; }
.hd-status.is-human::before { background: #f0b545; }
.hd-thread { padding: 22px 22px 8px; overflow-y: auto; max-height: 420px; scroll-behavior: smooth; }
.hd-msg { max-width: 82%; margin: 0 0 12px; padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.6; animation: hd-in .45s ease both; }
.hd-msg.customer { color: #111827; background: #f1f3f7; border-bottom-left-radius: 5px; }
.hd-msg.ai { margin-left: auto; color: #1f2937; background: #eef3ff; border-bottom-right-radius: 5px; }
.hd-msg.ai em { color: #3157ff; font-style: normal; font-weight: 600; }
.hd-msg.system { max-width: 100%; margin: 6px 0 14px; padding: 10px 14px; border-radius: 10px; border: 1px solid #ffd9a8; background: #fff6e6; color: #8a5a00; font-size: 13px; }
.hd-who { display: block; margin-bottom: 5px; color: #667085; font-size: 11px; font-weight: 600; }
.hd-typing { display: inline-flex; gap: 5px; padding: 12px 16px; border-radius: 14px; background: #eef3ff; margin-left: auto; margin-bottom: 12px; }
.hd-typing i { width: 6px; height: 6px; border-radius: 50%; background: #3157ff; opacity: .4; animation: hd-dot 1s infinite; }
.hd-typing i:nth-child(2) { animation-delay: .15s; } .hd-typing i:nth-child(3) { animation-delay: .3s; }
.hd-prompts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 22px 20px; border-top: 1px solid #e6ebf4; }
.hd-prompts > small { width: 100%; color: #667085; font-size: 12px; }
.hd-prompt { padding: 10px 16px; border: 1.5px solid #3157ff; border-radius: 99px; background: #fff; color: #3157ff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, transform .2s; animation: hd-in .4s ease both; }
.hd-prompt:hover { background: #3157ff; color: #fff; transform: translateY(-1px); }
.hd-prompt.is-next { border-color: #111827; color: #111827; }
.hd-prompt.is-next:hover { background: #111827; color: #fff; }

/* 右：执行过程 */
.hd-steps { display: flex; flex-direction: column; border-left: 1px solid #e6ebf4; background: #fbfcfe; }
.hd-steps > h4 { margin: 0; padding: 20px 22px 8px; color: #111827; font-size: 14px; }
.hd-steps > p { margin: 0; padding: 0 22px 12px; color: #667085; font-size: 12px; }
.hd-step-list { margin: 0; padding: 4px 22px 14px; list-style: none; }
.hd-step { position: relative; padding: 9px 0 9px 30px; }
.hd-step::before { content: ''; position: absolute; left: 7px; top: 12px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #d5dbe7; background: #fff; box-sizing: border-box; transition: all .3s; }
.hd-step::after { content: ''; position: absolute; left: 12px; top: 26px; bottom: -8px; width: 2px; background: #e6ebf4; }
.hd-step:last-child::after { display: none; }
.hd-step a, .hd-step b { display: block; color: #667085; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .3s; }
.hd-step small { display: block; margin-top: 2px; color: #b7c0ce; font-size: 12px; line-height: 1.5; transition: color .3s; }
.hd-step.is-active::before { border-color: #3157ff; background: #3157ff; box-shadow: 0 0 0 4px rgba(49,87,255,.18); }
.hd-step.is-active a, .hd-step.is-active b { color: #111827; }
.hd-step.is-active small { color: #667085; }
.hd-step.is-done::before { border-color: #111827; background: #111827; }
.hd-step.is-done::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }
.hd-step.is-done a, .hd-step.is-done b { color: #111827; }
.hd-step.is-done small { color: #667085; }
.hd-step.is-human.is-active::before, .hd-step.is-human.is-done::before { border-color: #f0b545; background: #f0b545; }
.hd-step a:hover { color: #3157ff; text-decoration: underline; text-underline-offset: 3px; }
.hd-step .hd-feature { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: #eef3ff; color: #3157ff; font-size: 11px; font-weight: 700; opacity: 0; transition: opacity .3s; }
.hd-step.is-active .hd-feature, .hd-step.is-done .hd-feature { opacity: 1; }
.hd-context { margin-top: auto; padding: 16px 22px 20px; border-top: 1px solid #e6ebf4; }
.hd-context h5 { margin: 0 0 10px; color: #667085; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.hd-context dl { margin: 0; }
.hd-context dl div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 12px; }
.hd-context dt { color: #667085; }
.hd-context dd { margin: 0; color: #111827; font-weight: 600; text-align: right; }
.hd-context dd.ok { color: #1a6b48; }

/* 底部按钮 */
.hd-actions { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.hd-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid #d0d7e4; color: #111827; background: #fff; transition: transform .2s, box-shadow .2s; }
.hd-actions a.primary { border-color: #3157ff; color: #fff; background: #3157ff; box-shadow: 0 12px 24px rgba(49,87,255,.22); }
.hd-actions a:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16,24,40,.12); }

@keyframes hd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hd-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

@media (prefers-reduced-motion: reduce) {
  .hd-msg, .hd-prompt { animation: none; }
  .hd-typing { display: none; }
}
@media (max-width: 1080px) {
  .hd-steps { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e6ebf4; }
  .hd-step-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; }
  .hd-step::after { display: none; }
}
@media (max-width: 720px) {
  .home-demo { padding: 64px 0 56px; }
  .hd-console { grid-template-columns: 1fr; border-radius: 18px; }
  .hd-scenes { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #e6ebf4; scrollbar-width: none; }
  .hd-scenes > h4 { display: none; }
  .hd-scene { flex: 0 0 auto; min-width: 170px; padding: 14px 16px; border-top: 0; border-right: 1px solid #e6ebf4; }
  .hd-scene.is-active::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .hd-scene span { display: none; }
  .hd-thread { max-height: 360px; padding: 16px 14px 4px; }
  .hd-msg { max-width: 92%; font-size: 13px; }
  .hd-prompts { padding: 10px 14px 16px; }
  .hd-step-list { grid-template-columns: 1fr; }
  .hd-context { display: none; }
}

/* ---------- 语音场景：通话条 + 波形 + 转写 ---------- */
.hd-call { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #131f2f; color: #fff; }
.hd-call-icon { width: 34px; height: 34px; border-radius: 50%; background: #1777ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.6a2 2 0 0 1-.5 2.1L8 9.7a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.8.3 1.7.6 2.6.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / 18px no-repeat; flex-shrink: 0; }
.hd-call b { display: block; font-size: 13px; }
.hd-call small { display: block; margin-top: 2px; color: #aeb8c8; font-size: 11px; }
.hd-call time { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 13px; color: #cbd5e1; }
.hd-wave { display: flex; align-items: center; gap: 3px; height: 22px; margin-left: 8px; }
.hd-wave b { width: 3px; height: 8px; border-radius: 2px; background: #6ea0ff; animation: hd-wave 1s ease-in-out infinite; }
.hd-wave b:nth-child(2) { animation-delay: .1s; height: 14px; } .hd-wave b:nth-child(3) { animation-delay: .2s; height: 20px; } .hd-wave b:nth-child(4) { animation-delay: .3s; height: 12px; } .hd-wave b:nth-child(5) { animation-delay: .4s; height: 18px; } .hd-wave b:nth-child(6) { animation-delay: .5s; height: 10px; } .hd-wave b:nth-child(7) { animation-delay: .6s; height: 16px; }
@keyframes hd-wave { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1.2); } }
.home-demo.is-voice .hd-msg.customer { font-style: normal; border-left: 3px solid #cbd5e1; }
.home-demo.is-voice .hd-msg.ai { border-left: 3px solid #1777ff; }
.home-demo.is-voice .hd-prompt::before { content: '🎙 '; }
@media (prefers-reduced-motion: reduce) { .hd-wave b { animation: none; } }

/* ===== 按真实「智能工作台 · 工单」界面重排（顶栏 / 视图树 / 工单列表 / 会话 / 详情） ===== */
.hd-console { grid-template-columns: 196px 250px minmax(0, 1fr) 296px !important; grid-template-rows: 48px minmax(0, 1fr); min-height: 640px; }
.hd-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 0 18px; background: #0f1b2d; color: #fff; }
.hd-bar-logo { width: 100px; height: 22px; background: url('../assets/shulex-logo-dark.png') left center / contain no-repeat; filter: brightness(0) invert(1); }
.hd-bar > b { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: 600; }
.hd-bar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; color: #cbd5e1; font-size: 13px; }
.hd-bar-right i { width: 16px; height: 16px; border-radius: 4px; background: rgba(255,255,255,.22); }
.hd-bar-right em { font-style: normal; }

.hd-views { padding: 14px 10px; border-right: 1px solid #e6ebf4; background: #f5f6f8 !important; }
.hd-views-title { display: flex; align-items: center; gap: 8px; margin: 0 4px 12px; padding: 9px 12px; border: 1px solid #e3e6ec; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; color: #111827; }
.hd-views-title::before { content: ''; width: 14px; height: 14px; border-radius: 3px; background: #0f1b2d; }
.hd-views ul { margin: 0; padding: 0; list-style: none; }
.hd-views li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 8px; color: #374151; font-size: 13px; }
.hd-views li::before { content: ''; width: 14px; height: 14px; margin-right: 8px; border-radius: 3px; background: #c9d0dc; flex-shrink: 0; }
.hd-views li b { margin-left: auto; color: #6b7280; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hd-views li.is-on { background: #e9ecf1; color: #111827; font-weight: 600; }
.hd-views-sub { margin: 14px 12px 6px; color: #8a94a6; font-size: 12px; }
.hd-views ul.is-sub li::before { width: 12px; height: 10px; border-radius: 2px; }

.hd-scenes { background: #fff !important; border-right: 1px solid #e6ebf4; }
.hd-list-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eef1f5; color: #111827; font-size: 13px; }
.hd-list-head span { color: #6b7280; letter-spacing: .2em; }
.hd-scene { padding: 12px 16px !important; border-top: 0 !important; border-bottom: 1px solid #f1f3f7; }
.hd-scene.is-active { background: #f5f6f8 !important; }
.hd-scene.is-active::before { display: none; }
.hd-scene-top { display: flex; align-items: center; justify-content: space-between; }
.hd-scene-top b { color: #374151; font-size: 13px; font-weight: 500; }
.hd-scene-top i { width: 7px; height: 7px; border-radius: 50%; background: #1777ff; }
.hd-scene-title { display: flex; align-items: center; gap: 6px; margin: 5px 0; color: #111827; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-scene-title em { flex-shrink: 0; padding: 1px 6px; border-radius: 4px; background: #eaf1ff; color: #1777ff; font-size: 11px; font-style: normal; font-weight: 700; }
.hd-scene-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.hd-scene-meta small { display: inline-flex; align-items: center; gap: 5px; color: #1a9e5c; font-size: 12px; font-weight: 600; }
.hd-scene-meta small::before { content: ''; width: 11px; height: 11px; border-radius: 3px; background: currentColor; opacity: .55; }
.hd-scene-meta small.is-over { color: #e5484d; }
.hd-scene-meta span { color: #9aa4b5 !important; }
.hd-scene small, .hd-scene.is-active span { color: inherit !important; }

.hd-chat > header { align-items: flex-start; padding: 14px 18px 12px; }
.hd-chat-title > b { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; color: #111827; }
.hd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hd-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: #f1f3f7; color: #4b5563; font-size: 12px; }
.hd-chip.is-status { background: #eaf1ff; color: #1777ff; }
.hd-chip.is-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1777ff; }
.hd-chip.is-status.is-red { background: #fde8e8; color: #e5484d; }
.hd-chip.is-status.is-red::before { background: #e5484d; }
.hd-chip.is-sla { background: #e6f6ee; color: #1a9e5c; font-weight: 600; }
.hd-chip.is-brand::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: #9aa4b5; }
.hd-chip.is-tag::before { content: '✦'; color: #6b7280; }
.hd-chat-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hd-assign { padding: 6px 12px; border: 1px solid #e3e6ec; border-radius: 6px; background: #fff; color: #111827; font-size: 12px; }
.hd-thread { max-height: 400px; }
.hd-msg.customer { background: #edf3ff !important; border: 0 !important; margin-left: 0 !important; max-width: 82% !important; }
.hd-msg.customer::before { display: none !important; }
.hd-msg.ai { background: #dbe7ff !important; border: 0 !important; }
.hd-msg.ai::after { background: #0f1b2d !important; background-image: none !important; }
.hd-msg.ai .hd-who::after { content: ''; }
.hd-divider { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; color: #6b7280; font-size: 12px; }
.hd-divider::before, .hd-divider::after { content: ''; flex: 1; height: 1px; background: #e6ebf4; }
.hd-msg.system { position: relative; padding: 14px 16px 14px 16px !important; border: 0 !important; border-radius: 10px !important; background: #fff8d6 !important; color: #374151 !important; font-size: 13px !important; }
.hd-ai-badge { display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0 8px 6px 0; border-radius: 4px; background: #111827; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; vertical-align: middle; }
.hd-composer { border-top: 1px solid #e6ebf4; }
.hd-channels { display: flex; align-items: center; gap: 14px; padding: 10px 18px 0; }
.hd-channels i { width: 16px; height: 16px; border-radius: 4px; background: #d5dbe7; }
.hd-channels i.is-on { background: #0f1b2d; box-shadow: 0 0 0 3px #e9ecf1; }
.hd-channels span { margin-left: 8px; color: #374151; font-size: 12px; }
.hd-prompts { border-top: 0 !important; padding: 10px 18px 6px !important; }
.hd-input { display: flex; align-items: center; justify-content: space-between; margin: 6px 18px 16px; padding: 12px 14px; border: 1px solid #e3e6ec; border-radius: 8px; color: #9aa4b5; font-size: 13px; min-height: 56px; align-items: flex-end; }
.hd-input b { padding: 7px 14px; border-radius: 6px; background: #e9ecf1; color: #374151; font-size: 12px; font-weight: 600; }

.hd-steps { background: #fff !important; }
.hd-steps > h4 { padding: 16px 18px 6px; font-size: 15px; }
.hd-panel { padding: 10px 18px 14px; border-top: 1px solid #f1f3f7; }
.hd-panel h5 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; color: #111827; font-size: 13px; font-weight: 700; }
.hd-panel h5::after { content: '⌄'; color: #9aa4b5; font-weight: 400; }
.hd-panel h5 em { margin-left: auto; margin-right: 10px; color: #1777ff; font-size: 12px; font-style: normal; font-weight: 500; }
.hd-panel > p { margin: -4px 0 8px; color: #9aa4b5; font-size: 12px; }
.hd-person { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hd-person i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #dbe7ff; color: #1777ff; font-size: 13px; font-style: normal; font-weight: 700; }
.hd-person b { font-size: 14px; color: #111827; }
.hd-tags-row { color: #6b7280; font-size: 12px; }
.hd-tags-row em { margin-left: 10px; color: #6b7280; font-style: normal; }
.hd-context { margin-top: 0 !important; padding: 0 !important; border: 0 !important; }
.hd-context dl div, .hd-context div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 12px; }
.hd-panel.is-ai { background: #fbfcfe; }
.hd-step-list { padding: 0 0 4px !important; }

@media (max-width: 1080px) { .hd-console { grid-template-columns: 220px minmax(0, 1fr) !important; } .hd-views { display: none; } .hd-steps { grid-column: 1 / -1; } }
@media (max-width: 720px) { .hd-console { grid-template-columns: 1fr !important; grid-template-rows: 48px auto auto auto; } .hd-scenes { flex-direction: row; overflow-x: auto; } .hd-scene { min-width: 210px; border-right: 1px solid #f1f3f7; } .hd-bar-right { display: none; } .hd-views { display: none; } }

/* ===== 真实图标与 Logo（替换占位方块） ===== */
.hd-views-title::before, .hd-views li::before, .hd-scene-meta small::before, .hd-chip.is-brand::before { display: none !important; content: none !important; }
.hd-views-title img, .hd-views li img { width: 16px; height: 16px; margin-right: 8px; flex-shrink: 0; opacity: .75; }
.hd-views li.is-on img { opacity: 1; }
.hd-views ul.is-sub li img { width: 13px; height: 13px; opacity: .55; }
.hd-bar-right img { width: 16px; height: 16px; filter: brightness(0) invert(1); opacity: .9; }
.hd-bar-right i.is-bell { width: 16px; height: 16px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .9; }
.hd-scene-meta small img { width: 13px; height: 13px; opacity: .8; }
.hd-chip.is-brand img { height: 12px; width: auto; max-width: 70px; object-fit: contain; }
.hd-chip.is-brand img[hidden] { display: none; }
.hd-channels img { width: 18px; height: 18px; object-fit: contain; opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.hd-channels img:nth-child(5) { opacity: 1; filter: none; box-shadow: 0 0 0 3px #e9ecf1; border-radius: 4px; }
.hd-channels img:hover { opacity: 1; filter: none; }
.hd-channels span { margin-left: auto; }

/* ===== 渠道图标彩色，按场景高亮；去掉输入框 ===== */
.hd-channels img { opacity: .55; filter: none !important; box-shadow: none !important; transition: opacity .2s, transform .2s; }
.hd-channels img:nth-child(5) { opacity: .55; }
.hd-channels img.is-on { opacity: 1; transform: scale(1.25); }
.hd-channels img[data-ch="livechat"], .hd-channels img[data-ch="voice"], .hd-channels img[data-ch="app"] { filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(2700%) hue-rotate(214deg) brightness(101%) contrast(101%) !important; }
.hd-composer { padding-bottom: 6px; }

/* ===== 语音场景：语音条，点「转写」才显示文字 ===== */
.hd-msg.is-audio { padding: 10px 12px 10px !important; }
.hd-clip { display: flex; align-items: center; gap: 10px; }
.hd-play { width: 30px; height: 30px; border-radius: 50%; background: #0f1b2d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 14px no-repeat; flex-shrink: 0; }
.hd-msg.ai .hd-play { background-color: #1777ff; }
.hd-clip-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.hd-clip-wave b { width: 3px; border-radius: 2px; background: #4270ff; opacity: .7; }
.hd-msg.customer .hd-clip-wave b { background: #6b7a99; }
.hd-clip time { margin-left: 4px; color: #6b7280; font-size: 12px; font-variant-numeric: tabular-nums; }
.hd-transcribe { margin: 8px 0 0; padding: 4px 10px; border: 1px solid #c9d6f7; border-radius: 6px; background: #fff; color: #1777ff; font-size: 12px; font-weight: 600; cursor: pointer; }
.hd-transcribe:hover { background: #eaf1ff; }
.hd-msg.is-audio .hd-text { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px dashed #c9d6f7; color: #1f2937; font-size: 14px; line-height: 1.6; }
.hd-msg.is-audio .hd-text em { color: #1777ff; font-style: normal; font-weight: 600; }
.home-demo.is-voice .hd-msg.customer, .home-demo.is-voice .hd-msg.ai { border-left: 0 !important; }

/* ===== 轻量版：不凸显工作台，只留 场景 / 对话 / AI 执行过程 ===== */
.hd-console.is-light { grid-template-columns: 250px minmax(0, 1fr) 340px !important; grid-template-rows: minmax(0, 1fr); min-height: 600px; }
.hd-console.is-light .hd-scenes { background: #f7f9fe !important; border-right: 1px solid #e6ebf4; }
.hd-console.is-light .hd-scenes > h4 { margin: 0; padding: 20px 22px 10px; color: #667085; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.hd-console.is-light .hd-scene { padding: 16px 22px 16px 24px !important; border-top: 1px solid #e6ebf4; border-bottom: 0; }
.hd-console.is-light .hd-scene.is-active { background: #fff !important; }
.hd-console.is-light .hd-scene.is-active::before { display: block; content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #3157ff; }
.hd-console.is-light .hd-scene small { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 5px; color: #3157ff !important; font-size: 12px; font-weight: 700; }
.hd-console.is-light .hd-scene small img { width: 14px; height: 14px; filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(2700%) hue-rotate(214deg) brightness(101%) contrast(101%); }
.hd-console.is-light .hd-scene b { display: block; color: #111827; font-size: 14px; line-height: 1.45; font-weight: 600; }
.hd-console.is-light .hd-scene span { display: block; margin-top: 6px; color: #667085 !important; font-size: 12px; }
.hd-console.is-light .hd-scene.is-active span { color: #3157ff !important; }
.hd-console.is-light .hd-chat > header { align-items: center; padding: 14px 22px; }
.hd-console.is-light .hd-chat-title { display: flex; align-items: center; gap: 10px; }
.hd-console.is-light .hd-chat-title b { margin: 0; font-size: 14px; }
.hd-console.is-light .hd-chat-title small { display: block; margin-top: 2px; color: #667085; font-size: 12px; }
.hd-ch-icon { width: 22px; height: 22px; filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(2700%) hue-rotate(214deg) brightness(101%) contrast(101%); }
.hd-console.is-light .hd-thread { max-height: 430px; }
.hd-console.is-light .hd-composer { border-top: 1px solid #e6ebf4; padding: 0; }
.hd-console.is-light .hd-prompts { padding: 12px 22px 18px !important; }
.hd-console.is-light .hd-steps { background: #fbfcfe !important; border-left: 1px solid #e6ebf4; }
.hd-console.is-light .hd-steps > h4 { padding: 22px 24px 4px; font-size: 18px; letter-spacing: -.02em; }
.hd-console.is-light .hd-steps > p { padding: 0 24px 14px; font-size: 12px; }
.hd-console.is-light .hd-step-list { padding: 0 24px 12px; }
.hd-console.is-light .hd-step { padding: 11px 0 11px 32px; }
.hd-console.is-light .hd-step a, .hd-console.is-light .hd-step b { font-size: 14px; }
.hd-console.is-light .hd-step small { font-size: 12px; }
.hd-console.is-light .hd-step .hd-feature { padding: 3px 9px; font-size: 11px; }
.hd-console.is-light .hd-step.is-active::before { border-color: #3157ff !important; background: #3157ff !important; box-shadow: 0 0 0 4px rgba(49,87,255,.18); }
.hd-console.is-light .hd-step.is-done::before { border-color: #111827 !important; background-color: #111827 !important; }
.hd-console.is-light .hd-step.is-human.is-active::before, .hd-console.is-light .hd-step.is-human.is-done::before { border-color: #d4600a !important; background-color: #d4600a !important; }
.hd-result { margin: auto 24px 22px; padding: 14px 16px; border-radius: 12px; border: 1px solid #cfdafe; background: #eef3ff; }
.hd-result:empty { display: none; }
.hd-result b { display: block; margin-bottom: 4px; color: #111827; font-size: 13px; }
.hd-result p { margin: 0; color: #344054; font-size: 13px; line-height: 1.6; }
.hd-console.is-light .hd-msg.customer { background: #f1f3f7 !important; }
.hd-console.is-light .hd-msg.ai { background: #eef3ff !important; }
.hd-console.is-light .hd-msg.ai::after { background: #3157ff !important; }
@media (max-width: 1080px) { .hd-console.is-light { grid-template-columns: 220px minmax(0, 1fr) !important; } .hd-console.is-light .hd-steps { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e6ebf4; } }
@media (max-width: 720px) { .hd-console.is-light { grid-template-columns: 1fr !important; } .hd-console.is-light .hd-scenes { flex-direction: row; overflow-x: auto; } .hd-console.is-light .hd-scene { min-width: 190px; border-top: 0; border-right: 1px solid #e6ebf4; } .hd-console.is-light .hd-scene span { display: none; } }

/* ===== 现代 AI 产品形态：顶部场景标签 + 居中对话画布 + 内嵌工作过程 ===== */
.hd2 { width: min(880px, 100%); margin: 0 auto; }
.hd2-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 18px; scrollbar-width: none; }
.hd2-tab { display: flex; flex-direction: column; gap: 4px; min-width: 150px; flex: 1; padding: 12px 14px; border: 1px solid #e6ebf4; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.hd2-tab img { width: 16px; height: 16px; filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(2700%) hue-rotate(214deg) brightness(101%) contrast(101%); opacity: .8; }
.hd2-tab b { color: #111827; font-size: 13px; font-weight: 600; line-height: 1.4; }
.hd2-tab:hover { border-color: #c9d6f7; transform: translateY(-1px); }
.hd2-tab.is-active { border-color: #3157ff; box-shadow: 0 0 0 3px rgba(49,87,255,.12); }
.hd2-canvas { border: 1px solid #e6ebf4; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(28,45,78,.10); overflow: hidden; }
.hd2-stream { max-height: 560px; min-height: 420px; padding: 28px 30px 12px; overflow-y: auto; scroll-behavior: smooth; }
.hd2-turn { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 8px 0 18px; animation: hd-in .4s ease both; }
.hd2-turn + .hd2-turn { border-top: 1px solid #f1f3f7; padding-top: 18px; }
.hd2-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.hd2-avatar.is-ai { background: linear-gradient(135deg, #3157ff, #7c5cff); box-shadow: 0 6px 16px rgba(49,87,255,.3); }
.hd2-avatar.is-ai::before { content: '✦'; color: #fff; font-size: 15px; }
.hd2-name { margin-bottom: 6px; color: #111827; font-size: 13px; font-weight: 700; }
.hd2-name small { margin-left: 6px; color: #667085; font-weight: 500; }
.hd2-text { margin: 0; color: #1f2937; font-size: 15px; line-height: 1.7; }
.hd2-text em { color: #3157ff; font-style: normal; font-weight: 600; }
/* 工作过程（工具调用列表） */
.hd2-trace { margin: 2px 0 12px; border: 1px solid #e6ebf4; border-radius: 12px; background: #fafbfd; overflow: hidden; }
.hd2-trace-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: 0; background: transparent; color: #374151; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
.hd2-trace-head em { margin-left: auto; color: #667085; font-style: normal; transition: transform .2s; }
.hd2-trace.is-collapsed .hd2-trace-list { display: none; }
.hd2-trace.is-collapsed .hd2-trace-head em { transform: rotate(180deg); }
.hd2-spin { width: 14px; height: 14px; border: 2px solid #c9d6f7; border-top-color: #3157ff; border-radius: 50%; animation: hd2-spin .8s linear infinite; }
.hd2-check { width: 16px; height: 16px; border-radius: 50%; background: #111827 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.hd2-trace-list { margin: 0; padding: 0 14px 10px; list-style: none; }
.hd2-trace-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 7px 0; border-top: 1px solid #eef1f5; animation: hd-in .3s ease both; }
.hd2-trace-list li > i { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 2px solid #d5dbe7; box-sizing: border-box; }
.hd2-trace-list li.is-running > i { border-color: #c9d6f7; border-top-color: #3157ff; animation: hd2-spin .8s linear infinite; }
.hd2-trace-list li.is-done > i { border: 0; background: #111827 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat; }
.hd2-trace-list li.is-human > i { border-color: #f0b545; }
.hd2-trace-list li.is-human.is-done > i { background-color: #d4600a; }
.hd2-trace-list li b { display: block; color: #111827; font-size: 13px; font-weight: 600; }
.hd2-trace-list li small { display: block; margin-top: 2px; color: #667085; font-size: 12px; line-height: 1.5; }
.hd2-cap { align-self: center; padding: 3px 9px; border-radius: 99px; background: #eef3ff; color: #3157ff; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hd2-cap:hover { background: #3157ff; color: #fff; }
.hd2-handoff { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid #ffd9a8; background: #fff7ea; }
.hd2-handoff i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #d4600a; color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.hd2-handoff b { display: block; color: #111827; font-size: 13px; }
.hd2-handoff small { display: block; color: #8a5a00; font-size: 12px; }
.hd2-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.hd2-sources:empty { display: none; }
.hd2-sources small { color: #667085; font-size: 12px; margin-right: 4px; }
.hd2-sources span { padding: 3px 9px; border-radius: 6px; border: 1px solid #e6ebf4; background: #fff; color: #475467; font-size: 12px; }
.hd2-note { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #f4f6fa; color: #667085; font-size: 12px; }
.hd2-summary { margin: 6px 0 12px 48px; padding: 14px 16px; border-radius: 12px; background: #eef3ff; border: 1px solid #cfdafe; animation: hd-in .4s ease both; }
.hd2-summary b { display: block; margin-bottom: 4px; color: #111827; font-size: 13px; }
.hd2-summary p { margin: 0; color: #344054; font-size: 13px; line-height: 1.6; }
/* 建议芯片 */
.hd2-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 30px 22px; border-top: 1px solid #f1f3f7; }
.hd2-suggest:empty { display: none; }
.hd2-suggest small { width: 100%; color: #667085; font-size: 12px; }
.hd2-chip { padding: 9px 16px; border: 1px solid #d0d7e4; border-radius: 99px; background: #fff; color: #111827; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; animation: hd-in .35s ease both; }
.hd2-chip:hover { border-color: #3157ff; background: #eef3ff; color: #3157ff; transform: translateY(-1px); }
.hd2-chip.is-next { border-color: #111827; background: #111827; color: #fff; }
.hd2-chip.is-next:hover { background: #3157ff; border-color: #3157ff; }
/* 语音 */
.hd2-call { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #111827; color: #fff; }
.hd2-call-icon { width: 30px; height: 30px; border-radius: 50%; background: #3157ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.6a2 2 0 0 1-.5 2.1L8 9.7a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.8.3 1.7.6 2.6.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hd2-call b { font-size: 13px; }
.hd2-call small { color: #aeb8c8; font-size: 12px; }
.hd2-call time { margin-left: auto; font-variant-numeric: tabular-nums; color: #cbd5e1; font-size: 13px; }
.hd2-clip { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #f4f6fa; }
.hd2-clip.is-ai { background: #eef3ff; }
.hd2-play { width: 28px; height: 28px; border-radius: 50%; background: #111827 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 13px no-repeat; flex-shrink: 0; }
.hd2-clip.is-ai .hd2-play { background-color: #3157ff; }
.hd2-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.hd2-wave b { width: 3px; border-radius: 2px; background: #6b7a99; opacity: .7; }
.hd2-clip.is-ai .hd2-wave b { background: #4270ff; }
.hd2-clip time { color: #6b7280; font-size: 12px; font-variant-numeric: tabular-nums; }
.hd2-transcribe { margin-left: auto; padding: 4px 10px; border: 1px solid #c9d6f7; border-radius: 6px; background: #fff; color: #3157ff; font-size: 12px; font-weight: 600; cursor: pointer; }
.hd2-body .hd2-text[hidden] { display: none; }
.hd2-clip + .hd2-text, .hd2-answer .hd2-text { margin-top: 10px; }
@keyframes hd2-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hd2-spin, .hd2-trace-list li.is-running > i { animation: none; } }
@media (max-width: 720px) {
  .hd2-tab { min-width: 140px; }
  .hd2-turn { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .hd2-avatar { width: 28px; height: 28px; }
  .hd2-summary { margin-left: 0; }
  .hd2-suggest { padding: 10px 16px 18px; }
  .hd2-trace-list li { grid-template-columns: 18px minmax(0, 1fr); }
  .hd2-cap { grid-column: 2; justify-self: start; }
}

/* ===== 一屏内可见：压缩纵向尺寸 ===== */
.home-demo h2 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 8px; }
.hd-kicker { margin-bottom: 10px; }
.hd2-stream { min-height: 0; height: 400px; max-height: 400px; padding: 18px 24px 8px; }
.hd2-turn + .hd2-turn { padding-top: 12px; }
.hd2-avatar.is-ai::before { font-size: 13px; }
.hd2-name { margin-bottom: 4px; }
.hd2-trace { margin: 0 0 10px; }
.hd2-trace-list { padding: 0 12px 6px; }
.hd2-trace-list li { grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 0; }
.hd2-trace-list li > i { width: 12px; height: 12px; margin-top: 0; }
.hd2-trace-list li b { display: inline; font-size: 12px; }
.hd2-trace-list li small { display: inline; margin: 0 0 0 8px; font-size: 12px; color: #667085; }
.hd2-trace-list li small::before { content: '· '; }
.hd2-cap { padding: 2px 8px; font-size: 11px; }
.hd2-handoff { margin-bottom: 10px; padding: 8px 10px; }
.hd2-sources { margin-top: 8px; }
.hd2-sources span { padding: 2px 8px; font-size: 11px; }
.hd2-summary { margin: 4px 0 8px 40px; padding: 10px 14px; }
.hd2-chip { padding: 7px 14px; font-size: 13px; }
/* 底部按钮并入画布页脚 */
.hd-actions { margin: 0; padding: 12px 24px 16px; justify-content: flex-end; gap: 10px; border-top: 1px solid #f1f3f7; background: #fff; }
.hd-actions a { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 8px; }
.home-demo .hd-actions { width: min(880px, 100%); margin: 0 auto; border: 1px solid #e6ebf4; border-top: 0; border-radius: 0 0 22px 22px; box-shadow: 0 24px 60px rgba(28,45,78,.10); }
@media (max-width: 720px) {
  .hd2-tab b { font-size: 12px; }
  .hd2-stream { height: 360px; max-height: 360px; }
  .hd-actions { flex-direction: column; }
}

/* ===== 客户用自己的语言，下方附中文译文 ===== */
.hd2-zh { display: block; margin: 4px 0 0; color: #667085; font-size: 12px; line-height: 1.6; }
.hd2-zh::before { content: '译 '; margin-right: 2px; padding: 0 4px; border-radius: 3px; background: #eef1f6; color: #667085; font-size: 10px; font-weight: 700; }
.hd2-text .hd2-zh { margin-top: 6px; }
.hd2-lang { margin-left: 10px; padding: 2px 8px; border-radius: 99px; background: #eef3ff; color: #3157ff; font-size: 11px; font-weight: 700; }
.hd2-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 14px; line-height: 1.3; }
.hd2-chip b { font-weight: 600; }
.hd2-chip small { color: #667085; font-size: 11px; }
.hd2-chip:hover small { color: #3157ff; opacity: .8; }
.hd2-chip.is-next { flex-direction: row; }

.hd2-zh em { font-style: normal; font-weight: 600; color: #667085; }

/* ===== 放大：1180 宽，消息区按视口高度 ===== */
.home-demo { padding: 72px 0 64px; }
.hd2, .home-demo .hd-actions { width: min(1180px, 100%); }
.home-demo h2 { font-size: clamp(30px, 3vw, 42px); }
.hd2-tab { padding: 12px 16px; border-radius: 12px; }
.hd2-tab img { width: 18px; height: 18px; }
.hd2-stream { height: clamp(480px, calc(100vh - 420px), 640px); max-height: none; padding: 26px 36px 10px; }
.hd2-turn { grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 8px 0 16px; }
.hd2-avatar { width: 36px; height: 36px; font-size: 14px; }
.hd2-text { font-size: 15px; line-height: 1.7; }
.hd2-trace-head { padding: 9px 14px; font-size: 13px; }
.hd2-trace-list li { padding: 7px 0; }
.hd2-trace-list li b, .hd2-trace-list li small { font-size: 13px; }
.hd2-suggest { padding: 14px 36px 18px; }
.hd2-chip { padding: 9px 16px; }
.hd2-chip b { font-size: 14px; }
.hd-actions { padding: 14px 36px 18px; }
.hd-actions a { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* ===== 场景专属表现 ===== */
.hd2-cardwrap { margin-top: 12px; animation: hd-in .4s ease both; }
.hd2-card { border: 1px solid #e6ebf4; border-radius: 14px; background: #fff; }
.hd2-kv { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.hd2-kv span { font-size: 15px; font-weight: 700; color: #111827; }
.hd2-kv em { padding: 3px 9px; border-radius: 6px; background: #f1f3f7; color: #475467; font-size: 12px; font-style: normal; font-weight: 600; }
.hd2-kv em.ok { background: #e6f6ee; color: #1a9e5c; }
/* 售前：商品卡 + 色卡 */
.hd2-product { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px; max-width: 520px; }
.hd2-product img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.hd2-product b { display: block; font-size: 14px; color: #111827; }
.hd2-product small { display: block; margin-top: 3px; color: #667085; font-size: 12px; }
.hd2-swatches { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
.hd2-swatches span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid #e6ebf4; border-radius: 99px; font-size: 13px; color: #374151; }
.hd2-swatches span.is-on { border-color: #3157ff; box-shadow: 0 0 0 2px rgba(49,87,255,.12); }
.hd2-swatches i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
/* 物流：邮件主题 + 包裹时间线 */
.hd2-subject { margin: -2px 0 10px; padding: 8px 12px; border-left: 3px solid #d0d7e4; background: #f7f8fb; border-radius: 0 8px 8px 0; }
.hd2-subject small { display: block; color: #667085; font-size: 11px; }
.hd2-subject b { font-size: 13px; color: #374151; }
.hd2-track { padding: 12px 14px; max-width: 560px; }
.hd2-track-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hd2-track-head b { font-size: 13px; color: #111827; }
.hd2-track-head small { color: #667085; font-size: 12px; }
.hd2-track ul { margin: 0; padding: 0; list-style: none; }
.hd2-track li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 7px 0 7px 22px; font-size: 13px; }
.hd2-track li::before { content: ''; position: absolute; left: 0; top: 11px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #34c77b; background: #fff; box-sizing: border-box; }
.hd2-track li.done::before { background: #34c77b; }
.hd2-track li.now::before { border-color: #3157ff; background: #3157ff; box-shadow: 0 0 0 4px rgba(49,87,255,.15); }
.hd2-track li b { color: #111827; font-weight: 600; }
.hd2-track li span { color: #667085; text-align: right; }
.hd2-track li.now span { color: #3157ff; font-weight: 600; }
/* 售后：照片 + 部件 + 补件单 */
.hd2-attachments { display: flex; gap: 8px; margin: 8px 0 6px; }
.hd2-attach { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; border: 1px solid #e6ebf4; }
.hd2-part { display: grid; grid-template-columns: 160px 1fr; max-width: 560px; }
.hd2-part-id { padding: 14px; border-right: 1px solid #e6ebf4; background: #f7f8fb; border-radius: 14px 0 0 14px; }
.hd2-part-id small, .hd2-order small { display: block; color: #667085; font-size: 11px; }
.hd2-part-id b { display: block; margin: 2px 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #111827; }
.hd2-part-id span { display: block; color: #374151; font-size: 12px; }
.hd2-part-id em { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 6px; background: #e6f6ee; color: #1a9e5c; font-size: 11px; font-style: normal; font-weight: 700; }
.hd2-order { padding: 14px; }
.hd2-order b { font-size: 15px; color: #111827; }
.hd2-order ol { margin: 8px 0 0; padding: 0; list-style: none; }
.hd2-order li { position: relative; padding: 4px 0 4px 18px; color: #667085; font-size: 12px; }
.hd2-order li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #d5dbe7; }
.hd2-order li.done { color: #1a9e5c; } .hd2-order li.done::before { background: #34c77b; }
.hd2-order li.now { color: #111827; font-weight: 600; } .hd2-order li.now::before { background: #3157ff; }
/* 风险：评估卡 + 回执 */
.hd2-risk { display: grid; grid-template-columns: 130px 1fr; gap: 0; max-width: 560px; }
.hd2-risk-score { padding: 14px; border-right: 1px solid #e6ebf4; background: #fff6f0; border-radius: 14px 0 0 14px; }
.hd2-risk-score small { display: block; color: #a86a00; font-size: 11px; font-weight: 700; }
.hd2-risk-score b { display: block; margin: 2px 0 8px; color: #d4600a; font-size: 24px; font-weight: 700; }
.hd2-risk-score i { display: block; height: 6px; border-radius: 3px; background: #f3e2cf; overflow: hidden; }
.hd2-risk-score u { display: block; height: 100%; background: linear-gradient(90deg, #f0b545, #e5484d); }
.hd2-risk ul { margin: 0; padding: 10px 14px 6px; list-style: none; }
.hd2-risk li { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12px; color: #667085; }
.hd2-risk li b { color: #111827; }
.hd2-risk li b.bad { color: #e5484d; }
.hd2-risk p { grid-column: 1 / -1; margin: 0; padding: 8px 14px 10px; border-top: 1px solid #e6ebf4; color: #8a5a00; font-size: 12px; }
.hd2-receipt { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 620px; }
.hd2-receipt > div { padding: 12px 14px; border-right: 1px solid #e6ebf4; }
.hd2-receipt > div:last-child { border-right: 0; }
.hd2-receipt small { display: block; color: #667085; font-size: 11px; }
.hd2-receipt b { display: block; margin-top: 2px; color: #111827; font-size: 13px; }
/* 语音：提取信息卡 */
.hd2-entities { padding: 10px 14px 12px; max-width: 560px; background: #f7f8fb; }
.hd2-entities > small { display: block; margin-bottom: 8px; color: #667085; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.hd2-entities > div { display: flex; flex-wrap: wrap; gap: 8px; }
.hd2-entities span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #e6ebf4; border-radius: 8px; background: #fff; color: #111827; font-size: 13px; font-weight: 600; }
.hd2-entities span i { color: #667085; font-size: 11px; font-style: normal; font-weight: 500; }
.hd2-entities span em { font-style: normal; font-size: 11px; color: #1a9e5c; }
@media (max-width: 720px) {
  .hd2-stream { height: clamp(400px, calc(100vh - 380px), 520px); padding: 18px 16px 8px; }
  .hd2-product, .hd2-part, .hd2-risk { grid-template-columns: 1fr; }
  .hd2-part-id, .hd2-risk-score { border-right: 0; border-bottom: 1px solid #e6ebf4; border-radius: 14px 14px 0 0; }
  .hd2-receipt { grid-template-columns: 1fr 1fr; }
  .hd2-receipt > div:nth-child(2) { border-right: 0; }
}

/* ===== 渠道形态 ===== */
.hd2-chbar { display: flex; align-items: center; gap: 10px; margin: -8px -36px 16px; padding: 10px 36px; border-bottom: 1px solid #eef1f5; background: #fafbfd; color: #667085; font-size: 12px; position: sticky; top: -26px; z-index: 2; }
.hd2-chbar img { width: 16px; height: 16px; filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(2700%) hue-rotate(214deg) brightness(101%) contrast(101%); }
.hd2-chbar b { color: #111827; font-weight: 700; }
.hd2-chbar em { margin-left: auto; color: #374151; font-style: normal; font-weight: 600; }
/* Live Chat：网站聊天窗口感（客户在右，蓝底） */
.home-demo.is-ch-livechat .hd2-turn.is-user { grid-template-columns: minmax(0, 1fr) 36px; }
.home-demo.is-ch-livechat .hd2-turn.is-user .hd2-avatar { order: 2; }
.home-demo.is-ch-livechat .hd2-turn.is-user .hd2-body { order: 1; text-align: right; }
.home-demo.is-ch-livechat .hd2-turn.is-user .hd2-text { display: inline-block; text-align: left; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #3157ff; color: #fff; max-width: 78%; }
.home-demo.is-ch-livechat .hd2-turn.is-user .hd2-text em { color: #fff; }
.home-demo.is-ch-livechat .hd2-turn.is-user .hd2-zh { text-align: right; }
.home-demo.is-ch-livechat .hd2-turn.is-ai .hd2-answer .hd2-text { display: inline-block; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #f1f3f7; max-width: 88%; }
.home-demo.is-ch-livechat .hd2-turn + .hd2-turn { border-top: 0; padding-top: 4px; }
/* Email：邮件线程 */
.hd2-mail-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 8px; padding: 8px 12px; border: 1px solid #eef1f5; border-radius: 8px; background: #fafbfd; font-size: 12px; color: #374151; }
.hd2-mail-meta i { margin-right: 6px; color: #667085; font-style: normal; }
.home-demo.is-ch-email .hd2-turn , .home-demo.is-ch-amazon .hd2-turn  { padding: 14px 0 18px; }
.home-demo.is-ch-email .hd2-text , .home-demo.is-ch-amazon .hd2-text  { font-size: 14px; line-height: 1.75; }
.home-demo.is-ch-email .hd2-turn.is-user .hd2-text::before , .home-demo.is-ch-amazon .hd2-turn.is-user .hd2-text::before  { content: 'Hi,'; display: block; margin-bottom: 6px; }
.hd2-sig { margin: 10px 0 0; color: #667085; font-size: 13px; line-height: 1.6; }
.home-demo.is-ch-email .hd2-trace , .home-demo.is-ch-amazon .hd2-trace  { border-style: dashed; background: #fffdf5; }
.home-demo.is-ch-email .hd2-trace-head span::before , .home-demo.is-ch-amazon .hd2-trace-head span::before  { content: '发送前 · '; color: #667085; font-weight: 500; }
/* APP：手机框 */
.hd2-appbar { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 12px; color: #111827; }
.hd2-appbar b { font-size: 14px; }
.hd2-appbar i { font-style: normal; color: #667085; font-size: 11px; }
.home-demo.is-ch-app .hd2-turn { grid-template-columns: 1fr; gap: 6px; padding: 4px 0 10px; }
.home-demo.is-ch-app .hd2-turn + .hd2-turn { border-top: 0; }
.home-demo.is-ch-app .hd2-avatar { display: none; }
.home-demo.is-ch-app .hd2-name { font-size: 11px; color: #667085; }
.home-demo.is-ch-app .hd2-turn.is-user .hd2-body { text-align: right; }
.home-demo.is-ch-app .hd2-turn.is-user .hd2-text { display: inline-block; text-align: left; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: #3157ff; color: #fff; max-width: 88%; font-size: 14px; }
.home-demo.is-ch-app .hd2-turn.is-user .hd2-text em { color: #fff; }
.home-demo.is-ch-app .hd2-turn.is-user .hd2-attachments { justify-content: flex-end; }
.home-demo.is-ch-app .hd2-turn.is-user .hd2-zh { text-align: right; }
.home-demo.is-ch-app .hd2-answer .hd2-text { display: inline-block; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid #e6ebf4; max-width: 92%; font-size: 14px; }
.home-demo.is-ch-app .hd2-trace { background: #fff; }
.home-demo.is-ch-app .hd2-trace-list li { grid-template-columns: 14px minmax(0, 1fr); }
.home-demo.is-ch-app .hd2-cap { grid-column: 2; justify-self: start; }
.home-demo.is-ch-app .hd2-card { max-width: 100%; }
.home-demo.is-ch-app .hd-actions { margin-top: 18px; border-radius: 22px; border-top: 1px solid #e6ebf4; }
/* Voice：通话形态（保留既有语音条） */
.home-demo.is-ch-voice .hd2-chbar { display: none; }
@media (max-width: 720px) {
  .hd2-chbar { margin: -8px -16px 12px; padding: 8px 16px; top: -18px; }
  .home-demo.is-ch-app .hd2-stream { max-width: 100%; border-width: 6px 6px 0; border-radius: 24px 24px 0 0; }
}


/* ===== 标签两行式 + 互动提示 ===== */
.hd2-tab { flex-direction: row; align-items: center; gap: 10px; padding: 11px 14px; }
.hd2-tab > div { min-width: 0; }
.hd2-tab b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd2-tab span { display: block; margin-top: 2px; color: #667085; font-size: 12px; }
.hd2-tab img.is-color, .hd2-chbar img.is-color { filter: none; }
.hd2-tab img { flex-shrink: 0; }
.hd2-tabs::before { content: '点击切换场景'; display: none; }
.hd2-hint { display: block; width: 100%; margin-bottom: 2px; color: #3157ff !important; font-size: 13px !important; font-weight: 700; }
.hd2-hint + small { display: none; }
.hd2-suggest { background: #f7f9fe; border-top: 1px solid #e6ebf4; }
.hd2-chip { border-color: #3157ff; color: #3157ff; background: #fff; box-shadow: 0 0 0 0 rgba(49,87,255,.35); animation: hd-in .35s ease both, hd2-pulse 1.6s ease-out .4s 2; }
.hd2-chip small { color: #6b7fb8; }
.hd2-chip.is-next { animation: hd-in .35s ease both; }
@keyframes hd2-pulse { 0% { box-shadow: 0 0 0 0 rgba(49,87,255,.35); } 100% { box-shadow: 0 0 0 10px rgba(49,87,255,0); } }
@media (prefers-reduced-motion: reduce) { .hd2-chip { animation: none; } }

/* ===== 标签放左侧竖排 ===== */
.hd2 { display: grid; grid-template-columns: 236px minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 18px; align-items: start; }
.hd2-tabs { grid-row: 1 / 3; flex-direction: column; gap: 8px; padding: 0; overflow: visible; }
.hd2-tab { width: 100%; min-width: 0; flex: none; }
.home-demo .hd-actions, .hd2 .hd-actions { grid-column: 2; width: auto; }
@media (max-width: 900px) { .hd2 { grid-template-columns: 1fr; } .hd2-tabs { grid-row: auto; flex-direction: row; overflow-x: auto; padding-bottom: 12px; } .hd2-tab { width: auto; min-width: 180px; } .hd2-canvas, .hd2 .hd-actions { grid-column: 1; } }

/* ===== 来电中 ===== */
.hd2-ring { display: flex; align-items: center; gap: 18px; margin: 12px 0 16px; padding: 18px 20px; border-radius: 16px; background: #111827; color: #fff; animation: hd-in .4s ease both; }
.hd2-ring-avatar { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.hd2-ring-avatar b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: #3157ff; font-size: 20px; font-weight: 700; z-index: 1; animation: hd2-shake 1.2s ease-in-out infinite; }
.hd2-ring-avatar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(49,87,255,.7); animation: hd2-ripple 1.6s ease-out infinite; }
.hd2-ring-avatar i:nth-child(2) { animation-delay: .8s; }
.hd2-ring-info b { display: block; font-size: 15px; }
.hd2-ring-info small { display: block; margin-top: 3px; color: #aeb8c8; font-size: 12px; }
.hd2-ring-info em { display: block; margin-top: 6px; color: #7dd3a0; font-size: 12px; font-style: normal; font-weight: 600; }
.hd2-ring-btn { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: #02b52a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.6a2 2 0 0 1-.5 2.1L8 9.7a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.8.3 1.7.6 2.6.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 0 0 0 rgba(2,181,42,.5); animation: hd2-btnpulse 1.2s ease-out infinite; }
.hd2-ring.is-answered .hd2-ring-avatar b, .hd2-ring.is-answered .hd2-ring-btn { animation: none; }
.hd2-ring.is-answered .hd2-ring-avatar i { display: none; }
.hd2-ring.is-answered .hd2-ring-btn { background-color: #1a9e5c; }
@keyframes hd2-ripple { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes hd2-shake { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-8deg); } 20% { transform: rotate(8deg); } 30% { transform: rotate(-6deg); } 40% { transform: rotate(6deg); } 50% { transform: rotate(0); } }
@keyframes hd2-btnpulse { 0% { box-shadow: 0 0 0 0 rgba(2,181,42,.5); } 100% { box-shadow: 0 0 0 14px rgba(2,181,42,0); } }
@media (prefers-reduced-motion: reduce) { .hd2-ring-avatar b, .hd2-ring-avatar i, .hd2-ring-btn { animation: none; } }

/* ===== CTA 放到左栏底部，画布独立成卡 ===== */
.hd2 { grid-template-rows: auto; }
.hd2-tabs { grid-row: auto; }
.hd2 > .hd2-tabs { display: flex; flex-direction: column; }
.hd2 .hd-actions { grid-column: 1; grid-row: 2; flex-direction: column; align-items: stretch; gap: 8px; margin: 12px 0 0; padding: 0; border: 0 !important; border-radius: 0; box-shadow: none !important; background: transparent; }
.hd2 .hd-actions a { width: 100%; justify-content: center; min-height: 46px; font-size: 14px; }
.hd2-canvas { grid-column: 2; grid-row: 1 / 3; border-radius: 22px !important; box-shadow: 0 24px 60px rgba(28,45,78,.10) !important; }
@media (max-width: 900px) { .hd2-canvas { grid-column: 1; grid-row: auto; } .hd2 .hd-actions { grid-column: 1; grid-row: auto; flex-direction: row; } .hd2 .hd-actions a { width: auto; flex: 1; } }

/* ===== 语音波形动起来 ===== */
.hd2-wave b { transform-origin: center; animation: hd2-bar 1.1s ease-in-out infinite; }
.hd2-wave b:nth-child(3n) { animation-duration: .9s; animation-delay: .15s; }
.hd2-wave b:nth-child(3n+1) { animation-duration: 1.3s; animation-delay: .3s; }
.hd2-wave b:nth-child(4n) { animation-delay: .45s; }
.hd2-wave b:nth-child(5n) { animation-duration: .8s; animation-delay: .6s; }
.hd2-clip .hd2-play { animation: hd2-btnpulse 1.6s ease-out infinite; box-shadow: 0 0 0 0 rgba(49,87,255,.35); }
.hd2-clip:not(.is-ai) .hd2-play { box-shadow: 0 0 0 0 rgba(17,24,39,.3); }
@keyframes hd2-bar { 0%, 100% { transform: scaleY(.45); opacity: .55; } 50% { transform: scaleY(1.25); opacity: 1; } }
.hd2-call { position: relative; overflow: hidden; }
.hd2-call::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #3157ff, transparent); animation: hd2-scan 2.2s linear infinite; }
@keyframes hd2-scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .hd2-wave b, .hd2-clip .hd2-play, .hd2-call::after { animation: none; } }
/* 标题区：无角标 */

/* ===== 三栏：场景 / 对话 / 生成过程（按产品视觉） ===== */
.hd2 { grid-template-columns: 220px minmax(0, 1fr) 360px; gap: 0 16px; }
.hd2-canvas { grid-column: 2; grid-row: 1 / 3; }
.hd2-gen { grid-column: 3; grid-row: 1 / 3; height: 100%; max-height: calc(clamp(480px, calc(100vh - 420px), 640px) + 150px); overflow: hidden; display: flex; flex-direction: column; border: 1px solid #e6ebf4; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(28,45,78,.10); }
.hd2-gen > h3 { margin: 0; padding: 16px 20px 12px; border-bottom: 1px solid #eef1f5; color: #111827; font-size: 16px; font-weight: 700; }
.hd2-gen-body { flex: 1; overflow-y: auto; padding: 8px 18px 18px; scroll-behavior: smooth; }
.hd2-gsec { padding: 10px 0 8px; border-bottom: 1px solid #eef1f5; }
.hd2-gsec:last-child { border-bottom: 0; }
.hd2-gsec h5 { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; color: #111827; font-size: 15px; font-weight: 700; }
.hd2-gsec h5::before { content: '▾'; color: #667085; font-size: 12px; }
.hd2-gsec h6 { display: flex; align-items: center; gap: 6px; margin: 10px 0 6px 14px; color: #475467; font-size: 13px; font-weight: 600; }
.hd2-gsec h6::before { content: ''; width: 14px; height: 14px; border-radius: 3px; background: #c9d0dc; }
.hd2-intent { margin-left: auto; padding: 2px 10px; border: 1px solid #d0d7e4; border-radius: 8px; background: #fff; color: #374151; font-size: 12px; font-weight: 600; }
.hd2-gline { margin: 0 0 6px 14px; color: #475467; font-size: 13px; }
.hd2-gbox, .hd2-kv-box { margin: 0 0 6px 14px; padding: 10px 12px; border-radius: 8px; background: #f5f6f8; color: #374151; font-size: 13px; line-height: 1.55; }
.hd2-kv-box { padding: 8px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.hd2-gsteps { margin: 0 0 4px 14px; padding: 0; list-style: none; }
.hd2-gsteps li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 18px; gap: 10px; align-items: center; margin-bottom: 6px; padding: 9px 12px; border: 1px solid #e6ebf4; border-radius: 8px; background: #fff; animation: hd-in .3s ease both; }
.hd2-gsteps li small { color: #667085; font-size: 12px; font-variant-numeric: tabular-nums; }
.hd2-sstate { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c9d6f7; border-top-color: #3157ff; box-sizing: border-box; animation: hd2-spin .8s linear infinite; }
.hd2-gsteps li.is-done .hd2-sstate { border: 0; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat; animation: none; }
.hd2-gsteps li.is-human.is-done .hd2-sstate { background-color: #d4600a; }
.hd2-sicon { width: 18px; height: 18px; background: center / contain no-repeat; opacity: .8; }
.hd2-sicon.is-cog { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E"); }
.hd2-sicon.is-braces { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5a2 2 0 0 0 2 2h1M16 3h1a2 2 0 0 1 2 2v5a2 2 0 0 0 2 2 2 2 0 0 0-2 2v5a2 2 0 0 1-2 2h-1'/%3E%3C/svg%3E"); }
.hd2-sicon.is-db { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.hd2-sicon.is-list { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 9h10M7 13h10M7 17h6'/%3E%3C/svg%3E"); }
.hd2-sicon.is-send { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E"); }
.hd2-sicon.is-tag { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L2 12V2h10l8.6 8.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7' cy='7' r='1.5' fill='%23111827'/%3E%3C/svg%3E"); }
.hd2-grow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 6px 14px; color: #374151; font-size: 13px; }
.hd2-tag { padding: 4px 10px; border-radius: 6px; background: #eaf1ff; color: #1777ff; font-size: 12px; font-weight: 600; }
.hd2-tag.is-gray { background: #f1f3f7; color: #475467; }
.hd2-gpre { margin: 4px 0 0 14px; padding: 12px 14px; border-radius: 8px; background: #f5f6f8; color: #374151; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
/* 对话头（产品同款） */
.hd2-chat-head b { display: block; font-size: 18px; font-weight: 700; color: #111827; }
.hd2-chat-head small { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: #667085; font-size: 13px; }
.hd2-chat-head .hd2-intent { margin-left: 0; }
.hd2-stream { height: clamp(420px, calc(100vh - 470px), 580px); }
.hd2-chbar { display: none; }
@media (max-width: 1180px) { .hd2 { grid-template-columns: 200px minmax(0, 1fr); } .hd2-gen { grid-column: 1 / -1; grid-row: 3; max-height: 420px; margin-top: 16px; } }
@media (max-width: 900px) { .hd2-gen { grid-column: 1; grid-row: auto; } }

/* ===== 右栏：客户 / 订单 / 记忆 / 思考 / 执行 ===== */
.hd2-gsec h5 .hd2-cap { margin-left: auto; padding: 2px 8px; font-size: 11px; }
.hd2-kvs { margin-left: 14px; border: 1px solid #e6ebf4; border-radius: 8px; overflow: hidden; }
.hd2-kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-top: 1px solid #eef1f5; font-size: 13px; }
.hd2-kv:first-child { border-top: 0; }
.hd2-kv span { color: #667085; flex-shrink: 0; }
.hd2-kv b { color: #111827; font-weight: 600; text-align: right; }
.hd2-mem { margin: 0 0 4px 14px; padding: 0; list-style: none; }
.hd2-mem li { position: relative; margin-bottom: 6px; padding: 8px 12px 8px 30px; border-radius: 8px; background: #f1f5ff; color: #263a70; font-size: 13px; line-height: 1.5; }
.hd2-mem li::before { content: ''; position: absolute; left: 11px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: #3157ff; box-shadow: 0 0 0 3px #dbe6ff; }
.hd2-think { position: relative; padding-left: 34px !important; background: #fffbe8 !important; border: 1px solid #f6e7a6; color: #4b4a2f !important; }
.hd2-think::before { content: '✦'; position: absolute; left: 12px; top: 9px; color: #b58a00; font-size: 14px; }
.hd2-gsep { grid-template-columns: 1fr !important; margin: 10px 0 6px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #667085; font-size: 12px; }
.hd2-gsep::before { content: ''; display: inline-block; width: 12px; height: 2px; margin-right: 8px; vertical-align: middle; background: #d5dbe7; }

/* ===== 右栏回到产品视觉：三角标题、图标小标签、灰底信息块、键值块 ===== */
.hd2-gsec h5 { font-size: 15px; }
.hd2-gsec h5 .hd2-intent { margin-left: auto; text-decoration: none; }
.hd2-gsec h6 { margin: 8px 0 6px 14px; color: #475467; font-size: 13px; font-weight: 500; }
.hd2-gsec h6::before { width: 16px; height: 16px; border-radius: 0; background: center / contain no-repeat; opacity: .75; }
.hd2-gsec h6.is-user::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.hd2-gsec h6.is-doc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.hd2-gsec h6.is-mem::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='1.8'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.hd2-gsec h6.is-bulb::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9c.6.5 1 1.2 1 2V16h5v-.1c0-.8.4-1.5 1-2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.hd2-kv-box { margin-left: 14px; font-family: inherit; font-size: 13px; color: #374151; }
.hd2-gbox { margin-left: 14px; }

/* ===== 右栏减法：判断 / 看到的 / 做的 ===== */
.hd2-g2-think, .hd2-g2-block { margin-bottom: 22px; }
.hd2-g2-think small, .hd2-g2-block > small { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #667085; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.hd2-g2-think small .hd2-intent { margin-left: auto; padding: 2px 8px; font-size: 11px; letter-spacing: 0; }
.hd2-g2-think p { margin: 0; color: #111827; font-size: 15px; line-height: 1.65; font-weight: 500; letter-spacing: -.01em; }
.hd2-seen { border: 1px solid #e6ebf4; border-radius: 12px; overflow: hidden; }
.hd2-seen-who { padding: 12px 14px; background: #f7f8fb; border-bottom: 1px solid #eef1f5; }
.hd2-seen-who b { display: block; color: #111827; font-size: 14px; }
.hd2-seen-who span { display: block; margin-top: 2px; color: #667085; font-size: 12px; }
.hd2-fact { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-top: 1px solid #f1f3f7; font-size: 13px; }
.hd2-fact:nth-child(2) { border-top: 0; }
.hd2-fact span { color: #667085; flex-shrink: 0; }
.hd2-fact b { color: #111827; font-weight: 600; text-align: right; }
.hd2-fact.is-mem { background: #f7f9ff; }
.hd2-fact.is-mem span a { display: inline-block; padding: 1px 7px; border-radius: 5px; background: #eaf1ff; color: #3157ff; font-size: 11px; font-weight: 700; text-decoration: none; }
.hd2-fact.is-mem b { font-weight: 500; color: #263a70; }
.hd2-gsteps { margin: 0; }
.hd2-gsteps li { grid-template-columns: 18px minmax(0, 1fr) auto 16px; gap: 10px; margin-bottom: 0; padding: 9px 4px; border: 0; border-top: 1px solid #f1f3f7; border-radius: 0; background: transparent; }
.hd2-gsteps li:first-child { border-top: 0; }
.hd2-gsteps li b { font-size: 13px; font-weight: 500; color: #111827; }
.hd2-sicon { width: 16px; height: 16px; opacity: .6; }
.hd2-sstate { width: 14px; height: 14px; }
.hd2-gsteps li.is-done .hd2-sstate { background-size: 8px; }
.hd2-gsteps li:hover .hd2-cap { display: inline-block; margin-left: 8px; }
.hd2-gsteps li.is-running b { color: #3157ff; }
.hd2-gsep { padding: 8px 0 2px !important; border-top: 0 !important; }

/* ===== 右栏只留执行过程，每步带结果行 ===== */
.hd2-gsteps li { grid-template-columns: 18px minmax(0, 1fr) auto 16px; align-items: start; padding: 12px 4px; }
.hd2-gsteps li .hd2-sicon, .hd2-gsteps li small, .hd2-gsteps li .hd2-sstate { margin-top: 2px; }
.hd2-gsteps li b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.hd2-gsteps li .hd2-cap { display: inline-block !important; margin: 0; padding: 1px 7px; font-size: 10px; }
.hd2-sres { display: block; margin-top: 4px; color: #667085; font-size: 12.5px; line-height: 1.55; }
.hd2-gsteps li.is-running .hd2-sres { color: #3157ff; }
.hd2-gsteps li.is-human .hd2-cap { background: #fff3dc; color: #a86a00; }

/* ===== 右栏：产品「详情」面板 ===== */
.hd2-gen > h3 { display: flex !important; align-items: center; justify-content: space-between; padding: 16px 20px 14px; font-size: 17px; }
.hd2-dpanel { width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M15 4v16'/%3E%3C/svg%3E") center / contain no-repeat; }
.hd2-dsec { padding: 14px 0 16px; border-bottom: 1px solid #eef1f5; }
.hd2-dsec:last-child { border-bottom: 0; }
.hd2-dsec h5 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #111827; font-size: 15px; font-weight: 700; }
.hd2-dsec h5::before { display: none; }
.hd2-dsec h5 a { margin-left: auto; color: #1777ff; font-size: 13px; font-weight: 500; text-decoration: none; }
.hd2-dsec h5 em { width: 0; height: 0; margin-left: 8px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #111827; }
.hd2-dsec h5 a + em { margin-left: 8px; }
.hd2-dsec h5:not(:has(a)) em { margin-left: auto; }
.hd2-dico { display: inline-block; width: 18px; height: 18px; background: center / contain no-repeat; flex-shrink: 0; }
.hd2-dico.is-user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111827'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20a8 8 0 0 1 16 0z'/%3E%3C/svg%3E"); }
.hd2-dico.is-mail { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.hd2-dico.is-grid { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23667085'%3E%3Crect x='3' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='3' y='13' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1.5'/%3E%3C/svg%3E"); }
.hd2-dico.is-shop { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111827'%3E%3Cpath d='M6 2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm2 4v2h8V6zm0 5v2h8v-2zm0 5v2h5v-2z'/%3E%3C/svg%3E"); }
.hd2-dico.is-db { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.hd2-dico.is-bot { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='8' width='16' height='11' rx='3'/%3E%3Ccircle cx='9' cy='13.5' r='1.2' fill='%23111827'/%3E%3Ccircle cx='15' cy='13.5' r='1.2' fill='%23111827'/%3E%3Cpath d='M12 8V5M9 5h6'/%3E%3C/svg%3E"); }
.hd2-dperson { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hd2-dperson > b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: #bfd8ff; color: #1f2937; font-size: 20px; font-weight: 700; }
.hd2-dperson strong { display: block; color: #111827; font-size: 16px; font-weight: 700; }
.hd2-dperson span { display: block; margin-top: 3px; color: #667085; font-size: 13px; }
.hd2-dtags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; color: #667085; font-size: 13px; }
.hd2-dtags span { padding: 3px 9px; border-radius: 6px; background: #f1f3f7; color: #374151; font-size: 12px; font-weight: 500; }
.hd2-dtags u { text-decoration: none; color: #667085; }
.hd2-dnote small { display: block; margin-bottom: 8px; color: #111827; font-size: 13px; font-weight: 600; }
.hd2-dnote > div { display: flex; align-items: flex-end; justify-content: space-between; min-height: 64px; padding: 10px 12px; border: 1px solid #e3e6ec; border-radius: 10px; color: #b7c0ce; font-size: 13px; }
.hd2-dnote i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #e3e6ec; border-radius: 50%; color: #b7c0ce; font-style: normal; font-size: 12px; }
.hd2-drow { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 6px 0; font-size: 13px; }
.hd2-drow span { color: #667085; }
.hd2-drow b { color: #111827; font-weight: 600; }
.hd2-dempty { padding: 18px 0 8px; color: #667085; font-size: 13px; text-align: center; }
.hd2-dsec.is-ai .hd2-gsteps li { padding: 10px 0; }
.hd2-g2-block > small { display: none; }

/* ===== 真人头像、记忆并入客户信息、Agent 思考随对话更新 ===== */
.hd2-avatar.is-user { overflow: hidden; padding: 0; background: #e6e9ef; }
.hd2-avatar.is-user img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hd2-ring-avatar b { overflow: hidden; }
.hd2-ring-avatar b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hd2-dperson > img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.hd2-drow.is-mem { padding: 7px 10px; margin: 0 0 4px; border-radius: 8px; background: #f5f8ff; }
.hd2-drow.is-mem span a { display: inline-block; padding: 1px 7px; border-radius: 5px; background: #eaf1ff; color: #3157ff; font-size: 11px; font-weight: 700; text-decoration: none; }
.hd2-drow.is-mem b { font-weight: 500; color: #263a70; }
.hd2-dthink { margin: 0; padding: 12px 14px; border-radius: 10px; background: #f7f8fb; color: #111827; font-size: 13.5px; line-height: 1.65; opacity: .35; transition: opacity .4s; }
.hd2-dthink.is-in { opacity: 1; }
.hd2-dthink .hd2-spin { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.hd2-dnote { display: none; }

/* ===== 各渠道原生外观 ===== */
.hd2-avatar.is-user { background: #e6e9ef !important; color: #374151; }
.hd2-chat-head { padding: 0; border-bottom: 0; }
/* Gmail 式邮件 */
.hd2-gm-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 8px; }
.hd2-gm-bar i { display: inline-block; width: 20px; height: 20px; margin-left: 18px; background: center / contain no-repeat; opacity: .75; }
.hd2-gm-bar > i { margin-left: 0; }
.hd2-gm-bar i.is-back { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E"); }
.hd2-gm-bar i.is-archive { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='5' rx='1'/%3E%3Cpath d='M5 9v10h14V9M10 13h4'/%3E%3C/svg%3E"); }
.hd2-gm-bar i.is-trash { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14'/%3E%3C/svg%3E"); }
.hd2-gm-bar i.is-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.hd2-gm-bar i.is-more { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='12' cy='19' r='2'/%3E%3C/svg%3E"); }
.hd2-gm-subject { display: flex; align-items: center; gap: 12px; padding: 4px 22px 14px; border-bottom: 1px solid #eef1f5; }
.hd2-gm-subject b { color: #111827; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.hd2-gm-subject em { padding: 3px 9px; border-radius: 6px; background: #eef1f5; color: #374151; font-size: 12px; font-style: normal; }
.home-demo.is-ch-email .hd2-mail-meta, .home-demo.is-ch-amazon .hd2-mail-meta { display: none; }
.home-demo.is-ch-email .hd2-name, .home-demo.is-ch-amazon .hd2-name { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.home-demo.is-ch-email .hd2-name small::before, .home-demo.is-ch-amazon .hd2-name small::before { content: 'to me ⌄'; margin-right: 8px; color: #667085; }
.home-demo.is-ch-email .hd2-name small, .home-demo.is-ch-amazon .hd2-name small { font-size: 13px; }
.home-demo.is-ch-email .hd2-turn.is-user .hd2-name small::before, .home-demo.is-ch-amazon .hd2-turn.is-user .hd2-name small::before { content: 'to support ⌄'; }
.home-demo.is-ch-email .hd2-name::after, .home-demo.is-ch-amazon .hd2-name::after { content: '↩'; margin-left: auto; color: #667085; font-size: 16px; }
.home-demo.is-ch-email .hd2-turn.is-user .hd2-text::before, .home-demo.is-ch-amazon .hd2-turn.is-user .hd2-text::before { content: none; }
.home-demo.is-ch-email .hd2-turn + .hd2-turn, .home-demo.is-ch-amazon .hd2-turn + .hd2-turn { border-top: 1px solid #eef1f5; }
.home-demo.is-ch-email .hd2-text { white-space: pre-line; line-height: 1.7; }
.home-demo.is-ch-email .hd2-avatar.is-ai, .home-demo.is-ch-amazon .hd2-avatar.is-ai { background: #111827; box-shadow: none; }
.home-demo .hd2-avatar.is-ai { display: grid; place-items: center; overflow: hidden; padding: 0; background: #fff !important; border: 1px solid #e2e8f0; font-size: 20px; line-height: 1; }
.home-demo .hd2-avatar.is-ai::before { content: none; }
.home-demo.is-ch-email .hd2-avatar.is-ai, .home-demo.is-ch-amazon .hd2-avatar.is-ai { background: #f5f5f7; }
.home-demo .hd2-avatar.is-ai img,
.home-demo .hd2-lc-bar > i img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.home-demo .hd2-lc-bar > i { overflow: hidden; background: #fff; }
/* Amazon 买家消息 */
.hd2-az-bar { display: flex; align-items: baseline; gap: 12px; padding: 12px 22px; background: #232f3e; color: #fff; }
.hd2-az-bar b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.hd2-az-bar b::after { content: ''; display: block; width: 44px; height: 3px; margin-top: -2px; border-radius: 2px; background: #ff9900; }
.hd2-az-bar span { color: #cbd5e1; font-size: 13px; }
.home-demo.is-ch-amazon .hd2-gm-subject em { background: #fff3dc; color: #8a5a00; }
/* Live Chat 网站小窗 */
.hd2-lc-bar { display: flex; align-items: center; gap: 12px; padding: 14px 22px; background: #111827; color: #fff; }
.hd2-lc-bar > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #3157ff, #7c5cff); font-style: normal; font-size: 16px; }
.hd2-lc-bar b { display: block; font-size: 14px; }
.hd2-lc-bar small { display: block; margin-top: 2px; color: #aeb8c8; font-size: 12px; }
.hd2-lc-bar span { margin-left: auto; color: #aeb8c8; font-size: 18px; }
.home-demo.is-ch-livechat .hd2-turn.is-user .hd2-name, .home-demo.is-ch-livechat .hd2-turn.is-ai .hd2-name { display: none; }
.home-demo.is-ch-livechat .hd2-stream { background: #f7f8fb; }
.home-demo.is-ch-livechat .hd2-turn.is-ai .hd2-answer .hd2-text { background: #fff; border: 1px solid #e6ebf4; }
/* 电话：通话屏 */
.hd2-call-screen { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 22px 20px; background: #1f2937; color: #fff; text-align: center; }
.hd2-call-screen small { color: #cbd5e1; font-size: 13px; }
.hd2-call-timer { font-size: 40px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hd2-call-screen > span { color: #aeb8c8; font-size: 13px; }
.hd2-call-btns { display: flex; gap: 26px; margin-top: 18px; }
.hd2-call-btns i { display: flex; flex-direction: column; align-items: center; gap: 6px; font-style: normal; }
.hd2-call-btns i::before { content: ''; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14) center / 22px no-repeat; }
.hd2-call-btns i.is-speaker::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9z'/%3E%3Cpath d='M16 8a5 5 0 0 1 0 8M18.5 5.5a8.5 8.5 0 0 1 0 13' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hd2-call-btns i.is-video::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Crect x='3' y='6' width='13' height='12' rx='2'/%3E%3Cpath d='m16 10 5-3v10l-5-3z'/%3E%3C/svg%3E"); }
.hd2-call-btns i.is-mute::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3' fill='%23fff'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E"); }
.hd2-call-btns i.is-end::before { background-color: #ef4444; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21 15.5c-1.4 0-2.7-.2-4-.6a1 1 0 0 0-1 .2l-1.3 1.3A15 15 0 0 1 8 10l1.3-1.3a1 1 0 0 0 .2-1c-.4-1.3-.6-2.6-.6-4A1 1 0 0 0 8 3H4a1 1 0 0 0-1 1 17 17 0 0 0 17 17 1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z' transform='rotate(135 12 12)'/%3E%3C/svg%3E"); }
.hd2-call-btns u { text-decoration: none; color: #cbd5e1; font-size: 11px; }
.home-demo.is-ch-voice .hd2-stream { background: #111827; }
.home-demo.is-ch-voice .hd2-turn + .hd2-turn { border-top-color: rgba(255,255,255,.08); }
.home-demo.is-ch-voice .hd2-name { color: #cbd5e1; }
.home-demo.is-ch-voice .hd2-name small { color: #8a94a6; }
.home-demo.is-ch-voice .hd2-avatar.is-user { background: rgba(255,255,255,.14) !important; color: #fff; }
.home-demo.is-ch-voice .hd2-clip { background: rgba(255,255,255,.08); }
.home-demo.is-ch-voice .hd2-clip.is-ai { background: rgba(49,87,255,.25); }
.home-demo.is-ch-voice .hd2-wave b { background: #93c5fd; }
.home-demo.is-ch-voice .hd2-clip time { color: #cbd5e1; }
.home-demo.is-ch-voice .hd2-transcribe { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.home-demo.is-ch-voice .hd2-text { color: #f3f4f6; }
.home-demo.is-ch-voice .hd2-zh { color: #9aa4b5; }
.home-demo.is-ch-voice .hd2-zh::before { background: rgba(255,255,255,.12); color: #cbd5e1; }
.home-demo.is-ch-voice .hd2-voice-copy { margin-top: 8px; font-size: 13px; line-height: 1.55; }
.home-demo.is-ch-voice .hd2-voice-copy .hd2-zh { display: block; margin-top: 5px; color: #9aa4b5; font-size: 11px; line-height: 1.5; }
.home-demo.is-ch-voice .hd2-ring { background: #0b1220; }
.home-demo.is-ch-voice .hd2-note { background: rgba(255,255,255,.08); color: #cbd5e1; }
.home-demo.is-ch-voice .hd2-summary { background: rgba(49,87,255,.18); border-color: rgba(49,87,255,.4); }
.home-demo.is-ch-voice .hd2-summary b, .home-demo.is-ch-voice .hd2-summary p { color: #e5e7eb; }
.home-demo.is-ch-voice .hd2-entities { background: rgba(255,255,255,.06); }
.home-demo.is-ch-voice .hd2-entities span { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: #f3f4f6; }
.home-demo.is-ch-voice .hd2-entities > small { color: #8a94a6; }
.home-demo.is-ch-voice .hd2-suggest { background: #0b1220; border-top-color: rgba(255,255,255,.08); }
.home-demo.is-ch-voice .hd2-hint { color: #93c5fd !important; }
.home-demo.is-ch-voice .hd2-chip { background: rgba(255,255,255,.06); border-color: #93c5fd; color: #e5e7eb; }
.home-demo.is-ch-voice .hd2-chip small { color: #9aa4b5; }
.home-demo.is-ch-voice:not(.is-oncall) .hd2-call-screen { display: none; }
.home-demo.is-ch-voice .hd2-sources span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #cbd5e1; }
.home-demo.is-ch-voice .hd2-sources small { color: #8a94a6; }

.hd2-lc-bar b, .hd2-az-bar b { color: #fff !important; }
.hd2-call-screen small, .hd2-call-screen b, .hd2-call-screen span { color: #fff !important; }
.hd2-call-screen small, .hd2-call-screen > span { color: #cbd5e1 !important; }

/* 详情面板：只显示长期记忆状态，不暴露具体历史内容。 */
.hd2-memory-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #111827;
  background: #f8fafc;
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
}
.hd2-memory-status .hd2-dico { width: 14px; height: 14px; opacity: 1; filter: brightness(0); }
.hd2-memory-status b { color: inherit; font-weight: 600; }
.hd2-memory-status span { color: #94a3b8; font-weight: 500; }
.hd2-memory-status:hover { border-color: #cbd5e1; background: #f1f5f9; }

/* 销售叙事：把执行过程收束为可验证的服务结果。 */
.hd2-sales-outcome {
  margin: 12px 0 2px;
  padding: 14px;
  border: 1px solid #cfe8dc;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fcf9 0%, #f1faf5 100%);
  animation: hd-in .35s ease both;
}
.hd2-sales-outcome-head { display: flex; align-items: center; gap: 10px; }
.hd2-sales-outcome-head > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #20b26b;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}
.hd2-sales-outcome-head small { display: block; color: #6b7f74; font-size: 10px; font-weight: 600; }
.hd2-sales-outcome-head b { display: block; margin-top: 1px; color: #102a1e; font-size: 13px; }
.hd2-sales-outcome ul { display: grid; gap: 5px; margin: 11px 0 0; padding: 0; list-style: none; }
.hd2-sales-outcome li { position: relative; padding-left: 14px; color: #496257; font-size: 11px; line-height: 1.45; }
.hd2-sales-outcome li::before { content: ''; position: absolute; top: .55em; left: 1px; width: 5px; height: 5px; border-radius: 50%; background: #20b26b; }
.hd2-sales-outcome p { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #dceee4; }
.hd2-sales-outcome p span { color: #6b7f74; font-size: 10px; }
.hd2-sales-outcome p strong { color: #127447; font-size: 12px; }

/* Agent 的思考和执行共用一条逐步点亮的时间线。 */
.hd2-dsec.is-ai .hd2-gsteps { position: relative; }
.hd2-dsec.is-ai .hd2-gsteps > li:not(.hd2-gsep) {
  position: relative;
  isolation: isolate;
  min-height: 58px;
  border-top: 0;
  transition: background-color .3s cubic-bezier(.4,0,.2,1), opacity .3s cubic-bezier(.4,0,.2,1);
}
.hd2-dsec.is-ai .hd2-gsteps > li:not(.hd2-gsep)::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 30px;
  bottom: -30px;
  left: 12px;
  width: 2px;
  border-radius: 2px;
  background: #dfe6f3;
  transition: background-color .3s cubic-bezier(.4,0,.2,1);
}
.hd2-dsec.is-ai .hd2-gsteps > li.is-done::before { background: #9db1ff; }
.hd2-dsec.is-ai .hd2-gsteps > li:last-child::before { display: none; }
.hd2-dsec.is-ai .hd2-gsteps > li .hd2-sicon {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 0 4px #fff;
}
.hd2-dsec.is-ai .hd2-gsteps > li.is-running {
  border-radius: 10px;
  background: #f5f8ff;
}
.hd2-dsec.is-ai .hd2-gsteps > li.is-running .hd2-sicon { opacity: 1; }
.hd2-dsec.is-ai .hd2-gsteps > li.is-done .hd2-sicon { opacity: .8; }
.hd2-agent-think .hd2-sres { max-width: 100%; color: #475569; }
.hd2-agent-think.is-running .hd2-sres { color: #3157d8; }
.hd2-agent-think small { white-space: nowrap; }

/* 右侧详情信息密度：字号和间距统一缩小一级。 */
.hd2-gen { border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.hd2-gen > h3 { padding: 14px 18px 12px; font-size: 15px; }
.hd2-gen-body { padding: 0 18px 14px; }
.hd2-dsec { padding: 12px 0 13px; }
.hd2-dsec h5 { gap: 8px; margin-bottom: 11px; font-size: 13px; }
.hd2-dico { width: 16px; height: 16px; }
.hd2-dperson { gap: 11px; margin-bottom: 10px; }
.hd2-dperson > b,
.hd2-dperson > img { width: 42px; height: 42px; border-radius: 9px; }
.hd2-dperson strong { font-size: 14px; }
.hd2-dperson span { font-size: 11px; }
.hd2-dtags { gap: 6px; margin-bottom: 8px; font-size: 11px; }
.hd2-dtags span { padding: 2px 7px; font-size: 10px; }
.hd2-drow { grid-template-columns: 82px 1fr; gap: 8px; padding: 5px 0; font-size: 11.5px; }
.hd2-dsec.is-ai .hd2-gsteps > li:not(.hd2-gsep) { min-height: 50px; padding-block: 9px; }
.hd2-gsteps li b { font-size: 12.5px; line-height: 1.4; }
.hd2-sres { margin-top: 3px; font-size: 11.5px; line-height: 1.45; }
.hd2-gsteps li small { font-size: 10.5px; }
.hd2-gsteps li .hd2-cap { padding: 1px 6px; font-size: 9px; }
.hd2-dsec.is-ai .hd2-gsteps > li:not(.hd2-gsep)::before { top: 27px; bottom: -27px; left: 7px; }

/* 对话区与右侧执行时间线同步显示当前进度。 */
.hd2-live-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dbe5ff;
  border-radius: 10px;
  color: #3157d8;
  background: #f5f8ff;
  font-size: 12px;
  font-weight: 600;
  animation: hd-in .3s ease both;
}
.hd2-live-status i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4466fa;
  box-shadow: 0 0 0 5px rgba(76,111,255,.12);
  animation: hd2-live-pulse 1.2s ease-in-out infinite;
}
@keyframes hd2-live-pulse {
  0%, 100% { opacity: .55; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hd2-live-status i { animation: none; } }

@media (prefers-reduced-motion: reduce) {
  .hd2-dsec.is-ai .hd2-gsteps > li:not(.hd2-gsep),
  .hd2-dsec.is-ai .hd2-gsteps > li:not(.hd2-gsep)::before { transition: none; }
}

/* 中间演示画布：统一边界，避免渠道皮肤向外撑出。 */
.home-demo .hd2-canvas {
  min-width: 0;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 16px !important;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.05) !important;
}
.home-demo .hd2-chat-head {
  min-width: 0;
  overflow: hidden;
}
.home-demo .hd2-stream {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  scroll-padding-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.home-demo .hd2-turn,
.home-demo .hd2-body,
.home-demo .hd2-answer { min-width: 0; }
.home-demo .hd2-text,
.home-demo .hd2-name,
.home-demo .hd2-card { overflow-wrap: anywhere; }
.home-demo .hd2-attachments img,
.home-demo .hd2-card img { max-width: 100%; }

/* APP 使用单层手机外框：只保留设备内部状态栏。 */
.home-demo.is-ch-app .hd2-canvas { background: #f5f5f7; }
.home-demo.is-ch-app .hd2-chat-head { display: none; }
.home-demo.is-ch-app .hd2-chbar {
  display: flex !important;
  position: sticky;
  z-index: 2;
  top: 0;
  margin: 0 -18px 12px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eef1f5;
  border-radius: 23px 23px 0 0;
  background: rgb(255 255 255 / .96);
}
.home-demo.is-ch-app .hd2-stream {
  width: calc(100% - 32px);
  max-width: 460px;
  height: 520px;
  max-height: 520px;
  margin: 16px auto;
  padding: 0 18px 14px;
  border: 9px solid #111827;
  border-radius: 32px;
  background: #f8fafc;
}
.home-demo.is-ch-app .hd2-suggest {
  width: calc(100% - 32px);
  max-width: 460px;
  margin: -16px auto 16px;
  padding: 12px 18px 16px;
  border: 9px solid #111827;
  border-top: 1px solid #eef1f5;
  border-radius: 0 0 32px 32px;
  background: #fff;
}
.home-demo.is-ch-app .hd2-canvas:has(.hd2-suggest:not(:empty)) .hd2-stream {
  margin-bottom: 0;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
}
.home-demo.is-ch-app .hd2-turn { width: 100%; }
.home-demo.is-ch-app .hd2-turn.is-user .hd2-text,
.home-demo.is-ch-app .hd2-answer .hd2-text { max-width: min(88%, 440px); }
.home-demo.is-ch-app .hd2-attachments {
  max-width: min(88%, 440px);
  margin-left: auto;
}
.home-demo.is-ch-app .hd2-part { grid-template-columns: minmax(90px, 120px) minmax(0, 1fr); }

.hd2-shop-card img { background: #111827; object-position: center; }
.hd2-camera-card img { background: #f5f5f7; object-fit: contain; }
.hd2-add-cart {
  margin-top: 10px;
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  background: #4466fa;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.4,0,.2,1), background .3s cubic-bezier(.4,0,.2,1);
}
.hd2-add-cart:hover { background: #3157d8; transform: translateY(-1px); }
.hd2-add-cart.is-added { background: #111827; }

@media (max-width: 720px) {
  .home-demo.is-ch-app .hd2-stream {
    width: calc(100% - 16px);
    height: 460px;
    max-height: 460px;
    padding: 0 14px 12px;
    border-width: 6px;
    border-radius: 26px;
  }
  .home-demo.is-ch-app .hd2-chbar { margin-inline: -14px; border-radius: 19px 19px 0 0; }
  .home-demo.is-ch-app .hd2-suggest {
    width: calc(100% - 16px);
    padding: 10px 14px 14px;
    border-width: 0 6px 6px;
    border-radius: 0 0 26px 26px;
  }
  .home-demo.is-ch-app .hd2-canvas:has(.hd2-suggest:not(:empty)) .hd2-stream { border-radius: 26px 26px 0 0; }
  .home-demo.is-ch-app .hd2-part { grid-template-columns: 1fr; }
  .hd2-product img { width: 100%; height: 150px; }
}

/* 固定演示舞台：桌面端三列共用同一外框和高度，内容只在列内滚动。 */
.home-demo .hd-actions a { border-radius: 8px; }
@media (min-width: 901px) {
  .home-demo .hd2 {
    height: 720px;
    padding: 14px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 24px;
    background: #f5f5f7;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
  }
  .home-demo .hd2-tabs {
    min-height: 0;
    padding-right: 3px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }
  .home-demo .hd2-canvas {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .home-demo .hd2-chat-head,
  .home-demo .hd2-suggest { flex: none; }
  .home-demo .hd2-suggest { position: relative; z-index: 3; }
  .home-demo:not(.is-ch-app) .hd2-stream {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .home-demo .hd2-gen {
    height: 100%;
    min-height: 0;
    max-height: none;
  }
  .home-demo .hd2-gen-body { min-height: 0; }
  .home-demo .hd-actions { align-self: end; }
}


/* 来电阶段：使用居中的真实来电界面，接听后再显示通话控制。 */
.home-demo.is-ch-voice:not(.is-oncall) .hd2-chat-head { display: none; }
.home-demo.is-ch-voice:not(.is-oncall) .hd2-stream {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.home-demo.is-ch-voice:not(.is-oncall) .hd2-ring {
  flex-direction: column;
  justify-content: center;
  width: min(340px, 100%);
  min-height: 390px;
  margin: auto;
  padding: 34px 28px 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background: rgba(11,18,32,.82);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  text-align: center;
}
.home-demo.is-ch-voice:not(.is-oncall) .hd2-ring-avatar { width: 82px; height: 82px; }
.home-demo.is-ch-voice:not(.is-oncall) .hd2-ring-avatar b { font-size: 28px; }
.home-demo.is-ch-voice:not(.is-oncall) .hd2-ring-info b { margin-top: 18px; font-size: 20px; }
.home-demo.is-ch-voice:not(.is-oncall) .hd2-ring-info small { margin-top: 8px; font-size: 13px; }
.home-demo.is-ch-voice:not(.is-oncall) .hd2-ring-info em { margin-top: 12px; font-size: 13px; }
.home-demo.is-ch-voice:not(.is-oncall) .hd2-ring-btn {
  width: 62px;
  height: 62px;
  margin: 34px auto 0;
  background-size: 25px;
}

/* AI 客户体验解决方案架构图：位于客户证言和产品演示之间。 */
.home-architecture {
  padding: 96px 0;
  overflow: hidden;
  background: #fff;
}
.home-architecture-wrap {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 32px;
}
.home-architecture-heading {
  margin: 0 auto 48px;
  text-align: center;
}
.home-architecture-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.2px;
}
.home-architecture-heading p {
  max-width: 672px;
  margin: 16px auto 0;
  color: #717182;
  font-size: 18px;
  line-height: 28px;
}
.home-architecture-frame {
  overflow: hidden;
  border: 1px solid rgb(226 232 240 / .7);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / .05);
}
.home-architecture-frame iframe {
  display: block;
  width: 100%;
  height: 2160px;
  aspect-ratio: auto;
  border: 0;
  background: #fff;
}
@media (max-width: 900px) {
  .home-architecture { padding: 72px 0; }
  .home-architecture-wrap { padding: 0 20px; }
  .home-architecture-heading { margin-bottom: 32px; }
  .home-architecture-heading h2 { font-size: 36px; letter-spacing: -.8px; }
  .home-architecture-heading p { font-size: 16px; line-height: 26px; }
  .home-architecture-frame {
    overflow-x: auto;
    border-radius: 12px;
  }
  .home-architecture-frame iframe {
    width: 1050px;
    max-width: none;
    height: 2160px;
  }
}

/* 解决方案 → 产品演示：同一段连续的产品叙事。 */
body.home-product-hub .home-architecture {
  padding: 96px 0 0;
  background: #fff;
}
.home-architecture-heading { margin-bottom: 40px; }
.home-architecture-frame {
  border-color: rgb(226 232 240 / .85);
  box-shadow: 0 18px 50px rgb(15 23 42 / .06);
}
.solution-demo-handoff {
  position: relative;
  display: flex;
  width: max-content;
  height: 104px;
  margin: 0 auto;
  padding-top: 38px;
  align-items: flex-start;
  justify-content: center;
  color: #717182;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
}
.solution-demo-handoff::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 28px;
  background: linear-gradient(#cbd5e1, #94a3b8);
}
.solution-demo-handoff img {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  opacity: .7;
  animation: solution-handoff 2s cubic-bezier(.4,0,.2,1) infinite;
}
body.home-product-hub .home-demo {
  padding-top: 0;
  background: #fff;
}
@keyframes solution-handoff {
  0%,100% { transform: translate(-50%, -3px); opacity: .45; }
  50% { transform: translate(-50%, 3px); opacity: .9; }
}
@media (max-width: 900px) {
  body.home-product-hub .home-architecture { padding-top: 72px; }
  .solution-demo-handoff { height: 84px; padding-top: 32px; }
  .solution-demo-handoff::before { height: 22px; }
  .home-demo > .home-demo-wrap > header { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .solution-demo-handoff img { animation: none; }
}

/* 最终衔接：去掉流程化过场，只保留克制、连续的空间节奏。 */
body.home-product-hub .home-architecture {
  padding-bottom: 96px;
}
body.home-product-hub .home-demo {
  padding-top: 0;
}
.home-demo > .home-demo-wrap > header {
  max-width: 760px;
  margin-bottom: 50px;
}
.home-demo > .home-demo-wrap > header h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.2px;
}
.home-demo > .home-demo-wrap > header p {
  max-width: 672px;
  margin: 16px auto 0;
  color: #68748a;
  font-size: 18px;
  line-height: 28px;
}
@media (max-width: 900px) {
  body.home-product-hub .home-architecture { padding-bottom: 64px; }
  .home-demo > .home-demo-wrap > header h2 { font-size: clamp(36px,6vw,48px); }
}
@media (max-width: 700px) {
  .home-demo > .home-demo-wrap > header { margin-bottom: 26px; }
  .home-demo > .home-demo-wrap > header h2 { font-size: 34px; letter-spacing: -.8px; }
}

/* 首页普通板块统一上下留白：桌面 96px，窄屏 64px。 */
body.home-product-hub main > :is(
  .logos.customer-trust,
  .customer-testimonial,
  .home-proof-strip,
  .home-business-results,
  .product-showcase,
  .trust-section,
  .home-industry-solutions,
  .home-system-integrations,
  .home-insights
) {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}
body.home-product-hub main > .home-architecture {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}
body.home-product-hub main > .home-demo {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
  background:
    radial-gradient(circle at 14% 22%, rgb(72 125 255 / 10%) 0, transparent 30%),
    radial-gradient(circle at 86% 78%, rgb(74 203 221 / 8%) 0, transparent 28%),
    linear-gradient(180deg, #f7f9fd 0%, #f2f6fc 100%);
}
@media (max-width: 900px) {
  body.home-product-hub main > :is(
    .logos.customer-trust,
    .customer-testimonial,
    .home-proof-strip,
    .home-business-results,
    .product-showcase,
    .trust-section,
    .home-industry-solutions,
    .home-system-integrations,
    .home-insights
  ) {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  body.home-product-hub main > .home-architecture {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  body.home-product-hub main > .home-demo {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}

/* 最终覆盖：演示板块回归与其他内容板块一致的自然高度和区块留白。 */
@media (min-width: 901px) {
  body.home-product-hub main > .home-demo {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    box-sizing: border-box;
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }

  .home-demo > .home-demo-wrap {
    display: block;
    height: auto;
    min-height: 0;
  }

  .home-demo > .home-demo-wrap > header {
    margin-bottom: 50px;
  }

  .home-demo .hd2 {
    height: 720px;
    min-height: 0;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .home-demo > .home-demo-wrap > header h2 { font-size: 40px; }
  .home-demo > .home-demo-wrap > header p { margin-top: 10px; font-size: 16px; line-height: 24px; }
  .home-demo .hd2-tabs { padding-bottom: 8px; }
  .home-demo .hd2-tab { padding-top: 9px; padding-bottom: 9px; }
  .home-demo .hd2-stream { min-height: 0; }
  .home-demo .hd-actions { padding-top: 10px; padding-bottom: 12px; }
}

/* 面向客户的处理过程：最多四步，隐藏内部耗时与能力标签，结果卡固定在底部。 */
.home-demo .hd2-dsec.is-ai .hd2-gsteps > li:not(.hd2-gsep) {
  grid-template-columns: 18px minmax(0, 1fr) 16px;
  min-height: 0;
  padding: 11px 0;
}
.home-demo .hd2-gsteps li > small,
.home-demo .hd2-gsteps li .hd2-cap { display: none !important; }
.home-demo .hd2-dsec.is-ai .hd2-gsteps > li:not(.hd2-gsep)::before {
  top: 28px;
  bottom: -28px;
}
.home-demo .hd2-sales-outcome {
  position: sticky;
  z-index: 4;
  bottom: 0;
  margin-top: 14px;
  box-shadow: 0 -10px 24px rgba(255, 255, 255, .92);
}
.home-demo .hd2-sales-outcome-head small { font-size: 11px; }
.home-demo .hd2-sales-outcome-head b { font-size: 14px; }
.home-demo .hd2-sales-outcome li { font-size: 12px; }

/* 上下文可收起，把视觉重心持续留给关键处理过程。 */
.home-demo .hd2-dsec.is-commerce h5 { transition: margin-bottom .3s ease; }
.home-demo .hd2-commerce-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
}
.home-demo .hd2-commerce-toggle em {
  width: 0;
  height: 0;
  margin-left: auto;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #111827;
  transition: transform .3s ease;
}
.home-demo .hd2-commerce-body {
  max-height: 180px;
  overflow: hidden;
  opacity: 1;
  transition: max-height .4s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
}
.home-demo .hd2-dsec.is-commerce.is-commerce-collapsed h5 { margin-bottom: 0; }
.home-demo .hd2-dsec.is-commerce.is-commerce-collapsed .hd2-commerce-toggle em { transform: rotate(-90deg); }
.home-demo .hd2-dsec.is-commerce.is-commerce-collapsed .hd2-commerce-body { max-height: 0; opacity: 0; }
.home-demo .hd2-dsec.is-ai .hd2-gsteps {
  max-height: 420px;
  overflow: hidden;
  opacity: 1;
}
.home-demo .hd2-sales-outcome p { display: none; }
