/* Guest Family Hub and approved FAQ; private Hub layouts keep their existing styles. */
body:has(#guestWelcome:not([hidden])){background:#faf9f6;color:#19384c}
body:has(#guestWelcome:not([hidden]))>header[data-portal-account]{position:sticky;top:0;min-height:72px;padding-block:10px;background:#fffcf8f5;backdrop-filter:blur(12px);border-bottom-color:#e6e5df}
body:has(#guestWelcome:not([hidden])) main{max-width:1120px;padding-inline:24px}
body:has(#guestWelcome:not([hidden])) .portal-current-view{display:none}
body:has(#guestWelcome:not([hidden])) footer{max-width:1072px;border-top:1px solid #e5e7e3;padding-top:22px}
/* Keep the existing feedback route available without covering Family Hub tasks. */
body.pf-enabled:has(#guestWelcome:not([hidden])),body.pf-enabled:has(#hub:not([hidden])),body.pf-enabled:has(#accessManagement:not([hidden])){padding-bottom:0!important}
body:has(#guestWelcome:not([hidden])) .pf-dock,body:has(#hub:not([hidden])) .pf-dock,body:has(#accessManagement:not([hidden])) .pf-dock{position:static;right:auto;bottom:auto;justify-content:center;margin:0 auto 20px;padding:0 18px}
.family-guest{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.family-guest-hero{padding:70px 0 48px;max-width:760px}
.family-guest-eyebrow{margin:0 0 13px;font-size:11px;line-height:1.5;letter-spacing:.15em;font-weight:750;color:#497167}
.family-guest-hero h1{font-size:clamp(34px,5vw,62px);line-height:1.08;letter-spacing:-.045em;color:#17364a;margin:0 0 18px;max-width:740px}
.family-guest-intro{font-size:clamp(16px,1.6vw,18px);line-height:1.7;color:#506677;max-width:650px;margin:0}
.family-guest-hero-actions{display:flex;align-items:center;gap:16px 24px;flex-wrap:wrap;margin-top:28px}
.family-guest-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:50px;padding:12px 20px;border:1px solid #175d65;border-radius:11px;background:#175d65;color:#fff;font-weight:700;line-height:1.4}
.family-guest-primary:hover{background:#0e4c55}
.family-guest-subtle-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:4px;color:#315f6a}
.family-guest-section-head{margin-bottom:22px}
.family-guest-section-head h2{font-size:clamp(25px,3vw,32px);line-height:1.2;letter-spacing:-.025em;color:#17364a;margin:0 0 8px}
.family-guest-section-head p:not(.family-guest-eyebrow){font-size:15px;line-height:1.65;color:#607486;margin:0;max-width:630px}
.family-guest-tasks{padding:10px 0 54px}
.family-guest-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.family-guest-task{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:180px;padding:24px 60px 22px 24px;border:1px solid #e0e6e2;border-radius:17px;background:#fff;color:#19384c;text-decoration:none;text-align:left;box-shadow:0 3px 14px #29465208}
.family-guest-task:hover,.family-guest-task:focus-visible{border-color:#8bb8ad;box-shadow:0 7px 22px #29465215}
.family-guest-task-first{background:#f0f7f2;border-color:#cfdfd3}
.family-guest-task-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:14px;border-radius:9px;background:#e6f0ec;color:#356c64;font-size:22px;font-weight:600;line-height:1}
.family-guest-task strong{font-size:18px;line-height:1.3;margin:0 0 6px}
.family-guest-task>span:not(.family-guest-task-icon){color:#607486;font-size:14px;line-height:1.55}
.family-guest-task small{margin-top:auto;padding-top:14px;color:#517665;font-size:11px;font-weight:700;letter-spacing:.025em}
.family-guest-task>b{position:absolute;right:23px;top:28px;font-size:18px;color:#4c796e;font-weight:500}
.family-guest-help{padding:42px 32px 36px;margin:0 0 56px;border:1px solid #d8e4df;border-radius:20px;background:#f4f8f5;scroll-margin-top:108px}
.family-guest-help .family-guest-section-head{margin-bottom:24px}
.ask-jumpstart-faq{max-width:800px}
.ask-search-label{display:block;font-size:13px;font-weight:700;color:#244d58}
.ask-search-label input{display:block;width:100%;min-height:48px;margin-top:8px;padding:11px 14px;border:1px solid #aebfbc;border-radius:10px;background:#fff;color:#17364a;font-size:16px}
.ask-search-label input::placeholder{color:#5f737c}
.ask-results-count{margin:10px 0 14px;color:#5c6f77;font-size:12px}
.ask-results{display:grid;gap:8px}
.ask-answer{padding:0 17px;border:1px solid #dbe6e0;border-radius:11px;background:#fff}
.ask-answer summary{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:52px;padding:13px 0;font-size:14px;line-height:1.5;font-weight:650;color:#1c4653}
.ask-answer summary::after{content:'+';font-size:20px;font-weight:400;line-height:1}
.ask-answer[open] summary::after{content:'−'}
.ask-answer[open] summary{margin-bottom:0}
.ask-answer p{font-size:14px;line-height:1.7;color:#536a74;margin:0;padding:0 0 17px;max-width:72ch}
.family-guest-help-actions{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px}
.family-guest-help-actions a,.family-guest-help-actions button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;border:0;background:transparent;color:#145b67;text-decoration:underline;text-underline-offset:3px;font-size:13px;font-weight:700}
.family-guest-preview{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px;align-items:center;padding:38px 0 62px;border-bottom:1px solid #e5e8e2}
.family-guest-preview h2{font-size:clamp(24px,3vw,32px);line-height:1.2;letter-spacing:-.025em;color:#17364a;margin:0 0 14px}
.family-guest-preview p:not(.family-guest-eyebrow){font-size:15px;line-height:1.7;max-width:50ch}
.family-guest-preview button{min-height:44px;padding:9px 0;border:0;background:transparent;color:#175d65;text-decoration:underline;text-underline-offset:4px;font-size:14px;font-weight:700}
.family-guest-sample{padding:22px;border:1px solid #d9e4e4;border-radius:17px;background:#fff;box-shadow:0 10px 30px #28475a0b}
.family-guest-sample>span{display:block;padding-bottom:14px;border-bottom:1px solid #e4eaeb;color:#426477;font-size:13px;font-weight:750}
.family-guest-sample>div{padding:14px 0;border-bottom:1px solid #edf0f0}
.family-guest-sample strong{display:block;font-size:13px;color:#244a55;margin-bottom:9px}
.family-guest-sample i{display:block;width:82%;height:9px;border-radius:9px;background:#eaf1ed;margin:6px 0}
.family-guest-sample i:last-child{width:61%}
.family-guest-sample small{display:block;color:#5f737c;font-size:10px;line-height:1.5;margin-top:12px}
.family-guest-support{padding:60px 0 55px;scroll-margin-top:108px}
.family-guest-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.family-guest-support-grid a,.family-guest-support-grid button{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:135px;padding:22px 52px 22px 22px;border:1px solid #e0e6e2;border-radius:15px;background:#fff;color:#19384c;text-align:left;text-decoration:none}
.family-guest-support-grid strong{font-size:16px;line-height:1.4;margin-bottom:8px}
.family-guest-support-grid span{color:#607486;font-size:13px;line-height:1.55}
.family-guest-support-grid b{position:absolute;top:22px;right:21px;color:#4c796e;font-weight:500}
.family-guest-support-grid a:hover,.family-guest-support-grid button:hover{border-color:#8bb8ad}
.family-guest-more{display:flex;align-items:center;gap:8px 24px;flex-wrap:wrap;border-top:1px solid #e5e8e2;padding:28px 0 36px}
.family-guest-more h2{flex-basis:100%;margin:0 0 2px;font-size:17px;color:#17364a}
.family-guest-more a,.family-guest-more button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:7px 0;border:0;background:transparent;color:#315f6a;font-size:13px;text-decoration:underline;text-underline-offset:3px;font-weight:650}
.portal-guest-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
.portal-guest-actions button{min-height:43px;border:1px solid #cddbd8;border-radius:9px;background:#fff;padding:9px 13px;color:#234e59;font-size:12px;font-weight:700}
.portal-guest-actions button:last-child{background:#175d65;color:#fff;border-color:#175d65}
.portal-guest-actions button:hover{border-color:#659d90}
.family-absence-shortcut{background:#eaf5ed;border:1px solid #cbe1d1;text-decoration:none}.family-absence-shortcut .icon{color:#28764c}
.family-help-shortcut{background:#eef6f8;border:1px solid #d2e3e8}.family-help-shortcut .icon{color:#27717a}
@media(max-width:700px){
 body:has(#guestWelcome:not([hidden])) main{padding-inline:18px}
 .family-guest-hero{padding:42px 0 32px}
 .family-guest-tasks{padding-bottom:38px}
 .family-guest-help{padding:28px 20px;margin-bottom:35px}
 .family-guest-preview{grid-template-columns:1fr;gap:22px;padding:20px 0 42px}
 .family-guest-support{padding:42px 0}
}
@media(max-width:520px){
 body:has(#guestWelcome:not([hidden]))>header[data-portal-account]{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:67px;padding:9px 14px}
 body:has(#guestWelcome:not([hidden]))>header[data-portal-account]>.jla-brand{grid-column:1;grid-row:1}
 body:has(#guestWelcome:not([hidden]))>header[data-portal-account]>.portal-guest-actions{grid-column:2;grid-row:1}
 body:has(#guestWelcome:not([hidden]))>header[data-portal-account]>.jla-brand .brand-logo{width:40px;height:40px}
 body:has(#guestWelcome:not([hidden]))>header[data-portal-account]>.jla-brand>span{font-size:13px;line-height:1.2}
 body:has(#guestWelcome:not([hidden]))>header[data-portal-account]>.jla-brand small{display:none}
 .portal-guest-actions{gap:5px}
 .portal-guest-actions button{padding:7px 8px;font-size:11px;line-height:1.2;min-height:42px;white-space:normal}
 .family-guest-task-grid,.family-guest-support-grid{grid-template-columns:1fr;gap:10px}
 .family-guest-task{min-height:148px;padding:18px 50px 18px 18px}
 .family-guest-task-icon{width:30px;height:30px;font-size:19px;margin-bottom:9px}
 .family-guest-task strong{font-size:17px}
 .family-guest-task small{padding-top:8px}
 .family-guest-hero-actions{align-items:stretch;gap:8px;flex-direction:column}
 .family-guest-primary{width:100%}
 .family-guest-subtle-link{align-self:flex-start}
 .family-guest-support-grid a,.family-guest-support-grid button{min-height:112px}
}
@media(max-width:360px){
 body:has(#guestWelcome:not([hidden]))>header[data-portal-account]{grid-template-columns:minmax(0,1fr)}
 body:has(#guestWelcome:not([hidden]))>header[data-portal-account]>.portal-guest-actions{grid-column:1;grid-row:2;width:100%}
 .portal-guest-actions button{flex:1}
}
@media(max-width:340px){body:has(#guestWelcome:not([hidden])) main{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.family-guest *{scroll-behavior:auto!important}}
