[data-op3-element-options-type="loginandsignupform"] {
    // Filter children list item (sidebar fields group).
    &[data-op3-parent-options-property-value-loginAndSignupFormState="login"] .op3-element-options-property[data-op3-element-options-property-id="children"] .op3-element-options-property-children-list-item:not([data-op3-element-child-spec^="login"]),
    &[data-op3-parent-options-property-value-loginAndSignupFormState="signup"] .op3-element-options-property[data-op3-element-options-property-id="children"] .op3-element-options-property-children-list-item:not([data-op3-element-child-spec^="signup"]),
    &[data-op3-parent-options-property-value-loginAndSignupFormState="reset"] .op3-element-options-property[data-op3-element-options-property-id="children"] .op3-element-options-property-children-list-item:not([data-op3-element-child-spec^="reset"]),
    &[data-op3-parent-options-property-value-loginAndSignupFormState="postreset"] .op3-element-options-property[data-op3-element-options-property-id="children"] .op3-element-options-property-children-list-item,
    &[data-op3-parent-options-property-value-loginAndSignupFormState="loggedin"] .op3-element-options-property[data-op3-element-options-property-id="children"] .op3-element-options-property-children-list-item {
        display: none;
    }

    // Force display "empty fields" for subforms with no fields.
    &[data-op3-parent-options-property-value-loginAndSignupFormState="postreset"] .op3-element-options-property[data-op3-element-options-property-id="children"] .op3-element-options-property-children-list::after,
    &[data-op3-parent-options-property-value-loginAndSignupFormState="loggedin"] .op3-element-options-property[data-op3-element-options-property-id="children"] .op3-element-options-property-children-list::after {
        display: block;
    }
}
