.ai-page {
  min-height: 100vh;
  background: #f4f8ff;
}

.ai-page__body {
  padding: 28rpx;
  display: flex;
  flex-direction: column;
  gap: 18rpx;
}

.ai-state {
  color: #667085;
  font-size: 24rpx;
}

.ai-state.is-error {
  color: #dc2626;
}

.ai-summary,
.ai-card {
  padding: 24rpx;
  border: 1rpx solid #d7e2f1;
  border-radius: 18rpx;
  background: #ffffff;
}

.ai-summary__label {
  display: block;
  color: #667085;
  font-size: 24rpx;
}

.ai-summary__value {
  display: block;
  margin-top: 8rpx;
  color: #123e7c;
  font-size: 46rpx;
  font-weight: 950;
}

.ai-summary__button {
  margin: 18rpx 0 0;
  height: 70rpx;
  line-height: 70rpx;
  border: 0;
  border-radius: 12rpx;
  background: #123e7c;
  color: #ffffff;
  font-size: 25rpx;
  font-weight: 850;
}

.ai-summary__button::after,
.ai-card__btn::after {
  border: 0;
}

.ai-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16rpx;
}

.ai-card__title {
  flex: 1;
  color: #111827;
  font-size: 29rpx;
  font-weight: 900;
  line-height: 1.4;
}

.ai-card__status {
  color: #123e7c;
  font-size: 22rpx;
  font-weight: 850;
}

.ai-card__meta,
.ai-card__reason,
.ai-card__detail {
  display: block;
  margin-top: 12rpx;
  color: #667085;
  font-size: 23rpx;
  line-height: 1.55;
}

.ai-card__detail {
  padding: 16rpx;
  border-radius: 12rpx;
  background: #f8fafc;
  color: #374151;
  word-break: break-all;
}

.ai-card__actions {
  margin-top: 18rpx;
  display: flex;
  align-items: center;
  gap: 12rpx;
}

.ai-card__link {
  flex: 1;
  color: #123e7c;
  font-size: 23rpx;
  font-weight: 850;
}

.ai-card__btn {
  min-width: 150rpx;
  height: 66rpx;
  line-height: 66rpx;
  margin: 0;
  padding: 0 18rpx;
  border: 0;
  border-radius: 12rpx;
  background: #123e7c;
  color: #ffffff;
  font-size: 23rpx;
  font-weight: 850;
}

.ai-card__btn--ghost {
  border: 1rpx solid #d7e2f1;
  background: #ffffff;
  color: #667085;
}
