/* ============================================================
   应用外壳与业务页面
   玻璃顶栏 76px / 内容最大宽 1248px / 白面卡片 / 亮蓝操作色
   ============================================================ */

/* 顶部原型提示条 */
.preview-strip {
  min-height: 34px; padding: 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: #edf0f4; color: #626b77; font-size: 11px; border-bottom: 1px solid var(--line);
}
.preview-strip > div { display: flex; gap: 20px; align-items: center; }
.preview-strip a { color: #626b77; display: inline-flex; align-items: center; min-height: 34px; }
.preview-detail { color: var(--faint); }

/* ---------- 顶栏 ---------- */
.productnav {
  height: var(--nav-h); padding: 0 max(28px, calc((100vw - 1240px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: sticky; top: 0; z-index: 15;
  background: rgb(248 249 251 / 88%); backdrop-filter: blur(22px);
  border-bottom: 1px solid rgb(36 47 60 / 7%);
}
.productnav .wordmark { font-size: 23px; font-weight: 650; letter-spacing: -.025em; color: var(--text); text-align: left; white-space: nowrap; flex-shrink: 0; }
.productnav .wordmark small { display: block; font-size: 9px; letter-spacing: .16em; margin-top: 5px; font-weight: 500; color: var(--faint); white-space: nowrap; }
.navlinks { display: flex; align-items: center; gap: 4px; flex-shrink: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.navlinks::-webkit-scrollbar { display: none; }
.navlinks button {
  font-size: 14px; color: var(--muted); min-width: 0; border-radius: 10px; padding: 9px 12px; min-height: 44px; white-space: nowrap; flex-shrink: 0;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.navlinks button:hover { background: #edf0f5; color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.store-switch {
  display: inline-flex; align-items: center; gap: 7px; max-width: 220px; min-height: 44px;
  padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; color: var(--text);
}
.store-switch span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-switch svg.icon { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.account-dot {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #edf0f5; color: var(--muted); flex-shrink: 0;
}
.account-dot svg.icon { width: 19px; height: 19px; }
.navlinks button.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.productnav .account-dot {
  width: 44px; height: 44px; border-radius: 50%; background: #e9edf2; color: #5a6370;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600;
}
.productnav .account-dot svg.icon { width: 20px; height: 20px; }
.productnav .nav-right { display: flex; align-items: center; gap: 14px; }
.store-switch {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted);
  min-height: 44px; padding: 0 10px; border-radius: 10px;
}
.store-switch:hover { background: #edf0f5; color: var(--text); }
.store-switch svg.icon { width: 16px; height: 16px; }

/* ---------- 内容区 ---------- */
.content { max-width: 1248px; margin: 0 auto; padding: 30px 40px 64px; min-height: calc(100svh - 110px); }
.content:focus { outline: none; }
.pagehead { margin: 12px 0 26px; }
.pagehead h1 { font-size: 30px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
.pagehead p { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 860px; }
.pagehead .eyebrow { font-size: 12px; color: var(--blue); font-weight: 550; margin-bottom: 8px; }

.section-nav { display: flex; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow: auto; scrollbar-width: thin; }
.section-nav a, .section-nav button {
  white-space: nowrap; min-height: 48px; display: flex; align-items: center; color: var(--muted); font-size: 14px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.section-nav a[aria-current="true"], .section-nav button[aria-current="true"] { color: var(--text); border-color: var(--blue); font-weight: 550; }

.page-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 4px 0 16px; flex-wrap: wrap; }

/* 页脚 */
.screenfoot {
  border-top: 1px solid var(--line); background: #edf0f4; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 28px; font-size: 12px;
}
.screenfoot .warn { color: #80511e; }

/* ============================================================
   B01 指挥舱
   ============================================================ */
.cs-greeting { margin-bottom: 24px; }
.cs-greeting > p { font-size: 13px; color: var(--blue); font-weight: 550; margin-bottom: 10px; }
.cs-greeting h1 { font-size: 33px; line-height: 1.25; font-weight: 650; letter-spacing: -.03em; margin-bottom: 10px; }
.cs-greeting > span { font-size: 15px; color: var(--muted); }

.cs-composer {
  background: #fff; border: 1px solid #e3e8ef; border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgb(36 61 89 / 6%); padding: 20px 24px 18px;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 48px; column-gap: 8px;
}
.cs-composer-head { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cs-person { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; text-align: left; }
.cs-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.cs-person > span { display: flex; align-items: baseline; gap: 12px; }
.cs-person strong { font-size: 16px; font-weight: 600; }
.cs-person small { font-size: 12px; }
.cs-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; min-height: 44px;
  border-radius: 12px; background: #edf3fc; color: var(--blue); font-size: 14px; font-weight: 500;
}
.cs-call:hover { background: #e1ecfb; }
.cs-call svg.icon { width: 18px; height: 18px; }
.cs-composer textarea {
  grid-column: 1 / -1; width: 100%; height: 84px; font-size: 17px; line-height: 1.65; padding: 0;
  border: 0; resize: vertical; background: transparent; color: var(--text); outline-offset: 2px;
}
.cs-composer textarea::placeholder { color: #8b939e; }
.cs-composer .ct-selection { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 14px; }
.cs-composer .ct-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; align-self: center; }
.cs-trigger {
  display: inline-flex; align-items: center; gap: 7px; background: #f1f3f6; color: #4f5e71;
  padding: 8px 12px; min-height: 44px; font-size: 13px; border-radius: 9px;
}
.cs-trigger:hover { background: #e6edf6; }
.cs-trigger svg.icon { width: 16px; height: 16px; }
.cs-chip { display: inline-flex; align-items: center; gap: 7px; background: #e8f0fb; color: #2b4f7b; border: 1px solid #bfd0e7; padding: 6px 11px; border-radius: 99px; font-size: 12px; }
.cs-chip svg.icon { width: 14px; height: 14px; }
.cs-send { grid-column: 3; grid-row: 4; width: 44px; height: 44px; align-self: center; background: var(--action); color: #fff; border-radius: 12px; justify-self: end; }
.cs-send:hover { background: #0755cc; }
.cs-connection { font-size: 11px; color: var(--faint); }

.cs-shortcuts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 14px 0 14px; }
.cs-shortcuts a {
  display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; border-radius: 12px;
  color: #4a5667; font-size: 14px; transition: background-color 180ms ease-out, color 180ms ease-out;
}
.cs-shortcuts a:hover { background: #e9edf3; color: var(--blue); }
.cs-shortcuts svg.icon { width: 21px; height: 21px; stroke-width: 1.5; }

.cs-recent { display: flex; gap: 24px; align-items: center; padding: 16px 0; border-block: 1px solid var(--line); }
.cs-recent-title { display: flex; gap: 11px; align-items: center; white-space: nowrap; font-size: 15px; font-weight: 550; }
.cs-recent-title svg.icon { width: 20px; height: 20px; }
.cs-recent p { flex: 1; text-align: center; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cs-recent > a { display: flex; gap: 8px; align-items: center; min-height: 44px; white-space: nowrap; font-size: 14px; }
.cs-recent > a svg.icon { width: 15px; height: 15px; }

.cs-split { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(300px, .85fr); gap: 26px; margin-top: 22px; }
.cs-panel { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.cs-panel > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.cs-panel h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.cs-panel > header > span { font-size: 12px; color: var(--muted); }

.funnel { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 8px; }
.funnel-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.funnel-step .bar-v { width: 100%; border-radius: 8px 8px 4px 4px; background: var(--blue); min-height: 8px; }
.funnel-step:nth-child(2) .bar-v { background: #3a86ee; }
.funnel-step:nth-child(3) .bar-v { background: #6ba4f3; }
.funnel-step:nth-child(4) .bar-v { background: #a7c8f8; }
.funnel-step strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.funnel-step span { font-size: 12px; color: var(--muted); }

.team-list { display: flex; flex-direction: column; gap: 4px; }
.team-member { display: flex; align-items: center; gap: 13px; padding: 11px 10px; border-radius: 12px; width: 100%; text-align: left; }
.team-member:hover { background: #f4f7fb; }
.team-member .avatar { width: 44px; height: 44px; }
.team-member .grow strong { display: block; font-size: 15px; font-weight: 550; }
.team-member .grow span { font-size: 12.5px; color: var(--muted); }
.team-member .state { font-size: 12px; color: var(--faint); white-space: nowrap; }

.cs-inspiration { margin-top: 24px; }
.cs-inspiration > header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.cs-inspiration h2 { font-size: 20px; font-weight: 600; }
.cs-inspiration > header > span { font-size: 12px; color: var(--muted); }
.cs-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cs-cases .crop { width: 100%; height: 140px; min-height: 0; border-radius: 13px; transition: filter 180ms ease-out; }
.cs-cases a:hover .crop { filter: brightness(1.06); }
.cs-cases h3 { font-size: 14.5px; font-weight: 550; margin: 11px 0 5px; letter-spacing: 0; line-height: 1.5; }
.cs-cases p { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ============================================================
   任务中心
   ============================================================ */
.task-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.task-row:last-child { border-bottom: 0; }
.task-row .avatar { width: 40px; height: 40px; }
.task-row .grow strong { display: block; font-size: 15px; font-weight: 550; letter-spacing: 0; margin-bottom: 6px; }
.task-row .grow p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.task-meta { display: flex; gap: 10px; align-items: center; margin-top: 9px; flex-wrap: wrap; }
.task-side { text-align: right; flex-shrink: 0; min-width: 108px; }
.task-side .when { font-size: 12px; color: var(--faint); margin-top: 7px; }

.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 14px; padding-bottom: 20px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step .dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--raised); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1;
}
.step .dot svg.icon { width: 16px; height: 16px; }
.step.done .dot { background: #e4f4ec; color: #1c6b46; }
.step.run .dot { background: var(--blue-soft); color: var(--blue); }
.step.fail .dot { background: #ffedef; color: #a62d3d; }
.step .grow strong { display: block; font-size: 14.5px; font-weight: 550; }
.step .grow span { font-size: 13px; color: var(--muted); }

/* ============================================================
   团购 / 投流
   ============================================================ */
.deal-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.deal-card .crop { border-radius: 0; height: 148px; min-height: 0; }
.deal-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.deal-card h3 { font-size: 15px; font-weight: 550; letter-spacing: 0; line-height: 1.5; }
.deal-card .price { font-size: 22px; font-weight: 650; letter-spacing: -.03em; color: #b32637; font-variant-numeric: tabular-nums; }
.deal-card .price s { font-size: 13px; color: var(--faint); font-weight: 400; margin-left: 8px; }
.deal-card .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.deal-card .foot { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 4px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }

.campaign-row { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.campaign-row:last-child { border-bottom: 0; }
.campaign-row:hover { background: #fafbfc; }
.campaign-row .grow strong { display: block; font-size: 15px; font-weight: 550; margin-bottom: 5px; }
.campaign-row .grow span { font-size: 12.5px; color: var(--muted); }
.cell-right { text-align: right; flex-shrink: 0; }
.cell-right strong { display: block; font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cell-right span { font-size: 12px; color: var(--muted); }

.budget-track { display: flex; flex-direction: column; gap: 14px; }
.budget-line strong { font-size: 14px; font-weight: 550; }
.budget-line .between { margin-bottom: 8px; }

/* 素材上传占位 */
.dropzone {
  border: 1.5px dashed #cbd2dc; border-radius: 14px; background: #fafbfc; padding: 34px 20px; text-align: center;
  color: var(--muted); font-size: 14px;
}
.dropzone svg.icon { width: 26px; height: 26px; color: var(--faint); margin-bottom: 10px; }

.asset { background: #fff; border-radius: 13px; overflow: hidden; box-shadow: var(--shadow); text-align: left; padding: 0; width: 100%; position: relative; }
.asset .crop { height: 132px; min-height: 0; border-radius: 0; }
.asset .caption { padding: 13px 15px; font-size: 14px; font-weight: 550; }
.asset .caption small { display: block; font-weight: 400; margin-top: 6px; }
.asset.selected { outline: 3px solid var(--blue); outline-offset: -3px; }

/* 对话区 */
.chatlayout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr); gap: 30px; }
.chatthread { display: flex; flex-direction: column; gap: 20px; }
.message { display: flex; gap: 13px; align-items: flex-start; }
.bubble { padding: 16px 20px; border-radius: 4px 16px 16px 16px; background: #fff; box-shadow: var(--shadow); font-size: 15.5px; line-height: 1.8; max-width: 640px; }
.message.user { justify-content: flex-end; }
.message.user .bubble { background: #e4edf9; color: #233e62; border-radius: 16px 4px 16px 16px; box-shadow: none; }
.bubble .attach { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.bubble .attach .crop { width: 84px; height: 62px; min-height: 0; border-radius: 9px; }
.chat-aside { border-left: 1px solid var(--line); padding-left: 26px; }
.chat-aside h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }

/* ============================================================
   B 区扩展：案例 / 对话 / 通话 / 工作群
   ============================================================ */
.case-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.case-item { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); width: 100%; text-align: left; color: var(--text); }
.case-item:last-child { border-bottom: 0; }
.case-item .crop { width: 96px; height: 72px; min-height: 0; flex-shrink: 0; }
.case-item h3 { font-size: 15px; font-weight: 550; letter-spacing: 0; margin-bottom: 4px; }
.case-item p { font-size: 13px; color: var(--muted); }
.case-item svg.icon { color: var(--faint); }

/* 对话底部输入卡（1v1 与群共用） */
.chat-composer { background: #fff; border: 1px solid #e3e8ef; border-radius: var(--radius-lg); box-shadow: 0 4px 20px rgb(36 61 89 / 6%); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-composer textarea { width: 100%; height: 74px; font-size: 16px; line-height: 1.65; border: 0; background: transparent; color: var(--text); resize: vertical; outline-offset: 2px; }
.chat-composer textarea::placeholder { color: #8b939e; }

/* ---------- B07 智能语音通话 ---------- */
.callsurface { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.callhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.callhead .num { font-size: 22px; letter-spacing: .04em; font-weight: 600; }
.callcenter { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 44px 24px 34px; text-align: center; }
.callface { position: relative; width: 128px; margin: 0 auto 20px; }
.callface .avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; box-shadow: 0 12px 36px rgb(36 54 75 / 15%); position: relative; z-index: 1; }
.callface .ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid #bcd4f5; animation: ringpulse 2.4s ease-out infinite; }
.callcenter h2 { font-size: 28px; margin-bottom: 6px; }
.callcontrols { display: flex; gap: 26px; justify-content: center; margin-top: 30px; }
.callcontrol { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.callcontrol .iconbtn { background: #e7ecf3; }
.callcontrol .hangup { background: #bc3349; color: #fff; }
.callcontrol .hangup:hover { background: #a62741; }
@keyframes ringpulse { 0% { transform: scale(.94); opacity: .9; } 70% { transform: scale(1.12); opacity: 0; } 100% { opacity: 0; } }

.waveform { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; margin-top: 26px; }
.waveform i { width: 4px; border-radius: 99px; background: var(--blue); height: 8px; animation: wave 1.15s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 7px; opacity: .55; } 50% { height: 30px; opacity: 1; } }

.captions { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px 18px; }
.captions > small { display: block; color: var(--faint); margin-bottom: 10px; }
.capthread { display: flex; flex-direction: column; gap: 8px; max-height: 200px; overflow-y: auto; }
.cap { font-size: 14.5px; line-height: 1.7; color: var(--text); background: var(--raised); border-radius: 4px 12px 12px 12px; padding: 9px 14px; max-width: 78%; }
.cap.me { align-self: flex-end; background: #e4edf9; color: #233e62; border-radius: 12px 4px 12px 12px; }

/* ---------- B09 工作群 ---------- */
.gmsg .gcol { max-width: min(560px, 88%); }
.gname { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.gname strong { font-size: 13.5px; font-weight: 600; }
.gname small { font-size: 11.5px; color: var(--faint); }

/* ---------- C03 审阅 / F03 快剪 ---------- */
.cutstrip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.cutcell { position: relative; flex: 0 0 128px; }
.cutcell .cutno { position: absolute; left: 8px; top: 8px; background: rgb(20 28 38 / 72%); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 99px; }
.timeline-player { position: relative; border-radius: 13px; overflow: hidden; }
.play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; background: rgb(255 253 245 / 92%); color: #27313f; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgb(0 0 0 / 18%); }
.play-overlay svg.icon { width: 22px; height: 22px; }

/* ---------- 通用图标方块（卡片内） ---------- */
.logo { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #eef2f7; flex-shrink: 0; }
.logo svg.icon { width: 24px; height: 24px; color: #3f4c5c; }

/* 平台绑定 / 数据来源卡片 */
.bind-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.bind-card .grow strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.bind-card .grow p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- X 区 异常页 ---------- */
.errpage { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 54px 24px 46px; text-align: center; }
.errpage .erricon { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: #fff3df; color: #87500c; margin-bottom: 20px; }
.errpage .erricon svg.icon { width: 36px; height: 36px; stroke-width: 1.5; }
.errpage h2 { font-size: 26px; margin-bottom: 10px; }
.errpage > p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.bind-card .grow strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.bind-card .grow p { font-size: 13px; color: var(--muted); line-height: 1.6; }

@media (max-width: 760px) {
  .case-hero { grid-template-columns: minmax(0,1fr); }
  .callcenter { padding: 32px 16px 26px; }
  .callcenter h2 { font-size: 24px; }
  .callcontrols { gap: 16px; }
  .callcontrol .iconbtn { width: 56px; height: 56px; }
  .cap { max-width: 92%; }
  .gmsg .gcol { max-width: 92%; }
  .cutcell { flex: 0 0 104px; }
  .cs-recent, .cs-cases { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .waveform i, .callface .ring { animation: none; }
}

/* 看板 */
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.board .span4 { grid-column: span 4; }
.board .span6 { grid-column: span 6; }
.board .span8 { grid-column: span 8; }
.board .span12 { grid-column: span 12; }

.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 168px; padding-top: 10px; }
.chart-bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart-bars .col i { width: 100%; border-radius: 6px 6px 3px 3px; background: #a7c8f8; display: block; }
.chart-bars .col.hi i { background: var(--blue); }
.chart-bars .col span { font-size: 11px; color: var(--faint); }

/* 账户 */
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 26px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .content { padding: 26px 32px 52px; }
  .navlinks button { min-width: 58px; font-size: 13px; padding: 9px 11px; }
  .cs-shortcuts a { font-size: 13px; gap: 7px; }
  .cs-cases { gap: 16px; }
  .cs-cases .crop { height: 122px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-split { grid-template-columns: minmax(0, 1fr); }
  .chatlayout { grid-template-columns: minmax(0, 1fr); }
  .chat-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .board .span4, .board .span6, .board .span8 { grid-column: span 12; }
}

@media (max-width: 760px) {
  .preview-strip { padding: 0 16px; font-size: 11px; }
  .preview-detail { display: none; }
  .productnav { height: 64px; padding: 0 18px; gap: 12px; }
  .productnav .wordmark { font-size: 20px; }
  .productnav .wordmark small { display: none; }
  .navlinks { display: none; }
  .store-switch { font-size: 12px; padding: 0 6px; }
  .content { padding: 22px 18px calc(96px + env(safe-area-inset-bottom)); }
  .pagehead h1 { font-size: 25px; }
  .pagehead p { font-size: 14px; }
  .cs-greeting h1 { font-size: 27px; }
  .cs-composer { padding: 16px 14px 14px; border-radius: 18px; grid-template-columns: 44px minmax(0, 1fr) 44px; column-gap: 4px; }
  .cs-person img { width: 36px; height: 36px; }
  .cs-person > span { flex-direction: column; gap: 3px; }
  .cs-composer textarea { height: 108px; font-size: 16px; margin-bottom: 12px; }
  .cs-call { padding: 9px 11px; font-size: 13px; }
  .cs-shortcuts { grid-template-columns: repeat(3, 1fr); gap: 6px 4px; margin: 14px 0 18px; }
  .cs-shortcuts a { flex-direction: column; min-height: 76px; gap: 8px; font-size: 13px; }
  .cs-recent { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 13px 0; }
  .cs-recent p { text-align: left; grid-column: 1 / -1; grid-row: 2; font-size: 12px; white-space: normal; margin-top: 2px; }
  .cs-recent > a { grid-column: 2; grid-row: 1; font-size: 13px; }
  .cs-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .cs-cases .crop { height: 110px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .table { font-size: 13px; }
  .table th, .table td { padding: 11px 8px; }
  .task-side { text-align: left; min-width: 0; }
  .task-row { flex-wrap: wrap; }
  .account-grid { grid-template-columns: minmax(0, 1fr); }
  .screenfoot { padding: 12px 16px; font-size: 11px; }
  .screenfoot .wide-note { display: none; }

  /* 底部标签栏 */
  .app-tabbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 18; display: grid; grid-template-columns: repeat(6, 1fr);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: rgb(248 249 251 / 94%); backdrop-filter: blur(20px); border-top: 1px solid var(--line);
  }
  .app-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 50px; color: var(--muted); font-size: 11px; border-radius: 10px; }
  .app-tabbar a[aria-current="true"] { color: var(--blue); background: transparent; }
  .app-tabbar svg.icon { width: 21px; height: 21px; }
  .toast { bottom: 92px; }
}
@media (min-width: 761px) { .app-tabbar { display: none; } }
@media (prefers-reduced-transparency: reduce) {
  .productnav, .app-tabbar { background: #f8f9fb; backdrop-filter: none; }
}


/* ---------- 全栈架构版补充 ---------- */
/* 总览 KPI 六列 */
.kpi-grid.six { grid-template-columns: repeat(6, 1fr); }
.kpi-grid.four { grid-template-columns: repeat(4, 1fr); }
.stat .goal { font-size: 11.5px; color: var(--faint); margin-top: 5px; display: block; line-height: 1.4; }
.stat.alert { border: 1px solid #e7b96a; background: #fdf7ec; }
@media (max-width: 1080px) { .kpi-grid.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .kpi-grid.six, .kpi-grid.four { grid-template-columns: repeat(2, 1fr); } }

/* 预警行 */
.alertrow .goact { font-size: 13px; color: var(--action); white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }

/* 数据闭环 */
.flywheel { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.fly-step { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fly-step .fly-ico svg.icon { width: 20px; height: 20px; color: var(--action); }
.fly-step strong { font-size: 14px; }
.fly-step span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.fly-arrow { align-self: center; color: var(--faint); flex-shrink: 0; }
.fly-arrow svg.icon { width: 16px; height: 16px; }

/* 模块直达 */
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.module-quick { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; }
.module-quick:hover { border-color: var(--action); }
.module-quick svg.icon { width: 20px; height: 20px; color: var(--action); margin-bottom: 4px; }
.module-quick strong { font-size: 13.5px; }
.module-quick span { font-size: 11.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1080px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }

/* 周榜排名圆标 */
.rank { width: 28px; height: 28px; border-radius: 50%; background: #eef2f7; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }

/* 内容包 A/B/C */
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; }
.pack-card.pick { border-color: var(--action); box-shadow: 0 0 0 3px rgb(9 97 231 / 10%); }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-check { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 4px 8px; border-radius: 8px; background: #e9f4ec; color: #1f7a4d; }
.mini-check.edge { background: #fdf3e3; color: #9a6b13; }
.mini-check svg.icon { width: 13px; height: 13px; }
@media (max-width: 900px) { .pack-grid { grid-template-columns: 1fr; } }

/* 三段节奏 */
.rhythm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.r-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
@media (max-width: 720px) { .rhythm { grid-template-columns: 1fr; } }

/* 账号矩阵 */
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acc-card { padding: 20px; }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   D07 智能语音通话（对齐来客宝 live-voice 通话态）
   ============================================================ */
.lv-shell { padding: 0; }
.lv-call { width: min(640px, 100%); margin: 0 auto; text-align: center; padding: 36px 20px 28px; }
.lv-person img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 32px #24364b1a; }
.lv-person h2 { font-size: 30px; font-weight: 750; letter-spacing: -.02em; margin: 18px 0 6px; }
.lv-person p { color: var(--muted); font-size: 14px; }
.lv-state { margin: 26px 0 8px; min-height: 100px; }
.lv-clock { display: block; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; min-height: 24px; }
.lv-state h3 { font-size: 20px; font-weight: 550; margin: 8px 0; }
.lv-meter { display: flex; align-items: center; justify-content: center; gap: 5px; height: 36px; margin-top: 12px; opacity: 0; }
.lv-call[data-phase="listening"] .lv-meter,
.lv-call[data-phase="recording"] .lv-meter,
.lv-call[data-phase="speaking"] .lv-meter { opacity: 1; }
.lv-meter i { width: 4px; height: 28px; border-radius: 4px; background: #0961e7; transform: scaleY(.15); animation: lvPulse 1.1s ease-in-out infinite; }
.lv-call[data-phase="speaking"] .lv-meter i { background: #c8a961; }
.lv-meter i:nth-child(2n) { height: 18px; animation-duration: .9s; animation-delay: .12s; }
.lv-meter i:nth-child(3n) { height: 23px; animation-duration: 1.3s; animation-delay: .24s; }
.lv-meter i:nth-child(4n) { animation-delay: .36s; }
.lv-meter i:nth-child(5n) { animation-duration: 1.05s; animation-delay: .05s; }
.lv-meter i:nth-child(7n) { animation-duration: 1.25s; animation-delay: .3s; }
@keyframes lvPulse { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .lv-meter i { animation: none; transform: scaleY(.2); } }
.lv-controls { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 20px 0 8px; }
.lv-action { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; border-radius: 14px; padding: 12px 18px; background: #fff; color: var(--text); font-size: 14.5px; font-weight: 600; border: 1px solid var(--line); box-shadow: 0 2px 8px #24364b0d; }
.lv-action svg.icon { width: 19px; height: 19px; }
.lv-action.lv-connect { background: #0961e7; color: #fff; border-color: transparent; min-width: 150px; min-height: 54px; box-shadow: 0 8px 20px #0961e733; }
.lv-action.lv-hangup { background: #d64545; color: #fff; border-color: transparent; }
.lv-action[aria-pressed="true"] { background: #e0eafc; color: #0961e7; }
.lv-privacy { color: var(--muted); font-size: 12.5px; line-height: 1.7; margin-top: 6px; }
.lv-text-link { display: inline-flex; align-items: center; gap: 7px; color: #0961e7; min-height: 44px; padding: 8px 12px; margin-top: 4px; font-size: 14px; font-weight: 600; }
.lv-text-link svg.icon { width: 17px; height: 17px; }
.lv-call-text { margin: 16px auto 0; text-align: left; width: 100%; }
.lv-call-text summary { font-size: 13px; color: var(--muted); padding: 10px; text-align: center; cursor: pointer; }
.lv-transcript { max-height: 320px; overflow: auto; text-align: left; }
.lv-message { padding: 14px 0; max-width: 70ch; }
.lv-message > span { font-size: 12px; color: var(--muted); }
.lv-message p { font-size: 15px; line-height: 1.8; white-space: pre-wrap; margin-top: 5px; }
.lv-message.user { margin-left: auto; background: #f5f6f8; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-block: 12px; }
.lv-message small { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }
.lv-empty { color: var(--muted); font-size: 13px; padding: 8px 0; }

/* ============================================================
   D08 经营数据 / D09 团购搭建 / D10 计划搭建
   ============================================================ */
.biz-wrap { max-width: 1080px; margin: 0 auto; }
.biz-ranges { display: inline-flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.biz-range { padding: 7px 14px; border-radius: 9px; font-size: 13px; color: var(--muted); }
.biz-range.on { background: var(--action-soft); color: var(--action); font-weight: 650; }
.biz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.biz-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px 18px; box-shadow: 0 2px 10px #24364b0a; }
.biz-card > .between small { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.biz-card > .between svg.icon { width: 14px; height: 14px; color: var(--action); }
.biz-card strong { display: block; font-size: 26px; font-weight: 750; letter-spacing: -.02em; margin: 8px 0 4px; }
.biz-src { color: var(--faint) !important; font-size: 11.5px; }
.biz-delta { font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 20px; }
.biz-delta.up { background: #fdeaea; color: #c0392b; }
.biz-delta.down { background: #e8f6ec; color: #1e7e34; }
.biz-subs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.biz-sub { background: #fff; border: 1px solid var(--line-soft); border-radius: 13px; padding: 11px 14px; }
.biz-sub small { display: block; color: var(--faint); font-size: 11px; }
.biz-sub b { display: block; font-size: 16px; font-weight: 700; margin-top: 3px; }
.biz-chart { display: flex; align-items: flex-end; gap: 10px; height: 180px; }
.biz-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; }
.biz-bars { flex: 1; display: flex; align-items: flex-end; gap: 5px; width: 100%; justify-content: center; }
.biz-bars i { width: 13px; border-radius: 5px 5px 2px 2px; }
.biz-bars i.gmv { background: linear-gradient(180deg, #4d8dff, #0961e7); }
.biz-bars i.spend { background: linear-gradient(180deg, #e9cf9a, #c8a961); }
.biz-day small { color: var(--faint); font-size: 11px; }
.biz-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.biz-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.biz-legend i.gmv { background: #0961e7; }
.biz-legend i.spend { background: #c8a961; }
.biz-source { display: flex; gap: 11px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #f0f2f6; }
.biz-source:last-child { border-bottom: 0; }
.biz-source svg.icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.biz-source.ok svg.icon { color: #1e7e34; }
.biz-source.warn svg.icon { color: #b8860b; }
.biz-source strong { display: block; font-size: 13.5px; }
.biz-source span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.6; }
.biz-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.biz-table th { text-align: left; color: var(--faint); font-weight: 600; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.biz-table td { padding: 10px 4px; border-bottom: 1px solid #f0f2f6; color: var(--text); }
.biz-table tr:last-child td { border-bottom: 0; }
.biz-table b { color: #c0392b; }
.biz-wrap .twocol { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin-top: 12px; align-items: start; }
@media (max-width: 980px) { .biz-cards { grid-template-columns: 1fr; } .biz-subs { grid-template-columns: repeat(2, 1fr); } .biz-wrap .twocol { grid-template-columns: 1fr; } }

.field-label { font-size: 11.5px; color: var(--faint); font-weight: 600; letter-spacing: .05em; margin: 4px 0 8px; }
.deal-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.deal-img { border: 2px solid transparent; border-radius: 13px; padding: 9px; background: #fafbfd; text-align: center; cursor: pointer; }
.deal-img.picked { border-color: var(--action); background: var(--action-soft); }
.deal-img-ph { height: 72px; border-radius: 9px; background: #e8edf4; display: grid; place-items: center; color: #7d8b9c; margin-bottom: 7px; }
.deal-img.picked .deal-img-ph { background: #d6e4fa; color: var(--action); }
.deal-img small { font-size: 10.5px; color: var(--muted); }
.pipe { display: flex; flex-direction: column; gap: 4px; }
.pipe-step { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 11px; color: var(--muted); }
.pipe-step i { width: 26px; height: 26px; border-radius: 50%; background: #eef1f6; color: var(--muted); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.pipe-step.cur { background: var(--action-soft); color: var(--action); }
.pipe-step.cur i { background: var(--action); color: #fff; }
.pipe-step.done { color: var(--text); }
.pipe-step.done i { background: #1e7e34; color: #fff; }
.pipe-step.done i::after { content: '✓'; }
.pipe-step.done i { font-size: 0; }
.pipe-result { margin-top: 14px; padding: 12px 14px; background: #f2faf4; border: 1px solid #cdeccd; border-radius: 12px; }
.pipe-result small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.6; }

/* 充值档位选中态（真实充值入口） */
.plan-card { cursor: pointer; }
.plan-card.picked { outline: 2px solid var(--action); outline-offset: 2px; }
