/* Coach and class management: no horizontal-only actions. */
.cg-workspace,.cg-workspace *{box-sizing:border-box;min-width:0}
.cg-workspace{display:grid;gap:24px;max-width:100%}
.cg-workspace .panel{margin:0;max-width:100%;padding:24px}
.cg-intro h2,.cg-section h2{margin-top:0}
.cg-intro p,.cg-section-heading p{max-width:76ch;color:#52647d;line-height:1.6}
.cg-section{scroll-margin-top:150px}
.cg-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cg-section-heading>div{flex:1 1 300px}
.cg-section-heading>button{flex:0 1 auto}
.cg-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.cg-workspace button,.cg-jump{white-space:normal!important;overflow-wrap:anywhere;max-width:100%;min-height:42px;line-height:1.4}
.cg-jump{display:inline-flex;align-items:center;border:1px solid #c9d8eb;border-radius:10px;padding:10px 14px;background:#f1f6fd;color:#0c3564;font-weight:700;text-decoration:none}
.cg-jump:focus-visible,.cg-workspace button:focus-visible{outline:3px solid #c52943;outline-offset:3px}
.cg-search{display:block;max-width:520px;margin-top:20px;font-weight:600}
.cg-search input{display:block;width:100%;margin-top:7px}
.cg-count{font-size:13px;color:#52647d}
.cg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px}
.cg-card{display:flex;flex-direction:column;border:1px solid #dbe4f0;border-radius:14px;padding:20px;background:#fff;overflow-wrap:anywhere}
.cg-card[hidden],.cg-section [hidden]{display:none!important}
.cg-card-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.cg-card-heading>div{flex:1 1 190px}
.cg-card-heading .identity-avatar{flex:0 0 42px;width:42px;height:42px}
.cg-card h3{margin:0 0 8px;font-size:18px;line-height:1.4;color:#143452}
.cg-card-heading p{font-size:14px;margin:0;color:#52647d}
.cg-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.cg-facts dt{font-size:12px;color:#5b6b80;font-weight:600;margin-bottom:5px}
.cg-facts dd{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.cg-wide{grid-column:1/-1}
.cg-card>.cg-actions{margin-top:auto;border-top:1px solid #e4eaf3;padding-top:16px}
#coach-monthly-panel{margin-top:24px}
#coach-monthly-panel>summary{cursor:pointer;font-size:18px;font-weight:700;color:#163854;padding:8px 0}
.cg-report-table table{width:100%;min-width:0!important;table-layout:fixed}
.cg-report-table th,.cg-report-table td{white-space:normal!important;overflow-wrap:anywhere}
.cg-report-table .row-actions{flex-wrap:wrap}
@media(max-width:600px){.cg-workspace .panel{padding:16px}.cg-card{padding:16px}.cg-section-heading>button{width:100%}.cg-facts{grid-template-columns:1fr}.cg-wide{grid-column:auto}.cg-report-table th,.cg-report-table td{padding:7px;font-size:12px}.cg-report-table button{white-space:normal;max-width:100%}}

#groupLearnerChoices .learner-assigned-elsewhere{background:#f3f5f8;border:1px solid #cbd5e1;opacity:1;align-items:flex-start}
#groupLearnerChoices .class-assignment-note{display:block;margin-top:8px;color:#684412;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#groupLearnerChoices input:disabled{cursor:not-allowed}
