import Foundation enum InputMode: String, CaseIterable, Identifiable { case simple case detailed var id: String { rawValue } var title: String { switch self { case .simple: return "Simple" case .detailed: return "Detailed" } } var description: String { switch self { case .simple: return "Enter a single total value per snapshot." case .detailed: return "Enter invested amount and gains to track additional metrics." } } }