.tx-powermail .powermail_fieldset.no_background,
.tx-powermail .powermail_fieldset.no_background_nolabel {
    background-color: transparent;
}

.tx-powermail .powermail_fieldset.no_background_nolabel > .powermail_legend {
    display: none;
}

/* Keep the field heading above the inline choices and the next field below. */
.tx-powermail .powermail_fieldwrap_type_radio.awg_row {
    width: 100%;
    float: none;
    clear: both;
}

.tx-powermail .powermail_fieldwrap_type_radio.awg_row > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem 1.125rem;
}

.tx-powermail .powermail_fieldwrap_type_radio.awg_row > div > label {
    flex: 0 0 100%;
    width: 100%;
}

.tx-powermail .powermail_fieldwrap_type_radio.awg_row > div > div {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin: 0;
}

.tx-powermail .powermail_fieldwrap_type_radio.awg_row .powermail_radio {
    position: static;
    float: none;
    margin: 0;
    flex-shrink: 0;
}

.tx-powermail .powermail_fieldwrap_type_radio.awg_row > div > .powermail_field_error_container {
    flex: 0 0 100%;
}

/* Readonly values look like text while remaining selectable and submitted. */
.tx-powermail input.powermail_input[readonly] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
    color: inherit;
    font: inherit;
    height: auto;
    padding: 0;
    opacity: 1;
}

.tx-powermail input.powermail_input[readonly]:focus,
.tx-powermail input.powermail_input[readonly]:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Standard checkboxes use one native indicator, without Powermail's extra mark. */
.tx-powermail input[type="checkbox"]:not(.wspi-option__input) {
    -webkit-appearance: checkbox;
    appearance: auto;
}

.tx-powermail input[type="checkbox"]:not(.wspi-option__input)::before,
.tx-powermail input[type="checkbox"]:not(.wspi-option__input)::after {
    content: none;
}

/* Form specific notice below the confirmation summary. */
.tx-powermail .wspi-confirmation-notice {
    margin: 28px 6px 24px;
    font-weight: 700;
}

.tx-powermail .wspi-confirmation-notice p {
    margin: 0 0 18px;
}

.tx-powermail .wspi-confirmation-notice .wspi-confirmation-notice__highlight {
    font-size: 16px;
    margin-bottom: 22px;
}
