.ghost-fields {
        display: block;
        width: 100%;
        clear: both;
    }
    .ghost-ready .ghost-fields {
        visibility: visible;
    }
.ghost-fields label {
    margin-bottom: 0 !important;}
    /* Row + basics */
    .gf-row {
        width: 100%;
        clear: both;
        box-sizing: border-box;
        position: relative;
    }
    .gf-label {
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
    }
    /* Custom multi-select dropdown */
    .gf-dd {
        position: relative;
    }
    .gf-dd-btn {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 40px;
        padding: 8px 12px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        background: #fff;
        cursor: pointer;
        font: inherit;
        text-align: left;
    }
    .gf-dd-btn:focus {
        outline: 2px solid #26872d;
        outline-offset: 1px;
    }
    .gf-dd-chevron {
        margin-left: 8px;
    }
    .gf-dd-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 4px);
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        max-height: 280px;
        overflow: auto;
        padding: 6px 0;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
        z-index: 9999;
        display: none;
    }
    .gf-dd.open .gf-dd-menu {
        display: block;
    }
    .gf-dd-option {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
    }
    .gf-dd-option:hover {
        background: #f5f5f5;
    }
    .gf-dd-option input {
        margin: 0;
    }
    .gf-dd-placeholder {
        color: #666;
    }
    .gf-dd-menu,
    .gf-dd-menu li {
        list-style: none !important;
        margin: 0;
        padding-left: 0;
    }
    .gf-dd-menu li::marker,
    .gf-dd-menu li::before,
    .gf-dd-menu li::after {
        content: none !important;
    }
    .acc-toggle,
    .acc-list {
        border: none !important;
    }
    .mktoButtonRow {
    margin: 1rem 0 2rem !important;
}
.ghost-fields {
    width: 100%;
}
/* Full-width normal fields only — NOT checkboxes */
.ghost-fields select,
.ghost-fields input:not([type="checkbox"]),
.ghost-fields textarea {
    width: 100%;
    box-sizing: border-box;
}
/* Basic GFR field spacing */
.ghost-fields .gf-row {
    width: 100%;
    clear: both;
    box-sizing: border-box;
    position: relative;
}
.ghost-fields .gf-label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 15px;
}
.ghost-fields .gf-select,
.ghost-fields .gf-input,
.ghost-fields .gf-textarea {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    font: inherit;
}
.ghost-fields .gf-textarea {
    min-height: 90px;
}
/* GFR multiselect dropdown */
.ghost-fields .gf-ms {
    position: relative;
    width: 100%;
}
.ghost-fields .gf-ms-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}
.ghost-fields .gf-ms-placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ghost-fields .gf-ms-chevron {
    margin-left: 8px;
}
.ghost-fields .gf-ms-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    padding: 6px 0;
    box-sizing: border-box;
}
.ghost-fields .gf-ms.open .gf-ms-menu {
    display: block;
}
.ghost-fields .gf-ms-option {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    cursor: pointer;
    font-weight: 400 !important;
    text-align: left !important;
    float: none !important;
    clear: none !important;
}
.ghost-fields .gf-ms-option:hover {
    background: #f5f5f5;
}
.ghost-fields .gf-ms-checkbox,
.ghost-fields input.gf-ms-checkbox,
.ghost-fields .gf-ms-option input[type="checkbox"] {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    display: inline-block !important;
    position: static !important;
    float: none !important;
}
.ghost-fields .gf-ms-option span {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    text-align: left !important;
    white-space: normal;
}
/* Tighten spacing between GFR ghost fields and Marketo form */
.ghost-fields {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.ghost-fields .gf-row:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.ghost-fields .gf-row:last-child .gf-ms {
    margin-bottom: 0 !important;
}
.ghost-fields + form,
.ghost-fields {
    margin-top: 0 !important;
    padding-top: 0 !important;
}