.direction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}.direction-card{padding:28px}.direction-card h2{font-size:24px;line-height:1.2;margin:12px 0}.direction-card h3{font-size:14px;margin-top:24px}.direction-card ul{padding-left:20px;line-height:1.9}.direction-card summary{cursor:pointer;color:#28523e;font-weight:600;padding:14px 0}.scale-reference{padding:16px 0;border-top:1px solid #e0e5de}.scale-reference p{font-size:13px;line-height:1.6}.scale-reference a{font-size:13px;color:#28523e}.rehab-hero{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:28px;background:#eef3e9;margin:24px 0}.rehab-hero h2{font-size:28px;margin:10px 0}.rehab-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px}.rehab-metric{padding:20px;border:1px solid #e0e5de;border-radius:12px;min-width:0}.rehab-metric h3{font-size:15px;font-weight:500;line-height:1.5}.rehab-metric>strong{font-size:27px;color:#224e38}.rehab-metric svg{width:100%;display:block;margin-top:10px}.rehab-entry{padding:22px;border-top:1px solid #e0e5de}.rehab-entry .panel-title{padding:0 0 15px}.rehab-observations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rehab-observations small,.rehab-observations strong{display:block}.rehab-observations small{color:#677569;line-height:1.5;margin-bottom:7px}.rehab-observations strong{font-size:18px}#id_specialties,#id_directions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#id_specialties label,#id_directions label{display:flex;align-items:flex-start;gap:9px;padding:10px;background:#f3f5ef;border-radius:8px;font-size:13px;line-height:1.5;font-weight:400}#id_specialties input,#id_directions input{width:17px;height:17px;flex:none;margin-top:2px}.auth-layout .auth-card:has(#id_directions){max-width:560px}.auth-layout:has(#id_directions) .auth-panel{align-items:flex-start;padding-top:48px;padding-bottom:48px}.survey-form .help{font-size:13px;color:#66766c;line-height:1.5}.direction-preview{margin:16px 0}.rehab-entry p{font-size:14px}.rehab-entry .preline{white-space:pre-wrap}
@media(max-width:850px){.direction-grid,.rehab-metrics{grid-template-columns:1fr}.rehab-hero{display:block}.rehab-hero .button{margin-top:16px}.rehab-observations{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#id_specialties,#id_directions{grid-template-columns:1fr}.direction-card,.rehab-hero{padding:20px}.rehab-metrics{padding:14px}.rehab-observations{grid-template-columns:1fr}.rehab-entry .panel-title{align-items:flex-start;flex-direction:column;gap:8px}}
@media(min-width:651px){.auth-layout:has(#id_directions) .auth-story{position:sticky;top:0;height:100vh;justify-content:flex-start}.auth-layout:has(#id_directions) .story-body{margin:auto 0}}

/* Compact chart cards; guidance appears only in the help dialog. */
.chart-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-height:44px}.chart-card-heading h3{margin:0;flex:1}.chart-help-button,.chart-help-close{flex:none;display:grid;place-items:center;width:30px;height:30px;border:1px solid #cfdbd1;border-radius:50%;background:#f5f8f3;color:#32644e;font-weight:600;cursor:pointer}.chart-help-button:hover{background:#e3eee2}.chart-value{font-size:25px;color:#224e38;font-weight:600;margin:14px 0 0}.chart-value small{font-size:12px;color:#68776d;font-weight:400;margin-left:5px}.rehab-metric [data-rehab-chart],.rehab-metric [data-assessment-chart]{position:relative}.chart-point-tooltip{position:absolute;left:8%;right:3%;bottom:38px;padding:12px 35px 12px 14px;border:1px solid #cfdbd1;border-radius:10px;background:#fff;box-shadow:0 5px 22px #173f3026;font-size:13px;z-index:2}.chart-point-tooltip[hidden]{display:none}.chart-point-tooltip button{position:absolute;right:7px;top:6px;border:0;background:transparent;color:#32644e;font-size:20px}.chart-help-dialog{width:min(600px,calc(100vw - 32px));max-height:80vh;box-sizing:border-box;border:1px solid #d5dfd5;border-radius:16px;background:#fff;color:#263a32;padding:25px;overflow:auto;box-shadow:0 20px 70px #173f3033}.chart-help-dialog::backdrop{background:#172c2466}.chart-help-heading{display:flex;gap:16px;align-items:flex-start;margin-bottom:20px}.chart-help-heading h2{flex:1;line-height:1.4}.chart-help-dialog p,.chart-help-dialog li{font-size:14px;line-height:1.6}.chart-help-dialog h3{font-size:15px;margin:18px 0 10px}.chart-help-dialog a{color:#22674a;text-decoration:underline}.chart-point-records{border-top:1px solid #e2e9e2;margin-top:20px}.rehab-metric svg [role=button]{cursor:pointer}.rehab-metric svg [role=button]:focus{outline:2px solid #32644e;outline-offset:3px}
