/* Coach inbox shares the client's compact conversation-list pattern. */
#trainer-app body.c3-coach-mode #trainerRoot:has(.coach-inbox220) .v57-coach-head{display:none}
#trainer-app body.c3-coach-mode .coach-inbox220{min-width:0;width:100%;padding-bottom:24px}
#trainer-app body.c3-coach-mode .coach-inbox220>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}
#trainer-app body.c3-coach-mode .coach-inbox220 h1{font-size:28px!important;font-weight:800;letter-spacing:-.035em;margin:0}
#trainer-app body.c3-coach-mode .coach-inbox220 header p{font-size:13px;color:var(--muted);margin:6px 0 0}
#trainer-app body.c3-coach-mode .coach-inbox220 button{min-height:44px!important;border:0;border-radius:10px;background:var(--surface2);color:var(--text);font-size:13px;cursor:pointer}
#trainer-app body.c3-coach-mode .coach-inbox220 :is(button,input):focus-visible{outline:2px solid var(--green);outline-offset:2px}
#trainer-app body.c3-coach-mode .coach-inbox220 #coachNewMessage220{background:var(--green);color:#062515;font-weight:700;white-space:nowrap;padding:12px 16px}
#trainer-app body.c3-coach-mode .inbox-tabs220{display:flex;gap:6px;background:var(--surface);padding:5px;border-radius:14px;margin-bottom:16px;max-width:520px}
#trainer-app body.c3-coach-mode .inbox-tabs220[hidden]{display:none}
#trainer-app body.c3-coach-mode .inbox-tabs220 button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:var(--muted);font-weight:600}
#trainer-app body.c3-coach-mode .inbox-tabs220 button[aria-pressed=true]{background:var(--greenSoft);color:var(--green)}
#trainer-app body.c3-coach-mode .inbox-tabs220 b{font-size:11px;min-width:20px;padding:2px 5px;border-radius:6px;background:var(--surface3);font-variant-numeric:tabular-nums}
#trainer-app body.c3-coach-mode .inbox-search220{display:flex;gap:10px;margin-bottom:16px}
#trainer-app body.c3-coach-mode .inbox-search220 label{display:block;flex:1;min-width:0}
#trainer-app body.c3-coach-mode .inbox-search220 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#trainer-app body.c3-coach-mode .inbox-search220 input{width:100%;min-width:0;height:46px;border:1px solid transparent;border-radius:10px;background:var(--surface);padding:10px 14px;font-size:16px!important;color:var(--text)}
#trainer-app body.c3-coach-mode #coachInboxRefresh220{width:46px;flex:none;font-size:22px;color:var(--muted);background:var(--surface)}
#trainer-app body.c3-coach-mode #coachInboxRefresh220 svg{width:20px;height:20px;display:block;margin:auto}
#trainer-app body.c3-coach-mode .coach-inbox220 [data-inbox-rows]{display:grid;gap:8px}
#trainer-app body.c3-coach-mode .coach-inbox220 .inbox-row220{display:flex;align-items:center;gap:14px;width:100%;padding:18px;text-align:left;background:var(--surface);border-radius:14px!important}
#trainer-app body.c3-coach-mode .inbox-avatar220{width:44px;height:44px;flex:none;border-radius:14px;display:grid;place-items:center;background:var(--greenSoft);color:var(--green);font-size:14px;font-weight:700}
#trainer-app body.c3-coach-mode .inbox-copy220{flex:1;min-width:0;display:grid;gap:5px}
#trainer-app body.c3-coach-mode .inbox-copy220 strong{font-size:15px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}
#trainer-app body.c3-coach-mode .inbox-copy220>span{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}
#trainer-app body.c3-coach-mode .inbox-meta220{display:grid;justify-items:end;align-content:center;gap:7px;flex:none;color:var(--muted)}
#trainer-app body.c3-coach-mode .inbox-meta220 time{font-size:11px;font-weight:400}
#trainer-app body.c3-coach-mode .inbox-meta220 b{display:grid;place-items:center;min-width:22px;min-height:22px;padding:2px 6px;border-radius:7px;background:var(--green);color:#062515;font-size:11px}
#trainer-app body.c3-coach-mode .inbox-meta220>span{font-size:20px;line-height:1}
#trainer-app body.c3-coach-mode .inbox-empty220{padding:26px 18px;background:var(--surface);border-radius:14px;color:var(--muted);font-size:14px;line-height:1.6}
#trainer-app body.c3-coach-mode .coach-inbox220 [data-inbox-status]:not(:empty){padding:16px;border-radius:12px;background:var(--surface);margin-bottom:14px;font-size:13px;color:var(--muted)}
#trainer-app body.c3-coach-mode .coach-inbox220 [data-inbox-status] p{margin:0 0 10px}
#trainer-app body.c3-coach-mode .coach-inbox220 [data-inbox-status] p:last-child{margin:0}
#trainer-app body.c3-coach-mode .v57-comms-workspace #coachInboxBack220{background:var(--surface3);border:0;border-radius:10px;padding:10px;min-height:44px;white-space:nowrap;font-size:12px}
@media(hover:hover){#trainer-app body.c3-coach-mode .coach-inbox220 .inbox-row220:hover{background:var(--surface2)}}
@media(max-width:760px){
 #trainer-app body.c3-coach-mode .coach-inbox220 h1{font-size:26px!important}
 #trainer-app body.c3-coach-mode .coach-inbox220>header{align-items:flex-start}
 #trainer-app body.c3-coach-mode .coach-inbox220 #coachNewMessage220{padding:11px 12px;font-size:12px}
 #trainer-app body.c3-coach-mode .coach-inbox220 .inbox-row220{padding:14px 12px;gap:10px}
 #trainer-app body.c3-coach-mode .inbox-avatar220{width:40px;height:40px;border-radius:12px;font-size:12px}
 #trainer-app body.c3-coach-mode .inbox-copy220 strong{font-size:14px}
 #trainer-app body.c3-coach-mode .inbox-copy220>span{font-size:12px}
}
