/* Put the exercise media immediately below a compact identity block. */
.pp-detail-view:has(.mobile-ex-card){padding-top:0}
.pp-detail-view:has(.mobile-ex-card) .pp-detail-top{margin-bottom:12px;min-height:48px}
.pp-detail-body .mobile-ex-card.pp-has-photo .mex-title-wrap{margin:0!important;order:0}
.pp-detail-body .mobile-ex-card.pp-has-photo .mex-name{font-size:21px!important;line-height:1.22!important;letter-spacing:-.025em;margin:0!important}
.pp-detail-body .mobile-ex-card.pp-has-photo .mex-badges-row{order:1;gap:6px;margin:9px 0 0!important;flex-wrap:wrap}
.pp-detail-body .mobile-ex-card.pp-has-photo .mex-pill{font-size:11px!important;min-height:26px;padding:5px 8px!important}
.pp-detail-body .mobile-ex-card.pp-has-photo .pp-ex-photo{order:2!important;margin:12px 0 0!important;height:310px;border-radius:12px}
.pp-detail-body .pp-ex-sequence{order:3!important;margin:10px 0 0!important;padding:0!important;border:0;gap:12px;min-height:40px}
.pp-detail-body .pp-ex-sequence button{min-height:40px;padding:6px 10px;font-size:12px;border-radius:8px;background:#fff9}
.pp-detail-body .pp-ex-sequence span{font-size:12px;font-variant-numeric:tabular-nums}
.pp-detail-body .mobile-ex-card .pp-technique{order:4!important;margin:22px 0 8px!important}
.pp-detail-body .mobile-ex-card .set-logger-box{order:5!important}
.pp-detail-body .mobile-ex-card .mex-top-row>div:last-child{order:6!important}
@media(min-width:600px){.pp-detail-body .mobile-ex-card.pp-has-photo .mex-name{font-size:25px!important}.pp-detail-body .mobile-ex-card.pp-has-photo .pp-ex-photo{height:390px}}
/* Supplement views share existing checkbox persistence and coach-defined doses. */
.pp-supp-view>h3{display:none!important}.pp-detail-body .pp-supp-view{padding:0!important;background:transparent!important;border:0!important}
.pp-supp-summary{background:var(--navy);color:white;padding:22px;border-radius:16px;margin:0 0 24px}
.pp-supp-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:#d8bf81;text-transform:uppercase}
.pp-supp-summary h2{font-size:26px;letter-spacing:-.03em;line-height:1.2;margin:10px 0}
.pp-detail-body .pp-supp-summary p{font-size:13px!important;color:#c9d2dc;line-height:1.55!important;margin:0 0 20px}
.pp-supp-meter-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#d2dbe4;margin-bottom:9px}.pp-supp-meter-label strong{font-size:15px;color:#e1c889}
.pp-supp-summary progress{appearance:none;display:block;width:100%;height:5px;border:0;overflow:hidden;border-radius:4px;background:#ffffff20}.pp-supp-summary progress::-webkit-progress-bar{background:#ffffff20}.pp-supp-summary progress::-webkit-progress-value{background:#d8bc79;border-radius:4px}.pp-supp-summary progress::-moz-progress-bar{background:#d8bc79}
.pp-supp-list-title{font-size:17px!important;letter-spacing:-.02em;margin:0 0 14px!important}
.pp-supp-view .supp-item-row{position:relative;display:block!important;padding:0!important;margin:0 0 14px!important;background:white!important;border:1px solid var(--pp-line)!important;border-radius:14px!important;overflow:hidden;cursor:pointer}
.pp-supp-view .client-supp-chk{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;left:16px;top:20px}
.pp-supp-view .supp-item-row:has(.client-supp-chk:focus-visible){outline:3px solid var(--gold-dark);outline-offset:3px}
.pp-supp-main{padding:18px;display:flex;align-items:flex-start;gap:12px}
.pp-supp-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#f4efdf;color:#a68032;flex-shrink:0}.pp-supp-icon svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.6}
.pp-supp-copy{min-width:0;flex:1}.pp-supp-view .supp-name{font-size:16px!important;line-height:1.35;font-weight:700;margin:0 0 8px;overflow-wrap:anywhere}
.pp-supp-meta{display:flex;align-items:flex-start;gap:6px;font-size:13px;line-height:1.45;color:var(--text-muted);margin-top:8px}.pp-supp-meta svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.7;flex-shrink:0;margin-top:2px}
.pp-supp-dose{display:inline-block;border-radius:6px;background:#f2eee6;padding:4px 8px;font-size:13px;font-weight:650;color:var(--navy)}
.pp-supp-state{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;border-top:1px solid var(--pp-line);color:var(--navy);background:#f8f6f0;font-size:13px;font-weight:650}.pp-supp-state span:first-child{width:18px;height:18px;border:1.5px solid #aeb6bc;border-radius:50%;display:grid;place-items:center;font-size:12px}
.pp-supp-view .supp-item-row.supp-done{border-color:#b9cbb9!important}.supp-done .pp-supp-state{background:#edf3e9;color:#36563c;border-color:#d3e0cd}.supp-done .pp-supp-state span:first-child{background:#456947;border-color:#456947;color:white}
.pp-detail-body .pp-supp-note{font-size:12px!important;line-height:1.6!important;color:var(--text-muted);padding:0 4px;margin-top:18px}
.pp-supp-empty{padding:24px;background:white;border:1px solid var(--pp-line);border-radius:14px;line-height:1.6}

/* Give client pages more usable width on phones while respecting display cutouts. */
@media(max-width:600px){
 .main-container,.pp-detail-view{padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px))}
 .pp-detail-top{padding-left:0;padding-right:0}
}
