/* Fit exam media without changing the surrounding question text. */
.exam-fit-frame{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;overflow:visible!important;max-height:none!important}
.exam-fit-container{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
.exam-fit-constrain{width:100%!important}
.exam-fit-row{flex-wrap:wrap!important}
.exam-fit-choice-row,.exam-fit-choice-row .pick,.choice-column-headings{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
.exam-fit-choice-row :is(.body,.choice-text){min-width:0!important;max-width:100%!important}
.choice-column-headings>span{min-width:0!important;overflow-wrap:anywhere}
.exam-fit-graphic{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:none!important}
svg.exam-fit-graphic{display:block;margin-inline:auto;flex-shrink:1}
.exam-fit-wide-graphic{display:block!important;margin-inline:auto!important}
.exam-fit-table{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;table-layout:fixed!important;border-collapse:collapse}
.exam-fit-table td,.exam-fit-table th{box-sizing:border-box;min-width:0!important;overflow-wrap:anywhere;white-space:normal!important}
.exam-fit-table :is(pre,code){white-space:pre-wrap!important;overflow-wrap:anywhere;max-width:100%}
.exam-fit-choice-table{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;white-space:normal!important}
.exam-fit-choice-table [role=cell]{min-width:0!important;overflow-wrap:anywhere;white-space:normal!important}
.exam-fit-choice-table :is(pre,code){white-space:pre-wrap!important;overflow-wrap:anywhere}
.exam-fit-native-hidden{display:none!important}
.exam-responsive-table{display:block;width:100%;max-width:100%;height:auto;margin-inline:auto}
.exam-fit-prose-math,.exam-fit-prose-math .katex-html,.exam-fit-prose-math .base,.exam-fit-prose-math .mtext{white-space:normal!important}
.exam-fit-prose-math .katex-html,.exam-fit-prose-math .base{display:inline!important}
@media(max-width:700px){
 .sg-pt.exam-fit-row>.sg-crit{flex:1 1 100%!important}
 .sg-pt.exam-fit-row>.sg-pts{max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
 .exam-fit-table{table-layout:fixed!important}
 .exam-fit-table col,.exam-fit-table td,.exam-fit-table th{width:auto!important}
 .exam-fit-table td,.exam-fit-table th{padding:6px 5px!important;font-size:clamp(12px,3.6vw,15px);line-height:1.4}
 .exam-fit-table :is(ul,ol){padding-inline-start:1.2em!important;margin-inline:0!important}
 .exam-fit-table.stat-stemplot td{white-space:pre-wrap!important}
 .exam-fit-long-table,.exam-fit-long-table>thead,.exam-fit-long-table>tbody,.exam-fit-long-table>tfoot,.exam-fit-long-table tr,.exam-fit-long-table td,.exam-fit-long-table th{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 .exam-fit-long-table td,.exam-fit-long-table th{font-size:15px!important;line-height:1.5;padding:9px!important;text-align:left!important}
 .exam-fit-long-table colgroup{display:none!important}
 .exam-fit-long-table .exam-fit-responsive-head{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
 .exam-fit-long-table td[data-responsive-label]::before{content:attr(data-responsive-label);display:block;font-weight:700;margin-bottom:4px}
 .exam-fit-choice-table{font-size:clamp(12px,3.6vw,15px)}
}
