#hub .family-index-card{display:grid;gap:.35rem;padding:1rem 1.25rem;margin:.8rem 0;border:1px solid #cbd9e4;border-radius:12px;background:white}
.family-index-card h2{margin:.25rem 0}.family-index-card a,.family-program-filter button{display:inline-flex;align-items:center;min-height:44px}
.family-program-filter{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.family-program-filter [aria-pressed=true]{background:#174a7a;color:white}
#hub #childCard{position:static;max-width:100%;margin:0 0 1rem}#childCard select,#familyNewsFilter{max-width:100%;min-height:44px}
#familyNewsFilter{display:block;margin:.25rem 0 1rem}#familyNewsFilter[hidden]{display:none}
#helpView .ask-jumpstart-faq select,#programButtons .video-link,#programButtons button{min-height:44px}
#programButtons .video-link{display:inline-flex;align-items:center}
#helpView .ask-jumpstart-faq select{min-width:44px}
#helpView [data-family-sara-threads]{min-height:44px}

/* Leave the mobile Sara launcher its own space beside the two admin actions. */
@media (max-width: 640px) {
  #helpView .contact-section > a.secondary {
    display: flex;
    align-items: center;
    width: fit-content;
    min-height: 44px;
  }

  #helpView [data-family-sara-threads]:not([hidden]) {
    display: block;
    margin-block-start: .5rem;
  }
}
/* Family-only layouts inherit the authenticated Hub's palette and type scale. */
#homeView .family-home-intro {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem}
#homeView .family-home-intro h1 {margin:0}
#homeView .family-home-intro [data-family-sara-open] {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem 1rem;border:1px solid #155989;border-radius:1.5rem;background:#175b88;color:white;font:inherit;font-weight:650;cursor:pointer}
body:has(#hub:not([hidden]) #homeView:not([hidden]) [data-family-sara-open]) .family-function-help.sara-launcher {display:none}
body:has(.sara-launcher.sara-has-reply) #homeView [data-family-sara-open]::after {content:"";width:.5rem;height:.5rem;margin-left:.5rem;border-radius:50%;background:#c7ecf4}
#homeView #familyHomeOverview {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr));gap:1rem;align-items:start}
#homeView .family-home-attention {grid-column:1/-1}
#homeView .family-attention-loading {min-block-size:11.8rem;box-sizing:border-box}
@media(max-width:600px){
  #homeView #familyHomeOverview:is(:empty,:has(> .family-home-loading)){min-block-size:calc(100svh - 8rem)}
}
@media(min-width:841px){
  /* Keep the support controls in their final position while family content is pending. */
  body:is([data-pending-parent-rail],:has(.family-updates-toggle)) #familyHomeOverview:is(:empty,:has(> .family-home-loading)) {min-block-size:calc(100svh - 8rem)}
  body:is([data-pending-parent-rail],:has(.family-updates-toggle)) #newslettersView #newsletters:empty {min-block-size:calc(100svh - 12rem)}
  body:is([data-pending-parent-rail],:has(.family-updates-toggle)):has(#hub:not([hidden]) #homeView:not([hidden])):is(:has(#familyHomeOverview:empty),:has(.family-home-loading),:has(> header[data-mounting-workspace-rail])) :is(#familyAdminContact,.portal-help,footer) {visibility:hidden}
}
#homeView #familyHomeOverview section {margin:0;min-width:0}
#homeView .family-home-news {grid-column:1/-1}
#homeView #familyAdminContact {margin:1rem 0;color:var(--hub-ink,#132e42)}
#familyAdminContact>summary {cursor:pointer;font-weight:650;padding:.75rem 0}
#familyAdminContact[open]>summary {margin-bottom:.5rem}
@media(max-width:600px){#homeView #familyHomeOverview{grid-template-columns:minmax(0,1fr)}}
