/* 老板企业报告结果页 / demo 富展示（锚点导航、评分环、图表卡片） */
:root {
  --cb-ring-track: #e2e8f0;
  --cb-ring-fill: #3b82f6;
  --cb-nav-bg: rgba(255, 255, 255, 0.96);
  --cb-nav-border: rgba(15, 23, 42, 0.08);
}

.preloan-report--fi .cb-report-section {
  scroll-margin-top: 6.5rem;
}

.preloan-report--fi .cb-anchor-nav {
  position: sticky;
  top: 3.5rem;
  z-index: 1010;
  background: var(--cb-nav-bg) !important;
  backdrop-filter: blur(10px);
  border: 1px solid var(--cb-nav-border) !important;
}

.preloan-report--fi .cb-anchor-link {
  border-radius: 999px;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569 !important;
  transition: background 0.15s, color 0.15s;
}

.preloan-report--fi .cb-anchor-link:hover,
.preloan-report--fi .cb-anchor-link:focus {
  background: rgba(59, 130, 246, 0.12);
  color: #1e3a5f !important;
}

.preloan-report--fi .cb-score-card {
  background: linear-gradient(165deg, #f8fafc 0%, #fff 45%);
}

.preloan-report--fi .cb-score-ring {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: conic-gradient(
    var(--cb-ring-fill) calc(var(--cb-score, 0) * 1%),
    var(--cb-ring-track) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.95);
}

.preloan-report--fi .cb-score-ring__inner {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.preloan-report--fi .cb-score-num {
  font-size: 1.65rem;
  line-height: 1.1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.preloan-report--fi .cb-mini-stat__val {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a5f;
  font-variant-numeric: tabular-nums;
}

.preloan-report--fi .cb-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border: 1px solid var(--cb-nav-border);
  border-radius: 12px;
  height: 100%;
}

.preloan-report--fi .cb-stat-pill__v {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.preloan-report--fi .cb-stat-pill__l {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
}

.preloan-report--fi .cb-micro-progress {
  height: 5px;
  border-radius: 4px;
  background: #e2e8f0;
}

.preloan-report--fi .cb-val--ok {
  color: #047857;
}

.preloan-report--fi .cb-val--hit {
  color: #b45309;
}

.preloan-report--fi .cb-val--danger {
  color: #b91c1c;
}

.preloan-report--fi .cb-val--safeish {
  color: #2563eb;
}

.preloan-report--fi .cb-val--warn {
  color: #c2410c;
}

.preloan-report--fi .cb-val--lg {
  font-size: 1.05rem;
}

.preloan-report--fi .cb-num--md {
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.preloan-report--fi .cb-num--lg {
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.preloan-report--fi .cb-num--xl {
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.preloan-report--fi .cb-chart-card {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.preloan-report--fi .cb-tips-list li {
  margin-bottom: 0.35rem;
}

.preloan-report--fi .cb-kv-rich tbody tr:hover {
  background: rgba(59, 130, 246, 0.04);
}

@media (max-width: 767px) {
  .preloan-report--fi .cb-anchor-nav {
    top: 3.25rem;
  }
  .preloan-report--fi .cb-report-section {
    scroll-margin-top: 7rem;
  }
}

/* 23 项目录：与 preloan 示例一致，移动端换行完整展示 */
.preloan-report--fi .cb-boss-section-nav {
  border: 1px solid var(--fi-border, rgba(15, 23, 42, 0.08));
  border-radius: var(--fi-radius, 12px);
}

.preloan-report--fi .cb-boss-section-nav__list {
  row-gap: 8px;
  column-gap: 4px;
}

.preloan-report--fi .cb-boss-section-nav__list .nav-link {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.72rem;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
  max-width: 8.5rem;
}

@media (min-width: 768px) {
  .preloan-report--fi .cb-boss-section-nav__list .nav-link {
    font-size: 0.68rem;
    max-width: none;
    white-space: nowrap;
  }
}

.preloan-report--fi .cb-field-hint {
  color: #64748b;
  border-left: 3px solid rgba(59, 130, 246, 0.45);
  padding-left: 0.5rem;
}

.preloan-report--fi .cb-field-hint.text-danger,
.preloan-report--fi .cb-field-hint.text-warning {
  border-left-color: rgba(220, 38, 38, 0.35);
}
