.family-site{color-scheme:dark;background:#0e1420;color:#e7effa;font:16px system-ui,sans-serif;margin:0;min-height:100vh}
.family-site *{box-sizing:border-box}
.family-head{padding:1rem max(1rem,calc((100vw - 950px)/2));background:#152131;display:flex;justify-content:space-between;gap:1rem}
.family-shell{max-width:980px;margin:auto;padding:1rem}
.family-shell a,.family-head a{color:#a0ecce;text-underline-offset:4px}
.family-site h1{font-size:clamp(1.65rem,4vw,2.5rem)}
.family-shell :is(h2,h3){margin:.25rem 0}
.family-shell :is(.card,form,details){margin:1rem 0;padding:1rem;border:1px solid #3e546b;background:#182333;border-radius:.75rem;min-width:0}
.family-shell label{display:grid;gap:.3rem;margin:.55rem 0}
.family-shell label:has(input[type=checkbox]){display:flex;align-items:center;gap:.6rem}
.family-shell :is(input,select,textarea){font:inherit;padding:.55rem;max-width:100%;color:inherit;border:1px solid #56708a;background:#0e1a2a;border-radius:.4rem}
.family-shell button{font:inherit;padding:.55rem .7rem;margin:.18rem;color:#091719;background:#9fe8c7;border:1px solid transparent;border-radius:.4rem;min-height:42px;cursor:pointer}
.family-shell button:disabled{opacity:.55}
.family-shell [role=tab][aria-selected=true]{outline:2px solid #e5f1ff;background:#c6f7dd}
.family-shell :is(nav,.row){display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.family-shell :is([data-family-status],#status){color:#b9e7cd;min-height:1.4em}
.family-shell canvas{width:100%;max-width:600px;height:auto;background:white;border-radius:.5rem;touch-action:none}
.family-shell pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#c6dbef}
.family-shell :is(.policy-text,#policy p){white-space:pre-wrap;line-height:1.55;overflow-wrap:anywhere}
.family-shell .child-tabpanel{min-width:0}
@media print{
 body:has(.family-consent-sheet) :not(.family-consent-sheet,.family-consent-sheet *,:has(.family-consent-sheet)){display:none!important}
 body:has(.family-consent-sheet),body:has(.family-consent-sheet) :has(.family-consent-sheet),.family-consent-sheet{color:black!important;background:white!important;border:0!important;margin:0!important;padding:0!important;max-width:none!important}
 .family-consent-sheet a{color:black!important}
}

.family-shell .family-team {border-top:4px solid #92e7c0;background:linear-gradient(145deg,#19372f,#182333 62%)}
.family-shell .family-tools,.family-shell .family-roster {display:flex;gap:.5rem;align-items:center}
.family-shell .family-tools button {background:transparent;border-color:#718b91;color:#e3f7ed}
.family-shell .family-roster {overflow-x:auto;padding:.3rem 0 .65rem}
.family-shell .family-roster button {display:flex;align-items:center;gap:.5rem;flex:none;background:#172734;color:#f3f8fa;border-color:#698189;max-width:100%;overflow-wrap:anywhere}
.family-shell .family-roster [aria-pressed=true] {border:2px solid #9fe8c7;background:#234737}
.family-shell .family-initial {display:grid;place-items:center;background:#f6bf83;color:#222c34;border-radius:50%;width:2rem;height:2rem;font-weight:700;flex:none}
.family-shell .family-roster button:nth-child(even) .family-initial {background:#a9d9f1}
.family-shell summary,.family-shell button {min-height:44px}
.family-shell summary {cursor:pointer;align-content:center;font-weight:650}
.family-shell summary:focus-visible,.family-shell button:focus-visible,.family-shell a:focus-visible {outline:3px solid #f6bf83;outline-offset:2px}
.family-shell form {padding:.5rem 0;border:0;background:transparent}
.family-shell details > summary:only-child,.family-shell form:has(> button:only-child){margin:0}
.family-shell [data-family-content] > .card > a {display:inline-block;padding:.65rem}
@media(max-width:600px){
 .family-shell{padding:.7rem}.family-shell .card,.family-shell details {padding:.75rem;margin:.65rem 0}
 .family-shell form button[type=submit],.family-shell label :is(input:not([type=checkbox]),select,textarea){width:100%;box-sizing:border-box}
 .family-shell .family-tools{justify-content:flex-start}.family-shell [role=status]:empty{display:none}
}
.family-shell .family-sections{display:flex;flex-wrap:wrap;gap:.3rem}
.family-sections button[aria-pressed=false]{background:#1c3040;color:#ecf5f3;border-color:#54706d}
.family-sections button[aria-pressed=true]{box-shadow:inset 0 -3px #299361}
