.family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;margin:16px 0}.family-word{border:1px solid #d5e4de;border-radius:14px;padding:16px;background:#f5faf7;min-width:0}.family-word strong{font-size:1.125rem;line-height:1.5;overflow-wrap:anywhere}.family-word p{margin:8px 0 12px;line-height:1.6}.family-tree-scroll{overflow-x:auto;border:1px solid #d5e4de;border-radius:16px;margin:20px 0;background:white}.family-tree-scroll svg{display:block;width:100%;min-width:920px;height:auto}.family-relations{padding-left:22px}.family-relations li{margin:12px 0;line-height:1.7}#family-lesson .section-card>p{line-height:1.8}#family-lesson summary{cursor:pointer;font-size:1rem;font-weight:600;padding:12px 0}#family-lesson h3{margin-top:24px}
