.finance-cost-yoy-v4 {
  min-width: 0;
}

.finance-cost-yoy-v4 .finance-cost-yoy-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.finance-cost-yoy-v4 .finance-cost-yoy-summary div {
  border: 1px solid rgba(91, 91, 234, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(246, 247, 255, 0.96), rgba(255, 255, 255, 0.96));
  padding: 12px;
}

.finance-cost-yoy-v4 .finance-cost-yoy-summary span {
  display: block;
  color: #7a82a8;
  font-size: 12px;
  line-height: 1.4;
}

.finance-cost-yoy-v4 .finance-cost-yoy-summary strong {
  display: block;
  margin-top: 4px;
  color: #24264f;
  font-size: 18px;
  line-height: 1.25;
}

.finance-cost-yoy-v4 .finance-cost-yoy-bars-panel {
  border: 1px solid rgba(111, 118, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 249, 255, 0.95), rgba(255, 255, 255, 0.98));
  padding: 14px;
}

.finance-cost-yoy-v4 .finance-cost-yoy-chart-copy {
  margin-bottom: 10px;
}

.finance-cost-yoy-v4 .finance-cost-yoy-chart-copy h4 {
  margin: 0;
  color: #282a54;
  font-size: 14px;
  font-weight: 700;
}

.finance-cost-yoy-v4 .finance-cost-yoy-chart-copy p {
  margin: 2px 0 0;
  color: #8a91b4;
  font-size: 12px;
  line-height: 1.45;
}

.finance-cost-yoy-v4 .finance-cost-yoy-bars {
  display: grid;
  gap: 10px;
}

.finance-cost-yoy-v4 .finance-cost-yoy-bar-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.82fr) minmax(120px, 1.18fr) minmax(92px, auto);
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: 12px;
  background: rgba(248, 249, 255, 0.82);
  padding: 10px 12px;
}

.finance-cost-yoy-v4 .finance-cost-yoy-bar-meta h4 {
  margin: 0;
  color: #282a54;
  font-size: 13px;
  font-weight: 700;
}

.finance-cost-yoy-v4 .finance-cost-yoy-bar-meta span,
.finance-cost-yoy-v4 .finance-cost-yoy-bar-value span {
  display: block;
  color: #8a91b4;
  font-size: 11px;
  line-height: 1.35;
}

.finance-cost-yoy-v4 .finance-cost-yoy-bar-track {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef0ff;
}

.finance-cost-yoy-v4 .finance-cost-yoy-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b8cf6, #5a5bea);
}

.finance-cost-yoy-v4 .finance-cost-yoy-bar-row.negative .finance-cost-yoy-bar-track i {
  background: linear-gradient(90deg, #ffc1c1, #d94d4d);
}

.finance-cost-yoy-v4 .finance-cost-yoy-bar-value {
  text-align: right;
}

.finance-cost-yoy-v4 .finance-cost-yoy-bar-value b {
  display: block;
  color: #34366a;
  font-size: 13px;
  white-space: nowrap;
}

.finance-cost-yoy-v4 .positive .finance-cost-yoy-bar-value b {
  color: #13a06f;
}

.finance-cost-yoy-v4 .negative .finance-cost-yoy-bar-value b {
  color: #d94d4d;
}

.finance-cost-yoy-v4 .ledger-detail-disclosure {
  margin-top: 12px;
}

.finance-cost-yoy-v4 .finance-cost-yoy-source {
  margin-top: 10px;
  color: #9aa0bf;
  font-size: 11px;
}

@media (max-width: 760px) {
  .finance-cost-yoy-v4 .finance-cost-yoy-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-cost-yoy-v4 .finance-cost-yoy-bar-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .finance-cost-yoy-v4 .finance-cost-yoy-bar-value {
    text-align: left;
  }
}
