.lp-official-due-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--surface-solid) 58%, transparent);
}

.lp-official-due-item strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-official-due-payment {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.lp-official-goal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  font-size: 0.875rem;
}

.lp-official-goal-head span {
  flex-shrink: 0;
  color: var(--mint);
  font-weight: 900;
}

.landing-popup-bar-chart .bar-row {
  grid-template-columns: minmax(5.5rem, 7.5rem) minmax(8rem, 1fr) auto !important;
  gap: 0.75rem;
  padding: 0.375rem 0;
}

.landing-popup-bar-chart .bar-track {
  width: 100%;
}

.landing-popup-bar-chart .bar-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-popup-bar-chart .bar-row strong {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .lp-official-due-item {
    grid-template-columns: 1fr;
  }

  .lp-official-due-payment {
    justify-content: space-between;
    width: 100%;
  }

  .landing-popup-bar-chart .bar-row {
    grid-template-columns: minmax(4.5rem, 6rem) minmax(7rem, 1fr) auto !important;
  }
}
