/* Existing Family colors and controls, with space for real team introductions. */
body:not(.social-ready) #family-programs-home,body:not([data-social-page=home]) #family-programs-home{display:none!important}
.family-programs-home{display:grid;gap:14px;margin:0 0 24px}
.program-card{min-width:0;border:1px solid var(--family-line,#e9e9eb);border-radius:16px;padding:18px;background:#fff;overflow-wrap:anywhere}
.program-card h3,.program-preview h3{margin:0 0 8px;font-size:19px;line-height:1.35}
.program-eyebrow{margin:0 0 8px;color:var(--family-red,#cf1424);font-size:10px;font-weight:600;letter-spacing:.09em}
.program-card>p:not(.program-eyebrow){margin:8px 0;font-size:14px;line-height:1.6}
.program-note{white-space:pre-wrap;overflow-wrap:anywhere}
.program-meta{display:block;margin-top:3px;font-size:12px;color:var(--family-muted,#686b70)}
.program-help,.program-optional,.program-empty{color:var(--family-muted,#686b70);font-size:14px;line-height:1.6}
.program-person{min-height:44px;padding:6px 0;background:none;border:0;font-size:inherit;font-weight:600;text-align:left;color:var(--family-ink,#202124)}
.program-person:hover{text-decoration:underline}
.program-welcome{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--family-line,#e9e9eb)}
.program-welcome>div{min-width:0;flex:1}
.program-welcome .text-btn{flex:none;max-width:40%;text-align:right;font-size:13px;padding:6px 0}
.program-welcome .program-help,.program-welcome .program-note{margin:4px 0;font-size:14px}
.program-welcome .program-help .program-person{font-size:14px;min-height:36px}
.program-welcome .program-person{min-height:36px}
.program-highlight-posts{display:grid;gap:0;margin:10px 0}
.program-highlight-post{display:flex;flex-direction:column;gap:4px;width:100%;min-height:44px;padding:12px 0;border:0;border-top:1px solid var(--family-line,#e9e9eb);background:#fff;text-align:left;overflow-wrap:anywhere}
.program-highlight-post strong{font-size:14px;font-weight:600}
.program-highlight-post>span{font-size:14px;font-weight:400;line-height:1.5;color:var(--family-muted,#686b70);white-space:pre-wrap}
.program-highlight-post small{font-size:12px;color:var(--family-red,#cf1424);font-weight:500}
.program-highlight-post:hover small{text-decoration:underline}
.family-programs{margin:28px 0;scroll-margin-top:20px}
.program-heading h2{font-size:22px;line-height:1.3;margin:0 0 8px}
.program-heading p{font-size:14px;color:var(--family-muted,#686b70);margin:0 0 16px}
#family-programs-content{display:grid;gap:16px}
#family-programs-status:not(:empty){font-size:14px;color:var(--family-muted,#686b70);margin:12px 0}
.program-progress{font-weight:600;color:var(--family-red,#cf1424)}
.program-checklist{display:grid;gap:4px;margin:10px 0}
.program-check{display:flex;align-items:center;gap:12px;min-height:48px;line-height:1.4;padding:8px 0;cursor:pointer;font-size:15px}
.program-check input{flex:0 0 20px;margin:0}
.program-check input:checked+span{color:var(--family-muted,#686b70)}
.program-training{display:block;font-size:13px;min-height:44px;padding:8px 0 8px 32px;text-decoration:none}
.program-training:hover{text-decoration:underline}
#program-checklist-status{font-size:13px;margin:8px 0 0;color:var(--family-muted,#686b70)}
.program-admin{margin-top:18px;border:1px solid var(--family-line,#e9e9eb);border-radius:14px;padding:16px;scroll-margin-top:20px;background:white}
.program-admin>summary{font-size:16px;min-height:44px;cursor:pointer;font-weight:500;display:list-item;align-content:center}
.program-admin>p{margin:4px 0 18px}
.program-admin fieldset{margin:0;padding:0;min-width:0;border:0}
.program-admin form label:not(.program-candidate){display:block;font-size:14px;font-weight:500;margin:16px 0 6px}
.program-admin :is(select,textarea,input:not([type=checkbox])){width:100%;display:block}
.program-admin textarea{resize:vertical;line-height:1.6}
.program-admin .program-optional{font-size:12px;font-weight:400}
.program-preview{border:1px solid var(--family-line,#e9e9eb);border-radius:12px;margin:18px 0;padding:16px;background:#fff}
.program-preview>p{font-size:14px;margin:6px 0}
.program-preview .program-eyebrow{font-size:10px}
.program-preview:focus{outline:2px solid var(--family-red,#cf1424);outline-offset:3px}
.program-error:not(:empty){color:#a91424;font-size:14px;margin:12px 0}
.program-error:empty{margin:0}
#program-candidate-status{font-size:14px;color:var(--family-muted,#686b70);margin:18px 0 10px}
#program-highlight-candidates{max-height:360px;overflow:auto;border-top:1px solid var(--family-line,#e9e9eb);scrollbar-width:thin}
#program-highlight-candidates:empty{border:0}
.program-candidate{display:flex;gap:12px;align-items:flex-start;min-height:48px;padding:14px 0;border-bottom:1px solid var(--family-line,#e9e9eb);cursor:pointer;overflow-wrap:anywhere}
.program-candidate input{flex:0 0 20px;margin:3px 0 0}
.program-candidate>span{min-width:0;display:grid;gap:5px}
.program-candidate strong{font-size:14px;font-weight:600}
.program-candidate span span{font-size:14px;line-height:1.5;color:var(--family-muted,#686b70);white-space:pre-wrap}
.program-candidate small{font-size:12px;color:var(--family-muted,#686b70)}
.program-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.program-form-actions button{flex:1;min-width:135px;font-size:14px;padding-inline:12px}
.program-admin fieldset:disabled .program-candidate{cursor:default}
.family-programs .text-btn,.family-programs-home .text-btn{min-height:44px;text-align:left;padding-inline:0}
@media(max-width:480px){.program-card{padding:16px}.program-admin{padding:14px}.program-welcome{align-items:flex-start}.program-welcome .text-btn{max-width:35%}.program-heading h2{font-size:21px}.program-form-actions{flex-direction:column}.program-form-actions button{width:100%}.program-candidate{gap:10px}}
