.profit-model-evidence {
  --profit-ink: #182238;
  --profit-blue: #156f88;
  --profit-mint: #dff5eb;
  --profit-yellow: #ffd43b;
  border-top: 4px solid var(--profit-yellow);
  overflow: hidden;
}

.profit-model-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d9e1e8;
  background: #f7fafb;
}

.profit-model-counts > span {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid #d9e1e8;
}

.profit-model-counts > span:last-child {
  border-right: 0;
}

.profit-model-counts small,
.profit-model-accepted__numbers small,
.profit-model-review__proof small,
.profit-model-review__stress small {
  display: block;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.profit-model-counts strong {
  display: block;
  margin-top: 4px;
  color: var(--profit-ink);
  font-size: 28px;
  line-height: 1;
}

.profit-model-accepted {
  margin-top: 18px;
  border: 1px solid #9ad5bd;
  background: linear-gradient(115deg, #f4fcf8 0%, #ffffff 70%);
}

.profit-model-accepted > header,
.profit-model-grid > section > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.profit-model-accepted h3,
.profit-model-grid h3 {
  margin: 3px 0 0;
  color: var(--profit-ink);
  font-size: 18px;
  letter-spacing: 0;
}

.profit-model-accepted__numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid #c9e7d9;
}

.profit-model-accepted__numbers > span {
  min-width: 0;
  padding: 14px 18px;
  border-right: 1px solid #c9e7d9;
}

.profit-model-accepted__numbers > span:last-child {
  border-right: 0;
}

.profit-model-accepted__numbers strong {
  display: block;
  margin-top: 5px;
  color: #0f5d4a;
  font-size: 21px;
}

.profit-model-accepted > p,
.profit-model-boundary {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  padding: 13px 18px;
  color: #415169;
  font-size: 13px;
  line-height: 1.5;
}

.profit-model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.profit-model-grid > section {
  min-width: 0;
  border: 1px solid #d9e1e8;
  background: #fff;
}

.profit-model-grid > section > header {
  border-bottom: 1px solid #e5eaef;
}

.profit-model-candidates__head,
.profit-model-candidates article {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) 90px 105px 125px 115px 96px;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
}

.profit-model-candidates__head {
  color: #64748b;
  background: #f7fafb;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profit-model-candidates article {
  position: relative;
  border-top: 1px solid #edf1f4;
  color: #344156;
  font-size: 13px;
}

.profit-model-candidates article:first-of-type {
  border-top: 0;
}

.profit-model-candidates article > span {
  min-width: 0;
}

.profit-model-candidates article strong,
.profit-model-snapshots article strong {
  display: block;
  color: var(--profit-ink);
  overflow-wrap: anywhere;
}

.profit-model-candidates article small,
.profit-model-snapshots article small {
  display: block;
  margin-top: 3px;
  color: #6b7a90;
  line-height: 1.35;
}

.profit-model-candidate-state {
  position: absolute;
  left: 16px;
  bottom: 5px;
  opacity: 0;
  pointer-events: none;
}

.profit-model-snapshots {
  display: grid;
}

.profit-model-snapshots article {
  padding: 16px;
  border-top: 1px solid #edf1f4;
}

.profit-model-snapshots article:first-child {
  border-top: 0;
}

.profit-model-snapshots article > div > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.profit-model-snapshots article p {
  margin: 5px 0 0;
  color: #58677d;
  font-size: 13px;
  line-height: 1.45;
}

.profit-model-snapshots dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 13px 0;
  border: 1px solid #e2e8ee;
}

.profit-model-snapshots dl div {
  min-width: 0;
  padding: 10px;
  border-right: 1px solid #e2e8ee;
}

.profit-model-snapshots dl div:last-child {
  border-right: 0;
}

.profit-model-snapshots dt {
  color: #6b7a90;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.profit-model-snapshots dd {
  margin: 4px 0 0;
  color: var(--profit-ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.profit-model-snapshots footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 12px;
}

.profit-model-empty {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  color: #64748b;
}

.profit-model-empty strong {
  color: var(--profit-ink);
}

.profit-model-empty p {
  margin: 4px 0 0;
  line-height: 1.45;
}

.profit-model-boundary {
  margin-top: 18px;
  border: 1px solid #cfd9e2;
  background: #f7fafb;
}

.profit-model-boundary p {
  margin: 0;
}

.profit-model-review > header {
  padding: 16px;
  border: 1px solid #e0e6eb;
  background: #f8fafb;
}

.profit-model-review > header strong {
  display: block;
  margin-top: 10px;
  color: var(--profit-ink);
  font-size: 18px;
}

.profit-model-review > header p {
  margin: 5px 0 0;
  color: #58677d;
  line-height: 1.45;
}

.profit-model-review__proof,
.profit-model-review__stress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  border: 1px solid #dce3e9;
}

.profit-model-review__proof > span,
.profit-model-review__stress > span {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid #dce3e9;
}

.profit-model-review__proof > span:last-child,
.profit-model-review__stress > span:last-child {
  border-right: 0;
}

.profit-model-review__proof strong,
.profit-model-review__stress strong {
  display: block;
  margin-top: 4px;
  color: var(--profit-ink);
  overflow-wrap: anywhere;
}

.profit-model-review__stress {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.profit-model-review__stress b {
  display: block;
  margin-top: 4px;
  color: #6b7a90;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .profit-model-grid {
    grid-template-columns: 1fr;
  }

  .profit-model-candidates__head {
    display: none;
  }

  .profit-model-candidates article {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .profit-model-candidates article > span::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #718096;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }
}

@media (max-width: 720px) {
  .profit-model-counts,
  .profit-model-accepted__numbers,
  .profit-model-review__proof,
  .profit-model-review__stress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profit-model-counts > span:nth-child(2),
  .profit-model-accepted__numbers > span:nth-child(2),
  .profit-model-review__proof > span:nth-child(2),
  .profit-model-review__stress > span:nth-child(2) {
    border-right: 0;
  }

  .profit-model-counts > span:nth-child(-n + 2),
  .profit-model-accepted__numbers > span:nth-child(-n + 2),
  .profit-model-review__proof > span:nth-child(-n + 2),
  .profit-model-review__stress > span:nth-child(-n + 2) {
    border-bottom: 1px solid #d9e1e8;
  }

  .profit-model-candidates article,
  .profit-model-snapshots dl {
    grid-template-columns: 1fr;
  }

  .profit-model-snapshots dl div {
    border-right: 0;
    border-bottom: 1px solid #e2e8ee;
  }

  .profit-model-snapshots dl div:last-child {
    border-bottom: 0;
  }

  .profit-model-snapshots footer,
  .profit-model-accepted > header,
  .profit-model-grid > section > header {
    align-items: stretch;
    flex-direction: column;
  }
}
