/* iOS focus zoom: keep editable control text readable, without limiting user zoom. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html body input,
  html body select,
  html body textarea,
  html body [contenteditable="true"] {
    font-size: 16px !important;
  }
}
/* Coach client assignments must wrap rather than widen the iPhone viewport. */
.coachmode .progchips {display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
.coachmode .progchip {max-width:100%;min-width:0;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
.coachmode .progchips select {flex:1 1 180px;width:auto;min-width:0;max-width:100%;box-sizing:border-box}
.coachmode .clientsearch {width:100%;max-width:100%;box-sizing:border-box}
@media (max-width:900px), (hover:none) and (pointer:coarse) {
  html body .coachmode input,html body .coachmode select,html body .coachmode textarea,html body .coachmode .clientsearch {font-size:16px!important}
}

.client-row-more{display:contents}.client-row-more>summary{display:inline-flex;align-items:center;cursor:pointer;list-style:none;border:1px solid #43616c;border-radius:12px;padding:6px 10px;font-size:13px;font-weight:700}.client-row-more>summary::-webkit-details-marker{display:none}.client-more-actions{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;margin-top:6px}.client-row-more:not([open])>.client-more-actions{display:none}

.tdee>summary{font-weight:700;font-size:20px;cursor:pointer}.tdee[open]>summary{margin-bottom:20px}

.bwcard>summary{font-weight:700;font-size:20px;cursor:pointer}.bwcard[open]>summary{margin-bottom:16px}.bwcompact-fields{display:grid;grid-template-columns:minmax(60px,1fr) 62px minmax(110px,1.4fr);gap:6px;margin:12px 0}.bwcompact-fields input,.bwcompact-fields select{min-width:0;width:100%;padding:8px}.bwcompact-buttons{display:flex;gap:8px}.bwcompact-buttons>button{flex:1;font-size:14px;padding:12px 6px}
details.bwcard>.small{margin:8px 0 14px;line-height:1.6}.bwcard .bwrange{display:block;margin:10px 0 12px;line-height:1.5}.bwcard .bwchart{margin:2px 0 12px;padding-bottom:10px}.bwcard .bwlist{margin-top:18px;padding:10px 0 4px;border-top:1px solid #ffffff14}.bwcard .bwlist>summary{padding:6px 0;line-height:1.5;cursor:pointer}.bwcard .bwlist[open]>summary{margin-bottom:10px}
