.research-fields {
    margin: 26px 0;
    padding: 24px;
    border: 1px solid rgba(52, 152, 219, 0.42);
    border-left: 5px solid #3498db;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5faff 0%, #fff 78%);
    box-shadow: 0 5px 18px rgba(35, 76, 112, 0.08);
    color: #29445d;
}

.research-fields__heading,
.research-fields__label-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.research-fields__eyebrow {
    margin: 0 0 5px;
    color: #2777a8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.research-fields h2 {
    margin: 0;
    color: #243b53;
    font-size: 1.35rem;
    line-height: 1.3;
}

.research-fields__optional {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e5f2fb;
    color: #276d99;
    font-size: 0.78rem;
    font-weight: 700;
}

.research-fields__intro {
    margin: 10px 0 22px;
    color: #536d82;
    line-height: 1.55;
}

.research-fields__group {
    margin: 0 0 19px;
}

.research-fields__group > label,
.research-fields__label {
    display: block;
    margin: 0 0 7px;
    color: #2b4359;
    font-size: 0.98rem;
    font-weight: 700;
}

.research-fields input[type="text"],
.research-fields textarea {
    display: block;
    width: 100%;
    border: 1px solid #cbd9e5;
    border-radius: 7px;
    background: #fff;
    color: #263d51;
    font: inherit;
    line-height: 1.5;
    padding: 10px 12px;
}

.research-fields textarea {
    resize: vertical;
}

.research-fields input[type="text"]:focus,
.research-fields textarea:focus {
    border-color: #3498db;
    outline: 3px solid rgba(52, 152, 219, 0.16);
}

.research-fields small,
.research-fields__note {
    display: block;
    margin-top: 5px;
    color: #60788b;
    font-size: 0.82rem;
    line-height: 1.45;
}

.research-fields__question-list {
    display: grid;
    gap: 9px;
    margin-top: 10px;
}

.research-fields__question {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
}

.research-fields__remove,
.research-fields__add {
    border: 1px solid #b7d3e6;
    border-radius: 6px;
    background: #fff;
    color: #286d97;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 650;
    padding: 8px 11px;
}

.research-fields__remove:hover,
.research-fields__add:hover {
    background: #eaf5fc;
}

.research-fields__add {
    margin-top: 10px;
}

.research-fields__count {
    color: #60788b;
    font-size: 0.8rem;
    white-space: nowrap;
}

.research-fields__note {
    margin: 11px 0 0;
}

.research-fields__assisted {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 0;
    padding: 15px;
    border: 1px solid #d5e4ef;
    border-radius: 8px;
    background: #edf6fc;
    cursor: pointer;
}

.research-fields__assisted input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 3px 0 0;
    accent-color: #287cae;
}

.research-fields__assisted strong,
.research-fields__assisted small {
    display: block;
}

.research-fields__assisted strong {
    color: #29445d;
    line-height: 1.4;
}

.research-fields__assisted small {
    margin-top: 5px;
    font-weight: 400;
}

.research-fields__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 560px) {
    .research-fields {
        padding: 18px 15px;
    }

    .research-fields__heading {
        gap: 8px;
    }

    .research-fields h2 {
        font-size: 1.15rem;
    }

    .research-fields__question {
        grid-template-columns: minmax(0, 1fr);
    }

    .research-fields__remove {
        justify-self: end;
    }
}
