.parents {
  width: min(820px, 100%);
  margin: 8px auto 24px;
  padding: 20px;
}

.parents__section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 0;
  border-top: 2px solid #eceff1;
}

.parents__heading {
  margin: 0;
  font-size: 1.3rem;
}

.parents__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.1rem;
}

.parents__checkbox {
  width: 26px;
  height: 26px;
}

.parents__reset {
  border-color: var(--color-wrong);
  color: var(--color-wrong);
}

.parent-stats__section {
  padding: 16px 0;
  border-top: 2px solid #eceff1;
}

.parent-stats__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.parent-stats__list-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
}

.parent-stats__list-item:nth-child(odd) {
  background: #fff3e0;
}

.parent-stats__item-text {
  font-weight: 700;
}

.parent-stats__group {
  margin: 8px 0;
  border-radius: 12px;
  background: #f5f5f5;
}

.parent-stats__summary {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.parent-stats__summary::-webkit-details-marker {
  display: none;
}

.parent-stats__tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}

.stats-item {
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 700;
}

.stats-item--good {
  background: #c8e6c9;
}

.stats-item--medium {
  background: #fff59d;
}

.stats-item--low {
  background: #ffcdd2;
}

.stats-chart svg {
  width: 100%;
  height: auto;
  max-height: 260px;
}

.stats-chart__bar {
  fill: var(--color-secondary);
}

.stats-chart__value,
.stats-chart__label {
  font-size: 13px;
  text-anchor: middle;
  fill: var(--color-text);
}
