/* Only the two Feishu-updated bodies opt in. Shared heroes/nav stay unchanged. */
.wetlab-feishu-update .wetlab-update-figure {
    display: block;
    width: 100%;
    margin: clamp(1.5rem, 3vw, 2.5rem) 0 1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.wetlab-feishu-update .wetlab-update-figure-link {
    display: block;
    width: 100%;
    text-decoration: none;
    background: transparent;
}

.wetlab-feishu-update .wetlab-update-figure img,
.wetlab-feishu-update .wetlab-update-figure svg {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    transform: none;
}

.wetlab-feishu-update .wetlab-update-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    margin: clamp(1.5rem, 3vw, 2.5rem) 0 1rem;
}

.wetlab-feishu-update .wetlab-update-pair .wetlab-update-figure {
    margin: 0;
    min-width: 0;
}

.wetlab-feishu-update .wetlab-update-caption {
    display: block;
    margin: .8rem 0 1.5rem;
    color: var(--dogma-copy);
    font-size: .88rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.wetlab-feishu-update .wetlab-update-figure figcaption {
    text-align: left;
}

.wetlab-feishu-update .wetlab-source-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wetlab-feishu-update .wetlab-protocol-row summary {
    gap: .75rem;
}

.wetlab-feishu-update .wetlab-protocol-row summary > span {
    min-width: 0;
    flex: 1;
}

.wetlab-feishu-update .wetlab-protocol-row summary b {
    overflow-wrap: anywhere;
}

.wetlab-feishu-update .wetlab-update-figure-link:focus-visible {
    outline: 2px solid var(--dogma-blue);
    outline-offset: 5px;
}

@media (max-width: 760px) {
    .wetlab-feishu-update .wetlab-update-pair {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .wetlab-feishu-update .wetlab-update-figure--table {
        /* Preserve the complete source table; the image link opens its full size. */
        width: 100%;
    }

    .wetlab-feishu-update .wetlab-document-actions {
        flex-wrap: wrap;
    }
}
