/* 能力来源标注：帮助页与产品页统一使用，区分客户端本地 / 云端账号 / 私有化部署 */
.ub-cap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.ub-cap::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}
.ub-cap-local {
  color: #17784a;
  background: #e9f7ef;
  border-color: #c8e9d6;
}
.ub-cap-cloud {
  color: #1d5bd0;
  background: #eaf1ff;
  border-color: #cfdefd;
}
.ub-cap-deploy {
  color: #8a5300;
  background: #fdf4e4;
  border-color: #f4e1bd;
}
.ub-cap-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: #6b7a93;
}
.ub-cap-note b { color: #1b2c50; font-weight: 600; }

/* 帮助页 labels 行里的徽标与既有灰底标签区分开 */
.helpdetail .helpdetail-main .right .right-main .labels .ub-cap {
  margin-right: 0;
  background: transparent;
}

/* 产品页 hero 下的来源说明条 */
.pd-cap-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--fp-body, #5b6a86);
}
.pd-cap-row > span:first-child { color: var(--fp-ink, #1b2c50); font-weight: 600; }

/* 来源行里的中性补充说明：只讲事实，不占用三类来源徽标 */
.pd-cap-row .pd-cap-note {
  font-size: 12.5px;
  color: #75859f;
}

/* 产品页能力清单（扩展商店 / AI Agent 共用） */
.fp-store-grid,
.fp-agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 0;
}
@media (max-width: 1023px) {
  .fp-store-grid, .fp-agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fp-store-grid, .fp-agent-grid { grid-template-columns: 1fr; }
  .pd-cap-row { font-size: 12px; }
}
