/* ==========================================================================
   MI-01 售前演示页 · 页面级组件样式
   依赖：assets/css/style.css（官网站点样式，提供设计令牌与基础组件）
   品牌令牌（与官网一致）：
     --c-primary      #0E3A66   主深蓝
     --c-primary-light#1B5A94
     --c-primary-deep #0A2B4C
     --c-accent       #00A3B4   青（点缀）
     --c-emphasis     #E8A33D   琥珀（强调/CTA）
     --c-bg-alt       #F4F7FA
     --c-line         #E5E9F0
   ========================================================================== */

/* ---------- 0. 通用小件 ---------- */
.du-tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  background: rgba(0, 163, 180, .10); color: #0B7C89;
  border: 1px solid rgba(0, 163, 180, .22);
  white-space: nowrap;
}
.du-tag.amber { background: rgba(232,163,61,.12); color: #A9691A; border-color: rgba(232,163,61,.3); }
.du-tag.blue  { background: rgba(14,58,102,.07);  color: var(--c-primary); border-color: rgba(14,58,102,.16); }
.du-tag.gray  { background: #F1F4F8; color: var(--c-text-2); border-color: var(--c-line); }
.du-tag.red   { background: rgba(214,69,69,.09); color: #B03A3A; border-color: rgba(214,69,69,.22); }
.du-tag.green { background: rgba(31,157,103,.10); color: #17784E; border-color: rgba(31,157,103,.24); }

.du-kv { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.du-kv > div { font-size: 14px; color: var(--c-text-2); }
.du-kv > div b { color: var(--c-primary); font-weight: 700; }

/* ---------- 1. 页头（在官网 .page-hero 基础上做增强） ---------- */
/* 深色页头上的徽标需要浅色化，官网默认样式是给浅底用的 */
.du-hero .hero-badge {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.30);
  color: #FFFFFF;
}
.du-hero .hero-badge::before { background: var(--c-accent); }
.du-hero .ph-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.du-hero .ph-tags span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); color: rgba(255,255,255,.9);
}
.du-hero .ph-tags span i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); font-style: normal; }

.du-hero .ph-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.du-hero .btn-ghost {
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28);
}
.du-hero .btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* 页头右侧：流程视觉 */
.du-flow-mini {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 22px 22px 20px;
  backdrop-filter: blur(2px);
}
.du-flow-mini h4 { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--c-accent); margin-bottom: 16px; }
.du-flow-mini ol { display: grid; gap: 0; }
.du-flow-mini li {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start;
  padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: 14px;
}
.du-flow-mini li:last-child { border-bottom: 0; }
.du-flow-mini li .n {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(0,163,180,.22); color: #7FE3EC; font-size: 12px; font-weight: 700;
  font-family: var(--font-num);
}
.du-flow-mini li .t { color: rgba(255,255,255,.88); line-height: 1.6; }
.du-flow-mini li .t em { display: block; font-style: normal; font-size: 12.5px; color: rgba(255,255,255,.52); margin-top: 2px; }

/* ---------- 2. 页内锚点导航 ---------- */
.du-subnav {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.du-subnav-inner { display: flex; align-items: center; gap: 4px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.du-subnav-inner::-webkit-scrollbar { display: none; }
.du-subnav a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--c-text-2);
  transition: all .2s var(--ease);
}
.du-subnav a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
.du-subnav a.is-active { background: rgba(14,58,102,.07); color: var(--c-primary); font-weight: 700; }
.du-subnav a svg { width: 15px; height: 15px; opacity: .8; }

/* ---------- 3. 录屏区 ---------- */
.du-rec-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }

.du-rec-stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, #0A2B4C 0%, #12406E 60%, #0E3A66 100%);
  box-shadow: var(--shadow-lg);
}
.du-rec-stage video { width: 100%; height: 100%; object-fit: contain; background: #071E36; display: block; }

/* 录屏未就位的占位层 */
.du-rec-hold {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  text-align: center; padding: 28px; color: #fff;
}
.du-rec-hold::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
}
.du-rec-hold > * { position: relative; z-index: 1; }
.du-rec-hold .ic {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,163,180,.18); border: 1px solid rgba(0,163,180,.5); margin-bottom: 16px;
}
.du-rec-hold .ic svg { width: 26px; height: 26px; stroke: #7FE3EC; }
.du-rec-hold h4 { font-size: 18px; font-weight: 700; }
.du-rec-hold p { margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.66); line-height: 1.8; max-width: 34em; }
.du-rec-hold code {
  font-family: var(--font-num); font-size: 12.5px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 2px 7px; border-radius: 5px; color: #9FE9F1;
}
.du-rec-hold .hold-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* 脚本化回放（占位录屏的替代演示） */
.du-replay {
  position: absolute; inset: 0; display: none; flex-direction: column;
  background: #071E36; color: #fff;
}
.du-replay.on { display: flex; }
.du-replay-bar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 12.5px; color: rgba(255,255,255,.7);
}
.du-replay-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #E4564F; }
.du-replay-bar .ttl { font-weight: 600; color: rgba(255,255,255,.92); }
.du-replay-bar .sp { flex: 1; }
.du-replay-bar .clk { font-family: var(--font-num); color: #7FE3EC; }
.du-replay-body { flex: 1 1 auto; display: grid; grid-template-columns: 168px 1fr; min-height: 0; }
.du-replay-nav { border-right: 1px solid rgba(255,255,255,.08); padding: 12px 10px; overflow: auto; }
.du-replay-nav button {
  display: block; width: 100%; text-align: left; padding: 7px 9px; border-radius: 7px;
  font-size: 12.5px; color: rgba(255,255,255,.58); line-height: 1.5; margin-bottom: 2px;
  border-left: 2px solid transparent; transition: all .18s;
}
.du-replay-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.du-replay-nav button.on { background: rgba(0,163,180,.16); color: #9FE9F1; border-left-color: var(--c-accent); font-weight: 600; }
.du-replay-canvas { padding: 16px 18px; overflow: auto; min-height: 0; }
.du-replay-canvas h5 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.du-replay-canvas .say { font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.75; margin-bottom: 14px; }
.du-replay-shot {
  border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0B2745;
}
.du-replay-shot-head {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 12px; color: rgba(255,255,255,.6);
}
.du-replay-shot-head b { color: rgba(255,255,255,.88); font-weight: 600; }
.du-replay-shot table { width: 100%; border-collapse: collapse; font-size: 12px; }
.du-replay-shot th, .du-replay-shot td {
  padding: 7px 10px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.78); white-space: nowrap;
}
.du-replay-shot th { color: rgba(255,255,255,.5); font-weight: 600; background: rgba(255,255,255,.03); }
.du-replay-shot tr.hl td { background: rgba(0,163,180,.14); color: #CFF6FA; }
.du-replay-shot tr.gray td { background: rgba(232,163,61,.12); color: #F5DDB4; }

/* 章节目录 */
.du-rec-side { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.du-rec-side-head { padding: 16px 18px 12px; border-bottom: 1px solid var(--c-line); }
.du-rec-side-head h4 { font-size: 15px; font-weight: 700; color: var(--c-primary); }
.du-rec-side-head p { font-size: 12.5px; color: var(--c-text-2); margin-top: 4px; }
.du-rec-chapters { max-height: 430px; overflow: auto; padding: 8px; }
.du-rec-chapters button {
  display: grid; grid-template-columns: 30px 1fr; gap: 10px; width: 100%; text-align: left;
  padding: 9px 10px; border-radius: 8px; transition: background .18s;
}
.du-rec-chapters button:hover { background: var(--c-bg-alt); }
.du-rec-chapters button.on { background: rgba(0,163,180,.09); }
.du-rec-chapters .cn {
  font-family: var(--font-num); font-size: 12px; font-weight: 700; color: var(--c-accent);
  padding-top: 2px;
}
.du-rec-chapters .cw { display: block; min-width: 0; }
.du-rec-chapters .ct { display: block; font-size: 13.5px; font-weight: 600; color: var(--c-text); line-height: 1.55; }
.du-rec-chapters .cd { display: block; font-size: 12px; color: var(--c-text-2); margin-top: 3px; line-height: 1.55; }
.du-rec-side-foot { padding: 12px 18px 16px; border-top: 1px solid var(--c-line); background: var(--c-bg-alt); }
.du-rec-side-foot p { font-size: 12px; color: var(--c-text-2); line-height: 1.7; }

/* ---------- 4. 数据源下载区 ---------- */
.du-dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.du-dl-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: all .24s var(--ease);
}
.du-dl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(0,163,180,.35); }
.du-dl-top { display: flex; align-items: flex-start; gap: 14px; }
.du-dl-ic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(14,58,102,.06); border: 1px solid rgba(14,58,102,.10);
}
.du-dl-ic svg { width: 22px; height: 22px; stroke: var(--c-primary); }
.du-dl-card.alt .du-dl-ic { background: rgba(0,163,180,.09); border-color: rgba(0,163,180,.22); }
.du-dl-card.alt .du-dl-ic svg { stroke: #0B7C89; }
.du-dl-top h4 { font-size: 17px; font-weight: 700; color: var(--c-primary); line-height: 1.45; }
.du-dl-top .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.du-dl-desc { font-size: 14px; color: var(--c-text-2); line-height: 1.85; }
.du-dl-list { display: grid; gap: 6px; }
.du-dl-list li { font-size: 13.5px; color: var(--c-text-2); line-height: 1.7; padding-left: 16px; position: relative; }
.du-dl-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent); }
.du-dl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }

/* 工作表说明表 */
.du-table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
table.du-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 820px; }
table.du-table thead th {
  background: #EAF1F8; color: var(--c-primary); font-weight: 700; font-size: 13px;
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--c-line); white-space: nowrap;
}
table.du-table td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); color: var(--c-text-2); line-height: 1.75; vertical-align: top; }
table.du-table tbody tr:last-child td { border-bottom: 0; }
table.du-table tbody tr:hover td { background: #FAFCFE; }
table.du-table td b, table.du-table td strong { color: var(--c-primary); }
table.du-table .mono { font-family: var(--font-num); color: var(--c-primary); font-weight: 600; white-space: nowrap; }
table.du-table.tight { min-width: 640px; }

/* ---------- 5. 六模块流程 ---------- */
.du-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.du-flow-card {
  position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 22px 22px 20px; box-shadow: var(--shadow-sm); transition: all .24s var(--ease);
}
.du-flow-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.du-flow-card .mid {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff; font-family: var(--font-num); font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.du-flow-card h4 { font-size: 16px; font-weight: 700; color: var(--c-primary); }
.du-flow-card .who { font-size: 12.5px; color: var(--c-accent); font-weight: 600; margin-top: 5px; }
.du-flow-card p { font-size: 13.5px; color: var(--c-text-2); line-height: 1.8; margin-top: 10px; }
.du-flow-card .out { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--c-line); font-size: 12.5px; color: var(--c-text-2); }
.du-flow-card .out b { color: var(--c-primary); }

/* ---------- 6. KPI 卡 ---------- */
.du-kpi { background: var(--c-bg-alt); }
.du-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.du-kpi-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.du-kpi-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-primary) 100%);
}
.du-kpi-card .lbl { font-size: 13.5px; font-weight: 700; color: var(--c-text); }
.du-kpi-card .val {
  font-family: var(--font-num); font-size: 42px; font-weight: 700; line-height: 1.1;
  color: var(--c-primary); margin: 12px 0 4px; letter-spacing: -.01em;
}
.du-kpi-card .val small { font-size: 17px; font-weight: 600; color: var(--c-text-2); margin-left: 4px; }
.du-kpi-card .goal { font-size: 13px; color: var(--c-text-2); }
.du-kpi-card .goal em { font-style: normal; color: #17784E; font-weight: 700; }
.du-kpi-card .cap { font-size: 12px; color: var(--c-text-2); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--c-line); line-height: 1.7; }

.du-kpi-sub { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 20px; }
.du-kpi-sub .item {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 16px 16px; text-align: center;
}
.du-kpi-sub .n { font-family: var(--font-num); font-size: 24px; font-weight: 700; color: var(--c-primary); }
.du-kpi-sub .n small { font-size: 13px; color: var(--c-text-2); }
.du-kpi-sub .t { font-size: 12.5px; color: var(--c-text-2); margin-top: 5px; line-height: 1.5; }

/* ---------- 7. 演示路径 12 步 ---------- */
.du-steps { display: grid; gap: 12px; }
.du-step {
  display: grid; grid-template-columns: 74px 1.1fr 1.5fr 90px; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm); transition: all .22s var(--ease);
}
.du-step:hover { border-color: rgba(0,163,180,.35); box-shadow: var(--shadow-md); }
.du-step .no {
  font-family: var(--font-num); font-size: 13px; font-weight: 700; color: #fff;
  background: var(--c-primary); border-radius: 7px; padding: 4px 0; text-align: center; letter-spacing: .04em;
}
.du-step .act { font-size: 14.5px; font-weight: 700; color: var(--c-primary); line-height: 1.6; }
.du-step .act span { display: block; font-size: 12.5px; font-weight: 500; color: var(--c-text-2); margin-top: 4px; }
.du-step .says { font-size: 13.5px; color: var(--c-text-2); line-height: 1.75; }
.du-step .says b { color: var(--c-primary); }
.du-step .tm { font-family: var(--font-num); font-size: 13px; color: var(--c-text-2); text-align: right; padding-top: 3px; }
.du-step-head { display: none; }

/* ---------- 8. 边界（做 / 不做） ---------- */
.du-scope { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; }
.du-scope-col { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.du-scope-col.yes { border-top: 3px solid var(--c-accent); }
.du-scope-col.no { border-top: 3px solid #D64545; }
.du-scope-col h4 { font-size: 16px; font-weight: 700; color: var(--c-primary); display: flex; align-items: center; gap: 9px; }
.du-scope-col h4 svg { width: 18px; height: 18px; }
.du-scope-col.yes h4 svg { stroke: #17784E; }
.du-scope-col.no h4 svg { stroke: #B03A3A; }
.du-scope-col ol, .du-scope-col ul { margin-top: 16px; display: grid; gap: 10px; }
.du-scope-col li { font-size: 13.5px; color: var(--c-text-2); line-height: 1.8; padding-left: 26px; position: relative; }
.du-scope-col li::before {
  font-family: var(--font-num); font-size: 12px; font-weight: 700; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
}
.du-scope-col.yes li::before { content: "✓"; background: rgba(31,157,103,.12); color: #17784E; }
.du-scope-col.no li::before { content: "×"; background: rgba(214,69,69,.1); color: #B03A3A; }
.du-scope-col li b { color: var(--c-primary); }

/* ---------- 9. 提示条 ---------- */
.du-note {
  display: flex; gap: 14px; align-items: flex-start;
  border-radius: var(--radius); padding: 18px 20px; font-size: 14px; line-height: 1.85;
  background: rgba(0,163,180,.06); border: 1px solid rgba(0,163,180,.22); color: #0A4B54;
}
.du-note svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; stroke: var(--c-accent); }
.du-note.warn { background: rgba(232,163,61,.09); border-color: rgba(232,163,61,.32); color: #7A4A12; }
.du-note.warn svg { stroke: #C98324; }
.du-note.rule { background: rgba(14,58,102,.05); border-color: rgba(14,58,102,.16); color: #123A5E; }
.du-note.rule svg { stroke: var(--c-primary); }
.du-note b { color: inherit; font-weight: 700; }
.du-note code { font-family: var(--font-num); font-size: 12.5px; background: rgba(255,255,255,.7); padding: 2px 6px; border-radius: 4px; border: 1px solid rgba(0,0,0,.06); }

/* ---------- 10. 口径三卡（判重/路由/升级） ---------- */
.du-rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.du-rule-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.du-rule-card h4 { font-size: 16px; font-weight: 700; color: var(--c-primary); margin-bottom: 6px; }
.du-rule-card .sub { font-size: 12.5px; color: var(--c-accent); font-weight: 600; margin-bottom: 14px; }
.du-rule-card ul { display: grid; gap: 9px; }
.du-rule-card li { font-size: 13.5px; color: var(--c-text-2); line-height: 1.75; display: grid; grid-template-columns: 68px 1fr; gap: 10px; }
.du-rule-card li code {
  font-family: var(--font-num); font-size: 12px; font-weight: 700; color: var(--c-primary);
  background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: 5px;
  text-align: center; padding: 2px 0; height: 22px; line-height: 18px;
}
.du-rule-card li em { font-style: normal; color: var(--c-primary); font-weight: 600; }

/* ---------- 11. 收尾 CTA ---------- */
.du-cta {
  background: linear-gradient(135deg, #0E3A66 0%, #14497A 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 44px 40px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.du-cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,163,180,.25) 0%, transparent 65%);
}
.du-cta > * { position: relative; z-index: 1; }
.du-cta h3 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; line-height: 1.4; }
.du-cta p { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.85; max-width: 46em; }
.du-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1100px) {
  .du-rec-grid { grid-template-columns: 1fr; }
  .du-rec-chapters { max-height: none; }
  .du-flow { grid-template-columns: repeat(2, 1fr); }
  .du-rule-grid { grid-template-columns: 1fr; }
  .du-kpi-sub { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .du-hero .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .du-kpi-grid { grid-template-columns: 1fr; }
  .du-dl-grid { grid-template-columns: 1fr; }
  .du-scope { grid-template-columns: 1fr; }
  .du-step { grid-template-columns: 60px 1fr; }
  .du-step .says { grid-column: 2; }
  .du-step .tm { grid-column: 2; text-align: left; }
  .du-cta { grid-template-columns: 1fr; padding: 34px 26px; }
  .du-replay-body { grid-template-columns: 1fr; }
  .du-replay-nav { display: flex; gap: 4px; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .du-replay-nav button { width: auto; white-space: nowrap; }
}
@media (max-width: 600px) {
  .du-flow { grid-template-columns: 1fr; }
  .du-kpi-sub { grid-template-columns: repeat(2, 1fr); }
  .du-subnav { top: 56px; }
}

/* ---------- 对话流演示（官网没有的模块，沿用 presales.css 同名类） ---------- */
.chat-wrap {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden; max-width: 920px; margin: 0 auto;
}
.chat-head {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light)); color: #fff;
  padding: 16px 22px; display: flex; align-items: center; gap: 12px;
}
.chat-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 0 4px rgba(110,231,183,.25); }
.chat-head .title { font-weight: 700; font-size: 15px; }
.chat-head .meta { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.75); }
.chat-body { padding: 24px 22px; background: var(--c-bg-alt); min-height: 360px; max-height: 520px; overflow-y: auto; }
.msg { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.msg .avatar { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.msg.user .avatar { background: var(--c-emphasis); }
.msg.bot .avatar { background: linear-gradient(135deg, var(--c-accent), var(--c-primary-light)); }
.msg .bubble { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--c-text); line-height: 1.7; max-width: 78%; box-shadow: var(--shadow-sm); }
.msg.user { flex-direction: row-reverse; }
.msg.user .bubble { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.msg .bubble h5 { font-size: 15px; color: var(--c-primary-deep); margin-bottom: 8px; }
.msg.bot .bubble h5 { color: var(--c-primary-deep); }
.msg.user .bubble h5 { color: #fff; }
.msg .bubble table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.msg .bubble th, .msg .bubble td { padding: 7px 10px; border-bottom: 1px solid var(--c-line); text-align: left; }
.msg .bubble th { background: var(--c-bg-alt); color: var(--c-text-2); font-weight: 700; }
.msg .bubble td.num, .msg .bubble th.num { text-align: right; font-family: var(--font-num); }
.msg .bubble .pill { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 999px; font-weight: 700; }
.msg .bubble .pill.ok { background: #e7f8ef; color: #0f9d58; }
.msg .bubble .pill.warn { background: #fef3da; color: #b45309; }
.msg .bubble .pill.info { background: var(--c-accent-soft); color: var(--c-primary); }
.msg .bubble ul { margin: 6px 0 0 18px; list-style: disc; }
.msg .bubble li { margin: 3px 0; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-text-2); animation: blink 1.2s infinite; }
.typing span:nth-child(2){animation-delay:.2s} .typing span:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,60%,100%{opacity:.25} 30%{opacity:1} }
.chat-foot { padding: 16px 22px; background: #fff; border-top: 1px solid var(--c-line); display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.chat-foot .btn { min-width: 130px; }
.chat-foot .hint { font-size: 13px; color: var(--c-text-2); }
.chat-sec-center { text-align: center; margin-top: 22px; }
