/* Progress is scoped to its content; the shared navigation is intentionally untouched. */
.style-field .frame[data-screen="progress"] .pg-page{padding:14px 22px 100px}
.pg-page{--pg-muted:#75848a;--pg-line:#dce5e6}
.pg-title{font-family:"Arial Black","Avenir Next",Arial,sans-serif;font-weight:900;font-size:38px;letter-spacing:-1.4px;line-height:1.1;margin:0;padding:0 0 10px;border-bottom:1px solid var(--ink)}
.pg-eyebrow{margin-top:11px;font-size:10px;font-weight:800;letter-spacing:1.5px;color:var(--amber)}
.pg-period{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px;min-height:36px;font-size:15px;font-weight:500}
.pg-page button,.pg-detail-list button,.pg-weight-period button{font:inherit;cursor:pointer;color:inherit}
.pg-period button{display:grid;place-items:center;width:44px;height:36px;border:0;background:none;margin:0 -10px}
.pg-period button:disabled{color:var(--pg-line);cursor:default}
.pg-week-title{font-family:"Arial Black","Avenir Next",Arial,sans-serif;font-size:27px;font-weight:900;letter-spacing:-.7px;margin:6px 0 8px;line-height:1.15}
.pg-calendar{border:1px solid var(--pg-line);border-radius:17px;padding:12px 10px 11px;background:linear-gradient(150deg,var(--surface) 55%,oklch(97% .015 220))}
.pg-matrix{display:grid;grid-template-columns:42px repeat(7,minmax(0,1fr));align-items:center;row-gap:3px}
.pg-date{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--pg-muted);font-size:11px;line-height:1.15;border-radius:8px 8px 0 0;padding:0 0 4px}
.pg-date b{display:grid;place-items:center;width:25px;height:25px;font-weight:500;font-size:13px}
.pg-date.is-today{background:var(--blue-t);color:var(--ink)}
.pg-date.is-today b{border:1.5px solid var(--blue);border-radius:50%}
.pg-row-label{font-size:12px;font-weight:750;letter-spacing:-.3px}
.pg-cell{height:34px;display:grid;place-items:center;min-width:0;border:0;background:transparent;padding:0}
.pg-cell.is-today{background:var(--blue-t)}
.pg-dot{display:inline-block;position:relative;width:21px;height:21px;border:1px solid #d3dddf;border-radius:50%;vertical-align:middle;flex:none;overflow:hidden}
.pg-dot.full{background:var(--amber);border-color:var(--amber)}
.pg-dot.partial{background:var(--amber-t);border-color:var(--amber)}
.pg-dot.partial>span{display:block;width:50%;height:100%;background:var(--amber)}
.pg-dot.workout{background:var(--green);border-color:var(--green)}
.pg-dot.planned{border:1.5px solid var(--blue)}
.pg-dot.rest{width:10px;height:1px;border:0;border-radius:0;background:#a9b6bb}
.pg-cell.is-future .pg-dot.unlogged{opacity:.6}
.pg-legend{display:flex;gap:14px;align-items:center;margin:9px 0 0;font-size:10px;color:var(--pg-muted);flex-wrap:wrap}
.pg-legend>span{display:flex;align-items:center;gap:5px;white-space:nowrap}
.pg-legend .pg-dot{width:11px;height:11px}
.pg-calendar-note{margin-top:5px;font-size:10px;color:var(--pg-muted);line-height:1.4}
.pg-calendar-note b{color:var(--ink)}
.pg-section{border-top:1px solid var(--pg-line);margin-top:18px;padding-top:10px}
.pg-section-head{width:100%;display:flex;align-items:center;gap:11px;background:none;border:0;padding:0;min-height:28px;text-align:left}
.pg-section-head h2{font-size:17px;font-weight:850;letter-spacing:-.35px;margin:0;flex:1}
.pg-section-head>.icon:first-child{font-size:26px;color:var(--ink)}
.pg-nutrition .pg-section-head>.icon:first-child{color:var(--amber)}
.pg-training .pg-section-head>.icon:first-child{color:var(--green)}
.pg-section-head>.icon:last-child{font-size:20px}
.pg-stat{display:flex;gap:10px;align-items:baseline;margin-top:7px;flex-wrap:wrap}
.pg-stat strong{font-family:"Arial Black","Avenir Next",Arial,sans-serif;font-size:40px;font-weight:900;letter-spacing:-1.2px;line-height:1.1}
.pg-stat>span{font-size:14px;color:var(--pg-muted);line-height:1.5}
.pg-meta{font-size:11px;color:var(--pg-muted);line-height:1.5;margin:5px 0 0}
.pg-protein{background:var(--green-t);border-radius:11px;margin-top:9px;padding:10px;font-size:11px;line-height:1.45}
.pg-protein b{color:var(--green)}
.pg-workout-stat{flex-wrap:nowrap}
.pg-workout-stat>span{font-size:12px}
.pg-highlight{width:100%;border:0;border-top:1px solid var(--pg-line);background:transparent;display:flex;align-items:center;gap:10px;text-align:left;margin-top:12px;padding:10px 0 0}
.pg-highlight>span{min-width:0;flex:1}
.pg-highlight b{display:block;font-size:13px;line-height:1.3}
.pg-highlight small{display:block;color:var(--pg-muted);font-size:10.5px;margin-top:5px;line-height:1.35}
.pg-highlight .pg-positive{color:var(--green)}
.pg-spark{width:75px;height:38px;flex:none}
.pg-weight{width:100%;display:flex;align-items:center;gap:10px;border:0;border-top:1px solid var(--pg-line);background:none;padding:11px 0;text-align:left;margin-top:13px}
.pg-weight>.icon:first-child{font-size:26px;color:oklch(51% .045 220)}
.pg-weight>b{font-size:19px;flex:1}
.pg-weight>span{display:flex;align-items:baseline;gap:8px;text-align:right;flex-wrap:wrap;justify-content:flex-end}
.pg-weight-values{flex-direction:column;align-items:flex-end;gap:2px!important}
.pg-weight-values>span{display:flex;align-items:baseline;gap:8px}
.pg-weight strong{font-size:18px}
.pg-weight small{font-size:11px;color:var(--pg-muted)}
.pg-weight>.icon:last-child{font-size:19px}
.pg-empty{padding:11px 0 0}
.pg-empty>b{font-size:17px;line-height:1.35}
.pg-empty p{font-size:12px;color:var(--pg-muted);line-height:1.5;margin:7px 0}
.pg-text-action{display:inline-flex;align-items:center;gap:5px;border:0;padding:8px 0;background:none;color:var(--blue)!important;font-size:12px!important;font-weight:700!important;min-height:40px}
.pg-text-action .icon{font-size:16px}
.pg-other{border-top:1px solid var(--pg-line);padding:7px 0 0;color:var(--pg-muted);font-size:12px}
.pg-other summary{display:flex;align-items:center;justify-content:space-between;min-height:40px;cursor:pointer;list-style:none}
.pg-other summary::-webkit-details-marker{display:none}
.pg-other>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--pg-line)}
.pg-other p{font-size:11px;line-height:1.5}
.pg-page button:focus-visible,.pg-other summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:5px}
.pg-detail-list{margin:14px 0}
.pg-detail-list>div,.pg-detail-list>button{width:100%;display:flex;align-items:center;gap:12px;padding:13px 0;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;font-size:13px}
.pg-detail-list>button>span,.pg-detail-list>div>span{flex:1}
.pg-detail-list small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.pg-detail-chart{display:block;width:100%;height:120px;margin:20px 0}
.pg-weight-period{display:flex;margin:15px 0;gap:8px}
.pg-weight-period button{flex:1;min-height:40px;border:1px solid var(--line);border-radius:10px;background:none;font-size:12px}
.pg-weight-period button.selected{background:var(--ink);color:var(--bg);border-color:var(--ink)}
@media(max-width:359px){.style-field .frame[data-screen="progress"] .pg-page{padding-left:16px;padding-right:16px}.pg-title{font-size:36px}.pg-matrix{grid-template-columns:38px repeat(7,minmax(0,1fr))}.pg-stat strong{font-size:38px}.pg-highlight{flex-wrap:wrap}.pg-spark{width:60px}}
