.page-header--fund-groups {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-header--fund-groups h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.page-header--fund-groups p {
    margin: 0.35rem 0 0;
    color: #6c757d;
}

.fund-group-status {
    min-height: 1.5rem;
    margin-bottom: 0.75rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.fund-group-status.is-warn {
    color: #b02a37;
}

.fund-group-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.fund-group-sidebar,
.fund-group-main {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.fund-group-sidebar {
    overflow: hidden;
}

.fund-group-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

.fund-group-list {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.fund-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 0;
    border-bottom: 1px solid #f1f3f5;
    background: #fff;
    text-align: left;
}

.fund-group-item:hover,
.fund-group-item.is-active {
    background: #f8f9fa;
}

.fund-group-item.is-active {
    border-left: 3px solid #0d6efd;
    padding-left: calc(0.9rem - 3px);
}

.fund-group-name {
    font-weight: 600;
    color: #212529;
}

.fund-group-sub {
    color: #6c757d;
    font-size: 0.78rem;
}

.fund-group-main {
    min-height: 420px;
    padding: 1rem;
}

.fund-group-empty {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6c757d;
}

.fund-group-empty i {
    font-size: 2rem;
}

.fund-group-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.fund-group-detail-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.fund-group-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.fund-group-remark {
    color: #6c757d;
    margin-bottom: 0.9rem;
    min-height: 1.25rem;
}

.fund-member-table td,
.fund-member-table th {
    white-space: nowrap;
}

.fund-candidate-hint {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.fund-candidate-list {
    display: grid;
    gap: 0.5rem;
    max-height: 420px;
    overflow-y: auto;
}

.fund-candidate-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.65rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .fund-group-layout {
        grid-template-columns: 1fr;
    }

    .page-header--fund-groups,
    .fund-group-detail-header {
        flex-direction: column;
    }

    .fund-group-actions {
        justify-content: flex-start;
    }
}
