.progress-page .progress-layout{align-items:start;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.progress-page .progress-layout>*,.progress-page aside{min-width:0}
.progress-page .panel h2{font-size:25px;line-height:1.25}
.progress-page .panel p{font-size:16px;line-height:1.6}
.progress-page .panel .small-note{font-size:14px}
.progress-question{border:0;border-bottom:1px solid var(--line);padding:18px 0 22px;margin:0;min-width:0}
.progress-question legend{font-size:16px;font-weight:600;padding:0;line-height:1.5}
.progress-question legend .subtle-text{font-size:14px;font-weight:400}
.progress-question .small-note{margin:0 0 12px}
.progress-page .rating-options{gap:8px;margin-top:12px}
.progress-page .rating-options button{min-height:44px;font-size:14px;white-space:normal;text-align:left}
.progress-goal-question{margin:24px 0;background:var(--pale);border-radius:12px;padding:20px}
.progress-goal-question .progress-question{border:0;padding-bottom:0}
.progress-page .field-label{margin-top:24px}
.progress-history,.progress-treatment,.progress-habits,.progress-favorites{margin-top:24px}
.progress-page .care-section-heading{gap:16px;flex-wrap:wrap}
.progress-record{border-top:1px solid var(--line);padding:16px 0}
.progress-record summary{font-size:16px;font-weight:550;cursor:pointer;line-height:1.5}
.progress-record-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.progress-record-values div{min-width:0}
.progress-record-values dt{font-size:14px;color:var(--muted)}
.progress-record-values dd{font-size:16px;font-weight:550;margin:4px 0 0;overflow-wrap:anywhere}
.progress-record-note{white-space:pre-wrap;overflow-wrap:anywhere}
.progress-goal-last{display:grid;gap:9px;padding:16px 0;margin-bottom:16px;border-block:1px solid var(--line)}
.progress-goal-last span{font-size:14px;line-height:1.5}
.progress-goal-last strong{font-size:16px;line-height:1.5}
.progress-support{padding:18px;margin:20px 0;border-left:3px solid var(--green);background:var(--pale);border-radius:0 12px 12px 0}
.progress-support .text-link{font-size:14px;text-decoration:underline}
.progress-treatment .care-actions{align-items:flex-start}
.progress-treatment-history{margin-top:28px}
.progress-page button:disabled{opacity:.5;cursor:default}
.progress-goal-options{display:grid;gap:12px}
.progress-goal-options button{justify-content:flex-start;min-height:48px}
.progress-goal-options button[aria-pressed="true"]{background:var(--lime);border-color:var(--green)}
.progress-page .habit-row strong{font-size:16px}
.weekly-weight-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-bottom:25px}
.weekly-weight-controls{min-width:0}
.weekly-weight-controls .field-label{margin-top:0}
.weekly-weight-controls input{width:100%;max-width:230px;font-size:18px;padding:12px;border:1px solid var(--line);border-radius:10px}
.weekly-weight-controls .care-actions{margin-top:16px}
.progress-weight-history{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.progress-weight-history h3{font-size:19px}
.progress-weight-history ul{padding-left:20px;font-size:16px;line-height:1.7}
@media(max-width:760px){.weekly-weight-panel{grid-template-columns:minmax(0,1fr);gap:14px}}
@media(max-width:760px){.progress-page .progress-layout{grid-template-columns:minmax(0,1fr)}.progress-page .panel{padding:22px}.progress-goal-question{padding:16px}.progress-record-values{grid-template-columns:minmax(0,1fr)}}
@media print{.progress-print-record{break-inside:avoid}.progress-record-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.progress-record-values dt,.progress-record-values dd{font-size:12pt}}
.progress-storage{margin:24px 0}
.progress-storage .control-label{font-size:16px;color:var(--ink);font-weight:550;margin:0 0 10px;line-height:1.5}
.progress-storage .care-actions{justify-content:space-between;gap:12px;margin-top:14px}
.progress-storage .small-note{margin:8px 0}
.progress-charts{margin-bottom:24px;min-width:0}
.progress-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin-top:22px}
.progress-chart-grid figure{margin:0;min-width:0}
.progress-chart-grid h3{font-size:21px;line-height:1.3}
.chart-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px}
.chart-select{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
.chart-select select{font:inherit;font-size:14px;color:var(--green);border:1px solid #bdcbb1;border-radius:8px;background:#fff;padding:10px;max-width:100%;min-height:42px}
.progress-plot{display:block;width:100%;height:auto;overflow:visible}
.progress-plot text{font-family:var(--body,sans-serif);font-size:13px;fill:#52614c}
.progress-plot .axis-title{font-size:13px;font-weight:550}
.progress-plot .chart-value{font-size:14px;fill:var(--green);font-weight:650}
.chart-frame{stroke:#c8d2be;stroke-width:1}
.chart-grid{stroke:#e2e7dc;stroke-width:1}
.weight-line{stroke:#37664a;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.weight-point{fill:#37664a;stroke:#fff;stroke-width:1.5}
.series-0{fill:#315e46;background:#315e46}
.series-1{fill:#91b87a;background:#91b87a}
.series-2{fill:#dfbd68;background:#dfbd68}
.series-3{fill:#a9646d;background:#a9646d}
.chart-legend{list-style:none;padding:0;margin:14px 0;display:flex;flex-wrap:wrap;gap:10px 16px}
.chart-legend li{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--ink)}
.chart-legend span{width:12px;height:12px;border-radius:3px;flex-shrink:0}
.chart-data{margin:16px 0 8px;font-size:14px}
.chart-data summary{cursor:pointer;color:var(--green);font-weight:550;padding:6px 0}
.chart-data table{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px;text-align:left}
.chart-data th,.chart-data td{padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.chart-table-wrap{overflow-x:auto}
.chart-empty{display:grid;place-items:center;min-height:220px;padding:28px 22px;background:#f5f7ee;border:1px dashed #cbd7bf;border-radius:14px;color:var(--muted);font-size:15px!important;text-align:center;margin:18px 0}
@media(max-width:950px){.progress-chart-grid{grid-template-columns:minmax(0,1fr);gap:32px}}
@media(max-width:400px){.progress-page .progress-charts{padding:18px 14px}.chart-heading{display:block}.chart-heading .chart-select{margin-top:12px}}
@media print{#print-area .progress-charts{break-inside:auto;border:0;padding:0;background:white}#print-area .progress-chart-grid{grid-template-columns:minmax(0,1fr);gap:16px}#print-area .progress-chart-grid figure{break-inside:avoid}#print-area .progress-plot{max-width:620px}#print-area .chart-legend{print-color-adjust:exact}#print-area .chart-empty{min-height:80px}}
