/* PDF review, scoped to the requested pages; preserve source figures and data. */
html body .wetlab-adaptor-table{min-width:0}
html body .wetlab-adaptor-table caption{text-align:left;caption-side:top;padding:0 0 12px;font-size:14px;line-height:1.7;font-weight:700}
html body .wetlab-adaptor-table .adaptor-sequence{white-space:nowrap}
html body .wetlab-adaptor-table .adaptor-trna-end{display:block;text-align:right}
html body .engineering-console-page .engineering-figure{width:100%;max-width:none;margin-inline:0}
html body .engineering-console-page .engineering-figure>figcaption{width:100%;max-width:none;margin-inline:0;text-align:left}
html body .engineering-console-page .engineering-figure>:is(a,.engineering-figure-panel,.engineering-figure-grid){width:min(100%,var(--engineering-figure-width,580px),580px);margin-inline:auto}
html body .engineering-console-page .engineering-figure:not(.engineering-model-figure--portrait)>.engineering-model-image-frame{width:min(100%,var(--engineering-figure-width,580px),580px);margin-inline:auto}
html body .engineering-console-page #engineering-project-figure-4 .engineering-figure-panel{width:min(100%,580px)}
html body .engineering-console-page #engineering-project-figure-4 svg{width:100%;height:auto;max-height:none}
html body.wetlab-final-experiments main :is(figcaption,figcaption p,figcaption strong,caption){text-align:left!important}
html body.wetlab-final-experiments main .progress3-image-group{width:100%;max-width:none}
html body.wetlab-final-experiments main .progress3-pair{width:100%;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
html body.wetlab-final-experiments main .progress3-pair .progress3-figure{width:100%!important;max-width:none;margin-inline:0}
html body.wetlab-final-experiments main .progress3-pair .progress3-image-link{display:block;width:100%;max-width:none}
html body.wetlab-final-experiments main .progress3-pair :is(img,svg){display:block;width:100%!important;height:auto!important;max-width:none;max-height:none;object-fit:contain}
html body.wetlab-final-experiments main .progress3-caption{margin-inline:0;width:100%;max-width:none}
html body.wetlab-final-experiments main .wetlab-protocol-content{display:flex;flex-direction:column;gap:8px;padding-top:14px}
html body.wetlab-final-experiments main .wetlab-protocol-preview{display:block;width:100%;max-width:100%;height:clamp(480px,78svh,850px);border:1px solid var(--dogma-line,#d4e1e9);border-radius:14px;background:#fff}
html body.wetlab-final-experiments main .wetlab-protocol-link{align-self:flex-end;font-size:13px;min-height:32px;margin:0;padding:2px 0}
html body.wetlab-final-experiments main .wetlab-pdf-fallback{font-size:14px!important;padding:16px}
html body main .design-rtqpcr-workflow{display:block;width:100%;max-width:none;margin:24px 0 32px;background:none;border:0;box-shadow:none;padding:0}
html body main .design-rtqpcr-workflow>a{display:block;width:min(100%,620px);margin-inline:auto;line-height:0}
html body main .design-rtqpcr-workflow :is(img,svg){display:block;width:100%;height:auto;margin:0;border:0;border-radius:0}
html body main .design-rtqpcr-workflow figcaption{width:100%;max-width:none;margin:14px 0 0;font-size:14px;line-height:1.75;text-align:left}
html body main .design-rtqpcr-workflow figcaption p{margin:0;font-size:14px!important;line-height:1.75!important}
html body main .wetlab-source-content a.wetlab-consistent-link,html body main .wetlab-source-content a.wetlab-consistent-link :is(strong,em,span){color:var(--dogma-blue,#216a9e)!important;-webkit-text-fill-color:var(--dogma-blue,#216a9e)!important}
html body .notebook-records .wetlab-week-event,html body .notebook-records .wetlab-week-event :is(p,li){font-size:17px!important;line-height:1.85!important;letter-spacing:normal}
html body .notebook-records .wetlab-week-event :is(strong,em,span){font-size:inherit!important;line-height:inherit!important}
html body .notebook-records .notebook-week-notes li{margin:0 0 8px}
html body .notebook-records .notebook-week-notes li>p{margin:0}
@media(max-width:760px){html body.wetlab-final-experiments main .progress3-pair{grid-template-columns:minmax(0,1fr);gap:20px}html body.wetlab-final-experiments main .wetlab-protocol-preview{height:70svh;min-height:400px}html body .notebook-records .wetlab-week-event,html body .notebook-records .wetlab-week-event :is(p,li){font-size:16px!important;line-height:1.85!important}}
@media print{html body.wetlab-final-experiments main .wetlab-protocol-link{display:block}html body .engineering-console-page .engineering-figure{width:100%;max-width:none}}

/* Figure display controls: change only the px value to adjust a figure live in local preview. */
#figure-experiments-55-8{--figure-display-width:408px}
#figure-experiments-55-11{--figure-display-width:604px}
#figure-measurement-55-2{--figure-display-width:680px}
#figure-measurement-55-9{--figure-display-width:250px}
#figure-results-3{--figure-display-width:646px}
#figure-results-4{--figure-display-width:570px}
#figure-results-5{--figure-display-width:506px}
#figure-results-7{--figure-display-width:646px}
#figure-results-8{--figure-display-width:518px}
#figure-results-9{--figure-display-width:534px}
#figure-results-11{--figure-display-width:585px}
#figure-results-13{--figure-display-width:427px}
#figure-results-15{--figure-display-width:381px}
#figure-results-20{--figure-display-width:425px}
#figure-results-22{--figure-display-width:437px}
html body main .figure-display-sized .progress3-figure{width:min(100%,var(--figure-display-width))!important}
html body.content-final-v27 main .source27-panel svg{display:block;width:100%;height:auto;max-height:none;border:0;border-radius:0;margin:0}
html body.content-final-v27 main .source27-panel[data-embedded-panel-letter]:has(svg)>.progress3-panel-label{display:none}
html body main #figure-measurement-55-9{float:none!important;width:100%!important;max-width:none;margin:20px 0!important;clear:both}
html body main #figure-measurement-55-9 .progress3-figure{margin-inline:auto}

/* Refined figure layout, 2026-10-21: retain original proportions and all data. */
#figure-results-s1,#figure-results-s2,#figure-results-s4{--figure-display-width:480px}
#figure-measurement-55-5,#figure-measurement-55-6{--figure-display-width:620px}
#figure-measurement-55-19{--figure-display-width:480px}
#figure-measurement-55-20{--figure-display-width:400px}
html body.content-final-v27 main #figure-results-16>.progress3-pair{width:100%;max-width:none;gap:18px}
html body main .measurement-primer-wrap{display:flow-root;margin-block:20px}
html body main .measurement-primer-wrap>p:first-of-type{margin-top:0}
html body main #figure-measurement-55-9>.progress3-figure{float:right;width:min(34%,var(--figure-display-width))!important;margin:0 0 14px 24px}
html body main #figure-measurement-55-9>figcaption{clear:both;display:block;width:100%;margin-top:14px}
@media(max-width:1000px){html body main #figure-measurement-55-9>.progress3-figure{float:none;width:min(100%,var(--figure-display-width))!important;margin:0 auto 20px}}
