/* 算力来源切换器（生产中心 · 算力双路由） */

.cst-seg {
  display: inline-flex;
  width: 100%;
  border: 1px solid #e3e3e8;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
}

.cst-opt {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 10px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
}

.cst-opt + .cst-opt {
  border-left: 1px solid #e3e3e8;
}

.cst-opt:hover:not(:disabled):not(.cst-active) {
  background: #f0f0f3;
}

.cst-opt.cst-active {
  background: linear-gradient(135deg, #F18D24, #ffb15c);
  color: #fff;
  font-weight: 600;
}

.cst-opt:disabled,
.cst-opt.cst-opt-disabled {
  cursor: not-allowed;
  color: #bcbcbc;
  background: #f2f2f2;
  opacity: .7;
}

/* 离线原因小字 */
.cst-reason {
  margin-top: 6px;
  font-size: 11px;
  color: #e0513a;
  line-height: 1.4;
}

/* 数字人仅云端提示 */
.cst-note {
  margin-top: 6px;
  font-size: 11px;
  color: #999;
}

/* 结果区算力来源徽标（R11） */
.v3-compute-badge {
  display: inline-block;
  margin: 6px 0 2px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.v3-compute-badge.v3-badge-local {
  background: #eafaf0;
  color: #1f9d55;
  border: 1px solid #b7e8c9;
}

.v3-compute-badge.v3-badge-cloud {
  background: #eef3ff;
  color: #3a6df0;
  border: 1px solid #c5d6ff;
}

.v3-compute-reason {
  font-size: 11px;
  color: #e0513a;
  margin-bottom: 4px;
}
