.qb-coach{color:#243c30;background:#fffefb;border:1px solid #dce4d9;border-radius:10px;margin:0 0 12px;font:15px/1.5 system-ui,sans-serif}
.qb-coach [hidden]{display:none!important}.qb-coach header,.qb-coach .qc-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border-bottom:1px solid #dce4d9}
.qb-coach h2{font:24px Georgia,serif;margin:0 auto 0 0}.qb-coach h3{font:20px Georgia,serif;margin:0 0 10px}.qb-coach p{margin:6px 0 12px}.qb-coach .qc-body{padding:12px}.qb-coach button,.qb-coach select,.qb-coach input,.qb-coach textarea{font:inherit;border:1px solid #b7c8bb;border-radius:6px;min-height:38px;padding:7px 10px;max-width:100%;color:inherit;background:#fffefb;box-sizing:border-box}
.qb-coach button{cursor:pointer}.qb-coach button.primary{background:#315f46;color:white;border-color:#315f46}.qb-coach button:disabled{opacity:.6;cursor:wait}.qb-coach label{display:grid;gap:4px;margin:0 0 12px}.qb-coach textarea{width:100%;min-height:86px}.qb-coach .qc-grid{display:grid;grid-template-columns:minmax(190px,1fr) minmax(260px,2fr);gap:18px}.qb-coach .qc-roster{max-height:480px;overflow:auto}.qb-coach .qc-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #dce4d9}.qb-coach .qc-row strong{flex:1;min-width:110px}.qb-coach .qc-muted{color:#617065}.qb-coach #qc-status{padding:8px 12px;overflow-wrap:anywhere}.qb-coach .qc-error{color:#8c2e29}.qb-coach .qc-results{padding:12px;background:#f2f5ef;white-space:pre-wrap;overflow-wrap:anywhere}.qb-coach code{overflow-wrap:anywhere;white-space:normal;font-size:12px}.qb-coach details{padding:12px 0;border-bottom:1px solid #dce4d9}.qb-coach summary{cursor:pointer;font-weight:600}.qb-coach .qc-invite{padding:12px 0;break-inside:avoid}.qb-coach .qc-inline{display:flex;gap:10px;flex-wrap:wrap}.qb-coach .qc-inline label{flex:1;min-width:130px}.qb-coach .qc-check{display:flex;align-items:flex-start;gap:10px}.qb-coach .qc-check input{min-height:20px}.qb-coach .qc-choice{display:flex;flex-wrap:wrap;gap:8px}.qb-coach .qc-choice label{display:flex;gap:6px;align-items:center}
@media(max-width:640px){.qb-coach .qc-grid{grid-template-columns:1fr}.qb-coach .qc-roster{max-height:220px}.qb-coach h2{font-size:21px}.qb-coach button{min-height:44px}.qb-coach header{align-items:flex-start}}
@media print{body.qb-print-invites *{visibility:hidden}body.qb-print-invites #qc-invitations,body.qb-print-invites #qc-invitations *{visibility:visible}body.qb-print-invites #qc-invitations{position:absolute;inset:0;color:#000;background:white}.qc-invite{break-inside:avoid}}
.qb-coach .qc-grid>section{min-width:0}.qb-coach .qc-inline label{flex:1 1 190px;min-width:0}.qb-coach label>input:not([type=checkbox]),.qb-coach label>select,.qb-coach label>textarea{width:100%;min-width:0}

.qb-shared-assessment-page,.qb-shared-assessments{display:block;width:100%;min-width:0;grid-column:1/-1}.qb-shared-assessments .wl-rec{width:auto;max-width:none}.qb-shared-assessment-page>.wl-page{display:block}

/* Assessment rows stay together; narrow screens scroll the table, not the page. */
.qb-coach .qc-table-layout{display:block}.qb-coach .qc-table-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.qb-coach .qc-table-scroll{overflow:auto;max-width:100%;margin:12px 0;border:1px solid #dce4d9;border-radius:6px}.qb-coach .qc-assessment-table{border-collapse:collapse;width:100%;min-width:780px;text-align:left}.qb-coach .qc-assessment-table caption{text-align:left;padding:10px;color:#617065}.qb-coach .qc-assessment-table th,.qb-coach .qc-assessment-table td{vertical-align:top;padding:10px;border-bottom:1px solid #dce4d9}.qb-coach .qc-assessment-table thead th{background:#e5efdf;position:sticky;top:0}.qb-coach .qc-assessment-table tbody th{min-width:140px}.qb-coach .qc-assessment-table small{display:block;font-weight:normal;overflow-wrap:anywhere}.qb-coach .qc-assessment-table textarea{min-width:160px;min-height:94px}.qb-coach .qc-assessment-table fieldset{border:0;padding:0;margin:0;min-width:138px}.qb-coach .qc-assessment-table fieldset label{display:flex;align-items:center;gap:6px;margin:0 0 6px;white-space:nowrap}.qb-coach .qc-assessment-table input[type=radio]{min-height:20px;width:20px}.qb-coach .qc-assessment-table [data-row-status]{display:block;font-size:13px;margin-top:6px}.qb-coach .qc-current-row{background:#f2f5ef}.qb-coach .qc-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.qb-coach .qc-question-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;margin-top:12px}.qb-coach .qc-question-grid textarea{min-height:54px}.qb-coach .qc-table-scroll{max-height:65vh}.qb-coach .qc-assessment-table tbody th{position:sticky;left:0;background:#fffefb;z-index:1}.qb-coach .qc-assessment-table thead th{z-index:2}.qb-coach .qc-current-row th{background:#f2f5ef}.qb-coach .qc-assessment-details{margin-bottom:8px}.qb-coach .qc-table-actions button{min-height:40px}@media(max-width:640px){.qb-coach .qc-question-grid{grid-template-columns:1fr}.qb-coach .qc-assessment-table tbody th{min-width:100px;max-width:130px}.qb-coach .qc-assessment-table tbody th button{max-width:120px;overflow-wrap:anywhere}}
