.detail-card-head {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.detail-card-head h3 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 850;
}

.detail-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.application-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #fff;
}

.application-detail-fact {
  display: grid;
  grid-template-columns: minmax(96px, 28%) minmax(0, 1fr);
  min-height: 48px;
  border-top: 1px solid #edf2f7;
  border-left: 1px solid #edf2f7;
}

.application-detail-fact:nth-child(-n + 2) {
  border-top: 0;
}

.application-detail-fact:nth-child(2n + 1) {
  border-left: 0;
}

.application-detail-fact span,
.application-detail-fact strong {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 11px 14px;
  line-height: 1.5;
}

.application-detail-fact span {
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.application-detail-fact strong {
  border-left: 1px solid #edf2f7;
  color: #0f172a;
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.application-detail-fact.highlight span {
  background: var(--theme-primary-soft);
  color: var(--theme-primary-active);
}

.application-detail-fact.highlight strong {
  background: color-mix(in srgb, var(--theme-primary-soft) 55%, #ffffff);
}

.application-detail-fact.emphasis strong {
  color: var(--theme-primary-active);
  font-weight: 850;
}

.related-application-facts {
  margin-top: 0;
}

.related-application-empty {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #f8fafc;
}

.related-application-empty strong {
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.related-application-empty p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .application-detail-facts {
    grid-template-columns: 1fr;
  }

  .application-detail-fact {
    border-left: 0;
  }

  .application-detail-fact:nth-child(2) {
    border-top: 1px solid #edf2f7;
  }
}
