/* Shared task reading layout: bank, authored tests, materials and result review. */
body.practice-mode #practiceView{
  height:auto!important;max-height:none!important;min-height:100vh!important;overflow:visible!important;
}
body.practice-mode,body.practice-mode>main{
  height:auto!important;max-height:none!important;overflow:visible!important;
}
#practiceView .task-card{
  height:auto!important;max-height:none!important;display:flex!important;flex-direction:column!important;
}
#practiceView .task-scroll{
  flex:none!important;height:auto!important;max-height:none!important;min-height:0!important;
  overflow:visible!important;overscroll-behavior:auto;
}
#practiceView .answer-dock{position:static!important;flex:none!important;width:100%;box-sizing:border-box}
#practiceView .task-scroll>#taskTitle,
#solutionModal #solutionTaskText,
#practiceView .essay-formatted-copy,
#practiceView .essay-problem>p,
#sourceTextModalContent,
.bank-shared{
  font:400 18px/1.65 Manrope,sans-serif!important;letter-spacing:normal!important;
  overflow-wrap:anywhere;min-width:0;
}
#practiceView #taskTitle .task-copy-paragraph,
#solutionTaskText .task-copy-paragraph{display:block}
#practiceView #taskTitle .task-copy-paragraph+.task-copy-paragraph,
#solutionTaskText .task-copy-paragraph+.task-copy-paragraph{margin-top:.75em}
#practiceView #taskBody{min-width:0;overflow-wrap:anywhere}
#practiceView #taskBody :is(p,li,td,.student-choice-list b){font-weight:400!important}
#practiceView :is(#taskTitle,#taskBody) :is(strong,b),
#solutionTaskText :is(strong,b),#sourceTextModalContent :is(strong,b),
.bank-shared :is(strong,b){font-weight:700!important}
#practiceView #taskBody .student-choice-list b{font-weight:400!important}
#practiceView :is(#taskBody,#taskImage,.bank-task-attachments) img{max-width:100%;height:auto}
#practiceView :is(#taskBody,.bank-shared) table{display:block;max-width:100%;overflow-x:auto}
#solutionModal .solution-task{height:auto!important;max-height:none!important;overflow:visible!important}
@media(max-width:700px){
  #practiceView .task-scroll>#taskTitle,#solutionModal #solutionTaskText,
  #practiceView .essay-formatted-copy,#sourceTextModalContent,.bank-shared{font-size:16px!important}
}

/* Hidden non-scrolling boxes must not trap wheel/touch scroll chaining. */
#practiceView :is(.task-card,.task-layout,.task-scroll,.answer-dock){
  overflow:visible!important;overscroll-behavior:auto!important;
}
.exam-copy{font:400 18px/1.6 Manrope,sans-serif!important;letter-spacing:normal;text-align:left;white-space:normal}
.exam-copy p{margin:0 0 1em!important;font:inherit!important}
.exam-copy .exam-prompt{font-weight:700!important}
.exam-copy .exam-item{display:grid;grid-template-columns:2em minmax(0,1fr);gap:0 .4em;margin:0 0 .75em;align-items:baseline;font-weight:400}
.exam-copy .exam-marker{white-space:nowrap}
.exam-copy .exam-matching{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:28px;margin:24px 0}
.exam-copy .exam-matching h3{font:700 17px/1.5 Manrope,sans-serif!important;margin:0 0 16px!important;letter-spacing:normal!important;text-decoration:none!important}
.exam-copy .exam-matching section{min-width:0}
@media(max-width:800px){.exam-copy{font-size:16px!important}.exam-copy .exam-matching{grid-template-columns:1fr;gap:18px}}
.exam-copy em{font-style:italic;font-weight:400}
.bank-shared{white-space:normal!important}
.exam-copy .exam-option{margin:0 0 .75em;line-height:1.6;font-weight:400}
/* Original emphasis in matching quotations is part of the question. */
.exam-copy .exam-matching strong,.exam-copy .exam-matching strong em{font-weight:700!important}
.exam-copy .exam-matching-expressive{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
@media(max-width:800px){.exam-copy .exam-matching-expressive{grid-template-columns:1fr}}
