:is(#gform_12, #gform_40, .qqspp-pilot-list) .gfield_list_icons
    :is(.add_list_item, .delete_list_item) {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 0.35rem;
    background: #fcf6e6;
    color: #755000;
    box-sizing: border-box;
    text-indent: 0;
    font-size: 0;
}

:is(#gform_12, #gform_40, .qqspp-pilot-list) .gfield_list_icons
    :is(.add_list_item, .delete_list_item)::before {
    display: block;
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: inherit;
    font: 700 1.25rem/1 system-ui, sans-serif;
}

:is(#gform_12, #gform_40, .qqspp-pilot-list) .gfield_list_icons .add_list_item::before {
    content: "+";
}

:is(#gform_12, #gform_40, .qqspp-pilot-list) .gfield_list_icons .delete_list_item::before {
    content: "−";
}
.qqspp-pilot-list {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

.qqspp-live-summary {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #cbd8e6;
    border-radius: 0.35rem;
    background: #f3f7fb;
    color: #203a54;
}

.qqspp-live-figures {
    margin-top: 0.35rem;
    overflow-x: auto;
}

.qqspp-live-summary .qqspp-economic-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: #fff;
    font-variant-numeric: tabular-nums;
}

.qqspp-live-summary .qqspp-economic-table th,
.qqspp-live-summary .qqspp-economic-table td {
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid #cbd8e6;
    text-align: right;
}

.qqspp-economic-table th:first-child {
    text-align: left !important;
}

.qqspp-economic-table thead,
.qqspp-economic-table tr:nth-child(3) {
    background: #e9f0f8;
}

.qqspp-economic-table td {
    white-space: nowrap;
}

.qqspp-pilot-list .gfield_list_cell [hidden] {
    display: none !important;
}

.qqspp-pilot-list .gfield_list_cell .qqspp-row-control select,
.qqspp-pilot-list .gfield_list_cell select.qqspp-row-control {
    width: 100%;
    min-width: 0;
}

.qqspp-period {
    display: grid;
    gap: 0.3rem;
}

.qqspp-consultants {
    margin-top: 0.85rem;
    overflow-x: auto;
}

.qqspp-consultants summary {
    cursor: pointer;
    font-weight: 600;
}

.qqspp-consultants table {
    width: 100%;
    margin-top: 0.5rem;
    border-collapse: collapse;
}

.qqspp-consultants th,
.qqspp-consultants td {
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid #cbd8e6;
    text-align: left;
}

.qqspp-monthly {
    margin-block: 1rem;
    padding: 1rem;
    border: 1px solid #cbd8e6;
    border-radius: .4rem;
}
.qqspp-monthly > select, .qqspp-monthly > input, .qqspp-monthly > button {
    margin: .25rem .5rem .25rem 0;
}
.qqspp-monthly > input { width: 7rem; }
.qqspp-monthly details { margin-top: .75rem; }
.qqspp-monthly summary { cursor: pointer; font-weight: 600; }
.qqspp-monthly-scroll { overflow-x: auto; }
.qqspp-monthly table { width: 100%; }
.qqspp-monthly table input { min-width: 5rem; width: 100%; }
.qqspp-monthly th, .qqspp-monthly td { padding: .35rem; }

.qqspp-legacy-economic section { margin-block: 1.5rem; }
.qqspp-legacy-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: 1rem;
}
.qqspp-legacy-value {
    margin-top: .4rem;
    padding: .65rem .8rem;
    border: 1px solid #d5d0c7;
    border-radius: .4rem;
    background: #faf9f6;
    overflow-wrap: anywhere;
}
