.family-goals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.family-goal{border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0}
.family-goal .row>span{font-variant-numeric:tabular-nums}
.family-goal p{margin:6px 0;font-size:.88rem;line-height:1.4}
.family-goal progress{display:block;width:100%;height:12px;accent-color:var(--accent)}
.family-goals>p,.family-goals #family-goals-results>p{line-height:1.45}
@media(max-width:400px){.family-goals-grid{grid-template-columns:1fr}}

.goal-preferences{display:flex;flex-wrap:wrap;gap:12px;border:0;padding:0;margin:10px 0;color:var(--text)}
.goal-preferences legend{font-weight:600;margin-bottom:6px}.goal-preferences label{display:flex;align-items:center;gap:6px}.goal-preferences input{accent-color:var(--accent)}

.goal-history{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--line)}
.goal-history h3{margin:0 0 .35rem}.goal-history p{line-height:1.45}
.goal-history form{display:flex;flex-wrap:wrap;align-items:end;gap:.75rem}.goal-history form label{flex:1 1 12rem}
