































.qf-row{display:flex;flex-wrap:nowrap;gap:1rem;align-items:flex-start;max-width:100%;min-width:0;clear:both;margin:.75em 0}































.qf-row.qf-stack{flex-direction:column}.qf-row.qf-stack>.qf-col{width:100%!important;flex:none!important}































.qf-col{min-width:0;box-sizing:border-box;max-width:100%}.qf-col[data-qf-role=t]{flex:0 1 auto}.qf-col[data-qf-role=f]{flex:0 0 var(--qf-ideal,18rem)}































.qf-col>:first-child{margin-top:0}.qf-col>:last-child{margin-bottom:0}































.qf-row[data-qf-mode=g]{flex-wrap:wrap}.qf-row[data-qf-mode=k]{overflow-x:auto;overflow-y:hidden}.qf-row[data-qf-mode=k]>.qf-col{flex-shrink:0}































.qf-image{display:block;width:calc(max(var(--qf-w),var(--qf-min-px,0px)) + var(--qf-native-edge,0px));max-width:100%;overflow-x:auto;overflow-y:hidden;margin:.65em auto;box-sizing:border-box}































.qf-image[data-qf-align=l]{margin-inline-start:0;margin-inline-end:auto}.qf-image[data-qf-align=r]{margin-inline-start:auto;margin-inline-end:0}































.qf-image>.inline-illust,.qf-image>.ai-illustration{display:block!important;width:max(var(--qf-w),var(--qf-min-px,0px))!important;min-width:max(var(--qf-n),var(--qf-min-px,0px))!important;max-width:calc(100% - var(--qf-native-edge,0px))!important;float:none!important;margin:0!important}































.qf-image svg{display:block;width:100%;height:auto}.qf-image img{height:auto}































.qf-row.qf-wrap{display:flow-root}.qf-wrap>.qf-col[data-qf-role=t]{display:contents}.qf-wrap>.qf-col[data-qf-role=f]{float:inline-end;width:var(--qf-ideal);margin:0 0 .6rem 1rem}.qf-wrap[data-qf-side=l]>.qf-col[data-qf-role=f]{float:inline-start;margin:0 1rem .6rem 0}































.qf-table-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;padding-block-end:1px;margin:0}.qf-table-scroll>table{width:var(--ideal-width);min-width:var(--min-width);max-width:100%;border-collapse:collapse}.qf-table-scroll th,.qf-table-scroll td{padding:.35em .6em;border:1px solid #999;vertical-align:top}.qf-table-scroll th{font-weight:600}
.qf-table-scroll tr.qf-table-row-frame{border:.22em solid currentColor}































.qf-image:focus-visible,.qf-table-scroll:focus-visible{outline:2px solid currentColor;outline-offset:2px}































figure{max-width:100%;margin:.5rem 0}figcaption{font-size:.9em;text-align:center;margin-top:.4em}































@media print{.qf-image,.qf-table-scroll{overflow:visible}.qf-image>.inline-illust,.qf-image>.ai-illustration,.qf-table-scroll>table{min-width:0!important;max-width:100%!important}figure,.qf-col[data-qf-role=f]{break-inside:avoid}}































































.qf-row[data-qf-mode=k]>.qf-col[data-qf-role=t]{min-width:var(--qf-text-min,16rem);flex-basis:var(--qf-text-min,16rem);flex-grow:1}































































.qf-scroll-hint{display:block;font-size:.75rem;color:#586c7b;margin:.15rem 0 .5rem}.qf-scroll-hint[hidden]{display:none}@media print{.qf-scroll-hint{display:none}}































































/* Equal-height groups preserve aspect ratios and reserve the same scrollbar space. */































.qf-image.qf-equal-image{width:var(--qf-equal-w);height:calc(var(--qf-h) + var(--qf-scrollbar-h,0px));margin:.5rem auto .25rem;overflow-x:auto;overflow-y:hidden}































.qf-image.qf-equal-image>.inline-illust,.qf-image.qf-equal-image>.ai-illustration{width:var(--qf-equal-w)!important;min-width:var(--qf-equal-w)!important;max-width:none!important;height:var(--qf-h)!important}































.qf-image.qf-equal-image svg{width:100%;height:100%}































































.qf-scrollable{cursor:grab}.qf-panning,.qf-panning *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}.qf-scrollable a,.qf-scrollable button,.qf-scrollable input,.qf-scrollable select,.qf-scrollable textarea{cursor:auto}































































/* A fixed group owns scrolling for its entire contents; descendants expand fully. */































.qf-row[data-qf-mode=k]>.qf-col{max-width:none}































.qf-row[data-qf-mode=k] figure{max-width:none}































.qf-row[data-qf-mode=k] .qf-image,.qf-row[data-qf-mode=k] .qf-table-scroll,.qf-row[data-qf-mode=k] .qf-row[data-qf-mode=k],.qf-delegated-scroll{overflow:visible!important;max-width:none!important}































.qf-row[data-qf-mode=k] .qf-image>.inline-illust,.qf-row[data-qf-mode=k] .qf-image>.ai-illustration{max-width:none!important}































.qf-row[data-qf-mode=k] .qf-image.qf-equal-image{height:var(--qf-h)}































.qf-row[data-qf-mode=k] .qf-table-scroll{width:max-content}































.qf-row[data-qf-mode=k] .qf-row[data-qf-mode=k]{width:max-content}































































.qf-height-slot{display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%;box-sizing:border-box}.qf-height-slot>.qf-image{flex:0 1 auto;margin:.5rem auto}.qf-balanced-slots figcaption{text-align:center}































































/* Scroll affordances are native bars and cursor feedback, without helper text. */































.qf-scroll-hint{display:none!important}































































/* Intrinsic table content must not inherit anywhere-breaking from prose. */































.qf-table-scroll>table{table-layout:auto;overflow-wrap:normal;word-break:normal}































.qf-table-scroll th,.qf-table-scroll td{overflow-wrap:normal;word-break:normal}































.qf-table-scroll .qf-atomic{white-space:nowrap}































/* Bounded content columns keep related figures near the actual table width. */































.qf-col[data-qf-role=t][data-qf-bounded]{flex:0 1 var(--qf-text-ideal)}































































/* Paragraphs describe content, not blank spacer rows. */































.rich-text>p:first-child,.quiz-rich>p:first-child{margin-block-start:0}































.rich-text>p:last-child,.quiz-rich>p:last-child{margin-block-end:0}































































/* Column readability is independent of the outer table width. */































.qf-table-scroll th,.qf-table-scroll td{min-width:var(--qf-cell-min,0px)}































@media print{.qf-table-scroll th,.qf-table-scroll td{min-width:0}}































































/* Narrative tables use measured content width; spare space is not a target. */































.qf-table-scroll>table.qf-table-prose{width:fit-content}































/* A coordinate pair may stay together while a series wraps between pairs. */































.rich-text .qf-atomic,.quiz-rich .qf-atomic{white-space:nowrap}































































/* Question reading order is stem, figure, options; wide view groups text left. */































.qf-row.qf-question:not(.qf-stack){display:grid;grid-template-columns:minmax(0,max-content) var(--qf-question-figure,18rem);grid-template-rows:auto 1fr;column-gap:1rem;row-gap:0}































.qf-question:not(.qf-stack)>.qf-col:nth-child(1){grid-column:1;grid-row:1}































.qf-question:not(.qf-stack)>.qf-col:nth-child(2){grid-column:2;grid-row:1 / span 2}































.qf-question:not(.qf-stack)>.qf-col:nth-child(3){grid-column:1;grid-row:2}



/* In row mode choices follow the complete stem/figure pair. Wrap stays independent. */

/* Short stems occupy their natural width; alignment uses the remaining figure slot. */
.qf-question[data-qf-mode="a"]:not(.qf-stack){grid-template-columns:minmax(0,max-content) minmax(var(--qf-question-figure,18rem),1fr)}

.qf-question[data-qf-mode="a"]:not(.qf-stack)>.qf-col:nth-child(2){grid-row:1}

.qf-question[data-qf-mode="a"]:not(.qf-stack)>.qf-col:nth-child(3){grid-column:1 / -1;grid-row:2}































.qf-question.qf-stack{display:flex;flex-direction:column}































































/* A table note belongs to the figure, outside the data-grid border. */































figure.qf-table-group{margin:0}































.qf-table-group>.qf-table-scroll{margin:0}































.qf-table-group>figcaption.qf-table-note{margin:.2em 0 0;font-size:1em;text-align:start}































































.qf-table-group>.qf-table-scroll>table{margin:0!important}































































/* Two editable labels separated by a theme-coloured diagonal, inside one header cell. */































.qf-table-scroll th.qf-diagonal{padding:0!important;vertical-align:middle}































.qf-diagonal-box{position:relative;--qf-diagonal-base:7.6em;min-inline-size:max(var(--qf-diagonal-base),var(--qf-diagonal-fit-width,0px));min-block-size:2.64em;line-height:1.1}































.qf-diagonal-box::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.65;background:linear-gradient(to top right,transparent calc(50% - .5px),currentColor calc(50% - .5px),currentColor calc(50% + .5px),transparent calc(50% + .5px))}































.qf-diagonal-column,.qf-diagonal-row{position:absolute;white-space:nowrap}































.qf-diagonal-column{top:.02em;right:.35em;text-align:right}































.qf-diagonal-row{bottom:.02em;left:.35em;text-align:left}































































.qf-diagonal-box.qf-diagonal-wide{--qf-diagonal-base:12em}































.qf-table-scroll tr:has(>th.qf-diagonal)>th{vertical-align:middle}































































.qf-diagonal-box[data-qf-balanced]>.qf-diagonal-column,.qf-diagonal-box[data-qf-balanced]>.qf-diagonal-row{right:auto;bottom:auto;width:max-content}































































/* A merged corner owns the diagonal across the full two-row cell, not just its first row. */































.qf-table-scroll th.qf-diagonal[rowspan]{position:relative}































.qf-diagonal[rowspan]>.qf-diagonal-box{position:static}































.qf-table-scroll>table.qf-table-matrix th,.qf-table-scroll>table.qf-table-matrix td{text-align:center;vertical-align:middle}































































/* Bottom image captions share one gap; top titles and table notes keep their own rules. */















figure>:is(.qf-image,.inline-illust,.ai-illustration):has(~figcaption),















figure>div:has(~figcaption)>.qf-image:last-child{margin-bottom:0!important}















figure>:is(.qf-image,.inline-illust,.ai-illustration,div:has(.qf-image))~figcaption{margin-top:.2em}















figure.qf-caption-close>figcaption{margin-top:.2em}















/* Explicit three-column wrapping keeps stem, figure, options reading order. */















.qf-row.qf-question[data-qf-mode=s].qf-wrap{display:flow-root}































/* Vocabulary notes retain their original single frame and authored rows. */















.qf-table-scroll:has(>table.qf-table-glossary){margin-block:0;margin-inline-start:auto;width:max-content;max-width:100%}















.qf-table-scroll>table.qf-table-glossary{width:max-content;max-width:none;border:1px solid currentColor}















.qf-table-scroll>table.qf-table-glossary td{border:0!important;white-space:nowrap;padding:.18em .35em;min-width:0}















.qf-table-scroll>table.qf-table-glossary td:first-child{padding-inline-end:0}































/* Steps remain subordinate to their heading, including continuation lines. */















.qf-step-list{margin-block:.4em;margin-inline-start:2em;margin-inline-end:0}















































/* Explicit adaptive tables keep authored preferred widths without forcing narrow overflow. */































.qf-table-scroll>table.qf-table-adaptive{min-width:min(var(--min-width),100%)}































































/* Short choices follow their contents; wrap whole options, never fixed columns. */































.qbank-short-options{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:baseline;gap:.25em .7em;margin:.5em 0}































.qbank-short-option{display:inline-flex;flex:0 0 auto;align-items:baseline;white-space:nowrap;max-width:100%}































.qbank-short-option .qbank-option-line{width:auto}















































/* Original crossed-out reaction-matrix cells: a real line follows both cell corners. */















.qf-table-scroll .qf-diagonal-cell{position:relative}















.qf-table-scroll .qf-diagonal-cell>.qf-diagonal-stroke{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;overflow:hidden;stroke:currentColor;stroke-width:1px;opacity:.65;fill:none}















.qf-table-scroll>table.qf-table-matrix:has(.qf-diagonal-cell){table-layout:fixed}















.qf-table-scroll>table.qf-table-matrix:has(.qf-diagonal-cell) tr>:first-child{width:2.5em}































/* Natural-width colgroups must not undo this opt-in matrix's equal data columns. */















.qf-table-scroll>table.qf-table-matrix:has(.qf-diagonal-cell) col{width:auto!important}















.qf-table-scroll>table.qf-table-matrix:has(.qf-diagonal-cell) col:first-child{width:2.5em!important}































/* Opt-in dense source tables: preserve merged cells and font size, wrap prose. */















.qf-table-scroll>table.qf-table-adaptive.qf-table-compact th,.qf-table-scroll>table.qf-table-adaptive.qf-table-compact td{padding:.25em;min-width:0!important;overflow-wrap:anywhere;word-break:normal}















































/* Source matrices with one continuous diagonal include the corner in equal-column sizing.















   Equal small percentages distribute the remaining fixed table width equally for any column count. */















.qf-table-scroll>table.qf-table-matrix.qf-diagonal-chain:has(.qf-diagonal-cell) tr>*,















.qf-table-scroll>table.qf-table-matrix.qf-diagonal-chain:has(.qf-diagonal-cell) tr>:first-child,















.qf-table-scroll>table.qf-table-matrix.qf-diagonal-chain:has(.qf-diagonal-cell) col,















.qf-table-scroll>table.qf-table-matrix.qf-diagonal-chain:has(.qf-diagonal-cell) col:first-child{width:1%!important}































/* Preserve source column-only data rules beneath a two-row merged header. */















.qf-table-scroll>table.qf-table-column-rules{border:1px solid #999}















.qf-table-scroll>table.qf-table-column-rules tr:nth-child(n+3)>td{border-top:0!important;border-bottom:0!important;padding-block:.175em}















.qf-table-scroll>table.qf-table-column-rules td{text-align:center;vertical-align:middle}































/* Explicit paired galleries retain A/B and C/D rows; ordinary galleries are unchanged. */















.qf-row[data-qf-pairs="1"] figcaption{font-size:.85em;text-align:left;line-height:1.35}















.qf-row[data-qf-pairs="1"] figure>figcaption:first-child{margin:0 0 .3em}















.qf-row[data-qf-pairs="1"] .qf-col{width:100%}































/* Source matrix: two header rows, double rule below them and after row labels. */















.qf-table-scroll>table.qf-table-grouped-header td{padding-block:.1em;line-height:1.45}















.qf-table-scroll>table.qf-table-grouped-header tr:not(:nth-child(2))>td:first-child,.qf-table-scroll>table.qf-table-grouped-header tr:nth-child(2):has(>td:nth-child(5))>td:first-child{border-right:3px double #999}















.qf-table-scroll>table.qf-table-grouped-header tr:first-child>td[rowspan],.qf-table-scroll>table.qf-table-grouped-header tr:nth-child(2)>td{border-bottom:3px double #999}















.qf-table-scroll>table.qf-table-grouped-header tr:nth-child(n+3)>td:first-child{text-align:left}































.qf-table-scroll>table.qf-table-grouped-header tr:first-child>td[rowspan]{vertical-align:bottom}































/* Source codon chart: brackets encode groups, rather than a rectangular grid. */















.qf-table-scroll>table.qf-table-codon{border:0!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;color:#111!important;font-family:Arial,sans-serif;line-height:1.2;table-layout:fixed;width:29em!important;min-width:29em!important;max-width:none!important}















.qf-table-scroll>table.qf-table-codon tr>:is(th,td){border:0!important;background:transparent!important;color:inherit!important;padding:.44em .25em!important;vertical-align:middle!important;text-align:left;font-weight:400;white-space:nowrap;position:relative}















.qf-table-scroll>table.qf-table-codon tr:first-child>th{background:#161616!important;color:white!important;text-align:center;font-weight:600;padding:.25em!important}















.qf-table-scroll>table.qf-table-codon tr:first-child>th:is(:first-child,:last-child){background:#fff!important}















.qf-table-scroll>table.qf-table-codon tr:not(:first-child)>th{background:#161616!important;color:white!important;text-align:center;font-weight:600;min-width:1em}















.qf-table-scroll>table.qf-table-codon td.qf-codon-aa{padding-left:.7em!important}















.qf-table-scroll>table.qf-table-codon td.qf-codon-aa::before{content:"";position:absolute;left:.05em;top:.35em;bottom:.35em;width:.32em;border:1px solid #222;border-left:0;pointer-events:none}















.qf-table-scroll>table.qf-table-codon td.qf-codon-start{font-size:.65em;line-height:1.05}















.qf-table-scroll>table.qf-table-codon td:is(.qf-codon-stop-code,.qf-codon-stop-aa){background:#ddd!important;box-shadow:inset 0 1px #999,inset 0 -1px #999}















.qf-table-scroll>table.qf-table-codon td.qf-codon-stop-code{box-shadow:inset 1px 0 #999,inset 0 1px #999,inset 0 -1px #999}















.qf-table-scroll>table.qf-table-codon td.qf-codon-stop-aa{box-shadow:inset -1px 0 #999,inset 0 1px #999,inset 0 -1px #999}















.qf-table-scroll>table.qf-table-codon tr:is(:nth-child(6),:nth-child(10),:nth-child(14))>*{border-top:1px dashed #aaa!important}































.qf-table-scroll>table.qf-table-codon tr:first-child>th{width:22.2%}















.qf-table-scroll>table.qf-table-codon tr:first-child>th:is(:first-child,:last-child){width:5.6%}































/* Explicit three-region corner; generated lines and three selectable source labels. */















.qf-table-scroll th.qf-diagonal-three{padding:0!important;vertical-align:middle;position:relative}















.qf-diagonal-three-box{position:relative;min-inline-size:var(--qf-three-width,6em);min-block-size:var(--qf-three-height,3em);line-height:1.1}















.qf-diagonal-three-lines{position:absolute;inset:0;display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1px;opacity:.65;pointer-events:none}















.qf-diagonal-three-box>span{position:absolute;white-space:nowrap;width:max-content;transform:translate(-50%,-50%);font-weight:inherit}















.qf-diagonal-three-box>.qf-three-column{left:75%;top:18%}















.qf-diagonal-three-box>.qf-three-result{left:80%;top:75%}















.qf-diagonal-three-box>.qf-three-row{left:17%;top:82%}















.qf-diagonal-three[rowspan]>.qf-diagonal-three-box{position:static}































/* Source column codes are centered in both axes beside the compact corner. */















.qf-table-scroll tr:has(>th.qf-diagonal-three)>:not(.qf-diagonal-three){text-align:center;vertical-align:middle}































/* Preserve source tables with only top/header/bottom rules. */















.qf-table-scroll>table.qf-table-horizontal-rules{border:0!important;border-collapse:collapse}















.qf-table-scroll>table.qf-table-horizontal-rules tr>:is(td,th){border:0!important;text-align:center;vertical-align:middle}















.qf-table-scroll>table.qf-table-horizontal-rules tr:first-child>:is(td,th){border-top:1px solid currentColor!important;border-bottom:1px solid currentColor!important}















.qf-table-scroll>table.qf-table-horizontal-rules tr:last-child>:is(td,th){border-bottom:1px solid currentColor!important}































/* Option galleries stay beside a floated question figure instead of clearing it. */















.qf-question[data-qf-mode=s].qf-wrap>.qf-col[data-qf-role=t]>.qf-row[data-qf-mode=g]{clear:none}































/* Explicit image choices: a real option control beside its associated image. */















.qbank-image-option{display:flex;align-items:flex-start;gap:.25em;max-width:100%;min-width:0}















.qbank-image-option>.qf-image{flex:none;margin:0}















.qbank-image-option>.qbank-option-marker,.qbank-image-option>.qbank-inline-option{flex:none}































/* Explicit shared-group flow: children may follow prose beside the shared figure. */















.qf-group-flow-owner{display:flow-root}















.qf-group-flow-owner .qf-group-flow-common{display:block}















.qf-group-flow-owner .qbank-group-flow>.qf-row.qf-wrap{display:block;margin-block-end:0}















.qf-group-flow-owner>.preview-group-question,.qf-group-flow-owner>.quiz-question,.qf-group-flow-owner>.book-group-question{display:flow-root}
.qf-group-flow-owner>.qf-group-flow-following{clear:both}































/* Explicit per-question figure scope; following questions stay outside its float. */















.qf-question-flow-owner{display:flow-root}















.qf-question-flow-owner>.qf-question-flow-common{display:block}















.qf-question-flow-owner .qbank-question-flow>.qf-row.qf-wrap{display:block;margin-block-end:0}















.qf-question-flow-owner>.preview-answer,.qf-question-flow-owner>.preview-solution,.qf-question-flow-owner>.quiz-solution-review{display:flow-root}































/* Preserve the original stem/figure row when only the comparison options need full width. */















.qf-question.qf-stack.qf-options-full{display:grid;grid-template-columns:minmax(0,1fr) var(--qf-question-figure);gap:1rem}















.qf-question.qf-stack.qf-options-full>.qf-col:nth-child(1){grid-column:1;grid-row:1}















.qf-question.qf-stack.qf-options-full>.qf-col:nth-child(2){grid-column:2;grid-row:1}















.qf-question.qf-stack.qf-options-full>.qf-col:nth-child(3){grid-column:1 / -1;grid-row:2}































/* Historical source intensity tables: preserve original shaded ranges. */















html table th.qbank-source-shaded,html table td.qbank-source-shaded{background-color:rgba(128,128,128,.22);background-color:color-mix(in srgb,currentColor 18%,transparent);print-color-adjust:exact;-webkit-print-color-adjust:exact}































/* Explicit nested option galleries may continue beside their question figure. */















































/* Reserve room for the adjacent option control in explicitly fitted image choices. */















.qbank-image-option-fit>.qf-image{flex:0 1 auto;min-width:0}































/* Equal control slots preserve a comparison gallery scale, including checked review labels. */















.qbank-image-option-equal-control>.qbank-option-marker,.qbank-image-option-equal-control>.qbank-inline-option{flex:0 0 2.4em;box-sizing:border-box}































/* Keep each pure image answer atomic; align controls with visible artwork. */















.qbank-image-option>.qf-image{flex:0 1 auto;min-width:0}















.qbank-image-option>.qbank-option-marker,.qbank-image-option>.qbank-inline-option{margin-block-start:calc(.2em + var(--qbank-option-top,0px))!important}































/* Opt-in independent image choices follow each available float line, then regain full width. */















.qbank-question-flow .qbank-option-gallery-flow>.qf-row[data-qf-mode=g]{display:block;word-spacing:normal}















/* Space belongs to each choice, even when source columns have no whitespace between them. */
.qbank-question-flow .qbank-option-gallery-flow>.qf-row[data-qf-mode=g]>.qf-col{display:inline-block;vertical-align:top;width:max-content;margin:0 0 1rem;margin-inline-end:.7em;word-spacing:normal}















.qbank-option-gallery-flow .qbank-image-option-equal-control>.qbank-option-marker,.qbank-option-gallery-flow .qbank-image-option-equal-control>.qbank-inline-option{flex-basis:2.2em}































.qbank-image-option>.inline-illust,.qbank-image-option>.ai-illustration{flex:0 1 auto;min-width:0;float:none!important;margin:0!important}































/* Periodic source layout: absent cells stay absent; fixed source grid scrolls as one unit. */















[data-source-periodic-layout] .qf-table-scroll{margin:0;padding:0;overflow:visible}















[data-source-periodic-layout] .qf-table-scroll>table{width:576px;min-width:576px;max-width:none;table-layout:fixed;border:0!important;margin:0!important;border-collapse:collapse}















[data-source-periodic-layout] td[data-source-periodic-gap]{border:0!important;padding:0!important;background:transparent!important}































[data-source-periodic-layout] td{line-height:1;vertical-align:middle}















[data-source-periodic-layout] td>span{display:block!important;width:100%;line-height:1}































/* Original Lucas reagent table: three diagram rows share the original unruled body; only the final observation row has a horizontal rule. */















table[data-source-lucas-table]{border:1px solid var(--line)!important;margin:0!important}table[data-source-lucas-table] td{border-left:1px solid var(--line)!important;border-right:1px solid var(--line)!important;border-top:0!important;border-bottom:0!important;background:transparent!important}table[data-source-lucas-table] tr:last-child>td{border-top:1px solid var(--line)!important}table[data-source-lucas-table] tr:not(:last-child)>td{padding:0!important}































/* Source table metadata is bound to the retained native wrapper, since the table formatter rebuilds table attributes. */















[data-source-lucas-table="1938"] table{border:1px solid var(--line)!important;margin:0!important;font-family:DFKai-SB,KaiTi,serif!important;font-size:15.4px!important;font-weight:400!important;line-height:1.35!important}[data-source-lucas-table="1938"] td{border-left:1px solid var(--line)!important;border-right:1px solid var(--line)!important;border-top:0!important;border-bottom:0!important;background:transparent!important}[data-source-lucas-table="1938"] tr:last-child>td{border-top:1px solid var(--line)!important}[data-source-lucas-table="1938"] tr:not(:last-child)>td{padding:0!important}































/* Explicit source-coordinate diagram cells already include native10CSSpx blank margins; remove paragraph/default illustration spacing inside those positioned cells. */















[data-source-lucas-table="1938"] [data-lucas-part] .inline-illust,[data-source-lucas-table="1938"] [data-lucas-part] svg.qbank-illustration-svg{display:block!important;margin:0!important;padding:0!important;line-height:0!important}































/* The fluid image container contributes its own paragraph margin; explicit source-coordinate cells supply the original positions directly. */















[data-source-lucas-table="1938"] [data-lucas-part] .qf-image{margin:0!important;padding:0!important}































/* Actual source2179: eight protein-alignment rows, fifty source character columns. */















[data-source-amino-sequence="2179"] .qf-table-scroll{margin:0!important;padding:0!important;overflow:visible!important}















[data-source-amino-sequence="2179"] table{width:max-content!important;min-width:0!important;max-width:none!important;table-layout:fixed!important;margin:0!important;border:0!important;border-collapse:collapse!important;background:transparent!important}















[data-source-amino-sequence="2179"] tr>:is(th,td){border:0!important;background:transparent!important;box-shadow:none!important;height:38.35px!important;padding:0!important;vertical-align:middle!important;white-space:nowrap!important;text-align:center!important;line-height:1!important}















[data-source-amino-sequence="2179"] th{width:62px!important;min-width:62px!important;padding-right:8px!important;font-family:PMingLiU,MingLiU,serif!important;font-size:20.8px!important;font-weight:700!important}















[data-source-amino-sequence="2179"][data-source-lc="en"] th{width:104px!important;min-width:104px!important}















[data-source-amino-sequence="2179"] td{width:14.76px!important;min-width:14.76px!important;max-width:14.76px!important}















[data-source-amino-sequence="2179"] td>span{display:inline-block!important;font-family:Arial,sans-serif!important;font-size:19.05px!important;font-weight:700!important;line-height:1!important;transform:scaleX(.87)!important;transform-origin:center!important}































/* Keep source alignment columns fixed despite intrinsic wide W/X glyph widths. */















[data-source-amino-sequence="2179"] td>span{width:14.76px!important;max-width:14.76px!important;text-align:center!important}















[data-source-amino-sequence="2179"] table{width:800px!important;min-width:800px!important}















[data-source-amino-sequence="2179"][data-source-lc="en"] table{width:842px!important;min-width:842px!important}































/* Native table formatter normalizes header cells to td; bind the source row label by position. */















[data-source-amino-sequence="2179"] tr>:first-child{width:62px!important;min-width:62px!important;max-width:62px!important;padding-right:8px!important;font-family:PMingLiU,MingLiU,serif!important;font-size:20.8px!important;font-weight:700!important}















[data-source-amino-sequence="2179"][data-source-lc="en"] tr>:first-child{width:104px!important;min-width:104px!important;max-width:104px!important}































/* Fifty exactly representable 14.75px columns avoid assigning rounding residue to column50. */















[data-source-amino-sequence="2179"] table{width:799.5px!important;min-width:799.5px!important}















[data-source-amino-sequence="2179"][data-source-lc="en"] table{width:841.5px!important;min-width:841.5px!important}















[data-source-amino-sequence="2179"] td:not(:first-child),[data-source-amino-sequence="2179"] td>span{width:14.75px!important;min-width:14.75px!important;max-width:14.75px!important}































/* Bind optional runtime colgroup to the same source widths; localized English labels must not trigger inferred column rescaling. */















[data-source-amino-sequence="2179"] col:first-child{width:62px!important}















[data-source-amino-sequence="2179"][data-source-lc="en"] col:first-child{width:104px!important}















[data-source-amino-sequence="2179"] col:not(:first-child){width:14.75px!important}































/* Source2133: each real option plot retains its measured source coordinates and external native answer label. */















[data-source-titration-options="2133"] [data-source-coordinate-part] .qf-image,[data-source-titration-options="2133"] [data-source-coordinate-part] .inline-illust{margin:0!important;padding:0!important;display:block!important}















[data-source-titration-options="2133"] figcaption .qbank-inline-option{font-family:Times New Roman,serif!important;font-size:20.8px!important;font-weight:400!important}































[data-source-titration-options="2133"] figure[data-source-coordinate-frame]{max-width:none!important;box-sizing:content-box!important}































/* Native tight canvases: reserve their external 10px edges without shrinking the drawing. */















.qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image):not(.qf-row[data-qf-mode="g"] .qf-image):not(.qf-row[data-qf-mode="k"] .qf-image){width:calc(max(var(--qf-w),var(--qf-min-px,0px)) + 20px);line-height:0}















.qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image):not(.qf-row[data-qf-mode="g"] .qf-image):not(.qf-row[data-qf-mode="k"] .qf-image)>.ai-illustration{line-height:0}































/* Include the fixed native SVG padding when constraining its content width. */















.qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image):not(.qf-row[data-qf-mode="g"] .qf-image):not(.qf-row[data-qf-mode="k"] .qf-image)>:is(.inline-illust,.ai-illustration){max-width:calc(100% - 20px)!important}































/* Equal-height galleries reserve native SVG edges outside the image rectangle. */















.qf-image.qf-equal-image{width:calc(var(--qf-equal-w) + var(--qf-native-edge,0px));height:calc(var(--qf-h) + var(--qf-native-edge,0px) + var(--qf-scrollbar-h,0px))}































/* Compact captions name individual figures; paired galleries keep these labels centered. */















.qf-row[data-qf-pairs="1"] figure.qf-caption-close>figcaption{text-align:center}































/* Opt-in after a full-figure review: explanation lines regain width below the figure. */















.qf-question-flow-owner:has(>.qf-question-flow-common .qbank-flow-natural)>.preview-solution,















.qf-question-flow-owner:has(>.qf-question-flow-common .qbank-flow-natural)>.quiz-solution-review,















.qf-question-flow-owner:has(>.qf-question-flow-common .qbank-flow-natural)>.quiz-solution-review>.quiz-rich{display:block}































/* Native gallery edges belong inside the explicitly reviewed figure width. */















.qbank-flow-natural .qf-row[data-qf-mode=g] .qbank-svg:has(>svg[data-qbank-native-margin-css="10"]){box-sizing:border-box!important}































/* Equal galleries: carry their measured content height through the AI wrapper. */















.qf-image.qf-equal-image>.ai-illustration>.inline-illust{height:var(--qf-h)!important}















.qf-image.qf-equal-image>.ai-illustration>.inline-illust>svg{height:var(--qf-h)!important}































/* Explicit source-panel galleries include their native external margin inside the column. */















.qbank-source-panels .qf-row[data-qf-mode=g] .qbank-svg:has(>svg[data-qbank-native-margin-css="10"]){box-sizing:border-box!important}































.qbank-source-panels>.qf-row[data-qf-mode=g]{justify-content:center}































/* Explicit photographic comparison tables provide one10px exterior around the raster body. */















.qbank-photo-comparison>.qf-table-scroll>table>tbody>tr>td{padding:10px!important;background:transparent!important}















.qbank-photo-comparison>.qf-table-scroll>table>tbody>tr>td .qf-image{margin:0!important}































.qbank-photo-comparison .qf-image>.ai-illustration,.qbank-photo-comparison .qf-image>.inline-illust,.qbank-photo-comparison .qf-image img.inline-illust{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}































/* Empty option canvas is removed at unchanged drawing scale; keep the real horizontal scrollbar. */















.qbank-image-option .qf-option-tight{height:calc(var(--qf-option-tight-h) + max(var(--qf-scrollbar-h,0px),var(--qf-option-tight-scrollbar,0px)))!important;overflow-y:hidden}































/* Explicit source photographs retain source scale with one transparent10px exterior. */















.qbank-source-photo .qf-image{padding:10px!important;box-sizing:border-box!important}















.qbank-source-photo .qf-image>.inline-illust,.qbank-source-photo .qf-image>.ai-illustration,.qbank-source-photo .qf-image img.inline-illust{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}































/* Explicit image choices include native SVG padding in their scroll viewport. */















.qbank-image-option>.qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image){width:calc(max(var(--qf-w),var(--qf-min-px,0px)) + 20px);line-height:0}















.qbank-image-option>.qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image)>.ai-illustration{line-height:0}















.qbank-image-option>.qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image)>:is(.inline-illust,.ai-illustration){max-width:calc(100% - 20px)!important}































/* Explicit source procedure: independent stages retain their connecting arrows on wrap. */















.qbank-source-procedure{container-type:inline-size;width:100%}















.qbank-source-procedure .ai-icon{top:-.9em!important;left:0!important}















.qbank-source-procedure>.qf-row{display:grid!important;grid-template-columns:minmax(0,1fr);gap:.5rem;justify-content:center;align-items:start}















.qbank-source-procedure>.qf-row>.qf-col{justify-self:center;width:min(var(--qf-ideal,17rem),100%)!important;min-width:0!important;max-width:100%!important}















.qbank-source-procedure>.qf-row>.qf-col:nth-child(even){align-self:center;width:6rem!important}















.qbank-source-procedure>.qf-row>.qf-col:nth-child(even) .qf-image{display:grid;place-items:center;width:6rem!important;min-width:6rem!important;height:6rem!important;overflow:visible!important;margin:0!important;padding:0!important}















.qbank-source-procedure>.qf-row>.qf-col:nth-child(even) .qf-image>:is(.inline-illust,.ai-illustration){width:var(--qf-w)!important;min-width:0!important;max-width:none!important}















.qbank-source-procedure>.qf-row>.qf-col:nth-child(even) .qf-image svg{transform:rotate(90deg);transform-origin:center}















@container(min-width:58rem){















 .qbank-source-procedure>.qf-row{grid-template-columns:17rem 6rem 12rem 6rem 13rem}















 .qbank-source-procedure>.qf-row>.qf-col:nth-child(even) .qf-image svg{transform:none}















}































/* Related source table, procedure heading and diagram share one center axis. */















figure.qf-caption-close:has(>.qbank-source-procedure)>p{text-align:center;margin:0 0 .65em}















figure.qf-caption-close:has(>.qbank-source-procedure)>.qbank-source-procedure{margin:0}















.qbank-source-procedure>.qf-row{margin-block:0}















.qbank-source-procedure>.qf-row>.qf-col>figure{margin:0}















.qbank-source-procedure>.qf-row>.qf-col .qf-image{margin-block-start:0}































.qf-table-scroll:has(+figure.qf-caption-close>.qbank-source-procedure)>table{margin-inline:auto}































.qf-image[data-qf-valign=t]{align-self:flex-start;vertical-align:top}.qf-image[data-qf-valign=c]{align-self:center;vertical-align:middle}.qf-image[data-qf-valign=b]{align-self:flex-end;vertical-align:bottom}































/* Reviewed independent native panels retain drawing scale and include their external edges. */















.qbank-native-panel-edges .qf-row[data-qf-mode=g] .qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image){width:calc(max(var(--qf-w),var(--qf-min-px,0px)) + 20px);line-height:0}















.qbank-native-panel-edges .qf-row[data-qf-mode=g] .qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image)>:is(.inline-illust,.ai-illustration){max-width:calc(100% - 20px)!important}































/* Five source solubility stages and four separate source arrows. */















.qbank-solubility-procedure{container-type:inline-size;width:100%}















.qbank-solubility-procedure>.qf-row{display:grid!important;grid-template-columns:minmax(0,1fr);justify-items:center;align-items:center;gap:1rem}















.qbank-solubility-procedure>.qf-row>.qf-col{width:max-content!important;min-width:0!important;max-width:100%!important}















.qbank-solubility-procedure>.qf-row>.qf-col:nth-child(even) svg{transform:rotate(90deg);transform-origin:center}















.qbank-solubility-procedure figure{margin:0;text-align:center}















@container (min-width:48rem){.qbank-solubility-procedure>.qf-row{grid-template-columns:repeat(9,minmax(0,1fr))}.qbank-solubility-procedure>.qf-row>.qf-col:nth-child(even) svg{transform:none}}































.qbank-solubility-procedure>.qf-row>.qf-col:nth-child(even) .qf-image{height:4rem!important;display:grid;place-items:center;overflow:visible!important}















.qbank-solubility-procedure>.qf-row>.qf-col:nth-child(even) .qf-image>:is(.inline-illust,.ai-illustration),.qbank-solubility-procedure>.qf-row>.qf-col:nth-child(even) svg{overflow:visible!important}































/* Source panel sequences keep their original common bottom line on each naturally wrapped row. */















.qbank-baseline-panels{margin:0}
/* A panel-created figure keeps the original row spacing and baseline alignment. */
.qbank-baseline-panels>figure.qbank-chart-group{margin:.75em 0}















:is(.qbank-baseline-panels,.qbank-baseline-panels>figure.qbank-chart-group)>.qf-row[data-qf-mode=g]{align-items:flex-end}































.qbank-baseline-panels>:is(.qf-row[data-qf-mode=g],figure.qbank-chart-group>.qf-row[data-qf-mode=g])>.qf-col[data-qf-role=t]{align-self:center}































/* Source row/column labels outside a native table grid are not boxed. */















.qf-table-scroll>table.qf-table-exterior-labels{border:0!important}































/* Keep a short text/figure pair adjacent while later lines regain full width. */















.qf-wrap:not([data-qf-side=l])>.qf-col[data-qf-role=f]{margin-inline-end:var(--qf-wrap-trailing,0px)}































/* Ordinary galleries reserve native SVG safety edges outside the drawing, just like standalone images. */















.qf-row:is([data-qf-mode=g],[data-qf-mode=k]) .qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image):not(.qbank-flow-natural .qf-image):not(.qbank-source-panels .qf-image){width:calc(max(var(--qf-w),var(--qf-min-px,0px)) + 20px);line-height:0}















.qf-row:is([data-qf-mode=g],[data-qf-mode=k]) .qf-image:has(svg[data-qbank-native-margin-css="10"]):not(.qf-equal-image):not(.qbank-flow-natural .qf-image):not(.qbank-source-panels .qf-image)>:is(.inline-illust,.ai-illustration){max-width:calc(100% - 20px)!important}































/* Native SVG shells are inline-flex, so auto margins alone cannot align them. */















.qf-col[data-qf-gallery-align=c]{text-align:center}















.qf-col[data-qf-gallery-align=l]{text-align:left}















.qf-col[data-qf-gallery-align=r]{text-align:right}















































/* One outer layout owns block spacing. Nested wrappers must not multiply it.















   Native SVG safety padding and caption spacing remain inside that layout. */















figure>.qf-image,figure>.qf-row,















.qf-row .qf-image,.qf-row figure,.qf-row .qf-row{margin-block:0}















.qbank-export-gallery>.qbank-export-column{margin-block:0}















figure>:is(.inline-illust,.ai-illustration){margin-block:0!important}































/* A final visual block must not add a trailing margin to its section boundary. */















:is(.rich-text,.quiz-rich,.content) :is(.qf-row,.qf-image,figure):last-child{margin-block-end:0}















/* The final visual already carries native safety padding before the answer rule. */















.preview-question:has(>.qf-image:last-child,>figure:last-child,>.qf-row:last-child,>:last-child>.qf-row:last-child)+.preview-answer{margin-top:0;padding-top:8px}































/* Editable source-grid facsimiles: em geometry retains source font/position ratios. */















.qf-table-scroll>table.qf-table-source-grid{table-layout:fixed;width:var(--qf-source-grid-width,34em)!important;min-width:var(--qf-source-grid-width,34em)!important;max-width:none!important;border:0!important;line-height:1.15;font-family:"DFKai-SB","KaiTi",serif}















.qf-table-source-grid col{width:var(--source-width)}















.qf-table-source-grid tr{height:var(--source-height)}















.qf-table-scroll>table.qf-table-source-grid :is(td,th){position:relative;min-width:0!important;padding:0!important;border:1px solid currentColor;text-align:center;vertical-align:middle;font-weight:400;font-size:1em;overflow:visible;white-space:nowrap}















.qf-table-source-grid .qf-source-shade{background:color-mix(in srgb,currentColor 15%,transparent)}
.qf-table-source-grid .qf-source-diagonal{background:linear-gradient(to top right,transparent calc(50% - .45px),currentColor 50%,transparent calc(50% + .45px))}















.qf-table-scroll>table.qf-table-source-grid .qf-source-age{border:0!important}















.qf-table-source-grid .qf-source-label{display:block;position:absolute;left:var(--source-x,.3em);width:calc(100% - var(--source-x,.3em) - var(--source-x,.3em));top:var(--source-y,50%);transform:translateY(-50%);font-size:calc(var(--source-size,1)*1em);line-height:1.15;white-space:nowrap}















.qf-table-source-grid .qf-source-spread{text-align:justify;text-align-last:justify}















.qf-table-source-grid .qf-source-age>.qf-source-label{text-align:right;left:0;width:calc(100% - .15em);font-family:Arial,"DFKai-SB",serif}















.qf-table-source-grid .qf-source-vertical{writing-mode:vertical-rl;text-orientation:upright;white-space:normal;width:1.1em;height:4.5em;left:50%;transform:translate(-50%,-50%);letter-spacing:.45em;text-align:center;text-align-last:center}















.qf-table-source-grid>caption{caption-side:bottom;text-align:center;font-size:1.25em;font-weight:400;padding-top:.65em;white-space:nowrap}















.qf-table-scroll>table.qf-table-source-grid.qf-source-en{width:54em!important;min-width:54em!important;font-family:Arial,serif}















.qf-source-en .qf-source-spread{text-align:center;text-align-last:center}















.qf-source-en .qf-source-vertical{writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:0;height:7em}































.qf-table-source-grid th.qf-source-age>.qf-source-label{text-align:center}































.qf-table-scroll>table.qf-table-source-grid .qf-source-age{background:transparent!important}















.qf-table-source-grid .qf-source-age>.qf-source-label{z-index:1}















.qf-table-source-grid>caption{background:transparent!important}















































/* Align the complete figure/table and its captions within its own stable slot. */















.qbank-chart-unit{display:block;width:max-content;max-width:100%;box-sizing:border-box}















.qbank-chart-unit>figure{margin-inline:0;max-width:100%}















.qf-col[data-qbank-chart-slot=l]>.qbank-chart-unit{margin-inline-start:0;margin-inline-end:auto}















.qf-col[data-qbank-chart-slot=c]>.qbank-chart-unit{margin-inline:auto}















.qf-col[data-qbank-chart-slot=r]>.qbank-chart-unit{margin-inline-start:auto;margin-inline-end:0}















.qbank-chart-unit figcaption{text-align:center}































/* Preserve the outline of source grids with shorter final rows. */















.qf-table-scroll>table.qf-table-ragged{border:0!important}































/* Source four-column answer sheets retain their writable cell areas. */















.qf-table-scroll>table.qf-table-answer-sheet{width:50em!important;min-width:50em!important;max-width:none!important;table-layout:fixed}.qf-table-answer-sheet th{text-align:center}.qf-table-answer-sheet td{height:6em;text-align:center;vertical-align:middle}































.qbank-source-correction{color:#d00000}html[data-theme="dark"] .qbank-source-correction{color:#ff6868}































/* Source-coordinate SVG layers: retain anatomy and editable, self-contained assets. */















.qbank-source-composite{max-width:100%;overflow-x:auto;overflow-y:hidden;margin:.65em 0}















.qbank-source-overlay{display:grid;width:max-content;max-width:none;isolation:isolate}















.qbank-source-overlay>figure{grid-area:1/1;margin:0;max-width:none}















.qbank-source-overlay .qf-image{max-width:none;overflow:visible;margin:0}















.qbank-source-overlay .qf-image>:is(.inline-illust,.ai-illustration){max-width:none!important}































/* Geometry-only layers inherit the calibrated label layer's identical canvas width. */















.qbank-source-overlay>figure:not(:first-child) .qf-image{width:100%!important;min-width:0!important}















.qbank-source-overlay>figure:not(:first-child) .qf-image>:is(.inline-illust,.ai-illustration){width:100%!important;min-width:0!important}















.qbank-source-overlay>figure:not(:first-child) .qf-image svg{width:100%!important}































/* One original answer-sheet cell contains its top-left number and centered answer. */















.qf-table-answer-sheet td:has(>.qf-answer-number){position:relative;padding-top:1.4em}















.qf-table-answer-sheet td>.qf-answer-number{position:absolute;top:.15em;left:.3em;font-weight:400;line-height:1.2}























/* Preserve equal source columns for numbered answer cells despite natural-width colgroup. */







.qf-table-scroll>table.qf-table-answer-sheet:has(.qf-answer-number)>colgroup>col{width:1%!important}















/* Source answer sheets with separate numbered and answer rows. */







.qf-table-scroll>table.qf-table-answer-sheet.qf-answer-paired{width:46em!important;min-width:46em!important}







.qf-table-answer-sheet.qf-answer-paired th{height:1.5em;padding:0!important;text-align:center}







.qf-table-answer-sheet.qf-answer-paired td{height:3em;padding:0!important;text-align:center;vertical-align:top}







.qf-table-scroll>table.qf-table-answer-sheet.qf-answer-paired>colgroup>col{width:1%!important}











/* Source five-column answer block has the same cell widths as its ten-column companion. */



.qf-table-scroll>table.qf-table-answer-sheet.qf-answer-paired.qf-answer-half{width:23em!important;min-width:23em!important}







/* Source grammatical annotations stay visible in both preview and reading modes. */



.qbank-source-circle-char,.qbank-source-square-char{display:inline-block;box-sizing:content-box;min-width:1.1em;line-height:1.1em;text-align:center;border:1px solid currentColor;vertical-align:baseline}



.qbank-source-circle-char{border-radius:50%}



.qbank-source-box{display:inline-block;border:1px solid currentColor;padding:0 .03em;line-height:1.25;white-space:nowrap;vertical-align:baseline}



/* Native answer sheet:12pt Kai numbers,16.02pt Kai letters,source left alignment. */



.qf-table-scroll>table.qf-table-answer-sheet.qf-answer-native-kai{font-family:"DFKai-SB",KaiTi,serif;font-size:1.335em;width:26.37em!important;min-width:26.37em!important}



.qf-table-answer-sheet.qf-answer-native-kai th{font-size:.74906367em;font-weight:400;text-align:left;vertical-align:top;height:1.55em;line-height:1.2;padding:.2em .47em 0!important}



.qf-table-answer-sheet.qf-answer-native-kai tr:first-child th{height:2.625em}



.qf-table-answer-sheet.qf-answer-native-kai td{height:2.277em;text-align:left;vertical-align:top;line-height:1.2;padding:.55em .35em 0!important}



.qf-table-scroll>table.qf-table-answer-sheet.qf-answer-native-kai>colgroup>col{width:1%!important}







/* Source382 five-column answer grid: native Times12pt, original column and row ratios. */



.qf-table-scroll>table.qf-table-source-grid.qf-source-math-answers{width:51.5em!important;min-width:51.5em!important;font-family:"Times New Roman","DFKai-SB",serif}



.qf-table-source-grid.qf-source-math-answers :is(td,th){height:auto!important}







/* Source-coordinate layers share the calibrated first canvas; later layers do not size the grid. */



.qbank-source-overlay{position:relative}



.qbank-source-overlay>figure:not(:first-child){position:absolute;inset:0}







/* Original answer sheets with two adjacent independent source tables. */



.qbank-source-table-pair{display:flex;gap:2em;align-items:flex-start;width:max-content}



.qbank-source-table-pair>.qf-table-scroll{overflow:visible;max-width:none;margin:0;padding:0;flex:none}



.qbank-source-table-pair .qf-table-source-grid{margin:0!important}







.qbank-source-table-pair>.qf-table-scroll>table.qf-table-source-grid td{white-space:normal}







.qbank-source-table-pair>.qf-table-scroll>table.qf-table-source-grid{font-family:"Times New Roman","DFKai-SB",KaiTi,serif}







/* Source Latin answer grids retain Times, original five-row rule groups and empty cells. */



.qf-table-scroll>table.qf-table-source-grid.qf-source-times{font-family:"Times New Roman","DFKai-SB",KaiTi,serif}



.qf-table-source-grid.qf-source-times tbody+tbody>tr:first-child>td{border-top-width:.1152em}







/* Native 392 chemistry answer grid: 16.2pt Calibri over 13.8pt prose. */



.qf-table-scroll>table.qf-table-source-grid.qf-source-chem-answers{font-family:Calibri,Arial,"DFKai-SB",KaiTi,sans-serif;font-size:1.1739130435em}



.qf-table-source-grid.qf-source-chem-answers td{text-align:left!important;padding-left:.333333em!important;box-sizing:border-box}



.qf-table-source-grid .qf-source-red{color:#ff0000;font-family:"DFKai-SB",KaiTi,serif}







.qf-table-scroll>table.qf-table-source-grid.qf-source-chem-answers td{font-family:inherit!important;font-size:1em!important;padding-left:.333333em!important}







/* Source poem sorting labels stay centered below their own underlined phrase. */



.qbank-source-underlabel{display:inline-grid;grid-template-rows:auto auto;justify-items:center;vertical-align:top;max-width:100%}



.qbank-source-underlabel>span{display:block;text-align:center}







.qf-table-source-grid .qf-source-ming{font-family:PMingLiU,serif}







/* A marked reading unit must be indivisible before MathJax computes inline breaks. */



:is(.rich-text,.quiz-rich) span.qf-atomic{display:inline-block;white-space:nowrap}







/* Native source answer cells preserve their original upper-left question numbers and red corrections. */



.qf-table-source-grid .qf-source-left{text-align:left}



.qbank-source-red{color:#ff0000}







/* Source table: retain the outside frame without inventing internal rules. */



.qf-table-scroll>table.qf-table-outer-rules{border:1px solid currentColor;background:transparent;width:max-content;max-width:100%}



.qf-table-scroll>table.qf-table-outer-rules :is(th,td){border:0!important;background:transparent!important;padding:.1em .25em;text-align:center;white-space:nowrap;font-weight:normal}



.qf-table-scroll>table.qf-table-outer-rules th{font-size:1em}



.qf-table-scroll>table.qf-table-outer-rules td[rowspan]{vertical-align:top}







/* Source diagram transitions follow the reading direction after stacking. */



.qbank-source-sequence>.qf-row{align-items:center;justify-content:center}



.qbank-source-sequence>.qf-row.qf-stack .qbank-flow-arrow{display:inline-block;transform:rotate(90deg)}







/* Explicit unlabeled native answer frames retain source point geometry. */



.qf-table-source-grid .qf-source-frame{line-height:0}



.qf-table-source-grid .qf-source-frame .qf-image{margin-block:0!important;line-height:0}







/* Original word banks use a native unruled table. */



.qbank-source-word-bank table{border:0!important}







/* Explicit irregular source-photo code positions; the image and labels share one scroll frame. */



.qbank-source-label-row{position:relative;display:block;min-height:1.2em;line-height:1.2;white-space:nowrap}



.qbank-source-label-row>.qbank-source-label-at{position:absolute;left:calc(var(--source-label-x)*1%);transform:translateX(-50%);top:0}







/* Opt-in apparatus source tables only; legacy tables keep their existing rules. */



.qf-table-source-grid.qf-source-apparatus .qf-source-label.qf-source-point{width:auto;right:0;text-align:left}



.qf-table-scroll>table.qf-table-source-grid.qf-source-apparatus{font-family:Arial,"MS PGothic",sans-serif}







/* Explicit opt-in for the original nutrition panel border pattern. */



.qf-table-scroll>table.qf-table-source-grid.qf-source-nutrition{font-family:Arial,"Microsoft JhengHei","Microsoft YaHei",sans-serif}



.qf-table-scroll>table.qf-table-source-grid.qf-source-nutrition :is(td,th){border:0}



.qf-table-scroll>table.qf-table-source-grid.qf-source-nutrition tr>:first-child{border-left:.075em solid currentColor}



.qf-table-scroll>table.qf-table-source-grid.qf-source-nutrition tr>:last-child{border-right:.075em solid currentColor}



.qf-table-scroll>table.qf-table-source-grid.qf-source-nutrition tr:first-child>td[colspan="3"]{border-top:.075em solid currentColor;font-weight:700}



.qf-table-scroll>table.qf-table-source-grid.qf-source-nutrition td[colspan="3"]{border-bottom:.0375em solid currentColor}



.qf-table-scroll>table.qf-table-source-grid.qf-source-nutrition tr:has(>td[colspan="3"])+tr:not(:has(>td[colspan="3"]))>td{border-bottom:.0375em solid currentColor}



.qf-table-scroll>table.qf-table-source-grid.qf-source-nutrition tbody tr:last-child>td{border-bottom:.075em solid currentColor}



.qf-table-source-nutrition tbody td:nth-child(n+2)>.qf-source-label{text-align:right}







/* Transparent raster source layers have no independent picture frame. */



.qbank-source-overlay>figure:not(:first-child) img.inline-illust{border:0!important}







/* Explicit opt-in for the original two-level competition table. */



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition{font-family:Arial,"Microsoft JhengHei","Microsoft YaHei",sans-serif;color:#fff;background:#7d7d7d!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition :is(th,td){border:.035em solid #c7c7c7;color:#fff;font-weight:400}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition tr>:first-child{background:#595757!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition tr:first-child>th[colspan="2"]:nth-child(2){background:#7d7d7d!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition tr:first-child>th[colspan="2"]:nth-child(3),.qf-table-scroll>table.qf-table-source-grid.qf-source-competition th[colspan="2"]{background:#727171!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition tr:has(>th[colspan="2"]) + tr>th:nth-child(-n+2){background:#7d7d7d!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition tbody>tr>td:nth-child(2){background:#898989!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition tbody>tr>td:nth-child(3){background:#9fa0a0!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition tbody>tr>td:nth-child(4){background:#7d7d7d!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-competition tbody>tr>td:nth-child(5){background:#949495!important}







.qf-table-scroll>table.qf-table-source-grid.qf-source-competition .qf-source-label{font-family:Arial,"Microsoft JhengHei","Microsoft YaHei",sans-serif!important}







/* The source white-paper cloning composite has no added image frame. */



.qbank-source-overlay>figure:first-child:has([data-layout-iid="6534"]) img.inline-illust{border:0!important}







/* Native Paramecium artistic layer has no added picture frame. */



.qbank-source-overlay>figure:first-child:has([data-layout-iid="6542"]) img.inline-illust{border:0!important}







/* Text-only solution flow opt-in keeps established figure dimensions. */



.qf-question-flow-owner:has(>.qf-question-flow-common .qbank-flow-wide-solution)>.preview-solution,



.qf-question-flow-owner:has(>.qf-question-flow-common .qbank-flow-wide-solution)>.quiz-solution-review,



.qf-question-flow-owner:has(>.qf-question-flow-common .qbank-flow-wide-solution)>.quiz-solution-review>.quiz-rich{display:block}







/* Source-aligned gene-expression illustration layers (original IID3138). */



.qbank-source-overlay>figure:first-child:has([data-layout-iid="6551"]) img.inline-illust{border:0!important}







/* Source fruit classification: original code/name/definition columns. */



.qf-table-scroll>table.qf-table-source-grid.qf-source-fruit{font-family:"Times New Roman",PMingLiU,SimSun,serif}



.qf-table-scroll>table.qf-table-source-grid.qf-source-fruit :is(td,th){white-space:normal;overflow-wrap:anywhere;text-align:left;vertical-align:top;padding:.15em .35em!important;line-height:1.5}







/* Authorized G1243 source art layers and original left/right plate. */



.qbank-source-overlay>figure:has([data-layout-iid="6627"]) img.inline-illust{border:0!important}.qbank-source-overlay>figure:has([data-layout-iid="6629"]) img.inline-illust{border:0!important}.qbank-source-overlay>figure:has([data-layout-iid="6630"]) img.inline-illust{border:0!important}.qbank-source-overlay>figure:has([data-layout-iid="6631"]) img.inline-illust{border:0!important}.qbank-source-table-pair:has([data-layout-iid="6627"])>div{flex:none}.qbank-source-table-pair:has([data-layout-iid="6627"]) figure{margin:0}.qbank-source-table-pair:has([data-layout-iid="6627"])>div>figure>figcaption{text-align:center;max-width:23em;white-space:normal}







/* PID302 original four-column apparatus/reagent table. */



.qf-table-scroll>table.qf-table-source-grid.qf-source-chem-materials{font-family:"Times New Roman","DFKai-SB",KaiTi,serif;border:3px double currentColor!important}



.qf-table-scroll>table.qf-table-source-grid.qf-source-chem-materials :is(td,th){text-align:left;padding:0 .7em!important;white-space:normal;overflow-wrap:anywhere;line-height:1.3}



.qf-source-chem-materials tr:first-child th,.qf-source-chem-materials tr:nth-child(7)>td:nth-child(-n+2){font-weight:bold!important}



.qf-source-chem-materials tr> :nth-child(2){border-right:3px double currentColor!important}



.qf-source-chem-materials .qf-source-diagonal{background:linear-gradient(to top right,transparent calc(50% - .45px),currentColor 50%,transparent calc(50% + .45px))}





/* PID435 source graph panels: keep provenance badges outside plotted labels. */

.qbank-source-graph-panels .qf-image{padding-block-start:.7em}
/* Include the existing label padding in fixed-height comparison frames. */
.qbank-source-graph-panels .qf-image.qf-equal-image{height:calc(var(--qf-h) + var(--qf-scrollbar-h,0px) + .7em)}

.qbank-source-graph-panels .ai-illustration>.ai-icon{top:-.9em!important;left:0!important;color:#222!important;background:#fff!important;line-height:1;vertical-align:baseline;padding:0 1px;border-radius:1px}



/* Raster AI badge: keep the glyph inside its line box and legible over bright photos. */

.ai-illustration:has(> img.inline-illust) > .ai-icon{color:#111;background:#fff;line-height:1;vertical-align:baseline;padding:0 1px;border-radius:1px}



/* On transparent SVG frames, the AI label follows the readable page foreground. */

.ai-illustration > .ai-icon{color:#111;background:#fff;line-height:1;vertical-align:baseline;padding:0 1px;border-radius:1px}



/* Group spacing is row-owned: compact by default, equal free gaps only with R:j. */

.qf-row:is([data-qf-mode=g],[data-qf-mode=k]){gap:1rem;justify-content:flex-start!important}

.qf-row:is([data-qf-mode=g],[data-qf-mode=k])[data-qf-justify=between]{justify-content:flex-start!important}

.qf-row[data-qf-mode=g]>.qf-col{flex-grow:0!important;flex-shrink:0}



/* Preserve the source double underline without accepting arbitrary inline styles. */

.qbank-source-double-underline{text-decoration-line:underline;text-decoration-style:double;text-underline-offset:.14em}



/* Explicit semantic header groups keep column rules without body row rules. */

.qf-table-scroll>table.qf-table-column-rules>thead+tbody>tr>td{border-top:0!important;border-bottom:0!important;padding-block:.175em}

.qf-table-scroll>table.qf-table-column-rules:has(>thead+tbody)>:is(thead,tbody)>tr>td{min-width:0!important}



/* Explicit source photoperiod bars: dark/light durations share a 24-hour scale. */

.qf-table-scroll>table.qf-table-photoperiod{width:max-content;max-width:none;min-width:34em;table-layout:auto}

.qf-table-photoperiod :is(td,th){text-align:center;vertical-align:middle;font-weight:400;white-space:nowrap;min-width:0!important}

.qbank-source-photoperiod{display:flex;width:15em;border:1px solid currentColor;box-sizing:border-box;line-height:1.3}

.qbank-source-photoperiod-dark{display:block;width:75%;background:#aaa;color:#111;box-sizing:border-box;border-right:1px solid #555}

.qbank-source-photoperiod-light{display:block;flex:1;background:#fff;color:#111}

.qf-table-photoperiod tr:nth-child(3) .qbank-source-photoperiod-dark{width:62.5%}

.qf-table-photoperiod tr:nth-child(4) .qbank-source-photoperiod-dark{width:50%}

.qf-table-scroll>table.qf-table-renal{border:0;border-collapse:collapse}

.qf-table-renal :is(th,td){border-left:0!important;border-right:0!important;border-top:0!important;border-bottom:1px solid #999!important;text-align:center;vertical-align:middle;padding:.15em;font-weight:400}

.qf-table-renal tr:first-child>:is(th,td){border-top:3px solid currentColor!important;border-bottom:3px solid currentColor!important}

.qf-table-renal tr:is(:first-child,:nth-child(3),:nth-child(4),:nth-child(5))>:is(th,td):not(:first-child){border-left:1px solid #999!important}

.qf-table-renal tr:last-child>td{border-bottom:3px solid currentColor!important}


/* Keep framed source illustrations below their external AI badges. */
.qbank-source-framed-panels .qf-image{padding-block-start:1em}
.qbank-source-framed-panels .ai-illustration>.ai-icon{top:-1.2em!important}

/* Source vocabulary banks: keep original outer frame and row order; wrap complete entries. */
.qbank-source-vocabulary-frame{display:flex;flex-direction:column;gap:.55em;border:1px solid var(--color-primary,currentColor);padding:.5em .7em;width:fit-content;max-width:100%;box-sizing:border-box;margin-block:.6em}
.qbank-source-vocabulary-row{display:flex;flex-wrap:wrap;gap:.5em 1.4em;max-width:100%}
.qbank-source-vocabulary-row>.qf-atomic{white-space:nowrap}

/* Original portrait-and-speech options preserve each speaker and editable statement. */
.qbank-source-dialogue-options{display:flex;flex-direction:column;gap:1em;margin-block:.6em}
.qbank-source-dialogue-option{display:grid;grid-template-columns:auto 3.2em minmax(0,1fr);gap:.55em;align-items:start}
.qbank-source-dialogue-portrait{margin:0;text-align:center;min-width:0}
.qbank-source-dialogue-portrait figcaption{font-size:1em;margin-block-start:.25em}
.qbank-source-dialogue-portrait .qf-image{margin-block:0!important;padding-block-start:1em}
.qbank-source-dialogue-portrait .ai-illustration>.ai-icon{top:-1.2em!important}
.qbank-source-dialogue-bubble{background:var(--adm-bg,var(--bg,#fff));position:relative;border:1px solid var(--color-primary,currentColor);border-radius:12% / 16%;padding:.6em .9em;min-width:0}
.qbank-source-dialogue-bubble:before,.qbank-source-dialogue-bubble:after{content:"";position:absolute;top:1em;left:-.85em;border-block:.45em solid transparent;border-right:.85em solid var(--color-primary,currentColor)}
.qbank-source-dialogue-bubble:after{left:calc(-.85em + 2px);border-right-color:var(--adm-bg,var(--bg,#fff))}

/* Shared row space belongs to each chart slot, preserving local L/C/R alignment. */
.qf-row:is([data-qf-mode=g],[data-qf-mode=k])[data-qf-justify=between]>.qf-col[data-qbank-chart-slot]{flex-grow:1!important}

/* Explicit absent cells in source facsimile grids retain their source gaps. */
.qf-table-scroll>table.qf-table-source-grid .qf-source-blank{border:0!important;background:none}

/* A semantic header group in a source outer-frame table retains its dividing rule. */
.qf-table-scroll>table.qf-table-outer-rules>thead{border-bottom:1px solid currentColor}

.qf-image:has(> .qbank-svg > svg[data-qbank-native-margin-css="10"]){--qf-native-edge:20px}

/* Each gallery cell follows its image. The table owns any necessary overflow. */
.qf-table-scroll>table.qf-table-source-grid.qf-table-image-gallery{table-layout:auto;width:max-content!important;min-width:0!important;max-width:none!important}
.qf-table-image-gallery col{width:auto!important}
.qf-table-image-gallery tr{height:auto!important}
.qf-table-scroll>table.qf-table-image-gallery :is(td,th){padding:.25em!important;vertical-align:top}
.qf-table-image-gallery .qf-source-label.qf-source-label{position:static;left:auto;right:auto;top:auto;width:auto;transform:none}
.qf-table-image-gallery .qf-source-frame .qf-image{max-width:none;overflow:visible}
/* Explicit native borderless source tables retain their authored column geometry. */
.qf-table-scroll>table[border="0"],.qf-table-scroll>table[border="0"] :is(th,td){border:0}
.qf-table-scroll>table[border="0"] :is(th,td){padding:0}
.qf-table-scroll>table[border="0"] :is(th,td):empty::after{content:"\00a0"}

/* Shared full-text flow also applies to read-only collection previews. */
#collection-preview-content.qf-group-flow-owner>.collection-preview-part[data-preview-kind="gid"]{display:contents}
#collection-preview-content.qf-group-flow-owner>.collection-preview-part[data-preview-kind="qid"],.collection-preview-part.qf-question-flow-owner>.collection-preview-answer{display:flow-root}
#collection-preview-content.qf-group-flow-owner>.collection-preview-part[data-preview-kind="qid"]:has(.qbank-question-flow){clear:both}

/* Hidden continuation rows live in the first table until the group fits again. */
.qbank-table-continuation [data-qbank-continuation-hidden]{display:none!important}

/* Only rows belonging to the nearest active full-wrap scope release clearing. */
.qf-row.qf-full-wrap-row{clear:none}
.qf-row.qf-wrap-readable,.qbank-paragraph-image.qf-wrap-readable,.qf-image.qf-wrap-readable,.qf-table-scroll.qf-wrap-readable{min-width:min(100%,var(--qf-wrap-readable-min))}

/* A flex box beside a float keeps that narrow width even below the float.
   Independent chart columns instead participate in the surrounding line boxes. */
.qf-row.qf-full-wrap-charts{display:block;word-spacing:calc(1rem - .25em);text-align:start}
.qf-row.qf-full-wrap-charts>.qf-col{display:inline-block;vertical-align:top;width:var(--qf-ideal);max-width:100%;margin:0 0 1rem;word-spacing:normal;text-align:start}
.qf-full-wrap-charts>.qf-col:has([data-qf-valign=c],[data-qbank-table-vertical=c],[data-qbank-group-vertical=c]){vertical-align:middle}
.qf-full-wrap-charts>.qf-col:has([data-qf-valign=b],[data-qbank-table-vertical=b],[data-qbank-group-vertical=b]){vertical-align:bottom}
figure[data-qbank-group-horizontal]>.qf-row.qf-full-wrap-charts{translate:none}
figure[data-qbank-group-horizontal=c]>.qf-full-wrap-charts{text-align:center}
figure[data-qbank-group-horizontal=r]>.qf-full-wrap-charts{text-align:end}
.qf-row.qf-full-wrap-charts[data-qf-justify=between]{text-align:justify;text-align-last:justify}

/* Each complete option follows the current float line, then uses full width
   below the figure. Releasing the scope restores the ordinary flex gallery. */
.qf-row.qf-full-wrap-options{display:block;word-spacing:normal}
.qf-row.qf-full-wrap-options>.qf-col{display:inline-block;vertical-align:top;width:var(--qf-ideal);max-width:100%;margin:0 0 1rem;margin-inline-end:.7em;word-spacing:normal}

/* A block border crosses a floated figure even when its text wraps correctly.
   The separator itself needs a formatting context; the answer prose must keep flowing. */
.qf-flow-tail .preview-answer,.qf-question-flow-owner>.preview-answer{border-top-width:0!important}
.qf-flow-tail .preview-answer::before,.qf-question-flow-owner>.preview-answer::before{content:"";display:block;overflow:hidden;border-top:1px solid var(--adm-line,#bbb);margin-block-start:-12px;margin-block-end:12px}

/* Explicit inline symbols share the normal w/n sizing contract. */
.qf-image.qf-image-inline{display:inline-block;vertical-align:baseline;margin:0;overflow:visible;max-width:100%}
.qf-image.qf-image-inline[data-qf-valign=t]{vertical-align:top}
.qf-image.qf-image-inline[data-qf-valign=c]{vertical-align:middle}
.qf-image.qf-image-inline[data-qf-valign=b]{vertical-align:bottom}
.qf-row.qf-inline-flow.qf-stack{display:flow-root}
.qf-row.qf-inline-flow.qf-stack>.qf-col{float:none;margin-inline:0}

/* A regrouped run occupies a row in an authored grid or flex gallery. */
figure.qbank-chart-group[data-qbank-wrapped-group]{grid-column:1 / -1;flex-basis:100%;min-width:0}
figure:has(>div:only-of-type>figure[data-qbank-wrapped-group]:only-child){width:auto!important;max-width:100%}
