#popContext{display:flex;align-items:center;gap:12px;margin:10px 0 14px}#popContext label{font-size:12px;color:var(--muted)}#studentActivity{flex:1;min-width:0;max-width:230px;padding:6px;background:var(--paper);color:var(--ink);border:0;border-bottom:1px solid var(--line);border-radius:0}
#ratings.detailed{display:flex;flex-direction:column;gap:0;margin:4px 0 10px}#ratings.detailed button{display:block;min-height:37px;padding:9px 3px;text-align:left;font-size:14px;line-height:1.4;background:transparent;border:0;border-radius:0}#ratings.detailed button small{display:none}#ratings.detailed button[data-rating=exceptional]{color:var(--ink)}#ratings.detailed button[data-rating=exceptional]>span>span{color:#f1d783;margin-right:5px}#ratings.detailed button[data-rating=active]{color:var(--green)}#ratings.detailed button[data-rating=quiet]{color:#a4d4d1}#ratings.detailed button[data-rating=partly]{color:var(--amber)}#ratings.detailed button[data-rating=off]{color:var(--red)}#ratings.detailed button.picked{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
#popover .duration-group{padding:0 0 10px;margin:0 0 10px;border:0;border-bottom:1px solid var(--line)}#popover .duration-group legend{font-size:11px;font-weight:400;color:var(--muted);padding:0;margin:0 0 5px}#duration{display:flex;gap:10px;align-items:center;flex-wrap:wrap}#duration button{font-size:11px;padding:5px 0;min-height:30px}#duration button.selected{color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.observation-shortcuts{margin-top:0;border-top:0;padding-top:0}.shortcut-heading{display:flex;align-items:center;gap:5px;min-height:30px;margin-bottom:6px}.shortcut-heading #moreObservationActions{margin-left:auto;padding:4px;min-width:30px;min-height:30px}#moreObservationActions svg,#moreNextSteps svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.action-shortcuts{gap:4px 8px}.action-shortcut{padding:7px 2px;min-height:68px;font-size:11px;gap:6px}.action-shortcut svg{width:27px;height:27px;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.other-observations{margin:7px 0}.other-observations summary{font-size:11px;color:var(--muted)}.other-observations .action-shortcuts{margin-top:6px}.light #ratings.detailed button[data-rating=quiet]{color:#226d72}
.contribution-prompt-row{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px}.contribution-prompt-row>button{min-width:0}.contribution-prompt-row>button span{overflow-wrap:anywhere}
#ratings.detailed button{min-height:33px;padding:6px 3px}.action-shortcut{padding:5px 2px;gap:4px}.action-shortcut svg{width:25px;height:25px}
#popover{scroll-padding-top:100px}#popover .pop-head{position:sticky;top:-18px;z-index:4;background:var(--paper);padding:8px 0}#popover #popContext{position:sticky;top:34px;z-index:3;background:var(--paper);padding:6px 0}
#ratings.detailed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:4px 0 14px}#ratings.detailed button{min-height:40px;padding:9px 3px;align-content:center}#ratings.detailed button[data-rating=exceptional],#ratings.detailed button[data-rating=unseen]{grid-column:1/-1}#ratings.detailed button[data-rating=exceptional]{min-height:35px;padding-bottom:7px}
#popover .duration-group{display:none!important}.observation-time-row{display:flex;align-items:center;gap:12px;margin:-5px 0 18px}.observation-time-row label{font-size:12px;color:var(--muted);white-space:nowrap}.observation-time-row select{flex:1;min-width:0;max-width:230px;padding:6px;background:var(--paper);color:var(--ink);border:0;border-bottom:1px solid var(--line);border-radius:0}

#observationActions[hidden],.other-observations[hidden],#moreNextSteps[hidden]{display:none!important}
#observationNextSteps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
#observationNextSteps button{min-height:44px;text-align:left;line-height:1.45}

#observationNextSteps .next-step-option{display:flex;align-items:center;gap:9px}
.next-step-option svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.next-step-option span{line-height:1.4}
#observationNextSteps.next-step-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}

#extra[hidden]{display:none!important}
.observation-source-row{display:flex;align-items:center;gap:12px;margin:12px 0}
.observation-source-row label{font-size:12px;color:var(--muted)}
.observation-source-row select{flex:1;min-width:0;padding:7px;background:var(--paper);border:0;border-bottom:1px solid var(--line)}
.rubric-connections{font-size:12px;margin:16px 0}.rubric-connections-title{font-weight:600}
#rubricConnectionsList p{line-height:1.5;margin:12px 0}#rubricConnectionsList strong,#rubricConnectionsList span{display:block}#rubricConnectionsList span{color:var(--muted);font-size:11px;margin-top:3px}
.rubric-connections summary{font-size:12px}.rubric-connections .criterion-tags{border:0;padding:10px 0}.rubric-connections .criterion-tags legend{font-size:12px;color:var(--muted)}
#observationCriteria{display:flex;flex-direction:column;align-items:stretch}#observationCriteria button{text-align:left;min-height:44px;white-space:normal;line-height:1.5;padding:8px 0}
#popover .pop-head,#popover #popContext{box-shadow:0 8px 0 var(--paper)}

/* Four consistent engagement choices in one observation form. */
#popover .pop-switch .segmented[hidden]{display:none}
#ratings.unified-ratings{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 16px}
#ratings.unified-ratings button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:80px;padding:10px 6px;border:1px solid var(--line);border-radius:7px;background:transparent;text-align:center;font-size:13px;line-height:1.3}
#ratings.unified-ratings button.picked{border:2px solid currentColor;padding:9px 5px;background:color-mix(in srgb,currentColor 8%,transparent)}
#ratings.unified-ratings button svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#ratings.unified-ratings button[data-rating=quiet]{color:var(--green)}
.rating-toggle-hint{margin:0 0 6px;font-size:11px;line-height:1.5}

/* Recovery is a mixed observation, visible in both individual and batch prompts. */
body .action-shortcut.recovery-action,body .batch-prompt.recovery-action{color:var(--amber,#f0c66b);border-color:var(--amber,#f0c66b)}
body .action-shortcut.recovery-action[aria-pressed=true],body .batch-prompt.recovery-action[aria-pressed=true]{color:var(--amber,#f0c66b);border:2px solid var(--amber,#f0c66b);background:rgba(240,198,107,.12)}
