/* Flexible header: tools never overflow the former fixed 95px height. */
.workspace>header{height:auto;min-height:95px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}.workspace>header>div:first-child{flex:1 1 190px}.workspace>header .header-actions{display:flex;flex:1 1 580px;max-width:100%;gap:10px;align-items:center;flex-wrap:wrap}.header-actions #guide-tools{flex:1 1 290px}.header-actions #case-select{flex:1 1 180px;width:auto;max-width:100%;min-width:0}.header-actions #access{flex:0 0 auto}#main{scroll-margin-top:20px}.section-connections{margin-top:30px;padding:24px;border-top:1px solid #d5e3f1}.section-connections h2{font-size:1.25rem;margin:8px 0 18px}.connection-links{display:flex;gap:10px;flex-wrap:wrap}.connection-links a{font-size:.86rem}.workspace-home{display:flex;gap:20px;justify-content:space-between;align-items:center;background:#eaf5ff;border:1px solid #d0e4f4;border-radius:20px;padding:20px 24px;margin-bottom:24px}.workspace-home p{margin:6px 0 0;color:#45637b}.continuity-item{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #dce8f4}.continuity-item:last-child{border-bottom:0}.continuity-item>div{min-width:0}.continuity-item h3{margin:9px 0;font-size:1rem}.continuity-item p{margin:7px 0;overflow-wrap:anywhere}.continuity-item button,.continuity-item .button{flex-shrink:0}.personal-goal{display:block;max-width:600px}.personal-goal select{display:block;width:100%;margin:8px 0}.section-connections a{white-space:normal}.workspace-home .button{text-align:center}body .button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:10px 16px;font-weight:700}
@media(max-width:1023px){.workspace>header{min-height:0}.workspace>header>div:first-child,.workspace>header .header-actions{flex:auto;width:100%}.workspace>header .header-actions{max-width:100%}.header-actions #guide-tools{flex-basis:100%}.workspace-home{align-items:stretch;flex-direction:column}.continuity-item{flex-wrap:wrap}.continuity-item>div{flex-basis:100%}.section-connections{padding:20px 0}.connection-links a{flex:1 1 140px;text-align:center}}
@media print{.section-connections,.workspace-home,.connection-links{display:none!important}}

.plan-steps{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0;color:#365b75}.plan-steps span{background:#e8f4fa;border-radius:20px;padding:8px 14px;font-size:.87rem}.plan-family{margin-top:22px;border-left:3px solid #30a8d7;padding-left:20px}.plan-version{padding:20px;background:#f5f9fd;border:1px solid #dce8f0;border-radius:16px;margin:12px 0}.plan-version h3{margin:6px 0 10px}.plan-history{padding:10px 0}.plan-history summary{cursor:pointer;color:#0167a4;font-weight:600}.plan-version.historical{background:#fafbfc}.empty-plan{padding:14px 0}#practice-plan{width:100%;max-width:560px}@media(max-width:1023px){.plan-family{padding-left:10px}.plan-version{padding:14px}.plan-steps{gap:6px}.plan-steps span{font-size:.8rem}}
