/* Source figures only: no changes to the shared heroes or navigation. */
.wetlab-progress3 .progress3-image-group {
    display: block; max-width: 100%; margin: 0; padding: 0;
    border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.wetlab-progress3 .wetlab-source-content { min-width: 0; overflow-wrap: anywhere; }
.wetlab-progress3 .progress3-figure {
    display: block;
    width: min(100%, var(--figure-width, 720px));
    margin: 1.65rem auto 1.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
.wetlab-progress3 .progress3-image-link { display: block; background: transparent; }
.wetlab-progress3 .progress3-figure img,
.wetlab-progress3 .progress3-figure svg {
    display: block; width: 100%; height: auto; max-width: 100%;
    max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; transform: none; object-fit: contain;
}
.wetlab-progress3 .progress3-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
    width: min(100%, 920px);
    margin: 1.65rem auto 1rem;
    align-items: start;
}
.wetlab-progress3 .progress3-pair .progress3-figure { margin: 0 auto; }
.wetlab-progress3 .progress3-panel-label {
    display: block; margin: 0 0 .4rem; color: var(--dogma-heading);
    font-size: .95rem; font-weight: 800; line-height: 1.2;
}
.wetlab-progress3 .progress3-caption,
.wetlab-progress3 .wetlab-source-content .progress3-image-group .progress3-caption p {
    font-size: .88rem; line-height: 1.75; color: var(--dogma-copy);
    overflow-wrap: anywhere; text-align: left;
}
.wetlab-progress3 .progress3-caption { margin: .9rem 0 1.5rem; }
.wetlab-progress3 .wetlab-source-content .progress3-image-group .progress3-caption p { margin: 0 0 .35rem; }
.wetlab-progress3 .progress3-figure--formula { margin-block: 1rem; }
.wetlab-progress3 .progress3-image-link:focus-visible { outline: 2px solid var(--dogma-blue); outline-offset: 5px; }
.experiment-culture-hero .experiment-hero-copy h1 .experiment-title-line { display: block; white-space: nowrap; }
.wetlab-feishu-update .wetlab-principle-animation { position: relative; width: min(100%, 760px); }
.wetlab-feishu-update .wetlab-animation-toggle {
    position: absolute; bottom: .7rem; right: .7rem;
    display: grid; place-items: center; width: 30px; height: 30px;
    padding: 0; margin: 0; border: 0; border-radius: 50%;
    background: rgba(247,250,252,.88); color: #12365b;
    text-decoration: none; box-shadow: 0 1px 5px rgba(20,45,70,.12);
}
.wetlab-feishu-update .wetlab-animation-toggle svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
    .wetlab-progress3 .dogma-page-frame { width: calc(100% - .25rem); }
}
@media (max-width: 760px) {
    .wetlab-progress3 .progress3-pair { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .wetlab-progress3 .progress3-pair .progress3-figure { width: min(100%, var(--figure-width, 420px)); }
    .wetlab-feishu-update .wetlab-animation-toggle { bottom: .35rem; right: .35rem; width: 26px; height: 26px; }
}

/* Individual figure scales keep source lettering comfortable; not a global shrink. */
.wetlab-progress3 .wetlab-source-content .progress3-image-group .progress3-caption--compact p,
.wetlab-progress3 .dogma-page-frame .dogma-section-card .wetlab-source-content p.progress3-standalone-caption {
    font-size: .8rem; line-height: 1.75; color: var(--dogma-copy);
}
.wetlab-progress3 .progress3-equation {
    display: flex; justify-content: flex-start; align-items: center;
    margin: 1.35rem auto; max-width: 100%; overflow-x: auto;
    padding: .4rem 0; background: transparent; color: var(--dogma-heading); font-size: 1.15rem;
}
.wetlab-progress3 .progress3-equation math {
    font-family: 'Cambria Math', 'STIX Two Math', math;
    font-size: 1.15rem; margin: 0 auto; flex: 0 0 auto;
}
.wetlab-progress3 .progress3-equation > mjx-container[display="true"] {
    width: max-content; flex: 0 0 auto; margin: 0 auto;
}
@media (max-width: 480px) {
    .wetlab-progress3 .progress3-equation { font-size: .95rem; }
    .wetlab-progress3 .progress3-equation math { font-size: .95rem; }
}
