.h4bs-field-group-builder {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
}

.h4bs-field-group-builder > table {
    min-width: 1040px;
    table-layout: fixed;
}

.h4bs-field-group-builder th,
.h4bs-field-group-builder td {
    vertical-align: top;
}

.h4bs-field-group-builder input,
.h4bs-field-group-builder select,
.h4bs-field-group-builder textarea,
.h4bs-field-control input,
.h4bs-field-control select,
.h4bs-field-control textarea {
    max-width: 100%;
}

.h4bs-field-control [data-h4bs-color-hex] {
    min-width: 8rem;
}

@media (max-width: 782px) {
    .h4bs-field-group-builder > table {
        min-width: 880px;
    }

    .h4bs-field-group-builder .button {
        min-height: 36px;
        margin-bottom: 4px;
    }

    .h4bs-field-control {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
