/* Coach keeps its tablet workspace; training controls share the client vocabulary. */
.pt-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.pt-header-actions .primary-btn,.pt-finish .primary-btn{min-height:48px;border-radius:12px;padding:12px 20px;font-size:.9rem}
.pt-exercise-panel .exercise-name-row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.pt-exercise-panel .exercise-name-row h2{min-width:0;overflow-wrap:anywhere}
.pt-exercise-panel .exercise-note-btn{min-height:44px;flex-shrink:0}
.pt-set-head,.pt-set-row{grid-template-columns:36px minmax(86px,1.1fr) repeat(3,minmax(55px,1fr)) 94px;gap:10px}
.pt-set-previous{display:flex;flex-direction:column;gap:5px;text-align:center;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.pt-set-previous strong{color:#c2cbd0;font-size:.82rem;font-weight:500}
.pt-set-previous small,.pt-set-previous>span{color:#8d9ba3;font-size:.75rem}
.pt-queue [data-pt-exercise].is-completed:not(.active){background:rgba(108,190,139,.04)}
.pt-queue .exercise-completion{font-size:.7rem;gap:5px}
.pt-queue .exercise-completion svg{width:17px;height:17px}
.pt-queue .exercise-completion span{display:inline}
#ptFinishDialog,#ptNotesDialog{max-width:560px;max-height:88dvh;overflow:auto}
#ptFinishDialog p,#ptNotesDialog p{line-height:1.6}
.pt-dialog-client{color:#ff6a75;font-size:.9rem;overflow-wrap:anywhere}
#ptNotesText{display:block;width:100%;box-sizing:border-box;border:1px solid #ffffff26;border-radius:12px;padding:14px;background:#192126;color:#fff;font:inherit;line-height:1.6;resize:vertical}
#ptFinishDialog .managed-dialog-actions,#ptNotesDialog .managed-dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
#ptFinishDialog button,#ptNotesDialog button{min-height:46px}
@media(min-width:900px) and (orientation:landscape){
  .pt-workout-layout{grid-template-columns:minmax(175px,205px) minmax(0,1fr);align-items:start}
  .pt-queue{display:block;position:sticky;top:20px;max-height:calc(100dvh - 60px);overflow-y:auto}
  .pt-queue>[data-pt-exercise]{width:100%;min-height:76px}
  .pt-exercise-panel{padding:20px}
}
@media(min-width:900px) and (max-width:1100px) and (orientation:landscape){
  .pt-workout-layout{grid-template-columns:170px minmax(0,1fr);gap:12px}
  .pt-exercise-panel{padding:16px 12px}
  .pt-set-head,.pt-set-row{grid-template-columns:28px minmax(75px,1fr) repeat(3,minmax(48px,1fr)) 82px;gap:6px;padding-left:4px;padding-right:4px}
}
@media(max-width:620px){
  .pt-header-actions{width:100%;justify-content:space-between}
  .pt-set-head,.pt-set-row{grid-template-columns:26px minmax(58px,1fr) repeat(3,minmax(42px,1fr));gap:5px;padding-left:4px;padding-right:4px}
  .pt-set-head>span:last-child{display:none}.pt-save-set{grid-column:2/-1}.pt-row-feedback{grid-column:2/-1}
  .pt-set-previous strong{font-size:.75rem}
}
