import SwiftUI

@main
struct PlatformApp: App {
    @State private var authManager = AuthManager()
    @State private var appearance = AppearanceManager()

    var body: some Scene {
        WindowGroup {
            ContentView()
                .environment(authManager)
                .environment(appearance)
                .preferredColorScheme(appearance.mode.colorScheme)
        }
    }
}
