.family-view[hidden]{display:none!important}.family-view h1{overflow-wrap:anywhere}.family-tabs{display:flex;gap:8px;margin:0 0 24px;border-bottom:1px solid #dfd8cd;padding-bottom:12px}.family-tabs button{font-size:17px;min-width:88px;color:#b83919}.family-wide{display:block;width:100%;margin:12px 0;min-height:48px;white-space:normal;overflow-wrap:anywhere}.family-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0}.family-toolbar h2{font-size:18px;margin:0}.family-panel{padding:20px;background:#fffdfa;border:1px solid #e0d9ce;border-radius:16px;margin:20px 0}.family-panel>button{margin-right:12px}.family-muted{font-size:13px;color:#82857b;line-height:1.7}.family-card{display:flex;align-items:center;gap:16px;width:100%;padding:20px 16px;background:#fffdfa;border:1px solid #e0d9ce;border-radius:16px;margin:12px 0;text-align:left;color:inherit}.family-card>div{flex:1;min-width:0}.family-card strong{font-size:18px;display:block;overflow-wrap:anywhere;line-height:1.5}.family-card small{display:block;font-size:13px;line-height:1.7;color:#82857b}.family-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:50%;background:#f9e6d9;color:#bd3917;font-size:21px}.family-member{margin-bottom:18px}.family-member .family-card{margin-bottom:2px}.family-view label{display:block;margin-top:24px;font-size:15px}.family-view input{display:block;width:100%;box-sizing:border-box;margin-top:10px;min-height:48px;border:1px solid #d8d5c8;border-radius:8px;padding:12px;font:inherit;background:#fffdfa}.family-panel .family-toolbar{margin-top:0}
.family-empty-title{margin:28px 0 4px;color:#213b31;font-size:20px;font-weight:750}
/* 2026-10-14 家庭关系 */
.family-roles{border:0;padding:0;margin:24px 0 0;display:flex;flex-wrap:wrap;gap:10px}.family-roles legend{font-size:15px;margin-bottom:10px;padding:0}.family-view label.family-role{margin:0;display:inline-flex;align-items:center}.family-view .family-role input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0}.family-role span{display:inline-block;min-width:64px;min-height:44px;line-height:44px;padding:0 16px;text-align:center;border:1px solid #d8d5c8;border-radius:22px;background:#fffdfa;font-size:16px;box-sizing:border-box}.family-role input:checked+span{background:#bd3917;border-color:#bd3917;color:#fff}.family-role input:focus-visible+span{outline:2px solid #bd3917;outline-offset:2px}.family-role-missing{color:#b83919!important}.family-member-actions{display:flex;gap:16px}
/* 2026-10-23 家庭方案表 */
.family-sheet h2{margin-bottom:4px}
.family-sheet-wrap{overflow-x:auto;margin:8px -4px 0}
.family-sheet-table{width:100%;border-collapse:separate;border-spacing:4px;table-layout:fixed}
.family-sheet-table th,.family-sheet-table td{text-align:center;font-size:13px;padding:0}
.family-sheet-table thead th{color:#6b6f68;font-weight:600;padding-bottom:2px}
.family-sheet-table thead th:first-child,.family-sheet-table tbody th{text-align:left;width:76px}
.family-sheet-table tbody th strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.family-sheet-table tbody th small{display:block;font-size:12px;color:#6b6f68;font-weight:400}
.family-sheet-count,.family-sheet-add{width:100%;min-height:44px;border-radius:10px;font-size:17px;font-weight:700;cursor:pointer}
.family-sheet-count{border:1px solid #79927a;background:#edf4ee;color:#285a36}
.family-sheet-add{border:1px dashed #c9c3b6;background:#fffdf8;color:#9a9385;font-weight:400}
.family-sheet-chooser{display:grid;gap:8px;margin-top:10px;padding:12px;border:1px solid #e3ded3;border-radius:12px;background:#faf8f3}
.family-sheet-chooser[hidden]{display:none}
.family-sheet-chooser-title{margin:0;font-weight:700}
.cc-summary-member{margin:8px 0 0;font-weight:700;font-size:15px}
.family-panel .cc-summary-item{display:flex!important;grid-template-columns:none!important;gap:10px!important;align-items:flex-start!important;padding:10px 12px!important;margin:0!important;font-weight:400!important}
.family-panel .cc-summary-item input{width:20px!important;height:20px!important;min-height:0!important;flex:none;margin:1px 0 0!important;padding:0!important}
.family-panel .cc-summary-list{gap:6px}
