/* Parent-facing dashboard shell. Does not apply to sign-in. */
body.parent-wellness:has(.pd-shell){background:#f7f5ef;color:#173f3c}
.pd-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.pd-sidebar{background:#fffefa;border-right:1px solid #e4e9e2;padding:32px 18px 20px;display:flex;flex-direction:column;gap:24px}.pd-brand{display:flex;align-items:center;gap:12px;color:#174641;font-weight:700;font-size:14px}.pd-brand img{width:70px;height:70px;object-fit:contain}.pd-brand span{border-left:1px solid #d7e4dc;padding-left:12px}.pd-side-label{display:block;color:#77918a;font-size:10px;font-weight:800;letter-spacing:1.2px;margin-bottom:8px}.pd-current-child,.pd-child-list{padding:0 8px}.pd-current-child strong{font-size:14px;overflow-wrap:anywhere}.pd-child-links{display:grid;gap:4px;max-height:180px;overflow-y:auto}.pd-child-links a{font-size:13px;padding:8px 10px;border-radius:8px;color:#496861;overflow-wrap:anywhere}.pd-child-links a[aria-current]{background:#e6f2e9;color:#164d42;font-weight:700}.pd-nav{display:grid;gap:6px}.pd-nav a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;font-size:14px;font-weight:600;color:#536c66;min-height:46px}.pd-nav a:hover{background:#eef5ef}.pd-nav a[aria-current]{background:#164e4c;color:#fff}.pd-nav svg,.pd-signout svg{width:19px;height:19px}.pd-signout{margin-top:auto}.pd-signout button{display:flex;align-items:center;gap:12px;background:none;border:0;color:#59736c;font:inherit;font-size:14px;cursor:pointer;padding:12px;min-height:44px}.pd-content{min-width:0}.parent-wellness .pd-content .parent-main{max-width:1250px;margin:0 auto;padding:44px clamp(22px,4vw,55px) 50px;min-height:80vh}.pd-content .parent-footer{border:0}.pd-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.pd-heading h1,.parent-wellness .pd-family h1{font-size:clamp(29px,3vw,40px);letter-spacing:-1.3px;line-height:1.15;margin:4px 0 10px;color:#173f3c}.pd-heading p:not(.pd-eyebrow),.pd-family p:not(.pd-eyebrow){color:#71817b;font-size:14px;margin:0}.pd-heading .parent-badge{white-space:nowrap}.pd-eyebrow{font-size:10px!important;font-weight:800;letter-spacing:1.4px;color:#4c9870;margin:0 0 7px}.parent-wellness .pd-completion{padding:24px 26px;margin-bottom:30px;border-radius:16px}.pd-completion h2,.pd-section-heading h2{margin:0!important;font-size:20px!important}.pd-completion p:not(.pd-eyebrow){font-size:13px;color:#728680;margin:5px 0 0}.pd-checks{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:20px}.pd-check{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700}.pd-check b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e4eee9;color:#66827a}.pd-check.complete b{background:#dceddf;color:#398a56}.pd-check.attention b{background:#ffedcb;color:#a16b1c}.pd-check small{font-weight:400;color:#728680}.pd-dashboard-grid{display:grid;grid-template-columns:minmax(230px, .8fr) minmax(0,1.4fr);gap:24px}.pd-section-heading{margin:0 0 14px}.parent-wellness .pd-measurement{padding:17px 20px;border-radius:15px;margin-bottom:12px;display:grid;gap:2px}.pd-measurement span{font-size:13px;color:#667d77}.pd-measurement strong{font-size:27px;line-height:1.25;color:#173f3c}.pd-measurement small{color:#6b807a;font-size:12px}.parent-wellness .pd-status{padding:20px;border-radius:15px}.pd-status h2{font-size:17px;margin:0 0 12px}.pd-status>div{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf1ed;padding:11px 0;font-size:13px}.pd-status-pill{font-size:11px;padding:4px 8px;border-radius:20px;background:#eef1ee;color:#6d7c77;white-space:nowrap}.pd-status-pill.complete{background:#e3f3e7;color:#367b4c}.pd-status-pill.attention{background:#fff0d6;color:#956418}.parent-wellness .pd-chart-panel{border-radius:16px;padding:22px}.pd-chart-panel h3{font-size:17px}.pd-chart-panel .pw-section{margin:10px 0 0}.pd-chart-panel .pw-section-title{display:none}.pd-chart-panel .pw-trend-list{display:grid;grid-template-columns:1fr;gap:10px}.pd-chart-panel .pw-trend-card{box-shadow:none;border:1px solid #e6eee9;padding:12px}.pd-chart-panel .pw-trend-card svg{max-height:125px}.pd-next{background:#fbefd9;border-radius:16px;padding:20px 22px;color:#705636}.pd-next h2{font-size:17px;margin:0 0 6px}.pd-next p{font-size:13px;line-height:1.6;margin:0 0 8px}.pd-next a{color:#315f53;font-weight:700;font-size:13px;text-decoration:underline}.pd-family{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.pd-family>span{font-size:12px;color:#658078;white-space:nowrap}.pd-family-list{display:flex;gap:10px;overflow-x:auto;padding:0 0 12px;margin-bottom:32px}.pd-family-child{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e1eae2;border-radius:12px;padding:12px;min-width:190px}.pd-family-child[aria-current]{border-color:#4a9d70;box-shadow:0 0 0 1px #4a9d70}.pd-family-child strong,.pd-family-child small{display:block}.pd-family-child strong{font-size:13px}.pd-family-child small{font-size:11px;color:#748780}.pd-family-child .parent-avatar{width:36px;height:36px;font-size:13px;flex:none}
@media(max-width:800px){.pd-shell{display:block}.pd-sidebar{padding:12px 18px;gap:12px;border-right:0;border-bottom:1px solid #e4e9e2}.pd-brand img{width:50px;height:50px}.pd-current-child,.pd-child-list{padding:0}.pd-child-links{display:flex;max-height:none;overflow-x:auto}.pd-child-links a{white-space:nowrap}.pd-nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:3px}.pd-nav a{white-space:nowrap;padding:10px 12px;font-size:13px}.pd-signout{position:absolute;right:18px;top:16px}.pd-signout button{font-size:12px}.parent-wellness .pd-content .parent-main{padding:30px 20px 40px}.pd-heading{flex-wrap:wrap}.pd-dashboard-grid{grid-template-columns:1fr}.pd-measurements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pd-measurements .pd-section-heading,.pd-measurements .pd-status{grid-column:1/-1}.parent-wellness .pd-measurement{margin:0;padding:14px}.pd-measurement strong{font-size:21px}.pd-family{align-items:start;flex-direction:column;gap:8px}}
@media(max-width:440px){.pd-measurements{grid-template-columns:1fr}.pd-measurements .pd-section-heading,.pd-measurements .pd-status{grid-column:auto}.pd-checks{gap:10px}.pd-heading h1,.parent-wellness .pd-family h1{font-size:28px}.parent-wellness .pd-content .parent-main{padding-left:16px;padding-right:16px}}
.pd-past-response{border-top:1px solid #e2ebe5;padding:14px 0}.pd-past-response summary{cursor:pointer;font-weight:700;color:#235c52;min-height:44px}.pd-answer{padding:8px 0;border-top:1px solid #eff3ef;font-size:14px}.pd-answer p{margin:5px 0;color:#5d766f;white-space:pre-wrap;overflow-wrap:anywhere}
.pd-family-overview{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 16px;font-size:13px;color:#607b72}.pd-family-overview strong{color:#194b42}.pd-family-overview a{text-decoration:underline;color:#195c52}
