/* Personal progress, with real member records and existing controls. */
body[data-view="personal-space"]{background:#fffaf7}
#personal-space{max-width:820px;padding-top:16px}
#personal-space>.back-link{font-size:14px;margin-bottom:10px}
#personal-space .progress-welcome{position:relative;isolation:isolate;padding:22px 20px 18px;border-radius:24px 24px 0 0;background:#fcf1ea;overflow:hidden;margin:0}
#personal-space .progress-welcome:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fff8f2ee,#fff8f2a8 55%,#fff8f245),url('assets/progress-sunrise-v171.webp') center right/cover no-repeat}
#personal-space .progress-welcome .eyebrow{font-size:11px;letter-spacing:1px;color:#644354;margin-bottom:12px}
#personal-space .progress-welcome h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,7.8vw,46px);font-weight:600;line-height:1.08;letter-spacing:-1px;color:#45213a;max-width:580px;margin:0 0 12px;text-wrap:balance;overflow-wrap:anywhere}
#personal-space #progress-welcome-note{font-size:16px;line-height:1.45;color:#5e4555;max-width:430px;margin:0}
#personal-space .progress-hero-metrics{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
#personal-space .progress-hero-change{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
#personal-space .progress-hero-change strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,10vw,52px);line-height:1.08;letter-spacing:-1px;color:#50213d;font-weight:600;overflow-wrap:anywhere}
#personal-space .progress-hero-change>span{font-size:14px;line-height:1.35;color:#5e4555;max-width:190px}
#personal-space .progress-goal-ring{position:relative;width:125px;height:100px;flex:none;align-self:center}
#personal-space .progress-goal-ring svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#personal-space .progress-goal-ring path{fill:none;stroke-width:13;stroke-linecap:round}
#personal-space .progress-arc-track{stroke:#ebd9d9}
#personal-space #progress-arc-fill{stroke:#ce809d;stroke-dasharray:0 100}
#personal-space .progress-goal-ring>div{position:absolute;inset:43px 0 0;display:flex;align-items:center;flex-direction:column;gap:1px}
#personal-space .progress-goal-ring strong{font-family:Georgia,serif;font-size:27px;line-height:1.1;color:#50213d}
#personal-space .progress-goal-ring span{font-size:11px;color:#5e4555}
#personal-space .personal-space-content{gap:14px;display:grid;grid-template-columns:minmax(0,1fr)}
#personal-space .progress-summary,#personal-space .progress-weight-chart,#personal-space .hub-steps-card{padding:18px;border:1px solid #e9dce3;border-radius:20px;background:#fffdfa;box-shadow:none;grid-column:1/-1}
#personal-space .progress-summary.progress-weight-overview{background:#fcf1ea;border-top:0;border-radius:0 0 24px 24px;margin-top:0;padding-top:4px}
#personal-space .progress-weight-overview .progress-section-head h2{font-size:17px}
#personal-space .progress-weight-overview .progress-section-head{margin-bottom:6px}
#personal-space .progress-weight-overview .progress-compare{background:#ffffffb8;border-radius:14px;padding:12px;gap:8px}
#personal-space .progress-weight-overview .progress-compare strong{font-family:Georgia,serif;font-weight:600;font-size:29px;color:#502b40}
#personal-space .progress-weight-overview .progress-stats{grid-template-columns:repeat(2,minmax(0,1fr));border-top:0;padding-top:10px;gap:14px}
#personal-space .progress-stats>div>span{font-size:13px}
#personal-space .progress-stats strong{font-size:16px}
#personal-space .progress-note{font-size:13px;color:#65535c}
#personal-space .progress-section-head h2,#personal-space .panel-top h2,#personal-space .hub-steps-heading h2{font-family:Georgia,serif;font-size:24px;font-weight:600;color:#452b3d}
#personal-space .progress-weight-chart #progress-chart{max-height:220px}
#personal-space .progress-weight-chart .button{background:linear-gradient(110deg,#b87592,#976783);border:0;border-radius:13px;font-size:16px;min-height:48px;color:white}
#personal-space .goal-track{height:7px;background:#eee2e8}#personal-space #goal-bar{background:#c68ca7}
#personal-space .hub-steps-card{background:linear-gradient(115deg,#f3f5eb,#fffdfa)}
#personal-space .progress-step-compare strong{font-size:22px;color:#435840}
#personal-space .progress-photo-journal{margin:0;grid-column:1/-1;padding:18px;border-radius:20px;border:1px solid #e3cfdc;background:linear-gradient(115deg,#f8e6ee,#f2edf6);color:#4d3846;display:flex;align-items:center;justify-content:space-between;gap:14px;text-decoration:none}
#personal-space .progress-photo-journal h2{font-family:Georgia,serif;font-size:24px;font-weight:600;margin:0 0 5px;color:#452b3d}
#personal-space .progress-photo-journal p{font-size:15px;line-height:1.45;margin:0}
#personal-space .progress-photo-journal>span{font-size:28px}
#personal-space [aria-labelledby="progress-bmi-heading"]{background:#f4f0f7}
#personal-space [aria-labelledby="progress-bmi-heading"] .progress-compare strong{font-size:25px}
#personal-space .progress-waist{background:#fffcf8}
@media(max-width:360px){#personal-space .progress-welcome{padding:18px 15px 16px}#personal-space .progress-goal-ring{width:105px;height:95px}#personal-space .progress-hero-change strong{font-size:33px}#personal-space .progress-summary,#personal-space .progress-weight-chart,#personal-space .hub-steps-card{padding:14px}#personal-space .progress-section-head .text-link{font-size:12px}#personal-space .progress-waist-form label:last-of-type{grid-column:1/-1}}
@media(prefers-reduced-motion:no-preference){body[data-view="personal-space"] .progress-welcome{animation:progress-welcome-in .4s ease-out}@keyframes progress-welcome-in{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}}
/* Keep the editorial type within Progress even under the app-wide readability rules. */
#personal-space .progress-welcome h1,#personal-space .progress-hero-change strong,#personal-space .progress-goal-ring strong{font-family:Georgia,'Times New Roman',serif!important}
#personal-space .progress-hero-change strong{font-size:clamp(34px,12vw,56px)}
