.fpsm-accordion-group {
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 12px;
    margin: 16px 0;
    background: #fafafa;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.fpsm-accordion {
    border: 1px solid #dedede;
    border-radius: 8px;
    margin: 10px 0;
    background: #ffffff;
    overflow: hidden;
}

.fpsm-accordion > summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 600;
    background: #f2f2f2;
    border-bottom: 1px solid #e6e6e6;
}

.fpsm-accordion.has-content > summary {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fpsm-accordion > summary::-webkit-details-marker {
    display: none;
}

.fpsm-accordion > summary::after {
    content: "+";
    float: right;
    font-weight: 700;
}

.fpsm-accordion[open] > summary::after {
    content: "–";
}

.fpsm-accordion-content {
    padding: 14px;
    background: #ffffff;
}

.fpsm-accordion-content .fpsm-field,
.fpsm-accordion-content .fpsm-each-form-field,
.fpsm-accordion-content .fpsm-field-wrap {
    margin-bottom: 12px;
}

.fpsm-front-form {
    padding-bottom: 56px;
}

.fpsm-front-form .fpsm-field-wrap.fpsm-has-submit-btn {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background: transparent;
    padding: 4px 0;
    box-shadow: none;
    pointer-events: none;
}

.fpsm-front-form .fpsm-field-wrap.fpsm-has-submit-btn .fpsm-field {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.fpsm-front-form input.fpsm-submit-draft,
.fpsm-front-form input.fpsm-submit-publish {
    position: relative;
    pointer-events: auto;
}

textarea.cs-fps-autofilled {
    color: #8a8a8a;
}
