@layer legacy{.patient-progress-workspace{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:1.5rem;margin:2rem 0;display:grid}.patient-progress-workspace--plan{grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr)}.patient-progress-workspace--plan .progress-trend-panel{grid-column:1/-1}.patient-shell .progress-panel{color:#302c38;background:#fff;border-color:#e2dde7}.patient-shell .progress-calendar-days button[aria-pressed=true]{background:#7556a7;border-color:#7556a7}.patient-shell .chart-series{stroke:#8161a8}.patient-shell .chart-dot{fill:#8161a8}.patient-shell .chart-dot--estimated{fill:#fff;stroke:#8161a8}.patient-progress-workspace--plan .progress-trend-panel>label{max-width:680px}.patient-progress-workspace--plan .exercise-progress-chart svg{max-height:320px}.progress-panel{color:#23332e;background:#fffefb;border:1px solid #dce2da;border-radius:20px;min-width:0;padding:1.5rem}.progress-panel h2{margin:.25rem 0 1.25rem;font-size:1.5rem}.progress-panel h3{margin:.5rem 0;font-size:1rem}.progress-panel label,.progress-metric-editor label{flex-direction:column;gap:.4rem;margin:.8rem 0;font-size:.9rem;font-weight:600;display:flex}.progress-panel select,.progress-panel input,.progress-metric-editor input,.progress-metric-editor select,.progress-metric-editor textarea{color:#23332e;width:100%;min-width:0;min-height:46px;font:inherit;background:#fff;border:1px solid #c5cec4;border-radius:8px;padding:.65rem}.progress-panel button:focus-visible,.progress-panel summary:focus-visible{outline-offset:3px;outline:3px solid #19785b}.progress-month-nav{justify-content:space-between;align-items:center;gap:1rem;margin:.5rem 0 1rem;display:flex}.progress-month-nav .button{min-width:44px;min-height:44px;padding:.5rem}.progress-calendar-weekdays,.progress-calendar-days{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.progress-calendar-weekdays{color:#657264;margin-bottom:.4rem;font-size:.78rem}.progress-calendar-days button{min-width:0;min-height:48px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex}.progress-calendar-days button:hover:not(:disabled){background:#f0f3ec}.progress-calendar-days button:disabled{opacity:.28;cursor:default}.progress-calendar-days button[aria-current=date]{border-color:#8d9c8f;font-weight:700}.progress-calendar-days button[aria-pressed=true]{color:#fff;background:#244f40;border-color:#244f40}.progress-day-markers{gap:3px;min-height:8px;display:flex}.activity-marker{border-radius:50%;flex:none;width:7px;height:7px;display:inline-block}.activity-marker--system{background:#298661}.activity-marker--reported{background:#b97a31;border-radius:1px}.activity-marker--not-done{background:#815576;width:6px;height:6px;transform:rotate(45deg)}.activity-marker--planned{background:0 0;border:1px solid #6b786b}[aria-pressed=true] .activity-marker{outline:1px solid #fff}.progress-legend{color:#526252;flex-wrap:wrap;gap:.6rem 1rem;margin:1rem 0;font-size:.76rem;display:flex}.progress-legend span{align-items:center;gap:6px;display:flex}.progress-caption{color:#61705f;font-size:.78rem;line-height:1.55}.progress-day-detail{border-top:1px solid #e0e5db;margin-top:1rem;padding-top:.8rem}.progress-day-detail article{border-bottom:1px solid #edf0e8;padding:.8rem 0}.progress-day-detail article p{margin:.45rem 0 0;font-size:.82rem;line-height:1.6}.activity-label{color:#286446;font-weight:650}.activity-label--self_report{color:#8c591e}.progress-entry{border-top:1px solid #e0e5db;margin-top:1rem;padding-top:1rem;font-size:.88rem}.progress-entry summary,.exercise-progress-chart summary{cursor:pointer;color:#315a45;align-content:center;min-height:44px;font-weight:600}.progress-entry fieldset{border:0;min-width:0;padding:0}.progress-entry p{line-height:1.6}.progress-chart-context{color:#60715f;flex-wrap:wrap;gap:.5rem 1rem;margin:1rem 0;font-size:.78rem;display:flex}.exercise-progress-chart svg{width:100%;height:auto;margin:1rem 0;display:block;overflow:visible}.exercise-progress-chart svg text{fill:#61705f;font:12px system-ui,sans-serif}.chart-gridline{stroke:#e3e8df;stroke-width:1px}.chart-series{stroke:#2d7355;stroke-width:2.5px;fill:none}.chart-dot{fill:#2d7355;stroke:#fff;stroke-width:2px}.chart-dot--estimated{fill:#fff;stroke:#2d7355}.chart-target{stroke:#9b763d;stroke-dasharray:5 5;stroke-width:1.5px}.progress-empty{color:#63715f;text-align:center;background:#f5f6f1;border-radius:10px;margin:1rem 0;padding:3rem 1rem;line-height:1.6}.progress-table-wrap{max-width:100%;overflow-x:auto}.progress-table-wrap table{border-collapse:collapse;width:100%;font-size:.78rem}.progress-table-wrap th,.progress-table-wrap td{text-align:start;border-bottom:1px solid #e1e7dd;padding:.6rem}.progress-table-wrap caption{text-align:start;padding:.5rem 0}.progress-metric-editor{border:1px solid #cad5c9;border-radius:12px;min-width:0;margin:1rem 0;padding:1.2rem}.progress-metric-editor legend{padding:0 .4rem;font-weight:650}.progress-metric-editor p{font-size:.85rem;line-height:1.5}.progress-metric-definition{border-bottom:1px solid #dbe1d7;margin:.7rem 0;padding:.8rem 0}@media (width<=850px){.patient-progress-workspace{grid-template-columns:1fr}.progress-panel{padding:1.15rem}}@media (width<=600px){.patient-main:has(.patient-progress-workspace){width:calc(100% - 2rem)}.patient-plan-card{padding:1.1rem}}}
