.option2-field-label-with-help {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding-right: 5px;
    text-align: right;
    line-height: 1;
}

#ventilationFormOption2 .option2-field-label-with-help label {
    padding-right: 0;
}

#ventilationFormOption2 .option2-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    margin: 0;
    padding: 0;
    border: 2px solid #0057b8;
    border-radius: 50%;
    background-color: #ffffff;
    color: #0057b8;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

#ventilationFormOption2 .option2-help-button:hover,
#ventilationFormOption2 .option2-help-button:focus {
    background-color: #0057b8;
    color: #ffffff;
}

#ventilationFormOption2 .option2-help-button:focus-visible,
.option2-help-modal__close:focus-visible {
    outline: 3px solid #111111;
    outline-offset: 2px;
}

.option2-help-modal[hidden] {
    display: none;
}

.option2-help-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background-color: rgba(0, 0, 0, 0.68);
}

.option2-help-modal__panel {
    position: relative;
    width: min(94vw, 760px);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 42px 16px 16px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.option2-help-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #0057b8;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.option2-help-modal__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

body.option2-help-modal-open {
    overflow: hidden;
}

@media (max-width: 350px) {
    .option2-field-label-with-help {
        gap: 4px;
    }

    #ventilationFormOption2 .option2-help-button {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        font-size: 15px;
    }
}
