/*
 * 第二屏「行业解决方案」。
 *
 * 外框沿用「交给它的事」的 .scene（左文右图的大卡片）和 .tint-* 底色；这里补：
 *   .sol-tabs —— 上方五张方案卡（自动轮播，底部一条进度）
 *   .sol-facts —— 左栏「接入 / 交付 / 留给你」
 *   .sv-* —— 右侧动态画面：触发方式 → 流程带（来源 → DooAny → 去处）→ 成果卡 → 钉钉确认
 * 画面按设计宽度（桌面 860 / 手机 420）绘制，再由 solutions-demo.js 等比缩放。
 */

/* =====================================================================
   方案卡
   ===================================================================== */
.sol-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.sol-tab {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, transform 0.25s var(--ease-out);
}
.sol-tab:hover {
  background: #fff;
  transform: translateY(-2px);
}
.sol-tab[aria-selected='true'] {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 0 0 1.5px var(--teal), 0 14px 30px -16px rgba(10, 183, 173, 0.55);
}
.sol-tab__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eef2f6;
  color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.sol-tab[aria-selected='true'] .sol-tab__ico {
  background: var(--navy);
  color: #fff;
}
.sol-tab__ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sol-tab__txt {
  min-width: 0;
}
.sol-tab__txt small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-ink);
}
.sol-tab__txt b {
  display: block;
  margin-top: 2px;
  font-size: 15.5px;
  line-height: 1.4;
}
.sol-tab__txt > span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.sol-prog {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 9px;
  height: 2px;
  border-radius: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  pointer-events: none;
}
.sol-tab[aria-selected='true'] .sol-prog {
  opacity: 0.85;
}

/* 左栏：从顶部排起，不沿用 .scene__text 的上下居中 ——
   五个方案的说明长短不一，居中的话每次切换整栏都会上下跳。
   说明文字的高度由 solutions-demo.js 统一成五个里最高的，下面的清单也就固定在同一位置。 */
.scene.sol .scene__text {
  justify-content: flex-start;
}
.sol .scene__desc {
  font-size: 15.5px;
}
.sol-facts {
  margin: 22px 0 0;
}
.sol-facts > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.6;
}
.sol-facts dt {
  padding-top: 1px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-ink);
}
.sol-facts dd {
  margin: 0;
  color: var(--ink);
}
.sol-facts > div:last-child dd {
  font-weight: 600;
}
.scene.sol .scene__stage.has-sd {
  display: flex;
  align-items: center;
}

@media (max-width: 1100px) {
  .sol-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-left: -4px;
    padding: 4px;
  }
  .sol-tabs::-webkit-scrollbar {
    display: none;
  }
  .sol-tab {
    flex: 0 0 216px;
    scroll-snap-align: start;
  }
}
@media (max-width: 760px) {
  .sol-tab {
    flex-basis: 184px;
    padding: 12px 12px 16px;
  }
  .sol-tab__txt > span {
    display: none;
  }
  .sol-tab__ico {
    width: 32px;
    height: 32px;
  }
}

/* =====================================================================
   动态画面
   ===================================================================== */
.sv {
  position: relative;
  width: 100%;
}
.sv-stage {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-origin: 0 0;
  font-family: var(--font);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.sv-i {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sv-stage .n {
  font-variant-numeric: tabular-nums;
}

/* 通用出现：淡入上移 */
.sv-in {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-out);
}
.sv-in.on {
  opacity: 1;
  transform: none;
}

/* 依次替换的文字 / 状态：后一项点亮时盖住前一项 */
.sv-sw {
  display: inline-grid;
  vertical-align: middle;
  max-width: 100%;
}
.sv-sw > i {
  grid-area: 1 / 1;
  min-width: 0;
  font-style: normal;
  transition: opacity 0.35s ease;
}
.sv-sw > i + i {
  opacity: 0;
}
.sv-sw > i.on {
  opacity: 1;
}
.sv-sw > i:has(~ i.on) {
  opacity: 0;
}
.sv-c {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #5b6470;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.sv-c.run { background: #e8f0fb; color: #1f5bd6; }
.sv-c.wait { background: #fef3e2; color: #b45309; }
.sv-c.ok { background: #e3f1e8; color: #15803d; }
.sv-c.bad { background: #fdecec; color: #b91c1c; }
.sv-chips {
  justify-items: end;
}

/* 顶部：触发方式 + 运行状态 */
.sv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sv-trig,
.sv-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 1px rgba(15, 47, 77, 0.08);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.sv-trig .sv-i {
  color: var(--teal-ink);
}
.sv-status {
  color: #1f5bd6;
}
.sv-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(31, 91, 214, 0.15);
}
.is-busy .sv-status i {
  animation: sv-blink 1.2s ease-in-out infinite;
}
.sv-status.done {
  color: #15803d;
}
.sv-status.done i {
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}
@keyframes sv-blink {
  50% { opacity: 0.35; }
}

/* 流程带：来源 → DooAny → 去处 */
.sv-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 176px 1fr;
  align-items: center;
  min-height: 150px;
  margin: 14px 0 14px;
}
.sv-edges {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.sv-edge {
  fill: none;
  stroke: #c5cfd8;
  stroke-width: 1.6;
  stroke-dasharray: 4 5;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}
.sv-edge.on {
  stroke: var(--teal);
  stroke-width: 2;
}
.sv-flow[data-phase='in'] .sv-edge.in.on,
.sv-flow[data-phase='out'] .sv-edge.out.on {
  animation: sv-dash 0.55s linear infinite;
}
@keyframes sv-dash {
  to { stroke-dashoffset: -18; }
}
.sv-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sv-col.src { align-items: flex-start; }
.sv-col.dst { align-items: flex-end; }
.sv-node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 12px 0 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(15, 47, 77, 0.08);
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}
.sv-node.on {
  opacity: 1;
  filter: none;
  background: #fff;
  box-shadow: 0 0 0 1.5px var(--teal), 0 8px 18px -10px rgba(10, 183, 173, 0.6);
}
.sv-nt {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.sv-nt b {
  font-size: 13px;
}
.sv-nt small {
  font-size: 11.5px;
  color: #6f8496;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.sv-nt small.on {
  opacity: 1;
}
.sv-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eef2f6;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  font-style: normal;
}
.sv-tile .sv-i { width: 15px; height: 15px; }
.sv-tile.ding { background: #1f6feb; color: #fff; }
.sv-tile.teal { background: #e2f4f1; color: var(--teal-ink); }
.sv-tile.kb { background: #ecebfb; color: #5a4fc4; }
.sv-tile.sand { background: #fff0e2; color: #c2570c; }
.sv-tile.kd { background: #e6eeff; color: #1d5bd8; }
.sv-tile.tm { background: #ffe8ec; color: #d40c2d; }
.sv-tile.jd { background: #fdeaea; color: #c4161c; }
.sv-tile.dy { background: #121212; color: #fff; }
.sv-tile.apple { background: #121212; color: #fff; font-size: 14px; font-weight: 500; }
.sv-tile.apple:empty::before { content: ''; width: 11px; height: 13px; border-radius: 50% 50% 45% 45%; background: #fff; }
.sv-tile.hw { background: #fde9ea; color: #cf0a2c; }
.sv-tile.mi { background: #fff0e5; color: #ff6900; }
.sv-tile.op { background: #e6f6ec; color: #138a43; }
.sv-tile.vi { background: #e7efff; color: #415fff; font-style: italic; }
.sv-tile.yy { background: #e6f2ff; color: #1a73e8; }

/* DooAny：中间的执行者 */
.sv-hub {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sv-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1d4f7c, #0a1f33 70%);
  box-shadow: 0 0 0 5px rgba(10, 183, 173, 0.16), 0 14px 30px -10px rgba(10, 31, 51, 0.6);
}
.sv-orb img {
  width: 56%;
  height: 56%;
}
.sv-orb::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--teal), rgba(10, 183, 173, 0) 55%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.is-busy .sv-orb::before {
  opacity: 1;
  animation: sv-spin 1.1s linear infinite;
}
@keyframes sv-spin {
  to { transform: rotate(360deg); }
}
.sv-hub > b {
  margin-top: 6px;
  font-size: 13px;
}
.sv-hub-t {
  max-width: 176px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-2);
  text-align: center;
  min-height: 34px;
}

/* 成果卡 */
.sv-card {
  padding: 16px 18px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 47, 77, 0.06), 0 22px 48px -24px rgba(15, 47, 77, 0.35);
}
.sv-ch {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.sv-ch > div {
  min-width: 0;
}
.sv-ch h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.sv-ch p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #6f8496;
}
.sv-box {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #e8ecf0;
}
.sv-box h5 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6f8496;
}
.sv-box h5 .sv-i {
  width: 14px;
  height: 14px;
}
.sv-box h5 > span {
  margin-left: auto;
  font-weight: 500;
}
.sv-g2 {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.sv-g2--store,
.sv-g2--flow {
  grid-template-columns: 0.85fr 1.15fr;
  margin-top: 0;
}
.sv-g2--flow {
  grid-template-columns: 1fr 1fr;
}

/* 指标 */
.sv-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sv-kpi {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f7f9;
  transition: box-shadow 0.4s ease, background-color 0.4s ease;
}
.sv-kpi small {
  display: block;
  font-size: 11.5px;
  color: #6f8496;
}
.sv-kpi b {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.sv-kpi b u {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #6f8496;
}
.sv-kpi em {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}
.sv-kpi em.up { color: #15803d; }
.sv-kpi em.down { color: #b45309; }
.sv-kpi.sv-warnable.on {
  background: #fff5f5;
  box-shadow: inset 0 0 0 1.5px rgba(185, 28, 28, 0.55);
}
.sv-kpi.sv-warnable.on em {
  color: #b91c1c;
}

/* 柱状图 */
.sv-lg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.sv-lg i {
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 2px;
}
.sv-bars {
  display: flex;
  align-items: stretch;
  gap: 12px;
  height: 138px;
}
.sv-col-b {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.sv-col-b > span {
  font-size: 10.5px;
  color: #8a99a8;
}
.sv-bar {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  max-width: 34px;
  overflow: hidden;
  border-radius: 6px 6px 3px 3px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease-out);
}
.sv-bar.on {
  transform: none;
}
.sv-bar i {
  display: block;
}
.sv-bar:not(.today) {
  opacity: 0.55;
}
.sv-bar.today {
  box-shadow: 0 6px 14px -6px rgba(10, 183, 173, 0.7);
}
.sv-stage .s1 { background: var(--teal); }
.sv-stage .s2 { background: #0f2f4d; }
.sv-stage .s3 { background: #9fb3c4; }

/* 清单 */
.sv-li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 7px 0;
  border-top: 1px solid #eef1f4;
  font-size: 12.5px;
  line-height: 1.55;
}
.sv-box h5 + .sv-li {
  border-top: 0;
  padding-top: 2px;
}
.sv-li > i {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  flex: none;
  border-radius: 50%;
  background: #9fb3c4;
}
.sv-li.bad > i { background: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14); }
.sv-li.warn > i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16); }
.sv-li b { font-weight: 700; }

/* 表格 */
.sv-t {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.sv-t th {
  padding: 0 8px 7px 0;
  font-size: 11.5px;
  font-weight: 500;
  color: #8a99a8;
  text-align: left;
  white-space: nowrap;
}
.sv-t td {
  padding: 7px 8px 7px 0;
  border-top: 1px solid #eef1f4;
  white-space: nowrap;
}
.sv-t td:last-child,
.sv-t th:last-child {
  padding-right: 0;
  text-align: right;
}
.sv-t td.n {
  color: #3a4a59;
}
.sv-t tr.sv-flag td:first-child {
  box-shadow: inset 3px 0 0 transparent;
}
.sv-t--ops td {
  padding-top: 8px;
  padding-bottom: 8px;
}
.sv-t--ops th:nth-child(3),
.sv-t--ops th:nth-child(4) {
  width: 27%;
}
.sv-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px;
  margin-left: -6px;
  border-radius: 8px;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.sv-t td:last-child .sv-cell {
  justify-content: flex-end;
  margin-left: 0;
  margin-right: -6px;
}
.sv-cell em {
  min-width: 34px;
  font-style: normal;
  font-size: 12px;
  color: #3a4a59;
  text-align: right;
}
.sv-cell .sv-pg {
  flex: 1;
}
.sv-cell.sv-hot.on {
  background: #fff1f1;
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.35);
}
.sv-cell.sv-hot.on em {
  color: #b91c1c;
  font-weight: 700;
}

/* 进度条 */
.sv-pg {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #edf1f4;
}
.sv-pg i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.sv-pg i.on {
  transform: none;
}
.sv-pg.navy i { background: #0f2f4d; }
.sv-pg.bad i { background: #dc2626; }

/* 改价核对 */
.sv-price {
  margin-top: 12px;
}
.sv-price h5 > span {
  font-size: 12px;
}
.sv-price .okt {
  color: #15803d;
  font-weight: 600;
}
.sv-plats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sv-plats > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

/* 构建清单 */
.sv-ck {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #eef1f4;
  font-size: 12.5px;
}
.sv-box h5 + .sv-ck {
  border-top: 0;
}
.sv-ck > .sv-i {
  width: 15px;
  height: 15px;
  color: #15803d;
}
.sv-ck em {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  color: #8a99a8;
}
.sv-ck--swap .sv-sw > i {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sv-ck--swap .warn { color: #b45309; }
.sv-ck--swap .warn .sv-i { width: 15px; height: 15px; color: #d97706; }
.sv-ck--swap .ok .sv-i { width: 15px; height: 15px; color: #15803d; }

/* 应用市场一行 */
.sv-store {
  display: grid;
  grid-template-columns: 26px 98px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid #eef1f4;
  font-size: 12.5px;
}
.sv-box h5 + .sv-store {
  border-top: 0;
}
.sv-store b {
  font-weight: 600;
  white-space: nowrap;
}
.sv-store .sv-chips {
  min-width: 132px;
}

/* 文档归档 */
.sv-folders {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.sv-folders > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: 8px;
  background: #f3f1fd;
  color: #5a4fc4;
  font-size: 11.5px;
  font-weight: 600;
}
.sv-file {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #eef1f4;
  font-size: 12px;
}
.sv-file > .sv-i {
  width: 15px;
  height: 15px;
  color: #8a99a8;
}
.sv-fn {
  min-width: 0;
  overflow: hidden;
}
.sv-fn .sv-sw {
  display: grid;
}
.sv-fn i {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sv-fn .raw {
  color: #8a99a8;
}
.sv-fn .new {
  color: var(--ink);
  font-weight: 600;
}
.sv-ft {
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: #f3f1fd;
  color: #5a4fc4;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sv-ft.on {
  opacity: 1;
  transform: none;
}
.sv-more {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: #8a99a8;
}

/* 审批流 */
.sv-steps {
  display: flex;
  align-items: center;
  margin: 12px 0 8px;
}
.sv-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: none;
  font-size: 11.5px;
  color: #8a99a8;
  transition: color 0.3s ease;
}
.sv-step i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef1f4;
  color: #8a99a8;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.sv-step.on {
  color: var(--ink);
  font-weight: 600;
}
.sv-step.on i {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(10, 183, 173, 0.16);
}
.sv-step.slow.on i {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}
.sv-line {
  flex: 1;
  height: 2px;
  margin: 0 4px 18px;
  border-radius: 1px;
  background: #e3e8ec;
  background-image: linear-gradient(var(--teal), var(--teal));
  background-repeat: no-repeat;
  background-size: 0 100%;
  transition: background-size 0.5s var(--ease-out);
}
.sv-line.on {
  background-size: 100% 100%;
}
.sv-who p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  font-size: 12px;
}
.sv-who p.wait {
  color: #b45309;
}
.sv-av {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

/* 底栏：要拍板的那一步 */
.sv-foot {
  display: grid;
  min-height: 66px;
  margin-top: 14px;
}
/* 占位提示和各条钉钉消息叠在同一格里：高度取最高的那条，播放中不跳 */
.sv-foot > * {
  grid-area: 1 / 1;
}
.sv-ph {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  margin: 0;
  padding: 0 16px;
  border-radius: 16px;
  border: 1.5px dashed rgba(15, 47, 77, 0.16);
  font-size: 13px;
  color: #7a8a99;
}
.sv-ph .sv-i {
  color: #9fb0bf;
}
.sv-toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(31, 111, 235, 0.22), 0 18px 36px -16px rgba(15, 47, 77, 0.45);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}
.sv-toast.on {
  opacity: 1;
  transform: none;
}
.sv-toast .sv-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 15px;
}
.sv-tb {
  flex: 1;
  min-width: 0;
}
.sv-tb small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #1f5bd6;
}
.sv-tb p {
  margin: 1px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.sv-acts {
  display: flex;
  gap: 8px;
  flex: none;
  transition: opacity 0.25s ease;
}
.sv-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 9px;
  background: #f1f3f5;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.sv-btn.pri {
  background: #1f6feb;
  color: #fff;
}
.sv-btn.press {
  transform: scale(0.92);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.25);
}
.sv-tok {
  display: none;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e3f1e8;
  color: #15803d;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.sv-tok .sv-i {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}
.sv-toast.note .sv-tok,
.sv-toast.ok .sv-tok {
  display: inline-flex;
}
.sv-toast.ok .sv-acts {
  display: none;
}
.sv-toast.ok {
  box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.25), 0 18px 36px -16px rgba(15, 47, 77, 0.35);
}

/* =====================================================================
   手机宽度（画面按 420 宽绘制）
   ===================================================================== */
.sv.is-m .sv-flow {
  grid-template-columns: 1fr 112px 1fr;
  min-height: 0;
}
.sv.is-m .sv-nt small {
  display: none;
}
.sv.is-m .sv-node {
  height: 32px;
  padding-right: 9px;
}
.sv.is-m .sv-nt b {
  font-size: 12px;
}
.sv.is-m .sv-hub-t {
  max-width: 112px;
}
.sv.is-m .sv-orb {
  width: 54px;
  height: 54px;
}
.sv.is-m .sv-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.sv.is-m .sv-kpis {
  grid-template-columns: 1fr 1fr;
}
.sv.is-m .sv-g2,
.sv.is-m .sv-g2--store,
.sv.is-m .sv-g2--flow {
  grid-template-columns: 1fr;
}
.sv.is-m .sv-t th:nth-child(1),
.sv.is-m .sv-t td:nth-child(1) {
  display: none;
}
.sv.is-m .sv-t--ops th:nth-child(1),
.sv.is-m .sv-t--ops td:nth-child(1) {
  display: table-cell;
}
.sv.is-m .sv-t--ops th:nth-child(2),
.sv.is-m .sv-t--ops td:nth-child(2) {
  display: none;
}
.sv.is-m .sv-plats {
  grid-template-columns: 1fr;
  gap: 8px;
}
.sv.is-m .sv-store {
  grid-template-columns: 26px 1fr auto;
}
.sv.is-m .sv-store .sv-pg {
  display: none;
}
.sv.is-m .sv-toast {
  flex-wrap: wrap;
  align-content: center;
  gap: 8px 12px;
  padding: 12px 14px;
}
.sv.is-m .sv-tb {
  flex: 1 1 calc(100% - 50px);
}
.sv.is-m .sv-box h5 {
  flex-wrap: wrap;
}
.sv.is-m .sv-price h5 > span {
  flex-basis: 100%;
  margin-left: 0;
}
.sv.is-m .sv-acts,
.sv.is-m .sv-tok {
  margin-left: 46px;
}

/* 减少动态效果：不转圈、不流动（画面本身直接摆最后一帧，见 solutions-demo.js） */
@media (prefers-reduced-motion: reduce) {
  .sv-orb::before,
  .sv-edge,
  .sv-status i {
    animation: none !important;
  }
}
