92c3b53e39
Sign-in form now has a Klinik / Laboratuvar pill toggle (defaults to clinic). The selected kind is posted alongside email+password; the server action resolves the user's memberships, picks a tenant_settings row matching the chosen kind, and sets it as active. If no matching tenant exists the session is rolled back with a clear error. Invite-flow logins skip the kind check — invite code drives team assignment.