/* Evaluation lesson: a side-by-side trial stays readable on a narrow screen. */
.eval-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(15rem,.75fr); align-items:start; gap:clamp(2.3rem,7vw,7rem); }
.eval-reading { max-width:74ch; }
.eval-reading section { scroll-margin-top:1rem; }
.eval-reading .lesson-type { margin-bottom:.5rem; }
.trial-figure { margin:1.45rem 0; }
.trial-figure table { width:100%; table-layout:fixed; border-collapse:collapse; font-variant-numeric:tabular-nums; line-height:1.4; }
.trial-figure caption { text-align:left; color:var(--muted); font-size:.9rem; padding-bottom:.6rem; }
.trial-figure thead { background:var(--deep); color:#fff; }
.trial-figure th, .trial-figure td { padding:.65rem .7rem; text-align:left; vertical-align:top; overflow-wrap:break-word; border-bottom:1px solid var(--hairline); }
.trial-figure th:first-child { width:54%; }
.trial-figure tbody th { font-weight:500; }
.trial-figure .total-row { background:#e8ece6; }
.trial-figure .total-row th, .trial-figure .total-row td { font-weight:700; }
.trial-figure figcaption, .field-note { color:var(--muted); font-size:.88rem; line-height:1.5; }
.trial-figure figcaption { margin-top:.6rem; }
#evaluation-quiz { margin-block:1rem; }
#evaluation-quiz fieldset { margin:0; padding:0; border:0; }
#evaluation-quiz label { display:flex; align-items:baseline; gap:.7rem; padding:.6rem .35rem; cursor:pointer; border-top:1px solid var(--hairline); }
#evaluation-quiz label:last-child { border-bottom:1px solid var(--hairline); }
#evaluation-quiz input { flex:none; }
#evaluation-feedback:not(:empty) { font-weight:650; margin-top:.8rem; }
.eval-answer { margin-block:.8rem 1.4rem; border-left:3px solid var(--link); padding:.65rem .9rem; background:#edf0e9; }
.eval-answer summary { cursor:pointer; color:var(--ink); font-weight:700; }
.eval-answer summary:focus-visible, .eval-reading textarea:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.eval-answer p { margin-top:.6rem; }
.test-steps { margin:.7rem 0 0; padding-left:1.4rem; }
.test-steps li { margin:.65rem 0; padding-left:.15rem; }
.notes-label { display:block; margin:1rem 0 .4rem; font-weight:650; }
.eval-reading textarea { width:100%; max-width:100%; padding:.7rem; resize:vertical; font:inherit; line-height:1.4; color:var(--ink); background:#fffef9; border:1px solid var(--muted); border-radius:.16rem; }
.eval-evidence > a { display:block; margin-bottom:.65rem; }
@media (max-width:800px) {
  .eval-layout { grid-template-columns:minmax(0,1fr); gap:1rem; }
  .eval-evidence { border-left:0; border-top:1px solid var(--rule); padding:1.2rem 0 0; }
}
@media(max-width:500px) {
  .trial-figure table { font-size:.92rem; }
  .trial-figure th, .trial-figure td { padding:.55rem .35rem; }
  .trial-figure th:first-child { width:46%; }
}
