dialog.wlm {
    position: relative;
    border: 0;
    padding: 1.75rem 2.25rem;
    width: 500px;
    max-width: calc(100vw - 2rem);
}

dialog.wlm::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

.wlm h3 {
    margin-top: 0;
}

.wlm-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 0;
    background: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.wlm-field,
.wlm-consent {
    margin-bottom: 1rem;
}

.wlm-field label {
    display: block;
}

.wlm-consent {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.wlm-consent label p {
    margin: 0;
}

.wlm-consent ul {
    margin: 0 0 0 5px;
    padding-left: .875rem;
    font-weight: normal;
}

.wlm-consent ul li {
    font-size: .875rem;
    line-height: 1.25rem;
    margin-bottom: .25rem;
}

.wlm-message {
    margin-bottom: 1rem;
    font-weight: bold;
}

.wlm-message:empty {
    display: none;
}

.wlm-message--error {
    color: #a94442;
}

.wlm-form--done > :not(.wlm-message) {
    display: none;
}

.wlm-captcha:empty {
    display: none;
}

wlm-lead-magnet {
    display: block;
}
