.weight-intro {
  max-width: 65ch;
  margin: 1.4rem 0 2.3rem;
  font-size: 1.12rem;
  line-height: 1.55;
}
.weight-form,
.weight-result {
  max-width: 63rem;
}
.weight-card,
.weight-result {
  min-width: 0;
  margin: 0 0 1.2rem;
  padding: 1.25rem;
  border: 1px solid #c4cfd2;
  border-radius: .35rem;
  background: var(--white);
}
.weight-card legend {
  padding: 0 .45rem;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
}
.weight-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .9rem;
  align-items: end;
}
.weight-fields label {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}
.weight-fields input,
.weight-fields select {
  display: block;
  width: 100%;
  min-height: 2.8rem;
  margin-top: .35rem;
  padding: .5rem;
  border: 1px solid #7c8b92;
  border-radius: .2rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.weight-card p { margin-bottom: 0; line-height: 1.5; }
.weight-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.weight-form button {
  padding: .7rem 1rem;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}
.weight-form .weight-calculate { background: var(--brand-yellow); color: var(--brand-ink); }
.remove-group { margin-top: .9rem; }
.weight-result { margin-top: 1.5rem; border-top: 4px solid var(--brand-yellow); }
.weight-result button { border-radius: 4px; }
.weight-result h2 { margin: 0; }
.weight-result dl { display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.weight-result dd { margin: .25rem 0 0; font-size: 1.4rem; font-weight: 700; }
.weight-result ul { padding-left: 1.2rem; line-height: 1.5; }
