.pricing-head-tools {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.price-view-switch {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
}

.price-view-switch button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 7px 10px;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.price-view-switch button.active {
  background: var(--soft);
  color: var(--blue);
}

.pricing-model-state {
  text-align: right;
}

.pricing-model-state > span,
.pricing-model-state > small {
  display: block;
}

.pricing-model-state > small {
  max-width: 220px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pricing-head-simple + .pricing-explain strong {
  font-weight: 700;
}

#priceViewDescription {
  font-size: 0;
}

#priceViewDescription::after {
  content: '这是公开展示的参考价格；倍率价格是实际调用时支付的价格。';
  font-size: 12px;
}

.pricing-model-card.pending > p,
.pricing-model-card.pending .pricing-pending span {
  font-size: 0;
}

.pricing-model-card.pending > p::after {
  content: '价格信息确认后发布';
  font-size: 12px;
}

.pricing-model-card.pending .pricing-pending span::after {
  content: '价格信息确认后再公开，避免展示错误报价。';
  font-size: 11px;
}

@media (max-width: 700px) {
  .pricing-head-tools {
    justify-items: start;
  }

  .price-view-switch {
    width: 100%;
  }

  .price-view-switch button {
    flex: 1;
  }
}
