.coach-work {color:#1c2937;margin:0 0 22px;display:grid;gap:12px;font-size:15px;line-height:1.55}.coach-work nav,.cw-top,.cw-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cw-top{justify-content:space-between}.coach-work button,.coach-work-dialog button{cursor:pointer;border:0;border-radius:9px;padding:8px 12px;min-height:40px;background:#eaf2fb;color:#155b90;font:inherit}.coach-work nav{padding:4px;border:1px solid #dce5f0;background:#f3f6fa;border-radius:12px}.coach-work nav button{background:transparent;flex:1 0 auto;min-width:90px;color:#506476}.coach-work nav button[aria-pressed=true]{color:#07578e;background:#fff;box-shadow:0 1px 3px #18395422;font-weight:650}.coach-work article{margin:8px 0;padding:12px 14px;background:#fff;border:1px solid #dbe4ee;border-radius:12px}.coach-work article header{display:flex;justify-content:space-between;gap:8px;align-items:center}.coach-work p,.coach-work-dialog p{margin:.45em 0}.cw-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.cw-state{font-size:.84em;color:#4b6075;background:#f0f3f7;padding:2px 7px;border-radius:6px;flex-shrink:0}.cw-state-due,.cw-state-new,.cw-state-submitted{background:#fff1dc;color:#86500c}.cw-state-done,.cw-state-reviewed{background:#e8f5ee;color:#22714f}.cw-reasons{margin:5px 0 8px;padding-left:18px;color:#495d71}.cw-empty{padding:7px 0;color:#54687a}.coach-work details{border:1px solid #dbe4ee;border-radius:12px;background:#f7f9fc;padding:10px 12px;margin-top:8px}.coach-work summary{cursor:pointer;color:#205b88;font-weight:650;padding:3px 0}.cw-growth-controls{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.coach-work label,.coach-work-dialog label{display:grid;color:#42586d;font-size:.95rem;gap:4px}.coach-work-dialog label[hidden]{display:none}.coach-work input,.coach-work select,.coach-work-dialog input,.coach-work-dialog select,.coach-work-dialog textarea{box-sizing:border-box;font:inherit;width:100%;min-width:0;border-radius:8px;border:1px solid #bccbd9;background:#fff;color:#1c2937;padding:9px}.coach-work-dialog textarea{min-height:72px;resize:vertical}.coach-work-dialog{margin:auto;border:1px solid #dbe5ee;border-radius:16px;max-width:min(560px,calc(100vw - 25px));width:100%;max-height:85dvh;padding:0;color:#1c2937;background:#fff}.coach-work-dialog::backdrop{background:#15243388}.coach-work-dialog form{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:83dvh}.coach-work-dialog header,.coach-work-dialog footer{padding:12px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1e8f0}.coach-work-dialog footer{border-top:1px solid #e1e8f0;border-bottom:0;justify-content:flex-end}.coach-work-dialog h2{font-size:1.13rem;margin:0}.coach-work-dialog [type=submit]{background:#0b65be;color:#fff}.cw-dialog-body{min-height:0;overflow:auto;padding:12px 16px;display:grid;gap:10px}.cw-error{color:#96361e}.cw-course-link{display:block;color:#155b90;padding:5px 0}.coach-work-dialog button:disabled{opacity:.55}@media(max-width:480px){.coach-work{font-size:14px}.coach-work article{padding:10px}.coach-work nav button{min-width:0;padding-inline:7px}}
.cw-phrase{margin:0 0 12px}.cw-phrase summary{cursor:pointer;color:#155b90;font-weight:650}.cw-phrase label{margin:10px 0}.cw-phrase button{border:0;background:#eaf2fb;color:#155b90;border-radius:8px;padding:8px 12px;min-height:40px;font:inherit;cursor:pointer}.cw-phrase p{margin:8px 0 0;color:#475c72}.cw-primary-link{display:inline-block;padding:5px 0;font-weight:650;color:#155b90}
.cw-video{width:100%;max-height:55dvh;background:#122030;border-radius:8px}

/* Shared list and entry points for the coach's work screen. */
.cw-task-board{gap:12px}
.cw-task-board>nav{gap:4px;padding:3px;border:0;background:#f2f5f8}
.cw-task-board>nav button{font-size:.92rem;min-height:38px}
.cw-chevron{width:6px;height:6px;display:block;flex:none;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;rotate:45deg;margin-right:3px}
.cw-list-heading{display:flex;align-items:center;gap:8px;margin:1px 0 7px;padding:0 2px;color:#233747;font-size:.91rem;font-weight:700;line-height:1.4}
.cw-list-heading span,.cw-fold-list summary span{color:#576c7c;font-size:.78rem;font-weight:500}
.cw-task-intro{margin-bottom:7px}
.cw-task-intro .cw-list-heading{margin-bottom:0}
.cw-task-board .cw-work-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #e0e7ee;border-radius:11px;overflow:hidden}
.cw-task-board .cw-work-list li{margin:0;padding:0}
.cw-task-board .cw-work-list li+li{border-top:1px solid #e9eef3}
.cw-task-board button.cw-row-button{border:0;border-radius:0;background:#fff;color:#233747;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;min-height:47px;padding:8px 12px;line-height:1.32}
.cw-task-board button.cw-row-button:hover,.cw-task-board button.cw-row-button:focus-visible{background:#f5f9fc;color:#185e92}
.cw-row-text{display:grid;row-gap:3px;min-width:0}
.cw-row-text strong{font-size:.94rem;color:#233747;font-weight:690}
.cw-row-text>span{font-size:.79rem;color:#506374;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.cw-row-text>span:empty{display:none}
.cw-row-end{display:flex;align-items:center;gap:8px;flex:none;color:#496c8d}
.cw-row-end time{font-size:.74rem;white-space:nowrap}
.cw-row-end .cw-state{font-size:.73rem}
.cw-task-board details.cw-fold-list{margin-top:8px;padding:3px 9px;background:#f7f9fc;border-color:#e5ebf1;border-radius:9px}
.cw-task-board details.cw-fold-list[open]{padding-bottom:8px}
.cw-task-board .cw-fold-list summary{min-height:32px;line-height:32px;padding:0;font-size:.86rem}
.cw-task-board .cw-fold-list summary span{margin-inline-start:3px}
.cw-directory-head>div{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cw-directory-head h2,.cw-growth-archive h2{font-size:1.16rem;margin:0;color:#233747}
.cw-directory-head p{font-size:.87rem;color:#506374;margin:4px 0 0}
.coach-work button.cw-text-button{padding:4px 8px;min-height:36px;background:transparent;color:#155b90;font-size:.86rem}
.cw-directory-search{display:grid;gap:4px}
.cw-directory-search[hidden]{display:none}
.cw-task-board .cw-directory-results .cw-work-list+.cw-work-list{margin-top:8px}
.coach-work .cw-directory-more{margin-top:8px;width:100%}
.cw-task-board .cw-growth{gap:2px;margin-bottom:0}
.cw-growth>.cw-lesson-growth{margin:0;padding:6px 10px;background:#f1f6fa;border-color:#dfeaf4}
.cw-lesson-growth>summary span{font-weight:400;font-size:.8rem;color:#50677b;margin-inline-start:9px}
.cw-growth-controls:empty,.cw-directory-results:empty{display:none}
.cw-growth-title,.cw-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cw-growth-title{min-height:34px;font-size:1.04rem;color:#233747}
.cw-growth-actions{gap:6px;margin:1px 0 10px}
.cw-growth-actions button{padding-inline:9px;font-size:.88rem}
.cw-history-head{padding:8px 0 2px;margin-top:10px}
.cw-history-head h3{margin:0;font-size:.93rem}
.cw-history-head label{display:flex;align-items:center;gap:5px;color:#50677b;font-size:.77rem}
.cw-history-head input{width:clamp(100px,27vw,142px);padding:5px 6px;min-height:32px}
.cw-growth [data-growth-new]{background:#1869a5;color:#fff;font-weight:650}
.cw-growth [data-growth-list] article{padding:10px 12px}
.cw-observation-type{padding:0;margin:0;border:0;min-width:0;display:grid;gap:6px}
.cw-observation-type legend{color:#42586d;font-size:.95rem;margin-bottom:5px}
.coach-work-dialog .cw-observation-type label{display:grid;grid-template-columns:auto 1fr;align-items:center;padding:7px 9px;border:1px solid #dfe7ef;border-radius:8px;column-gap:8px}
.coach-work-dialog .cw-observation-type input{width:1rem;height:1rem;margin:0;accent-color:#1869a5}
.cw-observation-type strong,.cw-observation-type small{display:block}
.cw-observation-type small{font-size:.78rem;line-height:1.4;color:#536d80}
@media (min-width:580px){
 .cw-task-board button.cw-row-button{min-height:46px;padding:8px 13px}
 .cw-row-text{grid-template-columns:minmax(108px,auto) minmax(0,1fr);align-items:baseline;column-gap:14px}
 .cw-row-text>span{-webkit-line-clamp:1}
}

.cw-top-level>header h1{margin:0 0 15px;color:#233747;font-size:1.35rem}
.cw-top-level>header{padding-top:6px}
.cw-task-board .cw-pending-list{margin-top:0}
.cw-task-board .cw-pending-list>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:41px;padding:0 4px}
.cw-task-board .cw-pending-list>summary::-webkit-details-marker{display:none}
.cw-task-board .cw-pending-list .cw-pending-label{font-size:.9rem;font-weight:700;color:#233747}
.cw-task-board .cw-pending-list .cw-pending-label span{margin-inline-start:4px;font-weight:500}
.cw-task-board .cw-pending-list .cw-chevron{color:#496c8d}
.cw-task-board .cw-pending-list[open] .cw-chevron{rotate:135deg}
