.kpi-index-page .ranking-company a {
  color: inherit;
  text-decoration: none;
}

.kpi-index-page .ranking-company a:hover {
  color: var(--primary-2);
}

.kpi-index-page .kpi-index-score {
  font-variant-numeric: tabular-nums;
}

.kpi-index-page .kpi-index-direction {
  font-weight: 900;
}

.kpi-index-page .rankings-state-card.is-ready {
  border-color: var(--line-success);
  background: var(--success-bg);
  color: var(--success-text);
}

.kpi-index-page .ranking-card-head p {
  max-width: 48ch;
}

@media (max-width: 560px) {
  .kpi-index-page .hero-screener-word {
    font-size: 1em;
  }
}

.kpi-index-page .kpi-layer-section + .kpi-layer-section {
  padding-top: 18px;
}

.kpi-index-page .core-layer-section,
.kpi-index-page .cash-layer-section {
  border-top: 1px solid var(--line-soft, rgba(120, 130, 145, .16));
}

.kpi-index-page .ranking-card-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.kpi-index-page .ranking-card-coverage {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line-soft, rgba(120, 130, 145, .18));
  border-radius: 999px;
  background: var(--surface-subtle, rgba(120, 130, 145, .08));
  color: var(--text-muted, #718096);
  font-size: .58rem;
  font-weight: 700;
  white-space: nowrap;
}

.kpi-index-page .ranking-secondary-value {
  font-size: .61rem;
  line-height: 1.35;
  font-weight: 700;
}

.kpi-index-page .ranking-value-badge.is-neutral,
.kpi-index-page .ranking-value-badge.cash-badge {
  border-color: var(--line-soft, rgba(120, 130, 145, .2));
  background: var(--surface-subtle, rgba(120, 130, 145, .09));
  color: var(--text-muted, #64748b);
}

.kpi-index-page .core-signal {
  letter-spacing: .055em;
}

.kpi-index-page .cash-signal,
.kpi-index-page .cash-badge {
  font-variant-numeric: tabular-nums;
}

.kpi-index-page .core-ranking-row .ranking-metrics b:first-of-type,
.kpi-index-page .cash-ranking-row .ranking-metrics b:first-of-type {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .kpi-index-page .ranking-card-head {
    grid-template-columns: 1fr;
  }

  .kpi-index-page .ranking-card-coverage {
    justify-self: start;
  }
}
