/* Two Tone Running v12 — athlete completion review */
.completion-plan-card{overflow:visible}
.completion-plan-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.completion-plan-choice button{min-height:72px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);display:flex;align-items:center;gap:11px;padding:12px;text-align:left;cursor:pointer}
.completion-plan-choice button>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#eef3f8;color:#55708e;font-size:18px;font-weight:900;flex:0 0 auto}
.completion-plan-choice button strong,.completion-plan-choice button small{display:block}
.completion-plan-choice button small{margin-top:3px;color:var(--muted);font-size:10px;line-height:1.3}
.completion-plan-choice button.active{border-color:#1c6fd3;background:#eef6ff;box-shadow:0 0 0 2px rgba(28,111,211,.08)}
.completion-plan-choice button.active>span{background:#1c6fd3;color:#fff}
.completion-change-fields{margin-top:14px;padding:14px;border-radius:14px;background:#fff8e8;border:1px solid #f2d49a}
.completion-change-fields[hidden]{display:none!important}
.completion-change-fields .field+.field{margin-top:12px}
.completion-change-fields textarea{min-height:92px}

.coach-completed-session-row{width:100%;border:0;background:transparent;text-align:left;color:inherit;font:inherit;cursor:pointer}
.coach-completed-session-row:hover{background:#f7faff}
.coach-completed-session-row:focus-visible{outline:3px solid rgba(20,105,205,.22);outline-offset:2px}
.coach-completion-chevron{font-size:25px;line-height:1;color:#8ba0b8;padding-left:2px}

.coach-completion-modal{position:fixed;inset:0;z-index:1000;background:rgba(5,20,40,.62);display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}
.coach-completion-sheet{width:min(920px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#f7f9fc;border-radius:22px;border:1px solid #dce5ef;box-shadow:0 28px 80px rgba(4,20,40,.28);padding:20px}
.coach-completion-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:4px 2px 14px}
.coach-completion-head h2{margin:4px 0 4px;font-size:28px;color:var(--ink)}
.coach-completion-head p{margin:0;color:var(--muted);font-size:12px}
.coach-completion-close{min-width:44px;min-height:44px;padding:8px 12px}
.coach-completion-status{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:15px;padding:13px 14px;margin-bottom:14px;border:1px solid #dbe5ef;background:#fff}
.coach-completion-status strong,.coach-completion-status span{display:block}
.coach-completion-status>div>span{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.4}
.coach-completion-status.green{background:#effaf3;border-color:#bfe6ca}
.coach-completion-status.amber{background:#fff8e8;border-color:#efd49d}
.coach-completion-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.coach-completion-panel,.coach-completion-change,.coach-completion-exercises,.coach-completion-notes{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px}
.coach-completion-panel.completed{border-color:#bcd8f2;background:#f8fbff}
.coach-completion-panel dl{margin:11px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.coach-completion-panel dl>div{padding:10px;border-radius:11px;background:#f5f7fa}
.coach-completion-panel dl>div.wide{grid-column:1/-1}
.coach-completion-panel dt{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:900}
.coach-completion-panel dd{margin:4px 0 0;color:var(--ink);font-weight:800;line-height:1.35}
.coach-completion-change,.coach-completion-exercises,.coach-completion-notes{margin-top:14px}
.coach-completion-change{background:#fff9ec;border-color:#edd6a8}
.coach-completion-reason{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:11px 12px;border-radius:11px;background:#fff}
.coach-completion-reason span{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase}
.coach-completion-change p,.coach-completion-notes p{margin:11px 0 0;line-height:1.55;white-space:pre-wrap}
.coach-completion-exercises>div:not(.complete-card-title){display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5}
.coach-completion-exercises>div:last-child{border-bottom:0}
.coach-completion-exercises small{display:block;color:var(--muted);margin-top:2px}
body:has(.coach-completion-modal){overflow:hidden}

@media(max-width:640px){
 .completion-plan-choice{grid-template-columns:1fr}
 .coach-completion-modal{align-items:flex-end;padding:0}
 .coach-completion-sheet{max-height:88vh;border-radius:22px 22px 0 0;padding:16px}
 .coach-completion-head h2{font-size:23px}
 .coach-completion-compare{grid-template-columns:1fr}
 .coach-completion-panel dl{grid-template-columns:1fr 1fr}
 .coach-completion-status{align-items:flex-start}
 .coach-completed-session-row .tag{font-size:9px}
}
