/* Behaviour-based assessment: labelled frequency choices and contextual results. */
#questions fieldset.q{min-width:0;margin:0;border:0;border-top:1px solid #d8cbb5;padding:24px 0}
#questions .q legend{float:left;width:100%;padding:0;margin:0 0 16px;line-height:1.6;font-size:17px;color:#303c36}
#questions .q legend+.choices{clear:both}
#questions .choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#questions .choices label{min-width:0;margin:0;padding:12px;line-height:1.45;background:#fffdf8;color:#303c36;border:1px solid #9b9f95;justify-content:flex-start}
#questions .choices label:has(input:checked){background:#163832;color:#fffdf8;border-color:#163832}
#questions .choices .not-observed{grid-column:1/-1}
#questions .choices input{flex:none;accent-color:#163832}
#questions .choices label:focus-within{outline:3px solid #ac9067;outline-offset:3px}
#response-review{margin:26px 0;padding:22px;background:#e9e3d7;color:#303c36;border-left:4px solid #ac9067}
#response-review h3{margin-top:0;font:26px Georgia,serif}
#response-review p{line-height:1.65;color:#303c36}
@media(min-width:760px){#questions .choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{#response-review{break-inside:avoid;background:white;border:1px solid #777}.choices{display:none}}

#questions .choices label span{min-width:0;overflow-wrap:anywhere}
@media(max-width:380px){#questions .choices{grid-template-columns:minmax(0,1fr)}}
