/* Scoped family and device flows; inherit the site's chosen appearance. */
body .family-flow{overflow-wrap:anywhere;scroll-margin-top:24px}
body .family-flow>summary{font-size:clamp(22px,3vw,30px);line-height:1.25;min-height:48px;padding:8px 0}
body .family-flow .family-lead{font-size:clamp(19px,2.4vw,24px);line-height:1.4;margin:20px 0}
body .family-steps{list-style:none;counter-reset:family-step;display:grid;gap:12px;padding:0;margin:22px 0}
body .family-steps li{counter-increment:family-step;display:grid;grid-template-columns:32px 1fr;align-items:start;gap:12px;line-height:1.5;min-width:0}
body .family-steps li:before{content:counter(family-step);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--line,#cbd6cf);font-size:14px;font-weight:750}
body .family-seat{margin:20px 0;padding:20px;border:1px solid var(--line,#cbd6cf);border-radius:20px;min-width:0}
body .family-seat h3{margin:0 0 12px}
body .family-flow .family-state{font-weight:750;font-size:18px}
body .family-flow .family-actions{display:flex;gap:10px;flex-wrap:wrap}
body .family-flow .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;white-space:normal;text-align:center;line-height:1.4}
body .family-flow .family-primary{width:100%;background:var(--quick-forest,#173f35);color:var(--quick-paper,#fffdf5);border:1px solid var(--quick-forest,#173f35);padding:14px 20px;font-size:18px;font-weight:750}
body #private .family-flow .button.family-secondary{background:transparent!important;color:inherit!important;border:1px solid var(--line,#cbd6cf)!important}
body .family-flow .family-consent{display:block;line-height:1.6;margin:20px 0 12px}
body .family-flow .family-consent input{width:20px;height:20px;vertical-align:middle;margin-right:6px;accent-color:var(--ink,#173f35)}
body .family-flow :is(.family-settings,.family-manual){padding:16px 0;margin-top:8px;border-top:1px solid var(--line,#cbd6cf);border-bottom:0}
body .family-flow :is(.family-settings,.family-manual)>summary{min-height:44px;align-content:center;font-size:16px}
body .family-flow textarea{display:block;width:100%;max-width:100%;padding:12px;border:1px solid var(--line,#cbd6cf);border-radius:12px;font:inherit;background:transparent;color:inherit;resize:vertical;overflow-wrap:anywhere}
body .family-flow .family-feedback{font-size:16px;line-height:1.5}
body .family-flow .family-feedback:empty{display:none}
body .family-flow .client-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
body .family-flow .client-picker>:is(p,details,input,a,button){grid-column:1/-1}
body .family-flow .client-picker select{width:100%;min-width:0;max-width:100%;font:inherit;min-height:48px}
body .family-flow .client-picker .quick-main{background:var(--quick-forest,#173f35);color:var(--quick-paper,#fffdf5);width:100%;font-size:18px;border:1px solid var(--quick-forest,#173f35)}
body #private .family-flow .client-picker>.quick-install{background:transparent!important;color:inherit!important;border:1px solid var(--line,#cbd6cf)!important}
body #profile-form #profile-device{min-height:48px}
body :is(.family-primary,.family-secondary,#profile-device):focus-visible{outline:3px solid #c68a28;outline-offset:3px}
@media(max-width:600px){body .family-seat{padding:16px}body .family-flow .client-picker{grid-template-columns:1fr}body .family-flow .button{width:100%;margin-right:0}}
@media(prefers-reduced-motion:no-preference){body .family-flow{animation:family-arrive .28s ease-out}@keyframes family-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
