/* Narrowly scoped to the direct recommendation result summary.
   Do not change the course-conditions summary, data, or recommendation logic. */
#planResults > dl.plan-condition-summary {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) repeat(4,minmax(0,1fr));
  gap: 0;
  margin: 14px 0 30px;
  padding: 0;
  background: #e8ede4;
  border: 1px solid #ccd5c9;
  color: #203b30;
  box-sizing: border-box;
}
#planResults > dl.plan-condition-summary > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 76px;
  padding: 14px clamp(14px,2vw,28px);
  border-inline-start: 1px solid #ccd5c9;
}
#planResults > dl.plan-condition-summary > div:first-child { border-inline-start: 0; }
#planResults > dl.plan-condition-summary dt {
  margin: 0;
  color: #53664e;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.015em;
}
#planResults > dl.plan-condition-summary dd {
  margin: 5px 0 0;
  color: #1f3a2e;
  font-size: clamp(17px,1.55vw,23px);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  word-break: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  #planResults > dl.plan-condition-summary {
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin: 12px 0 24px;
  }
  #planResults > dl.plan-condition-summary > div {
    min-height: 62px;
    padding: 12px 14px;
    border-inline-start: 0;
    border-top: 1px solid #ccd5c9;
  }
  #planResults > dl.plan-condition-summary > div:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 54px;
    border-top: 0;
  }
  #planResults > dl.plan-condition-summary > div:nth-child(odd):not(:first-child) { border-inline-start: 1px solid #ccd5c9; }
  #planResults > dl.plan-condition-summary dt { font-size: 11px; }
  #planResults > dl.plan-condition-summary dd { font-size: 18px; margin-top: 4px; }
  #planResults > dl.plan-condition-summary > div:first-child dd { margin-top: 0; text-align: right; }
}
