Tell me how you would parse a complex data format such as a CSV string and implement business logic based on conditional requirements.
Implement parse_csv_fees(csv_text) for CSV input with the header id,amount,currency,status,customer_type. Return one result per active row, preserving order. Standard CSV quoting and escaped quotes must be supported. For active rows, premium customers have a "0.00" fee; other customers pay 2% of the amount, plus "1.00" when the currency is EUR. Return dictionaries containing id and a two-decimal string fee.
def parse_csv_fees(csv_text):